Fine-Tuning gpt-oss for Accuracy and Performance with Quantization Aware Training

AI-generated summary of reporting by NVIDIA Developer Blog. Read the original for the full story.

Why it matters

Teams deploying gpt-oss now have a tested recipe to fine-tune it in FP4 without sacrificing accuracy, cutting serving costs while keeping task performance.

Read this as

NVIDIA published a method for fine-tuning OpenAI's open-source gpt-oss models without losing their speed advantage. These models ship in a compressed 4-bit format, which makes them cheap to run but tricky to retrain. NVIDIA's fix is to temporarily convert the model to a higher-precision format for training, then convert it back. Test tasks that initially scored 16% and 30% jumped to 98% after applying the recipe.

Companies wanting to customise OpenAI's free gpt-oss models for production typically lose accuracy when the models' native 4-bit compression is involved. NVIDIA's workflow, supervised fine-tuning in higher precision, then quantisation-aware training, recovered task accuracy from 16% and 30% to 98% on two benchmarks. The quantised checkpoints deploy on existing inference stacks including TensorRT-LLM, vLLM and SGLang, so no new infrastructure is needed. NVIDIA's competing NVFP4 format converges 2-3% better but needs Blackwell hardware.

The recipe upcasts gpt-oss's native MXFP4 checkpoint to BF16 for stable supervised fine-tuning, then applies quantisation-aware training via TensorRT Model Optimizer to restore FP4. On gpt-oss-20B, validation pass rates rose from 16% (multilingual reasoning) and 30% (FalseReject) to 98% each; skipping the upcast step yields lower accuracy. Switching the config to NVFP4 gives 2-3% better validation loss convergence. MXFP4 checkpoints deploy on upstream SGLang, TensorRT-LLM 1.1.0rc1 and vLLM; NVFP4 support is still pending.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

NVIDIA OpenAI gpt-oss TensorRT Model Optimizer TensorRT-LLM Blackwell SGLang

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading

datasette-charts 0.4a0

Datasette now lets developers add custom chart types more easily, expanding visualisation options for data projects.