Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can I get ip of master node #48

Open
WilliamZhaoz opened this issue Feb 25, 2020 · 1 comment
Open

how can I get ip of master node #48

WilliamZhaoz opened this issue Feb 25, 2020 · 1 comment

Comments

@WilliamZhaoz
Copy link

when I get it via env variable AZ_BATCHAI_MPI_MASTER_NODE, I get follow error

File "src/scripts/submit_job/distributed.py", line 273, in set_environment_variables_for_nccl_backend
os.environ['MASTER_ADDR'] = os.environ['AZ_BATCHAI_MPI_MASTER_NODE']
File "/opt/conda/lib/python3.6/os.py", line 669, in getitem
raise KeyError(key) from None
KeyError: 'AZ_BATCHAI_MPI_MASTER_NODE'

@0mza987
Copy link

0mza987 commented Aug 4, 2022

Did you find solution for this issue? Facing the same error here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants