AWQ

Also known as: Activation-Aware Weight Quantization

Category: Generative AI / LLM

An activation-aware quantization method that identifies and protects the most important weights by observing activation patterns, achieving high-quality low-bit quantization.

Full Explanation

AWQ (Activation-Aware Weight Quantization) is a post-training quantization method that achieves high compression rates while preserving model quality by focusing protection on the most important weights. The key insight is that a small fraction of weights (around 1%) are disproportionately important for model performance, and these important weights can be identified by observing activation magnitudes in a calibration dataset. AWQ applies per-channel scaling to protect these salient weights before quantization, effectively reducing their quantization error at the expense of slightly higher error in less important weights. AWQ supports INT4 and INT3 quantization and produces models optimized for GPU inference. It achieves quality comparable to or better than GPTQ while being faster to quantize. AWQ is supported by vLLM, AutoAWQ, and other serving frameworks. It has become one of the most popular quantization methods for production GPU deployment.

Related Terms

More in Generative AI / LLM

Explore More