CertiSum: Bitwise-Identical MXFP4 Training Across Platforms and Parallelism Layouts
Steve Rhyner, Yubo Gao, Stefan de Lasa, Sankeerth Durvasula, Nandita Vijaykumar
Abstract
Training with MXFP4, a 4-bit microscaling format, is non-deterministic: identical inputs can produce different results across parallelism layouts and GPU vendors. These differences complicate debugging and training audits and can cause training and inference engines to disagree. We present CertiSum to make MXFP4 training bitwise invariant across runs, parallelism layouts, and GPU vendors. Its key insight is that native FP32 accumulation of MXFP4 products is often already exact for every summation order. CertiSum collects statistics during quantization to certify native matrix multiplication results, recomputes uncertified outputs exactly, and uses exact kernels directly where certification rarely succeeds. CertiSum keeps quantization blocks unchanged across layouts and merges partial sums without rounding, including in attention and weight-gradient computation. In 200-step Qwen3-8B-Base experiments, CertiSum preserves training states bit for bit across AMD MI350X and NVIDIA GB200 and across changes in data, tensor, and context parallelism on MI350X. Across three 8B--14B models on FineWeb-Edu using MI350X, it adds 11.8--60.5% to training-step latency relative to its non-exact MXFP4 counterpart at the larger evaluated input shapes, with speedups of up to over BF16 and over deterministic BF16.
Create a lesson
Metadata
- Categories
- cs.LG, cs.DC
Related papers
Precision-Aware Learning Rate Transfer Across Block Count in LLM Post-Training
Shared title terminologycs.LGNan Chen, Soledad Villar, Soufiane Hayou
Two-Stage Post-Training for Flow-Based Embodied Foundation Models
Shared title terminologycs.LGJiaming Zhang, Yao Lyu, Haoning Wang et al.
Neural Interoperability Protocols: Specifying Compatibility Before Training
Shared title terminologycs.LGAlireza Bagheri
Noise-Level Adjacency in Diffusion Training
Shared title terminologycs.LGT. Y. Tsui, Jiatao Gu, Lingjie Liu
How to build and train your recurrent-depth model: A fixed-point perspective
Shared title terminologycs.LGThomas Pethick
Transferable, Time-Parallel Graph Dynamics via Space-Time Factorization
Shared title terminologycs.LGWencong Yang, Chaopeng Shen, Abdolmehdi Behroozi