Skip to content

vllm.model_executor.layers.fused_moe.oracle.mxfp8

Classes:

Functions:

Mxfp8MoEKernelOracle

Bases: MoEKernelOracle[Fp8MoeBackend]

MXFP8 MoE backend selection for one deployment configuration.

_mxfp8_backend_to_kernel_cls(backend)

Resolve the MXFP8 expert classes for a backend.

DeepGEMM resolves directly to DeepGemmExperts (not the TritonOrDeepGemmExperts wrapper, whose Triton fallback cannot handle the MXFP8 1x32 scheme); all other backends defer to the FP8 resolver.

_select_kernel_cls(backend, config)

Select the first supported expert class for the MXFP8 config.

select_mxfp8_moe_backend(config)

Select the MXFP8 MoE backend and the best expert class.

Returns:

  • Fp8MoeBackend –

    A tuple of (fp8_backend, experts_cls); NONE and a placeholder experts

  • type[FusedMoEExperts] –

    class for requantization sources, which have no kernel.