Skip to content

Commit

Permalink
Fixed deepspeed.comm.monitored_barrier call (microsoft#4496)
Browse files Browse the repository at this point in the history
* Fixed deepspeed.comm.monitored_barrier call

* Formatting

---------

Co-authored-by: Logan Adams <[email protected]>
  • Loading branch information
2 people authored and baodii committed Nov 7, 2023
1 parent 8aa5dab commit 586c65f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepspeed/comm/comm.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ def monitored_barrier(group=None,
log_name='monitored_barrier',
debug=get_caller_func()):
global cdb
return cdb.barrier(group=group, timeout=timeout, wait_all_ranks=wait_all_ranks)
return cdb.monitored_barrier(group=group, timeout=timeout, wait_all_ranks=wait_all_ranks)


def log_summary(show_straggler=False):
Expand Down

0 comments on commit 586c65f

Please sign in to comment.