PROFILING_MODE

Description

Enables profiling.

  • 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.
  • The priority of enabling profiling through the AscendCL API or TF Adapter API parameter profiling_mode is higher than that of this environment variable.

Applicability

Atlas Training Series Product