PROF_CONFIG_PATH
Description
Specifies the path of the profiler_config.json configuration file for the dynamic_profile collection function of the Ascend PyTorch Profiler API in the PyTorch training scenario.
Example
export PROF_CONFIG_PATH="profiler_config_path"
After this environment variable is configured and training is started, dynamic_profile automatically creates the template file profiler_config.json in profiler_config_path. You can modify configuration options based on the template file.
For details about the dynamic_profile collection function and the profiler_config.json file, see "Other Collection Methods > Profile Data Collection with PyTorch Framework APIs > Ascend PyTorch Profiler APIs > dynamic_profile dynamic collection" in Performance Tuning Tool User Guide .
Restrictions
This environment variable applies only to PyTorch training scenarios.