Skip to content
This repository was archived by the owner on Jun 11, 2026. It is now read-only.
This repository was archived by the owner on Jun 11, 2026. It is now read-only.

how can I get ip of master node #48

Open

Description

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'

Activity

  1. 0mza987 commented on Aug 4, 2022

    @0mza987

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions