Fix Qwen3-MoE producing garbage with the mori a2a backend (#34006)
This commit is contained in:
@@ -300,6 +300,7 @@ class Qwen3MoeSparseMoeBlock(nn.Module):
|
|||||||
|
|
||||||
if (
|
if (
|
||||||
not get_moe_a2a_backend().is_deepep()
|
not get_moe_a2a_backend().is_deepep()
|
||||||
|
and not get_moe_a2a_backend().is_mori()
|
||||||
and not get_moe_a2a_backend().is_ascend_fuseep()
|
and not get_moe_a2a_backend().is_ascend_fuseep()
|
||||||
):
|
):
|
||||||
return self.forward_normal(hidden_states)
|
return self.forward_normal(hidden_states)
|
||||||
|
|||||||
Reference in New Issue
Block a user