AI Hardware & Software Stack

In post-training quantization of activations to INT8, what is the purpose of calibration?

  1. ARunning representative input data to observe each layer's activation range and set the quantization scales
  2. BPrecisely adjusting the GPU clock
  3. CAdjusting how colors appear on a screen
Show answer and explanation

Answer: A. Running representative input data to observe each layer's activation range and set the quantization scales

Weights are fixed once training ends, but activation values vary with the input. So a few hundred inputs resembling real usage are run through the model to observe each layer's activation range and distribution, and the range mapped onto INT8 values (the scale) is chosen. In symmetric quantization, this range maps to -127 to 127. Matching the maximum lets outliers waste resolution, so the range is sometimes narrowed to cover most of the distribution.

  • A. Correct. How the range is chosen affects accuracy.
  • B. It is not clock adjustment.
  • C. It is not display adjustment.