Aller au contenu
Menu
Français

Quantization

Storing model weights at lower precision to cut memory and speed up inference.

technique Techniques 9 relationships

Aperçu

Quantization represents weights, and sometimes activations, at 8-bit or 4-bit instead of 16-bit floating point. It solves the memory and bandwidth cost of inference: a model that does not fit in GPU memory cannot be served at all, and memory bandwidth rather than arithmetic is usually the bottleneck when generating one token at a time. It exists because the quality loss is small for most tasks while the savings are large, which is what makes local inference practical.

Graphe des technologies

Comment Quantization se rattache au reste de la pile.

Utilisé par

Appliqué à