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)

Check warning on line 217 in paddlenlp/utils/distributed.py

View check run for this annotation

Codecov / codecov/patch

paddlenlp/utils/distributed.py#L217

Added line #L217 was not covered by tests

return output_tensors

Expand Down

0 comments on commit e5eeaa0

Please sign in to comment.