How LLMs Work
Quantization: Fitting a Big Model Into Less Memory
Quantization stores a model's numbers with fewer digits so it needs less memory. What the 2022 LLM.int8() paper reports and why memory limits who can run big models.
A large language model is a huge list of numbers. Every number takes space in a computer's memory, and a model with 175 billion numbers takes a lot of memory. Quantization means storing each number with fewer digits, a bit like rounding 3.14159 to 3.1. The model gets smaller, and the hope is that it still works almost as well.
A 2022 example
The paper "LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scale" tackled this problem for large language models. Its abstract says that large models "require significant GPU memory for inference", where inference means running a trained model. The authors developed a procedure that, they say, cut the memory needed by half while keeping the full-precision performance.
What the authors report
- A 175-billion-parameter model saved in 16-bit or 32-bit form could be loaded, converted to 8-bit and used straight away "without performance degradation".
- The method works around a surprising finding: a few "emergent" outlier features in transformer models dominate attention and prediction. The method keeps these in 16-bit, while more than 99.9 percent of values are multiplied in 8-bit.
- The authors say this makes it possible to use models such as OPT-175B and BLOOM on a single server with consumer GPUs. They released their software as open source.
All of these are the authors' reported results for the models they tested. They do not mean every model can be shrunk this way without a loss.
Why it matters
Memory decides who can run a model. If a model fits on a single computer, more schools, researchers and hobbyists can experiment with it. See how LLMs run on computers, open versus closed models and AI and energy use.
A note on sources
Everything above comes from the abstract of the paper on arXiv (2208.07339), read on 27 November 2026. The rounding picture is an analogy by this site.