PROFILING_MODE

Description

Enables or disables the profiling function.

  • true: enabled. The profiling options are read from PROFILING_OPTIONS.
  • false or not configured: disabled.
  • dynamic: When profile data is dynamically collected (attach mode), set this parameter before executing a training job.

Example

export PROFILING_MODE=true

Restrictions

  • This environment variable applies only to TensorFlow training and online inference scenarios.
  • Enabling profiling through the AscendCL API or TF Adapter API parameter profiling_mode has a higher priority than this environment variable (except when PROFILING_MODE is set to dynamic).

Applicable Models

Atlas training products

Atlas inference products

Atlas A2 training products/Atlas A2 inference products

Atlas A3 training products/Atlas A3 inference products

Ascend 950PR/Ascend 950DT