Learn AI Math

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?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.