Fix Qwen3-MoE producing garbage with the mori a2a backend (#34006)

This commit is contained in:
Yuankai Chen
2026-08-08 15:44:01 -07:00
committed by GitHub
parent ba7abd4f92
commit cea16bf229
+1
View File
@@ -300,6 +300,7 @@ class Qwen3MoeSparseMoeBlock(nn.Module):
if (
not get_moe_a2a_backend().is_deepep()
and not get_moe_a2a_backend().is_mori()
and not get_moe_a2a_backend().is_ascend_fuseep()
):
return self.forward_normal(hidden_states)