In this repo, when doing AWQ quantization, is there any activation-aware calibration?
- User
In this repo, when doing AWQ quantization, is there any activation-aware calibration?
Assistant
I will search for "AWQ" in the codebase to identify relevant implementation files and read the AWQ configuration file to understand its parameters.
Assistant
I will read
deepcompressor/calib/smooth.py,deepcompressor/calib/range.py, anddeepcompressor/app/llm/ptq.pyto understand the smoothing logic, range calibration, and the overall quantization pipeline.Assistant
I will list the contents of
deepcompressor/app/llm/quantto identify the implementation files for smoothing and weight quantization, and then read them to confirm they use the expected calibrators.Assistant
I will read
deepcompressor/app/llm/quant/smooth.pyto check howsmooth_llmutilizesSmoothCalibrator, anddeepcompressor/app/llm/quant/weight.pyto verify ifquantize_llm_weightsemploysDynamicRangeCalibratorwith activations.Assistant
Yes, activation-aware calibration is implemented in this repository. It is a core part of the AWQ (Activation-aware Weight Quantization) implementation, primarily handled through two mechanisms: and .