make round-to-grid with refinement the default, add --learned for learned rounding
On Qwen2.5-0.5B, learned rounding matched round-to-grid in perplexity and KL (22.38 vs 22.37, 0.0920 vs 0.0919) at about six times the quantize time. --simple is still accepted as a no-op. Docs and man pages updated. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
164fa6b4a4
commit
1e50e4e045
16 files changed
+76
-39
No files matched your search
@@ -20,6 +20,7 @@ from .quant import (
|
||||
ShapeView,
|
||||
TensorQuantizer,
|
||||
add_quant_arguments,
|
||||
add_rounding_arguments,
|
||||
bind_exclude,
|
||||
ctq_skips_key,
|
||||
eligible_weight,
|
||||
@@ -75,6 +76,7 @@ __all__ = [
|
||||
"ShapeView",
|
||||
"TensorQuantizer",
|
||||
"add_quant_arguments",
|
||||
"add_rounding_arguments",
|
||||
"bind_exclude",
|
||||
"ctq_skips_key",
|
||||
"eligible_weight",
|
||||
|
||||
Reference in new issue
Block a user