[AMD][DSV4] moe: enable shared-expert fusion on the grouped-topk path (megamoe) (#40943)

This commit is contained in:
karverma-amd
2026-09-28 03:21:57 -07:00
committed by GitHub
parent 6caf0ff4ae
commit 85be04978d
+2 -2
View File
@@ -2556,7 +2556,7 @@ def select_experts(
renormalize=renormalize,
num_expert_group=num_expert_group,
topk_group=topk_group,
num_fused_shared_experts=num_fused_shared_experts,
num_fused_shared_experts=num_fused_shared_experts_for_gate,
routed_scaling_factor=routed_scaling_factor,
apply_routed_scaling_factor_on_output=apply_routed_scaling_factor_on_output,
scoring_func=scoring_func,
@@ -2570,7 +2570,7 @@ def select_experts(
renormalize=renormalize,
num_expert_group=num_expert_group,
topk_group=topk_group,
num_fused_shared_experts=num_fused_shared_experts,
num_fused_shared_experts=num_fused_shared_experts_for_gate,
routed_scaling_factor=routed_scaling_factor,
apply_routed_scaling_factor_on_output=apply_routed_scaling_factor_on_output,
)