Repository navigation
Support centered INT2 in Hadamard mse_grid scale refinement. - #11773
Open
copybara-service[bot] wants to merge 1 commit into
Open
copybara-service[bot] wants to merge 1 commit into
copybara-service[bot] wants to merge 1 commit into
Conversation
copybara-service
Bot
force-pushed
the
litert_pr_1018485017
branch
4 times, most recently
from
November 17, 2026 03:41
a787272 to
295f196
Compare
INT2, zero_point = -0.5) quantization in hadamard_rotation scale refinement (scale_refinement="mse_grid") and update recipe and algorithm documentation:zero_point = -0.5) quantization in hadamard_rotation MSE scale refinement (scale_refinement="mse_grid"), avoiding zero_point = 0 rounding and error mismatch.
copybara-service
Bot
force-pushed
the
litert_pr_1018485017
branch
4 times, most recently
from
November 19, 2026 22:11
09030b8 to
1659489
Compare
zero_point = -0.5) quantization in hadamard_rotation MSE scale refinement (scale_refinement="mse_grid"), avoiding zero_point = 0 rounding and error mismatch.mse_grid scale refinement.
copybara-service
Bot
force-pushed
the
litert_pr_1018485017
branch
4 times, most recently
from
November 20, 2026 00:15
f9b9bfc to
95c6592
Compare
- Refine centered INT2 scales (`zero_point = -0.5`) against the `(q + 0.5) * scale` reconstruction in both the grid search and the ALS steps. `mse_grid` used to reject them. - Make `uniform_quantize_tensor.is_centered_int2_zero_point` public. - Document `centered` for the Hadamard algorithms in `hadamard_rotation.md` and `recipes/README.md`. - Test that the result matches `int2_in_int4=True` and lowers the error. LiteRT-PiperOrigin-RevId: 1018485017
copybara-service
Bot
force-pushed
the
litert_pr_1018485017
branch
from
November 23, 2026 20:07
95c6592 to
048d9c3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Support centered INT2 in Hadamard
mse_gridscale refinement.zero_point = -0.5) against the(q + 0.5) * scalereconstruction in both the grid search and the ALS steps.mse_gridused to reject them.uniform_quantize_tensor.is_centered_int2_zero_pointpublic.centeredfor the Hadamard algorithms inhadamard_rotation.mdandrecipes/README.md.int2_in_int4=Trueand lowers the error.