Where does FP8 fit in modern LLM serving and which GPUs support it?
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
FP8 is an 8-bit floating-point format with E4M3 and E5M2 variants; native Hopper tensor cores arrived in 2022 (H100), making FP8 the default low-precision inference format for modern LLMs.
Picture squeezing each number in a giant spreadsheet from a 16-digit field down to an 8-digit field. The total size of the spreadsheet halves and the chip can do twice as many operations in the same time, because each cell is half as wide. Most calculations still come out almost the same because the model never really needed those extra digits. There are two ways to split the 8 digits between the size part and the precise part. One leans toward precision and is used for the numbers in the trained model. The other leans toward huge ranges and is used during training when some numbers swing wildly. Modern data-center chips have built-in hardware to multiply these tiny numbers at full speed.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
5 min: define FP8 as 8-bit float with E4M3 and E5M2 variants, anchor native Hopper tensor cores in 2022, quantify the 2x throughput and halved memory, walk through quantisation calibration, then connect to FP8 KV cache and Blackwell's FP4 successor.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Calling FP8 a single format when it has two distinct variants. E4M3 leans precision for forward-pass tensors; E5M2 leans dynamic range for gradients. Production stacks use both, not interchangeably.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.