Skip to content

Commit

Permalink
Update dist_dataloader.py (PaddlePaddle#9451)
Browse files Browse the repository at this point in the history
  • Loading branch information
DesmonDay authored and lugimzzz committed Nov 19, 2024
1 parent f403c19 commit b6652b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions paddlenlp/data/dist_dataloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ def init_dataloader_comm_group():
hcg = fleet.get_hybrid_communicate_group()
topo = hcg._topo
parallel_groups = topo.get_comm_list("pipe")
parallel_comm_group = None

for group in parallel_groups:
ranks = [group[0], group[-1]]
Expand Down

0 comments on commit b6652b2

Please sign in to comment.