AWQ
AWQ (Activation-aware Weight Quantization) is a quantization method that uses activation statistics to identify and protect important weights, achieving superior accuracy at low bitrates.
AWQ (Activation-aware Weight Quantization) was developed by MIT and NVIDIA and published in 2023. Unlike GPTQ, which treats all weights equally, AWQ observes that a small fraction of weight channels are significantly more important than others based on the magnitude of their activations. AWQ identifies these salient weight channels by analyzing a calibration dataset's activation patterns, and then scales these important channels up before quantization, reducing the relative quantization error. This scaling is compensated by dividing the downstream layers' weights accordingly, so the output remains mathematically equivalent. The method is per-channel, meaning it scales entire channels (not individual weights), which makes it efficient to implement. AWQ achieves better perplexity than GPTQ at the same bitrate, especially for 4-bit and 3-bit quantization. It also works natively with group-wise quantization, using group sizes like 128. AWQ does not require any training; it is a post-training optimization using a small calibration set (e.g., 128 sequences from the Pile). The quantized models are often stored in the same format as GPTQ (using the AutoGPTQ loader) or in a dedicated AWQ format. Inference speed is comparable to GPTQ, with some implementations showing minor throughput advantages due to simpler kernel requirements. AWQ is supported in vLLM, TensorRT-LLM, ExLlama (v2), and Hugging Face. It is particularly popular for 4-bit quantization of instruction-tuned models, where it preserves quality remarkably well. For AI builders, AWQ is often the preferred method for deploying quantized models with the highest quality at 4 bits, especially when the model is sensitive to quantization errors, such as code or math models. The main downside is slightly longer calibration time compared to simpler methods, but it is still a matter of minutes.
AWQ requires knowledge of the model's architecture in detail; it actually works as a black-box quantization method using only activation data.
Related terms
Concepts you'll usually encounter alongside this one.
GPTQ is a post-training quantization method that compresses LLM weights to 2-4 bits using an optimal brain quantization approach.
INT4 is a 4-bit integer quantization format that compresses model weights by 8x vs FP32, enabling large LLMs to run on consumer hardware with modest quality loss.
Q4_K_M is a 4-bit quantization method in llama.cpp that combines 4-bit quantization for most weights with higher precision for important weights using a block size of 32.
ExLlama v2 is a GPU-optimized inference engine and quantization format for Llama-family models, enabling high-throughput generation with low-bit weights and dynamic KV-cache management.
Mentioned in tutorials
Hands-on guides that put this concept to work.
Squeeze a 70-billion-parameter model onto a single RTX 4090 by quantizing weights to 4 bits. Quality stays high, VRAM usage drops to 24 GB.
What quantization actually does to a model, why Q4_K_M is the default sweet spot, and when to deviate. A practical reference for picking quants.
See how this term affects your memory budget.
Real numbers, real chips, every workload.
Picks for builders, by use case.
Stay Ahead of the AI Curve
Get weekly AI hardware news, benchmark updates, and deals in your inbox. Founding-subscriber list, be one of the first.