IT lexicon › AI & ML › Quantization-Aware Training

Quantization-Aware Training QAT

AI & ML På svenska → Updated: 2026-11-13

Trains the model knowing it will run quantised (INT8/INT4) — fake-quantize forward, full-precision backward. Loses much less quality than post-training quantisation.

PyTorch + TensorFlow + JAX all have native QAT support. Difference vs Post-Training Quantization (PTQ): QAT gives <1% loss at INT4 vs 5-10% with PTQ. More compute-expensive (needs full fine-tune). Standard in mobile-AI (TensorFlow Lite, Core ML). Used by Llama 3.2 quantised models (Meta released QAT versions 2024).

← Back to the lexicon