4-bit LLMs: Up to 2.4x Faster Inference Than Original Models

4-bit quantization significantly boosts LLM inference, with specific benchmarks showing models like Deepseek (7B) achieving 130 tokens/second on an NVIDIA RTX 4090, representing a 2.4x speed increase over its original setup.

The top 3

  1. 4-bit vs. 16-bit: Quantifiable Inference Speed Gains: 4-bit quantized LLMs can achieve significant speedups, with benchmarks showing up to 2.4x faster inference than original 16-bit models. On NVIDIA H100 GPUs, Activation-aware Weight Quantization (AWQ) at 4-bit can boost throughput by 3.1x compared to FP16. For a Qwen3-32B model, GPTQ-Int4 quantization resulted in 2.7x faster inference than its BF16 counterpart on an NVIDIA H100 GPU.
  2. Memory Footprint Reduction: 4-bit's Key Advantage: 4-bit quantization drastically cuts memory usage, reducing model size by up to 75% compared to 16-bit precision. For instance, a 7B parameter model that typically requires 14GB in BF16 can be compressed to just 3.5GB to 4GB with 4-bit quantization, enabling it to run on more constrained hardware like a single desktop GPU. This memory efficiency is a primary enabler for faster local inference.
  3. Accuracy vs. Speed: 4-bit's Minimal Trade-off: While 4-bit quantization introduces some accuracy loss, advanced techniques like AWQ or GPTQ can limit this to a 1-2% drop in performance compared to 16-bit models. For example, Llama 3.1 8B maintained accuracy within ±1 percentage point of its FP16 baseline on MMLU and ARC-Challenge benchmarks when quantized to 4-bit. Specific benchmarks show 4-bit models recovering 98.9% accuracy on coding tasks like HumanEval+.

Sources

Open the full topic