ASCEND_DEVICE_ID
Description
Specifies the logical ID of the Ascend AI Processor used by the current process.
The value range is [0, N – 1] and the default value is 0. N indicates the number of devices on the physical machine, VM, or in a container.
Use cases:
The TensorFlow framework network performs training or online inference on the Ascend platform.
The AOE tool is used for tuning in the inference scenario.
The AOE tool is used for tuning in the training scenario.
Example
export ASCEND_DEVICE_ID=0
Restrictions
None
Applicability
Parent topic: Resource Configuration