Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
Revert "Update test_all_gather_grad.py"
Browse files Browse the repository at this point in the history
This reverts commit 0d23d75.
  • Loading branch information
shuyingsunshine21 committed Mar 24, 2021
1 parent d64f90c commit dcdcd29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utilities/test_all_gather_grad.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
def setup_ddp(rank, world_size):
""" Setup ddp enviroment """
os.environ["MASTER_ADDR"] = "localhost"
os.environ["MASTER_PORT"] = "8088"
os.environ["MASTER_PORT"] = "29501"

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

0 comments on commit dcdcd29

Please sign in to comment.