STEP_NOW

Description

In the TensorFlow 1.15 training scenario, if the training acceleration function is enabled through the experimental_accelerate_train_mode or accelerate_train_mode parameter, you can use this environment variable to set the number of execution steps on the NPU.

  • If the training script uses the session configuration, see the description of the experimental_accelerate_train_mode parameter in "Session Configuration > Session Configuration Parameters > Experiment Parameters" in TF Adapter API (1.x).
  • If the NPURunConfig configuration is used in the training script, see the description of the accelerate_train_mode parameter in "npu_bridge.estimator.npu.npu_config > ExperimentalConfig" in TF Adapter API (1.x).

The value of this environment variable is of the int type. There is no default value.

Example

export STEP_NOW=100

Restrictions

This environment variable applies only to the scenario where the TensorFlow 1.15 network is trained on the Ascend platform.

Applicability

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas training products