LinkedIn analytics tracking pixel for AIDOLS AI consulting website performance measurement
Training & Optimization

Quantization

Quantization is the technique of representing a neural network's weights and activations with fewer bits — 8-bit, 4-bit, or even lower — to dramatically reduce memory footprint, inference cost, and latency, usually with only 0-2% quality loss.

Full definition

Modern LLMs are typically trained in BF16 (16-bit) and quantized post-training to INT8 or INT4 for serving. Methods include GPTQ, AWQ, SmoothQuant, GGUF (llama.cpp), and FP8 native (Hopper, Blackwell). 4-bit quantization typically reduces GPU memory 4× and increases throughput 2-3×, putting 70B-class models on a single GPU and 8B models on a phone.

Why it matters

Quantization is one of the highest-impact cost optimizations available. A team that moves from FP16 to INT4 typically cuts hardware cost 3-4× with negligible quality loss, instantly improving the unit economics of every AI feature shipped.

Example

Llama 3 70B in FP16 needs 140GB of GPU memory (two H100s); the same model in 4-bit GGUF needs 40GB and runs on a single 48GB GPU at 70%+ of original quality on most enterprise tasks.

Source & further reading

Primary source: Frantar et al. — "GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers" (2023).

Citation policy: this entry is part of the AIDOLS AI Implementation Glossary and may be quoted for research, journalism, and education with attribution to aidolsgroup.com/it/glossary/quantization/.