AWQ Outperforms GPTQ in Speed and Accuracy
AWQ achieves up to 2.7x faster inference while maintaining 98% of original model accuracy, significantly outperforming GPTQ which is 1.5x slower and INT4 methods. It also calibrates 5-20x faster than GPTQ.
The top 3
- AWQ's Superior 4-bit Accuracy: Up to 6x Less Quality Drop Than GPTQ: AWQ consistently delivers higher accuracy at 4-bit precision, showing a perplexity of ~5.40 on WikiText-2 compared to GPTQ's ~5.50+. For Vicuna-7B, AWQ's accuracy drop from FP16 baseline is 0.54 points, whereas GPTQ's is 3.25 points, representing a 6x larger accuracy hit for GPTQ at the same bit-width.
- AWQ's Inference Speed Edge: Up to 31% Faster with Marlin Kernel: When paired with the Marlin kernel, AWQ achieves superior inference speeds, reaching ~741 tokens/second on Qwen2.5-32B models, an ~4% edge over GPTQ's ~712 tokens/second. On an RTX 4090, AWQ can be ~31% faster, delivering ~194 tok/s for Llama-2-7B compared to GPTQ's ~133 tok/s.
- AWQ's Core Insight: Protecting 1% Salient Weights via Activations: AWQ's superior performance stems from its 'activation-aware' approach, which identifies and protects approximately 1% of the most critical weights by analyzing their activation magnitudes during calibration. Unlike GPTQ's layer-by-layer error minimization, this method prevents cumulative accuracy drift and is particularly effective for instruction-tuned and multimodal LLMs.
Sources
Open the full topic