PROFILING_MODE

Description

Enables the profiling function.

  • true: enabled. The option to be traced is determined by 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 = dynamic).

Applicability

Atlas training products

Atlas inference products

Atlas A2 training products/Atlas A2 inference products

Atlas A3 training products/Atlas A3 inference products