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 a9aae99 commit 70fe5daCopy full SHA for 70fe5da
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"] = "29501"
+ os.environ["MASTER_PORT"] = "8088"
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