PROFILING_MODE
Description
Enables or disables the profiling function.
- true: enabled. The trace 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
Constraints
- 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).
Applicability
Atlas 350 Accelerator Card
Parent topic: Profiling