AMCT_LOG_DUMP

Description

Controls information such as log flushing 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, and the quantization factor record file and graph file are not saved.
  • 2: Logs are flushed to amct_log_{timestamp}/amct_acl.log, and the quantization factor record file is saved in the amct_log_{timestamp} path.
  • 3: Logs are flushed to amct_log_{timestamp}/amct_acl.log, and the quantization factor record file and graph file that contains the graph description information of each phase during quantization are stored in the amct_log_{timestamp} path.

Example

export AMCT_LOG_DUMP=1

Restrictions

None

Applicability

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