Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion test/distributed/test_c10d.py
Original file line number Diff line number Diff line change
Expand Up @@ -3471,6 +3471,8 @@ def _test_nccl_errors_blocking(self, func):
# aborting nccl communicators before throwing Operation timed out
a = torch.rand(10).cuda(self.rank)
elif self.rank == 1:
# Clean up structures (ex: files for FileStore before going down)
del process_group
func()
else:
# Wait for timeout
Expand Down Expand Up @@ -3552,7 +3554,7 @@ def _wait_for_comm_abort(self, process_group):
return
else:
raise e
time.sleep(1)
time.sleep(0.1)

@requires_nccl()
@skip_if_lt_x_gpu(3)
Expand Down