Update test_results.py

This commit is contained in:
shuyingsunshine21 2021-03-24 01:57:31 -07:00 committed by GitHub
parent c5053da789
commit 9d4a2b891d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ from tests.helpers.runif import RunIf
def _setup_ddp(rank, worldsize):
import os
os.environ["MASTER_ADDR"] = "localhost"
# initialize the process group