Weight Quantization
What is Weight Quantization?
In one sentence: Weight quantization stores a model's learned weights in fewer bits.
Weights are most of a model's memory, so shrinking them gives the biggest savings. During use, weights are often converted back to higher precision just before calculations.
What does Weight Quantization look like?
Storing all weights of a model in 4 bits while keeping calculations in 16-bit is weight quantization.
Why does Weight Quantization matter?
It is the most common kind of quantization for running models locally.
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/weight-quantization/">Weight Quantization, explained simply</a> (The AI Math Dictionary)