transformers
3511ee66 - Add Mxfp8Config: MXFP8 on the fine-grained machinery

Commit
41 days ago
Add Mxfp8Config: MXFP8 on the fine-grained machinery - Mxfp8Config / Mxfp8HfQuantizer: float8_e4m3fn weights with a UE8M0 scale per 32 (MiniMax-M3), W8A8, W8A4 or weight-only, in the plain, modelopt and compressed-tensors layouts; quant_method="mxfp8" routes here instead of the legacy FP8 path, and the readers learn MXFP8. - The FineGrainedFP8Config deprecation points at Mxfp8Config for a [1, 32] block with UE8M0 scales. - MiniMax-M3: its block_sparse_moe rename names the MoE block only, so a save does not reverse the dense and vision `.mlp.` too; its reverse-mapping test runs. - Tests: the MXFP8 suite and the shared tests that mix all four formats. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Parents
Loading