Co-authored-by: Byron Hsu <byron@periodiclabs.ai> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Byron Hsu
Claude Opus 4.7
parent
714173555c
commit
71029abd64
@@ -335,6 +335,7 @@ class Qwen3MoeSparseMoeBlock(nn.Module):
|
||||
if (
|
||||
self.ep_size > 1
|
||||
and not should_allreduce_fusion
|
||||
and not use_reduce_scatter
|
||||
and not should_use_dp_reduce_scatterv()
|
||||
):
|
||||
final_hidden_states = moe_expert_parallel_all_reduce(final_hidden_states)
|
||||
|
||||
Reference in New Issue
Block a user