AI engineering glossary · Inference serving optimisation

What is INT4?

INT4: A 4-bit whole-number format with only 16 possible values. It cuts weight memory to a quarter of 16-bit storage, but needs finer grouping of scales and careful algorithms to keep model accuracy acceptable.

Level: intermediateTopic: Inference serving optimisation

INT4: an example

Llama-style 7B checkpoints in 4-bit form are commonly around 4 GB, small enough to run on a laptop.

Related terms

More Inference serving optimisation terms

Where you learn it

INT4 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.