Running Models YourselfLesson 23 of 82

Module 3 · Quantisation and model formats

FP8 and models born quantised

In this lesson

  • 8 min read
  • 6 reading sections
  • Knowledge check
  • Lesson 5 of 9 in this chapter

This chapter’s goalChoose a quantisation format and bit rate for a stated model, machine and task; produce a quantised model yourself from the original weights; and measure the resulting damage with a method that can actually detect it, rather than relying on a perplexity delta that cannot.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 7Free · no account needed
Lesson steps

Integers versus floats at low precision

Everything so far quantised to integers: a scale, an offset, and a small whole number. Floating-point formats spend their bits differently (some on an exponent, some on a mantissa) and that changes what they handle well.

An 8-bit float in the E4M3 layout has a sign bit, four exponent bits and three mantissa bits. Compared with an 8-bit integer, it has far less precision near any given magnitude and a far wider range. For neural network weights and activations, which have long-tailed distributions with rare large outliers, range turns out to matter more than uniform precision. An outlier that would stretch an integer block’s scale and coarsen every weight beside it lands in a higher exponent.

That is why FP8 quantisation is close to lossless in practice while 8-bit integer quantisation of activations has always been fiddly.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Open Model Ecosystem exam.

Stuck on something?Ask Tri, your AI tutor

How to cite: Addaly (2026) ‘FP8 and models born quantised’, in Running Models Yourself. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/running-models-yourself/fp8-and-native-low-precision (Accessed: 29 November 2026).