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

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

Atlas inference products

Atlas training products