vllm.model_executor.layers.fused_moe.experts.lut_b_moe
¶
LUT-B weight x MXFP8 activation MoE experts.
LutBSm107Experts runs the native Rubin (SM107) grouped GEMM, where the
tensor core decodes the 3-bit LUT-B weights. LutBEmulationTritonExperts
reproduces the same arithmetic on any GPU for accuracy validation: weights are
dequantized to the model dtype once at load time and activations are MXFP8
quantize-dequantized before each GEMM.
Classes:
-
LutBEmulationTritonExperts–Emulated LUT-B MoE: dequantized weights, MXFP8 QDQ activations.
-
LutBSm107Experts–Native Rubin LUT-B x MXFP8 MoE.
Functions:
-
mxfp8_qdq–Round activations through MXFP8, as the native kernel consumes them.
LutBEmulationTritonExperts
¶
LutBSm107Experts
¶
Bases: _LutBExpertsBase
Native Rubin LUT-B x MXFP8 MoE.
A simple path: MXFP8-quantize the activations, then run two grouped GEMMs
(ops.lut_b_moe_gemm) over routing aligned to 128-row blocks.
_LutBExpertsBase
¶
Bases: TritonExperts
Shared support checks. Activations arrive unquantized; each subclass quantizes them to MXFP8 itself.
mxfp8_qdq(x)
¶
Round activations through MXFP8, as the native kernel consumes them.