ASCEND_PROCESS_LOG_PATH

Description

Sets the log storage path.

If the directory does not exist when logs are stored, it is automatically created; if it exists, logs are stored directly.

  • You can run the echo $ASCEND_PROCESS_LOG_PATH command to view the path set by the environment variable.
  • The log storage priority is as follows: ASCEND_PROCESS_LOG_PATH > ASCEND_WORK_PATH > default log storage path ($HOME/ascend/log).

Configuration Example

export ASCEND_PROCESS_LOG_PATH=$HOME/log/

You can specify the log storage path as any directory with read and write permissions.

Constraints

Applicable only to Ascend EP mode.

Supported Models

Supported on all chips.