Machine Don

What is quantization?

Compressing a model by replacing precise numbers with shorter, rougher ones. It loses a tiny bit of quality and saves a lot of memory and time.

Also called: quantize, quantized, quantizing, int8, int4.

An analogy

Rounding your budget to the nearest dollar: the numbers are less exact, but the sheet is half as long and the total comes out almost the same.

Where it shows up in the course

Related terms