AlgoViz

Quantization, file formats and runtimes

hard 6 min

Quantization maps weight values to a smaller set of representable levels, typically with scales and sometimes other metadata.

Remember it

The few things worth knowing cold, and how to make them stick.

Memory hook

Quantization maps weight values to a smaller set of representable levels, typically with scales and sometimes other metadata. The file format records how to interpret tensors; the execution kernel determines how they are used. The artifact, runtime and hardware must agree.