Skip to content

Commit 8651d54

Browse files
Revert "Update utils.py"
This reverts commit 70fe5da.
1 parent dcdcd29 commit 8651d54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/metrics/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
def setup_ddp(rank, world_size):
2727
""" Setup ddp enviroment """
2828
os.environ["MASTER_ADDR"] = "localhost"
29-
os.environ["MASTER_PORT"] = "8088"
29+
os.environ["MASTER_PORT"] = "29501"
3030

3131
if torch.distributed.is_available() and sys.platform not in ("win32", "cygwin"):
3232
torch.distributed.init_process_group("gloo", rank=rank, world_size=world_size)

0 commit comments

Comments
 (0)