On this page
How it works
- Weights are mapped to fewer bits.
- Less memory frees room for KV cacheKey-value cache. Stored attention keys and values that let a model generate each new token without recomputing the whole context. Read the full explanation and can speed decoding.
Full lesson: AI numbers: memory and compute.
The numbers
- 13B model: 26 GB at 16-bit, ~6.5 GB at 4-bit.
- 70B model: 140 GB at 16-bit, 70 GB at 8-bit, 35 GB at 4-bit.
Why it matters, by role
- AI Infrastructure PMProduct Manager. Decides what a product should do, for whom, and why. Read the full explanation: A main cost lever.
- Model PM: Quality impact on key capabilities.
How interviews test it
Common confusions
- Quantisation isn't free; test on your own evals, including hard slices.
- It mainly saves memory; speed gains vary.
Related concepts
Sources
- Dettmers et al. (2023), "QLoRA: Efficient Finetuning of Quantized LLMs"
- Explained from standard practice; taught in full in the AI numbers: memory and compute module.