AI engineering glossary · Inference serving optimisation

What is per-tensor quantisation?

Per-tensor quantisation: Using a single scale factor for an entire tensor. It is simple and fast, but one large value can force a coarse scale that crushes the many small values, so accuracy is usually lower than with finer groupings.

Level: intermediateTopic: Inference serving optimisation

Per-tensor quantisation: an example

One outlier of 60 in a tensor of mostly values below 1 makes an INT8 scale of about 0.47, rounding most small weights to zero.

Related terms

More Inference serving optimisation terms

Where you learn it

Per-tensor quantisation is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.