AWQ's Double Impact: Half VRAM, 3x Faster Inference
AWQ significantly boosts local LLM inference by cutting VRAM usage roughly in half and achieving 1.5-3x faster inference speeds compared to FP16 models. This allows a 70B parameter model to fit on a single GPU and load weights up to 4x faster.
The top 3
- AWQ vs. GPTQ: Speed, VRAM, and Accuracy Showdown: AWQ consistently outperforms GPTQ in quality benchmarks at the same bit-width, offers up to 2x faster GPU inference, and boasts a 5-20x faster calibration process (e.g., 20-40 minutes for a 70B model vs. 4-6 hours for GPTQ) due to its lighter memory footprint during calibration.
- The 'Activation-Aware' Secret to AWQ's Efficiency: AWQ's core innovation lies in identifying a small fraction (around 1%) of 'salient weights' that disproportionately impact model output by analyzing activation patterns. It then strategically scales up these critical weights before quantization, protecting them from rounding errors and enabling aggressive compression of the remaining weights with minimal accuracy loss.
- AWQ's Real-World Impact: Models and Hardware Wins: AWQ enables a 70B model to fit on a single 48GB GPU (requiring ~38GB VRAM) and allows models like Phi-5 (14B) to run on an RTX 4090 (24GB) by reducing VRAM from ~28GB to ~9GB. It delivers up to 3.5x higher throughput in batched inference and 3x faster linear layer speedups over FP16, with optimized kernels in vLLM, SGLang, and TensorRT-LLM.
Sources
Open the full topic