Skip to content

Commit

Permalink
bug fix (PaddlePaddle#8730)
Browse files Browse the repository at this point in the history
  • Loading branch information
FeixLiu committed Jul 26, 2024
1 parent 72db7c2 commit 96c5236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddlenlp/utils/distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def distributed_allgather(tensor: Any, group=None, offload=False):
x.reshape_(origin_shape)

else:
distributed.all_gather(output_tensors, tensor)
distributed.all_gather(output_tensors, tensor, group=group)

return output_tensors

Expand Down

0 comments on commit 96c5236

Please sign in to comment.