AWQ Outperforms GPTQ in INT4 Accuracy & Speed

AWQ consistently achieves 1-3% higher accuracy (less quality degradation) compared to GPTQ at the same INT4 bit-width on benchmarks for models like LLaMA-2 and LLaMA-3. It also offers 5-10x faster calibration due to a simpler algorithm that avoids complex Hessian computations, while its optimized kernels match or exceed GPTQ's inference speed.

The top 3

  1. AWQ's Superior Accuracy: 97% FP16 Quality in INT4: Activation-Aware Quantization (AWQ) consistently achieves 95-97% of FP16 model quality at 4-bit precision, outperforming GPTQ's 90-96% by identifying and protecting approximately 1% of critical weights based on activation magnitudes.
  2. AWQ's Speed Advantage: Faster Calibration & Inference: AWQ calibrates a 70B model in 20-40 minutes, significantly faster than GPTQ's 4-6 hours, by only requiring activation statistics. For inference, AWQ also shows superior throughput, completing tasks in 4.96s compared to GPTQ's 8.78s on Mistral 7B with an A100 GPU.
  3. Distinct Quantization Philosophies: Activation-Aware vs. Error Minimization: AWQ's core innovation is scaling critical weights based on activation magnitudes *before* quantization to preserve essential information. In contrast, GPTQ utilizes Hessian-weighted least-squares optimization to minimize layer-wise reconstruction errors *after* quantization, relying on second-order information.

Sources

Open the full topic