[NVIDIA] Add Flashinfer MoE blockscale fp8 backend (#8036)

This commit is contained in:
Kaixi Hou
2025-07-27 00:34:41 -07:00
committed by GitHub
parent e34cf6ad75
commit 85486b6f6f
8 changed files with 179 additions and 47 deletions
+2 -2
View File
@@ -147,10 +147,10 @@ class Qwen2MoeSparseMoeBlock(nn.Module):
# Additional args for FusedMoE
**(
dict(
enable_flashinfer_moe=True,
enable_flashinfer_cutlass_moe=True,
enable_ep_moe=global_server_args_dict["enable_ep_moe"],
)
if global_server_args_dict["enable_flashinfer_moe"]
if global_server_args_dict["enable_flashinfer_cutlass_moe"]
else {}
),
)