Перейти к содержимому
Меню
Русский

Quantization

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

technique Методы 9 relationships

Обзор

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.

Граф технологий

Как Quantization связана с остальным стеком.

Используется в

Применяется к