Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Update python/pylibwholegraph/pylibwholegraph/torch/comm.py
Browse files Browse the repository at this point in the history
  • Loading branch information
BradReesWork authored Jan 19, 2024
1 parent e6b9abb commit e8a6ce4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/pylibwholegraph/pylibwholegraph/torch/comm.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def reset_communicators():
all_comm_local_rank = 0
all_comm_local_size = 1


def set_world_info(world_rank: int, world_size: int, local_rank: int, local_size: int):
"""
Set the global world's information. This is used for create common used communicators, like local node communicator,
Expand Down

0 comments on commit e8a6ce4

Please sign in to comment.