Skip to main content

Quantisation vs Distillation vs Pruning

Guide · about 8 min · refs checked 2026-11-03 (reference links and dates only)

All three routes make a model smaller, but they touch different things: quantisation lowers precision, distillation swaps in a student, pruning removes structure.

How to
Quantisation: lower weights from FP16 to 4/8 bit while keeping the architecture; VRAM drops, quality depends on the tier and calibration data. Distillation: train a small student on a large teacher’s outputs; you change the model, not the precision. Pruning: remove weights, channels or layers; it needs retraining/fine-tuning and the structure really shrinks. Costs differ: quantisation is easiest but may lose quality; distillation needs data and compute; pruning needs retraining and may damage capability. Order: distil to a smaller model, then quantise for deployment; after pruning, fine-tune, then quantise. Acceptance: compare quality, VRAM, latency and cost on the same task set; do not compare size alone.

Example and interpretation

A teaching scenario, not a measured or executed site test.

Lower-precision weights are quantization; training a student is distillation; removing structure is pruning. Compare artifacts and training needs rather than treating every smaller file as the same method.

How to check your practice

Explain the example in your own words, inspect input constraints, then verify against the source. Revisit concepts if you cannot explain why; supply missing dates, fields or permissions; withdraw unsupported conclusions.

For this topic, start with concept confusion · See all six scenarios and their reasoning

Sources
  • GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers ↗
  • Hinton et al., Distilling the Knowledge in a Neural Network ↗
  • Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Coding ↗