Skip to content

Update Case 1 to recognize both quantized dict and WithAux as prequantized template, and remove obsolete Case 2. - #266

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_908764879
May 27, 2026
Merged

Update Case 1 to recognize both quantized dict and WithAux as prequantized template, and remove obsolete Case 2.#266
copybara-service[bot] merged 1 commit into
mainfrom
test_908764879

Conversation

@copybara-service

@copybara-service copybara-service Bot commented May 1, 2026

Copy link
Copy Markdown

Update Case 1 to recognize both quantized dict and WithAux as prequantized template, and remove obsolete Case 2.

Qwen 3.5 MoE overrides the original fp template (non-intercepted operations are not wrapped in WithAux) for Pallas_call to be a dict like {'array': {'qvalue': ..., 'scale': ...}}. Previously, this falls back to Case 2 "checkpoint is prequantized, template is fp" because it is a non-WithAux quantized format. With this change, this accurately categorizes to Case 1 "checkpoint is prequantized, template is prequantized".

@copybara-service copybara-service Bot changed the title Update Case 1 to recognize both quantized dict and WithAux as prequantized template. Update Case 1 to recognize both quantized dict and WithAux as prequantized template, and remove obsolete Case 2. May 27, 2026
…tized template, and remove obsolete Case 2.

Qwen 3.5 MoE overrides the original fp template (non-intercepted operations are not wrapped in WithAux) for Pallas_call to be a dict like {'array': {'qvalue': ..., 'scale': ...}}. Previously, this falls back to Case 2 "checkpoint is prequantized, template is fp" because it is a non-WithAux quantized format. With this change, this accurately categorizes to Case 1 "checkpoint is prequantized, template is prequantized".

PiperOrigin-RevId: 922289430
@copybara-service
copybara-service Bot merged commit 48a35e9 into main May 27, 2026
@copybara-service
copybara-service Bot deleted the test_908764879 branch May 27, 2026 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant