We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcdcd29 commit 8651d54Copy full SHA for 8651d54
tests/metrics/utils.py
@@ -26,7 +26,7 @@
26
def setup_ddp(rank, world_size):
27
""" Setup ddp enviroment """
28
os.environ["MASTER_ADDR"] = "localhost"
29
- os.environ["MASTER_PORT"] = "8088"
+ os.environ["MASTER_PORT"] = "29501"
30
31
if torch.distributed.is_available() and sys.platform not in ("win32", "cygwin"):
32
torch.distributed.init_process_group("gloo", rank=rank, world_size=world_size)
0 commit comments