Skip to content

[quantization] per-layer quantization plan - #50243

Closed
ArthurZucker wants to merge 15 commits into
quantize-load-operationfrom
per-layer-quantization
Closed

ArthurZucker wants to merge 15 commits into
quantize-load-operationfrom
per-layer-quantization

Conversation

@ArthurZucker

@ArthurZucker ArthurZucker commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator

🤗 Transformers CI

A quantization plan, quantization_config={glob: config} with the dtype plan's matching, loads each layer through its own quantizer's load ops. Tested on a tiny Mistral4 with fp8 and nvfp4 layers (hf-internal-testing/tiny-random-Mistral4-fp8-nvfp4), 3/3 on an RTX PRO 6000.

Supersedes #49818 and #49658 (mixing quantization methods per module); overlaps #49779 and #49851 for pre-quantized NVFP4.
Related issues: #38253, #48371, #44292, #46772. Needs huggingface/kernels-community#1291 for fp8 experts.

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: nvfp4

@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Pages changed in this PR:

@ArthurZucker

Copy link
Copy Markdown
Collaborator Author

Superseded by #50245, rebuilt directly on #50238 with only what the mixed NVFP4 + FP8 plan needs.

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.

2 participants