Repository navigation
[Feat] quantization: Add the MiniMax-M3.1 NVFP4 MoE method - #46140
Conversation
This comment has been minimized.
This comment has been minimized.
|
/rerun-test --changed |
|
🚀 🚀 |
Co-authored-by: Chunan Zeng <[email protected]>
Co-authored-by: Chunan Zeng <[email protected]> Co-authored-by: zhongyu <[email protected]> Co-authored-by: Denji-kk <[email protected]> Co-authored-by: Qiaolin Yu <[email protected]>
Co-authored-by: Chunan Zeng <[email protected]> Co-authored-by: Denji-kk <[email protected]>
Co-authored-by: zhongyu <[email protected]> Co-authored-by: Thanhhao <[email protected]> Co-authored-by: Hao Phan <[email protected]> Co-authored-by: Denji-kk <[email protected]> Co-authored-by: Shuwen Wang <[email protected]> Co-authored-by: Qiaolin Yu <[email protected]>
d447255 to
60cd740
Compare
# Conflicts: # python/sglang/srt/layers/layer_boundary/fusions/custom_all_reduce_fusion.py # test/registered/unit/layer_boundary/test_custom_all_reduce_fusion.py
|
/rerun-test registered/kernels/ops/moe/test_minimax_m31_nvfp4_trtllm_moe.py |
|
🚀 |
|
/rerun-failed-ci |
|
/rerun-test registered/unit/server_args/test_server_args.py registered/unit/layers/moe/test_mega_moe_decode_capacity.py registered/unit/layers/moe/test_mega_moe_deepgemm_api.py registered/unit/layers/quantization/test_modelopt_nvfp4_moe_dispatch.py registered/unit/layers/quantization/test_modelopt_nvfp4_moe_scales.py registered/unit/layers/quantization/test_mxfp4_sm100_trtllm_gen.py registered/unit/layers/quantization/test_compressed_tensors_fp4_schemes.py registered/unit/layers/moe/test_standard_dispatcher.py registered/unit/layers/quantization/test_flashinfer_trtllm_fp8_fallback.py registered/unit/configs/test_model_config.py registered/unit/model_loader/test_modelopt_loader.py registered/unit/model_executor/runner/test_dsv41_draft_metadata_glue.py registered/cuda_graph/breakable/test_deepseek_dual_stream_outputs.py |
|
🚀 🚀 🚀 |
|
/rerun-test registered/unit/disaggregation/test_kv_events.py |
|
🚀 |
Summary
minimax_m3_nvfp4quantization for the MiniMax-M3.1 checkpoint: NVFP4 experts on the TRT-LLM routed runner, MegaMoE, or Marlin, with the deferred-finalize handoff for the routed runner, plus the MiniMax VL config and model-config helpers.Changes to existing code
FusedMoE.supports_deferred_finalizeis also true for packed NVFP4 experts on the TRT-LLM routed runner.QuantizationConfig.convert_mxfp8_to_block_fp8(defaultNone) lets a config decide whether its MXFP8 weights convert to block FP8 at load.minimax_m3_nvfp4as NVFP4 experts.Verification
Cut byte-for-byte from #45925 (MiniMax-M3.1-Flash support) at 10e655a.
CI States
Latest PR Test (Base): 🚫 Run #40181752276
Latest PR Test (Extra): 🚫 Run #40181752250
Latest PR Test (AMD ROCm 10): ❌ Run #40181752243