Learn AI Math

Integer Quantization

What is Integer Quantization?

In one sentence: Integer quantization converts model numbers into whole numbers, like INT8 or INT4, plus scale factors.

Each group of weights gets a scale, and every weight becomes a small whole number. To use it, you multiply the whole number by the scale to get back an approximate value. Integer math is also very fast on many chips.

What does Integer Quantization look like?

A weight of 0.37 might be stored as the integer 47 with a scale of about 0.0079.

Why does Integer Quantization matter?

Integer formats are the backbone of most quantization methods.

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.