Q5_K_M & Q8_0: Higher Fidelity, More RAM

Q5_K_M (5-bit) offers minimal quality loss at ~5.7GB for a 7B model, suited for 12GB VRAM, while Q8_0 (8-bit) provides negligible loss at ~7GB for a 7B model, targeting 16GB+ VRAM for maximum accuracy.

The top 3

  1. Q5_K_M: The Optimal Balance for 12GB VRAM: Q5_K_M is widely considered the 'sweet spot' for models, particularly when running on GPUs with 12GB of VRAM, offering an excellent balance of high quality with meaningful memory savings compared to Q8_0.
  2. Q8_0: Near-Lossless Quality for Ample VRAM: Q8_0 provides virtually no perceptible quality loss, achieving over 99% accuracy compared to full-precision models, making it ideal for users with 16GB or more VRAM who prioritize maximum fidelity.
  3. Q4_K_M's Sweet Spot: Balancing Modest RAM and Good Output: Q4_K_M is widely considered the 'Goldilocks zone' for consumer hardware, reducing VRAM by approximately 70% (around 4.5GB for a 7B model) with only 1-3% quality loss compared to FP16, making it the recommended default for GPUs with 6-8GB VRAM.

Sources

Open the full topic