New Tool Radar

AI Concepts

How to Use FP8 Quantization to Raise Serving Throughput

Check your hardware supports FP8, quantize the model to FP8, and measure throughput against the FP16 baseline.

Schematic with three steps: Confirm the hardware and stack support FP8; Quantize the model to FP8; Measure throughput and quality against the baseline.

FP8 is a different approach entirely from integer quantization: instead of integers, it uses an 8-bit floating point format. FP8 keeps a wider dynamic range than INT8, which makes it forgiving and well suited to newer hardware that supports it natively, and it is increasingly the default for high-throughput serving on modern accelerators. It is a serving choice, not a local-run choice: it fits datacenter hardware, not a CPU or Apple Silicon laptop.

What you need

  • Hardware that supports FP8 natively, such as Hopper or Blackwell accelerators
  • A model and a serving stack that support FP8
  • A throughput baseline measured at FP16 or BF16

Step 1: Confirm the hardware and stack support FP8

Check the accelerator and the serving stack both list FP8 support. FP8 is most relevant when you want to quantize activations for throughput, not just shrink weights.

Step 2: Quantize the model to FP8

Run the FP8 quantization pass for your stack. Because FP8 preserves logarithmic dynamics like FP16, matrices with values spread out in magnitude quantize with less error than with INT8.

Step 3: Measure throughput and quality against the baseline

Measure tokens per second against the FP16 or BF16 baseline, and check quality on a real task. A throughput gain that costs the answers is not a gain.

Worked example: synthetic FP8 serving check

The table below is a synthetic example. It shows the expected result of an FP8 serving check; no model was served.

Check FP16 baseline FP8
Throughput 100 tokens per second Higher – measured
Quality on task test Pass Pass
Memory Full About half
Verdict Baseline Keep FP8 if quality holds

Expected result (UNTESTED). FP8 raises throughput and halves memory while the task test still passes, so FP8 is kept for serving. This check was not run live; the table shows the expected result for the synthetic example.

Limits

  • FP8 needs hardware that supports it natively; on older hardware it brings no benefit.
  • FP8 is a serving format for high-throughput datacenters, not for local runs on a Mac or CPU, where GGUF is the right format.
  • Want maximum safety with moderate savings? INT8, or FP8 on supported hardware, barely touches quality.
  • Quantization exists largely because reading model weights from GPU memory is the bottleneck during generation; smaller weights mean less data to move per token.

Sources

See all