Skip to main content
AI SOFTWARE · NUMBER FORMATS

What Is FP8?

FP8 is an 8-bit floating-point number format for AI training and inference. It comes in two encodings: E4M3, with more precision, for weights and activations, and E5M2, with more range, for gradients. FP8 halves memory against FP16 or BF16 and runs natively on NVIDIA Hopper, Ada Lovelace and Blackwell GPUs, including Jetson Thor.

01

What FP8 is

FP8 is an 8-bit floating-point number format used to train and run neural networks with half the memory of 16-bit formats. Like any floating-point number, each FP8 value has a sign bit, an exponent that sets its scale and a mantissa that sets its precision. With only 8 bits to share, the split between exponent and mantissa decides what the format is good at, so FP8 comes in two encodings. FP8 belongs to the formats sometimes called minifloats: floating-point numbers with fewer bits than the 16-bit and 32-bit types of IEEE 754.

The two encodings were set out in a 2022 paper, FP8 Formats for Deep Learning, which found that FP8 training matched 16-bit results on image and language models of up to 175 billion parameters. NVIDIA added FP8 Tensor Cores with its Hopper architecture, and FP8 is now a standard precision for large language model inference.

02

E4M3 and E5M2

The names give the bit split: E for exponent bits and M for mantissa bits, plus one sign bit.

  • //
    E4M3. Four exponent bits and three mantissa bits, reaching about ±448. It gives up infinities and keeps a single NaN pattern to stretch its range. The finer steps suit weights and activations, so it is used for inference and the forward pass in training.
  • //
    E5M2. Five exponent bits and two mantissa bits, reaching ±57,344, with infinities and NaN as in IEEE floating point. The wider range suits gradients, which vary more in size, in the backward pass of training.
03

FP8 vs FP16, BF16 and INT8

FP8 sits between the 16-bit formats used to train most models and the INT8 format used for most edge vision inference.

Format Sign, exponent, mantissa bits Largest value Memory vs FP16 Typical use
FP16 1, 5, 10 65,504 1× GPU inference and mixed-precision training
BF16 1, 8, 7 About 3.4 × 10³⁸ 1× Training: the same range as FP32
FP8 E4M3 1, 4, 3 448 ½ Weights and activations, LLM inference
FP8 E5M2 1, 5, 2 57,344 ½ Gradients in training
INT8 8-bit integer 127, before scaling ½ Edge vision inference on NPUs, Jetson and GPUs

Against FP16 and BF16, FP8 halves the memory and, on hardware built for it, roughly doubles peak Tensor Core throughput. Against INT8 the size is the same, but each FP8 value carries its own exponent. NVIDIA notes that INT8’s fixed scale can struggle with the wide ranges of transformer activations and gradients, while FP8 handles them more gracefully. Our INT8 quantization FAQ explains calibration for vision models, where INT8 remains the usual choice.

04

Scaling FP8 values

Even E5M2 cannot cover every value in a large model, so FP8 tensors carry scale factors. NVIDIA describes three approaches: one FP32 scale for a whole tensor, set either from recent history (delayed scaling) or from the current values (current scaling); block scaling, with a scale for each block of 1×128 or 128×128 values; and MXFP8 on Blackwell, where every 32 values share a power-of-two scale in E8M0 format. NVIDIA’s Transformer Engine library manages these scales automatically in PyTorch and JAX.

FAQ · 01
What is the difference between CUDA cores and Tensor Cores?
CUDA cores are general-purpose parallel processors for graphics, simulation and general GPU computing. Tensor Cores are specialized for the matrix maths in neural networks and run AI work at much higher throughput, especially at low precisions such as FP8 and, on Blackwell, FP4.
Read the full FAQ —
05

Which GPUs and Jetson modules support FP8

Native FP8 maths needs NVIDIA compute capability 8.9 or later, as the vLLM documentation puts it: Ada Lovelace, Hopper and Blackwell. That covers the H100, H200, L4 and L40S in our data centre GPUs, the RTX Ada and RTX PRO Blackwell cards among our workstation GPUs, and Jetson Thor. Ampere GPUs, including the A100, the RTX A-series cards and every Jetson Orin module, have no FP8 Tensor Cores. vLLM can still store weights in FP8 on Ampere, but it calculates in 16-bit. When choosing hardware for FP8, check the GPU generation rather than the memory: a 48 GB RTX A6000 has no FP8 Tensor Cores, while a 24 GB L4 does.

On Jetson Thor, NVIDIA rates the T5000 at 1,035 TFLOPS sparse FP8 and 517 dense, and the T4000 at 600 and 300. Our Jetson comparison and module selector shows the precision behind every module’s AI rating.

06

FP8 for inference and training

For inference, FP8 is the usual first step down from 16-bit for large language models. The vLLM documentation reports a 2× cut in model memory and up to 1.6× more throughput, and makers publish ready-made FP8 checkpoints, such as Alibaba’s Qwen3.5-35B-A3B-FP8. Weights and activations are both quantised, so the Tensor Cores calculate in FP8 rather than only storing it. The memory arithmetic is simple: an 8-billion-parameter model needs about 8 GB of weights at FP8 (8 × 8 ÷ 8) against about 16 GB at BF16, before the KV cache and runtime overhead.

For training, FP8 is mixed with higher precision: master weights typically stay in FP32 or BF16 while the heavy matrix maths runs in FP8. DeepSeek reports that DeepSeek-V3, a 671-billion-parameter model, was pre-trained with an FP8 mixed-precision framework.

FP8 also sits above NVIDIA’s 4-bit NVFP4 format, which Blackwell adds. NVFP4 roughly halves memory again but keeps less precision, so models and sensitive layers that lose accuracy at 4 bits stay at FP8, and Thor’s Transformer Engine switches between the two.

07

Quick answers on FP8

FP8: common questions

What does FP8 mean?

8-bit floating point. A number stored in 8 bits with a sign, an exponent and a mantissa, in either the E4M3 or the E5M2 layout.

Does the A100 support FP8?

Not natively. The A100 is an Ampere GPU, and its Tensor Cores calculate in formats such as FP16, BF16, TF32 and INT8. Native FP8 arrived with Hopper and Ada Lovelace.

Does the RTX 4090 support FP8?

Yes. It is an Ada Lovelace GPU, compute capability 8.9, so its Tensor Cores run FP8, as do RTX Ada professional cards.

Does Jetson Orin support FP8?

No. Orin modules use an Ampere GPU, so models run in INT8, FP16 or 4-bit weights with 16-bit maths. Jetson Thor supports FP8.

FP8 vs BF16: which is better?

BF16 for accuracy, FP8 for speed. BF16 trains reliably without scaling. FP8 halves memory and doubles peak throughput, with scaling to protect accuracy.

We supply Jetson Thor systems and computers with FP8-capable NVIDIA GPUs integrated as standard, with the operating system and NVIDIA drivers installed before they ship.