Skip to content

Commit 0d23d75

Browse files
Update test_all_gather_grad.py
1 parent 70fe5da commit 0d23d75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/utilities/test_all_gather_grad.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
def setup_ddp(rank, world_size):
1414
""" Setup ddp enviroment """
1515
os.environ["MASTER_ADDR"] = "localhost"
16-
os.environ["MASTER_PORT"] = "29501"
16+
os.environ["MASTER_PORT"] = "8088"
1717

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

0 commit comments

Comments
 (0)