Skip to content

Commit

Permalink
fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
MayDomine committed Apr 22, 2024
1 parent 5dad728 commit 151f679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bmtrain/synchronize.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def wait_loader():
config['calc_stream'].record_event(config['load_event'])


def sum_loss(loss : torch.Tensor, comm: Optional[nccl.Communicator] = None):
def sum_loss(loss : torch.Tensor, comm: Optional[nccl.NCCLCommunicator] = None):
"""
Sum the loss across all workers.
Expand Down

0 comments on commit 151f679

Please sign in to comment.