Dynamic Quantization
What is Dynamic Quantization?
In one sentence: Dynamic quantization decides how to scale activations on the fly, for each input, while the model runs.
What does Dynamic Quantization look like?
A text model in PyTorch can use dynamic quantization to turn its linear layers to INT8 when running on a CPU.
Why does Dynamic Quantization matter?
It is an easy way to speed up models without collecting calibration data.
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/dynamic-quantization/">Dynamic Quantization, explained simply</a> (The AI Math Dictionary)