CM_CHIEF_DEVICE
Description
In the TensorFlow distributed training or inference scenario, you can choose not to use the ranktable file. Instead, you can use the environment variables CM_CHIEF_IP, CM_CHIEF_PORT, CM_CHIEF_DEVICE, CM_WORKER_SIZE, and CM_WORKER_IP to automatically generate resource information and initialize the collective communication component.
Configures the logical ID of the device for collecting statistics on the server cluster information on the master node.
The value of this environment variable must be an integer within the range: [0, Maximum number of devices in AI Server - 1].
Example
export CM_CHIEF_DEVICE=0
Restrictions
This environment variable cannot be used together with RANK_TABLE_FILE, RANK_ID, or RANK_SIZE.
Applicability
Parent topic: TF Adapter