AMCT_LOG_DUMP

Description

Configures log flushing behaviors during post-training quantization. This environment variable applies only to quantization performed by calling aclgrphCalibration.

Possible values are:

  • 1 (default): Logs are flushed to amct_log_{timestamp}/amct_acl.log in the current path, and the quantization factor record file and graph file are not saved.
  • 2: Logs are flushed to amct_log_{timestamp}/amct_acl.log in the current path, and the quantization factor record file is saved in the amct_log_{timestamp} directory.
  • 3: Logs are flushed to amct_log_{timestamp}/amct_acl.log in the current path, and the quantization factor record file and the graph file that contains the graph description information in each phase of the quantization process are saved in the amct_log_{timestamp} directory.

Example

export AMCT_LOG_DUMP=1

Restrictions

None

Applicable Models

Ascend 950PR/Ascend 950DT

Atlas A2 training products/Atlas A2 inference products

Atlas A3 training products/Atlas A3 inference products

Atlas 200I/500 A2 inference products

Atlas training products

Atlas inference products