Topic 5 of 6 · 4 min read
Native FP8, FP4 and quantization-aware releases
Goal: Explain why a quantization-aware or native FP4 release beats a post-training 4-bit quant of the same model.
A model trained or tuned for low precision from the start loses less than one that is rounded down afterwards, and it runs fastest on hardware built for that format.
Check yourself · 1 of 3
How does quantization-aware training differ from post-training quantization?
Why it matters
Everything so far was post-training quantization (PTQ): take finished 16-bit weights and round them. The model never saw rounding noise during training, so some quality is lost. A growing number of releases avoid that by using low precision as part of training or release. Choosing them can give a smaller model with a smaller gap.
Three ways a model reaches low precision
- Post-training quantization. The default for GGUF, GPTQ and AWQ. Cheap and flexible, but the model has not adapted.
- Quantization-aware training (QAT). The model is trained or fine-tuned with simulated rounding, so its weights settle where rounding hurts little. Google released QAT variants of Gemma that keep much of the 16-bit quality at 4 bits.
- Native low-precision release. The maker ships the weights in a low-precision format. OpenAI's gpt-oss models are released with MXFP4 weights for the large expert layers, which lets the 120B model fit on a single 80 GB GPU and the 20B model fit in 16 GB (see the model card). DeepSeek V3 and others use FP8 in training and release.
The formats
- FP8 has 8 bits per value as a small floating-point number. It halves the memory of 16-bit with small loss and is supported by recent NVIDIA and AMD GPUs.
- MXFP4 and NVFP4 use 4-bit floats with a shared scale per small block. They need recent hardware for full speed. Older GPUs can often load them but convert on the fly, so the memory benefit stays and the speed benefit shrinks.
- INT4 and GGUF K-quants are integer or table-based schemes and run on almost anything.
Before and after
Before: "I will download a Q4 GGUF of a 120B model made by a third party." After: check whether the maker already ships a native or QAT version. If it does, start from that file and compare it with your own PTQ in your task set.
What goes wrong
- Assuming all hardware runs FP4 fast. Without native support, kernels fall back to slower paths.
- Re-quantizing an already low-precision release. Converting an MXFP4 model to Q4_K_M or to 16-bit and back adds a second round of error.
- Treating "QAT" as a guarantee. It lowers the gap; the task eval still decides.
Examples
Starting from the maker's file
Before quantizing a model yourself, look at the model card. If the maker lists FP8, MXFP4 or QAT variants, test those first. They are often the smallest files with the least loss.
Hardware check
An FP8 file on an older GPU may load but run at 16-bit speed. Read the runner's hardware notes before downloading 100 GB.
Key points
- Post-training quantization rounds finished weights; QAT and native releases prepare the model for low precision.
- gpt-oss ships MXFP4 weights, which is why the large model fits one 80 GB GPU.
- FP8 halves memory against 16 bit with small loss and needs recent GPUs for speed.
- FP4 formats run fastest on hardware with native support, while older GPUs mainly gain memory savings.
- Check whether the maker ships a native or QAT version before choosing a third-party quant.
Common mistakes
- Re-quantizing a native low-precision release.
- Assuming FP4 is fast on every GPU.
- Calling any 4-bit file QAT.
Check yourself · 2 of 3
gpt-oss-120b ships with MXFP4 weights. What does that allow?
Check yourself · 3 of 3
You get a native FP4 release but your GPU lacks FP4 support. What is the likely outcome?
Practice items, not counted towards your mastery.
Start here
- Quantization overview (Hugging Face Transformers docs) (opens in a new tab)DocsFree
Hugging Face's comparison of quantization methods (GPTQ, AWQ, bitsandbytes and others) and what each supports.
- llama.cpp quantize tool (opens in a new tab)DocsFree
The official list of quant types, the importance-matrix option and the llama-quantize command line.
- GGUF on the Hugging Face Hub (opens in a new tab)DocsFree
What the GGUF file format holds and how the Hub shows quant types for a repository.
More for this topic
- gpt-oss-120b and gpt-oss-20b model card (opens in a new tab)PaperFree
OpenAI's card for models released with MXFP4 weights, with the memory and hardware figures.