Overview
This section describes the quantization scenarios supported by AMCT and functions in each scenario.
Quantitative Classification
Based on whether retraining is required, quantization is classified into PTQ and QAT. For details about quantization concepts, see Compression Concepts. For details about quantization algorithms, see Compression Algorithms.
- PTQ
Quantization takes two forms: Manual Quantization and Accuracy-based Automatic Quantization based on whether the quantization configuration file is manually tuned after quantization.
If the accuracy of the quantized model is not as expected, perform Accuracy-based Automatic Quantization (recommended) or Manual Tuning until the accuracy meets your requirement.
- QAT
Currently, only manual quantization is supported. If the accuracy of the quantized model is not as expected, perform Manual Tuning.
Parent topic: Quantization