Skip to content
Optimization

Quantization

Reducing model weight (and optionally activation) precision from FP16/BF16 to INT8, FP8, or INT4 to cut VRAM and increase throughput.

Definition

Quantization represents weights and sometimes activations using fewer bits than the training-time FP32 or BF16 precision. The most common targets are INT8 (8-bit integer) and INT4/FP8 (4 or 8 bits). Weights at lower precision occupy less VRAM and can be loaded faster from HBM, which is especially beneficial for memory-bandwidth-bound decoding. The trade-off is potential accuracy loss; calibration-based and outlier-aware methods (GPTQ, AWQ, SmoothQuant) are used to maintain quality.

More Optimization terms