Skip to content

vllm.model_executor.layers.fused_moe.oracle.nvfp4

Classes:

Functions:

NvFp4MoEKernelOracle

Bases: MoEKernelOracle[NvFp4MoeBackend]

NVFP4 MoE backend selection for one deployment configuration.

map_nvfp4_backend(runner_backend)

Map user's MoEBackend to NvFp4MoeBackend.

nvfp4_backend_supports_csf_scales(backend, config, use_a16)

Whether the backend keeps csf checkpoint scales compressed.

select_nvfp4_moe_backend(config, weight_key, activation_key)

Select the primary NvFP4 MoE backend Note: Shape-specific fallbacks may still occur at runtime. Returns NONE and a placeholder experts class for requantization sources.