Quantization (Quant)

Shrinking an AI model's numbers from high-precision decimals to smaller integers so it runs faster and uses less memory with barely any quality loss.

Technically: Reducing weight representation from FP32/BF16 to INT8/INT4 (or lower) by mapping floating-point ranges to discrete integer buckets, often with per-channel or per-group scaling factors to limit error. Cuts memory use and increases inference throughput on commodity hardware. Post-training quantization (PTQ) and quantization-aware training (QAT) are the two main regimes; QAT recovers more accuracy at aggressive bitwidths.

Category: Training & Optimization

Related ideas