Skip to content

Commit 913178e

Browse files
committed
Revert "Support multimodule communication (NVIDIA#2031)"
This reverts commit 485ed18.
1 parent 485ed18 commit 913178e

File tree

3 files changed

+3
-1313
lines changed

3 files changed

+3
-1313
lines changed

megatron/core/pipeline_parallel/bridge_communicator.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,9 @@ def send_forward_recv_backward(
628628
dist.broadcast(
629629
shape_tensor, src=self.current_rank, group=self.src_grid_broadcast_pg
630630
)
631+
dist.broadcast(
632+
shape_tensor, src=self.current_rank, group=self.src_grid_broadcast_pg
633+
)
631634

632635
# Broadcast the tensors to all ranks in the group
633636
dist.broadcast(

0 commit comments

Comments
 (0)