Skip to content

Commit

Permalink
delete barrier
Browse files Browse the repository at this point in the history
  • Loading branch information
liufengwei0103 committed Sep 16, 2021
1 parent f3f9439 commit 7ddf79a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions python/oneflow/comm/comm_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,14 +235,6 @@ def _check_list(tensor_list):
)


def barrier():
"""
Synchronizes all processes.
"""
oneflow._oneflow_internal.eager.multi_client.Sync()


def reduce_scatter(output, input_list):
"""
Reduces, then scatters a list of tensors to all processes in a group.
Expand Down

0 comments on commit 7ddf79a

Please sign in to comment.