Skip to content

Commit

Permalink
removed the sleep in test
Browse files Browse the repository at this point in the history
Signed-off-by: TJ <tix@uber.com>
  • Loading branch information
TJ committed Dec 13, 2021
1 parent 5efb865 commit cac7df3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/parallel/test_torch.py
Expand Up @@ -3311,10 +3311,6 @@ def test_barrier_with_multiple_collectives(self):
allreduce_tensor = torch.eye(5)
allreduce_handle = hvd.allreduce_async(allreduce_tensor)

# Rank 0 sleeps for 3 seconds before synchronizing
if hvd.rank() == 0:
time.sleep(3)

hvd.barrier()

result = hvd.synchronize(allreduce_handle)
Expand Down

0 comments on commit cac7df3

Please sign in to comment.