Quantization
Lesson notes
Shrink the model itself: store weights in 8-bit or 4-bit instead of 16-bit floats. Post-training quantization is nearly free to apply and surprisingly robust; the trade is a quality haircut that grows as bits shrink. The reason a 70B model runs on a single consumer GPU at all.
Key ideas
- Weight precision: fp16 → int8 → int4
- PTQ vs quantization-aware training
- Outlier channels — why naive quantization breaks
- GGUF/AWQ/GPTQ as the practical formats