End-to-End 4-Bit Training
by Thinking Machines Lab (Jack Cook)
The mixed NVFP4/MXFP8 recipe Thinking Machines used to train Inkling 2 Small on GB300s, including the approaches that failed.
Overview
End-to-End 4-Bit Training is a November 13, 2026 post on Thinking Machines Lab's Connectionism blog, written by Jack Cook with others at the lab, and it documents the low-precision recipe behind Inkling 2 Small. The sections are Choosing a target for quantization, Low-precision formats on Blackwell, Block-scaled backward passes, Re-quantization with stochastic rounding, Quantized communications, Kernels for low-precision training, Recipe details and Closing thoughts. The post compares BF16, MXFP8 and NVFP4 on GB300 (2.5, 5 and 15 PFLOPS respectively) and explains why it quantizes only the MoE expert layers, and only their forward pass, to NVFP4: full NVFP4 training caused compute-efficiency losses the team would not accept. Backward passes de-quantize, transpose and re-quantize to MXFP8 with stochastic rounding so forward and backward tensors match in expectation, and a worked example shows the rounding arithmetic. NVIDIA's 16x16 tile scaling was tried and judged too coarse. After compute sped up, communication became the bottleneck, so MoE dispatch goes out in NVFP4 and the combine step uses a 32-dimensional random Hadamard transform plus a block-scaled S2F6 fixed-point format, cutting traffic from 16 to 8.25 bits per value. A fused kernel stack called BBBK handles the MoE layers. Against full MXFP8, the lab reports an 8% wall-clock speedup in pretraining, a 20% speedup in RL, and a pretraining compute-efficiency cost of about 2%. No code is released.
At a Glance
- Topic
- ML
- Level
- Advanced
- Format
- Paper
- Cost
- Free
- Duration
- ~15-20 min read (about 3,000 words), longer if you work through the numeric examples
- Provider
- Thinking Machines Lab (Jack Cook)
- Hands-on
- No
- Certificate
- None
What You’ll Learn
- ✓How NVFP4, MXFP4 and MXFP8 block scaling and E4M3 versus E8M0 scale factors differ on Blackwell
- ✓Why quantizing only the MoE forward pass beat quantizing both forward and backward passes
- ✓How re-quantization with stochastic rounding keeps forward and backward tensors equal in expectation
- ✓Why 16x16 tile scale factors were too coarse and 1x16 weight scales were kept instead
- ✓How a random Hadamard transform plus S2F6 fixed point halves MoE combine communication
- ✓Which recipe details matter, including keeping the last sixth of layers in MXFP8 and per-token activation scales
- ✓How to read the measured tradeoff of 8% pretraining and 20% RL speedups against a ~2% efficiency cost
Highlights
- •Documents what failed (full NVFP4 training, 16x16 tile scales, MXFP8 combine) as well as the recipe that shipped
- •Covers the communication bottleneck that appears once 4-bit compute speeds up, which most FP4 write-ups skip
- •Uses the same numerics from pretraining through the final RL rollout, so no end-of-training calibration step is needed
- •Production-scale evidence: the lab says Inkling 2 Small pretrained in 68 hours on GB300 NVL72 racks
- •Credits and builds on public work such as TetraJet-v2, Quartet II and DeepSeek-V4's communication overlap
Who It’s For
Best For
- ✓ML systems engineers running large-scale pretraining or RL on NVIDIA Blackwell GPUs
- ✓Researchers working on low-precision training and quantization numerics
- ✓Infrastructure teams deciding whether FP4 training is worth the quality risk for MoE models
Prerequisites
- •Solid understanding of floating-point formats, quantization and mixed-precision training
- •Familiarity with Mixture-of-Experts layers and expert-parallel communication (dispatch and combine)
- •Some exposure to GPU kernels and matrix-multiply (GEMM) performance
FAQ
What is End-to-End 4-Bit Training?
A Connectionism research post by Jack Cook and Thinking Machines Lab, published November 13, 2026, describing how the lab trained Inkling 2 Small with a native 4-bit forward pass from pretraining through RL. It is for ML systems and training engineers who want to apply NVFP4 and MXFP8 on Blackwell GPUs and need concrete tradeoffs, including the configurations that hurt model quality.
Is End-to-End 4-Bit Training free?
End-to-End 4-Bit Training is free to access.
What level is End-to-End 4-Bit Training for?
End-to-End 4-Bit Training is aimed at a advanced audience. Recommended background: Solid understanding of floating-point formats, quantization and mixed-precision training, Familiarity with Mixture-of-Experts layers and expert-parallel communication (dispatch and combine), Some exposure to GPU kernels and matrix-multiply (GEMM) performance.
How long does End-to-End 4-Bit Training take?
Expect roughly ~15-20 min read (about 3,000 words), longer if you work through the numeric examples. Most learners work through it at their own pace.
What will I learn from End-to-End 4-Bit Training?
You'll learn: How NVFP4, MXFP4 and MXFP8 block scaling and E4M3 versus E8M0 scale factors differ on Blackwell; Why quantizing only the MoE forward pass beat quantizing both forward and backward passes; How re-quantization with stochastic rounding keeps forward and backward tensors equal in expectation; Why 16x16 tile scale factors were too coarse and 1x16 weight scales were kept instead; How a random Hadamard transform plus S2F6 fixed point halves MoE combine communication; Which recipe details matter, including keeping the last sixth of layers in MXFP8 and per-token activation scales; How to read the measured tradeoff of 8% pretraining and 20% RL speedups against a ~2% efficiency cost.
Topics
Sources
This page was written from 4 sources, 1 on domains other than thinkingmachines.ai.