Bit-Widths' Memory Savings: Top Reductions
4-bit quantization typically achieves a 75% memory reduction from FP16, while 8-bit cuts it by 50%, enabling a 70B parameter LLM to shrink from 140GB to approximately 35GB.
The top 3
- LLM Quantization's Top Memory Reductions: 8-bit, 4-bit, and Sub-4-bit: Quantizing Large Language Models from FP16 typically yields 50% memory reduction with 8-bit (INT8) and 75% with 4-bit (INT4). Pushing to 3-bit can save over 90%, and 2-bit up to 93.75% of FP32 memory, though sub-4-bit often requires advanced techniques or specialized models to retain acceptable accuracy.
- Extreme LLM Compression: Lowest Practical Bit-Widths Explored: While 4-bit quantization is a practical sweet spot for LLMs, researchers are pushing to 2-bit and even 1.5-bit per weight for extreme memory savings, with some 'quantization-aware' models designed from scratch to perform well at these ultra-low precisions. However, going below 4-bit often leads to significant accuracy degradation for general models.
- Top Quantization Methods: GPTQ vs. AWQ vs. QLoRA for Memory Efficiency: Leading quantization methods like GPTQ and AWQ are favored for fast, weight-only inference with significant memory savings, often cutting VRAM by 3-4x. QLoRA, while also 4-bit, excels in fine-tuning by keeping base weights quantized and training small FP16 adapters, offering excellent quality recovery for domain adaptation. GGUF is a popular choice for CPU and Apple Silicon deployments.
Sources
Open the full topic