Quantization stores weights (and sometimes activations or the KV cache) in lower precision such as INT8 or INT4 instead of FP16: INT8 halves and INT4 quarters the weight memory.
Smaller models fit on fewer GPUs, and memory-bound decoding speeds up because less data moves per token.
Quality can drop, especially at 4-bit or below or with outlier-heavy activations; post-training methods (GPTQ, AWQ) and quantization-aware training reduce the loss.
Always evaluate on your own task before and after quantizing.
Loading…