Skip to content

Commit

Permalink
added tag to broadcast
Browse files Browse the repository at this point in the history
  • Loading branch information
joyce-yuan committed Sep 14, 2024
1 parent bfc6048 commit 5ec2484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/communication/comm_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def receive(self, node_ids: str|int|List[str|int], tag:int=0) -> Any:
else:
return self.comm.receive(node_ids)

def broadcast(self, data: Any):
def broadcast(self, data: Any, tag:int=0):
self.comm.broadcast(data)

def all_gather(self, tag:int=0):
Expand Down

0 comments on commit 5ec2484

Please sign in to comment.