AMCT_LOG_DUMP

Description

Configures log flushing behaviors during PTQ. 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

Constraints

None

Applicable Products

  • Ascend 950PR&950DT products: supported
  • Atlas A3 products: supported
  • Atlas A2 products: supported
  • Atlas 200I/500 A2 inference products: supported
  • Atlas inference products: supported
  • Atlas training products: supported