Skip to content

Commit

Permalink
fix hang of hybrid parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
ForFishes committed Jun 3, 2021
1 parent 4920c47 commit 23bc09a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/paddle/distributed/collective.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def new_group(ranks=None, backend=None):
else:
assert False, ("no cuda device found")
# need to barrier to construct group
barrier(gp)
barrier()
return gp


Expand Down

0 comments on commit 23bc09a

Please sign in to comment.