Load quantized weights per component - #669
Conversation
Performance Comparison
|
🏗️ Architecture Diff
No architecture changes detected. ✅ Legend: ⚪ No change · 🔵 Minor (attrs/inits) · 🟡 Moderate (nodes added/removed) · 🔴 Major (interface changed) |
fabb835 to
b1ea32f
Compare
e3efe95 to
e409b2d
Compare
b1ea32f to
e02875f
Compare
e409b2d to
a8a5c5b
Compare
e02875f to
ea9c144
Compare
a8a5c5b to
7562458
Compare
ea9c144 to
15c0dfc
Compare
Parse authoritative component quantization plans, map component-local modules to HuggingFace names, honor exact and regex float exclusions per projection, and normalize existing packed sidecars through typed codecs. Mobius does not quantize float weights. Signed-off-by: Xiaoyu Zhang <xiaoyuzhang@microsoft.com>
Apply Ruff formatting preserved across the manifest field rename rebase. Signed-off-by: Xiaoyu Zhang <xiaoyuzhang@microsoft.com>
7562458 to
e5ce365
Compare
|
@copilot resolve the merge conflicts in this pull request |
…into feat/per-component-quantization-loader # Conflicts: # CHANGELOG.md # src/mobius/__main__.py # src/mobius/_builder.py # src/mobius/_component_quantization.py # src/mobius/_component_quantization_test.py # src/mobius/_configs/_base.py # src/mobius/_configs/_quantization.py # src/mobius/_configs_test.py # src/mobius/components/__init__.py # src/mobius/components/_quantized_linear.py # src/mobius/integrations/transformers/_builder.py # src/mobius/integrations/transformers/_builder_test.py # tests/build_graph_test.py Co-authored-by: xiaoyu-work <85524621+xiaoyu-work@users.noreply.github.com>
…ilder Co-authored-by: xiaoyu-work <85524621+xiaoyu-work@users.noreply.github.com>
Resolved merge conflicts with |
|
|
Summary
component_quantizationplan for each package componentre:modules_to_not_convertrules per projection, rather than collapsing the whole componentper_layer_input_gateandper_layer_projectionmodules floating point while quantizing the rest of the decoderStack
Validation