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, an AscendCL API.
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
Parent topic: AMCT Model Compression