[NVIDIA] Remove unused get_fused_moe_impl_class function (#9764)

This commit is contained in:
Kaixi Hou
2025-09-05 22:41:22 -07:00
committed by GitHub
parent 3fa62da78c
commit 9a719b7afc
2 changed files with 1 additions and 18 deletions

View File

@@ -635,11 +635,7 @@ class Fp8MoEMethod(FusedMoEMethodBase):
layer.register_parameter("w13_weight_scale_inv", w13_weight_scale)
layer.register_parameter("w2_weight_scale_inv", w2_weight_scale)
assert self.quant_config.activation_scheme == "dynamic"
if (
get_bool_env_var("SGLANG_CUTLASS_MOE")
and self.cutlass_fp8_supported
and (is_sm100_supported() or is_sm90_supported())
):
if self.use_cutlass_fused_experts_fp8:
self.ab_strides1 = torch.full(
(num_experts,),
hidden_size,