Add NVFP4 MOE support for Deepseek V4. (#42209)

Signed-off-by: Shiyang Chen <shiychen@nvidia.com>
This commit is contained in:
sychen52
2026-05-22 07:21:51 -07:00
committed by GitHub
parent a377631d21
commit fb21d8b4f9
9 changed files with 217 additions and 17 deletions
@@ -335,6 +335,7 @@ class FusedMoE(PluggableLayer):
activation=self.activation,
device=vllm_config.device_config.device,
routing_method=self.routing_method_type,
swiglu_limit=swiglu_limit,
# TODO: in_dtype == out_dtype?
disable_inplace=disable_inplace() or shared_experts is not None,
)