Q3_K_S: Max RAM Savings for Lowest-End Hardware
For extreme memory constraints, Q3_K_S (3-bit) reduces a 7B model to ~3.3GB, making it viable for 4-5GB VRAM, though it incurs a more noticeable trade-off in model quality compared to higher-bit options.
The top 3
- Q3_K_S: The Perplexity Price for Max Savings: Q3_K_S achieves approximately 65% memory reduction compared to FP16 models, but this extreme compression typically leads to a more noticeable quality degradation. For instance, a Llama-3-8B model quantized with Q3_K_S can see a perplexity increase of +1.6321, significantly higher than the +0.2689 increase observed with Q4_K_S.
- Enabling LLMs on 4-6GB RAM with Q3_K_S: Q3_K_S is specifically designed for the most resource-constrained hardware, potentially allowing 7B parameter models—which typically require around 14GB of RAM in full precision (FP16)—to run on systems with as little as 4-6GB of available RAM. This makes local LLM inference viable on older laptops or devices with integrated graphics.
- Inside Q3_K_S: 3-Bit K-Means Block Quantization: Q3_K_S employs a sophisticated 3-bit precision scheme with K-means optimization applied to 'Small' blocks across all tensors. As part of the K-quant family, it uses a hierarchical affine quantizer that structures 256-weight super-blocks into smaller groups, incorporating additional quantized scale and minimum metadata to maintain fidelity despite the aggressive 3-bit compression.
Sources
Open the full topic