Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FeixLiu committed Jul 8, 2024
1 parent bdd2287 commit e5eeaa0
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 e5eeaa0

Please sign in to comment.