Quantization Levels: VRAM Savings Breakdown

Quantization reduces LLM precision from 16-bit floats (FP16) using ~14GB for a 7B model, to 8-bit (Q8_0) requiring ~7-7.5GB, and 4-bit (Q4_K_M) needing ~4.5GB, representing a 3-4x VRAM reduction.

The top 3

  1. Top VRAM Savings by Quantization Bit-Depth: Quantization significantly reduces VRAM: 8-bit quantization typically cuts memory by 50% compared to 16-bit or 32-bit precision, while 4-bit quantization achieves a 75% reduction. Sub-4-bit levels can offer up to 85% compression, though with greater accuracy trade-offs.
  2. Quantization's Accuracy vs. VRAM Trade-offs: Key Levels: 8-bit quantization (INT8/FP8) offers near-lossless quality, typically maintaining over 99% of original accuracy with only a ~1% drop, making it suitable for high-precision tasks. 4-bit quantization (e.g., Q4_K_M, AWQ-4) reduces VRAM by 75% with a 1-3% accuracy loss, often recovering 98.9% accuracy with advanced techniques like AWQ or GPTQ. Below 4-bit, such as 3-bit, quality degradation becomes more noticeable, making these levels primarily for research.
  3. Most Adopted Quantization Schemes for Local LLMs: Q4_K_M (4-bit) is widely considered the optimal default for local LLM inference on consumer hardware, offering a strong balance of 95-97% FP16 quality with approximately 35% of the VRAM cost. Q8_0 (8-bit) is favored for tasks demanding maximum fidelity, such as coding, due to its near-lossless quality. Additionally, FP8 is emerging as a preferred default for new deployments on NVIDIA Hopper GPUs and newer, providing near-FP16 quality with 50% VRAM reduction.

Sources

Open the full topic