Sarvam AI fixes MXFP8 causal attention leakage, gaining 4.9% training throughput
dejavucoder · x · 2026-12-02
Sarvam AI published a research article on a kernel that keeps MXFP8 attention causal during training and prefill. MXFP8 shares quantization scales across 32-token blocks, so a future token can alter how earlier tokens are represented—breaking causality. They show this affects released Qwen3 checkpoints and that MXFP8 outputs shift when a prefix changes while BF16 doesn't.
Their kernel uses token-local scales and folds the boundary value product into attention weights, retaining native MXFP8 matrix products. On Qwen3-4B-Base at 32K context, sub-sequence prefill disagreement drops from 0.0416% to 0.021% (BF16: 0.015%); end-to-end training throughput improves 4.9% vs BF16 with 5.2% lower peak memory; single-request decode throughput improves 3.8–9.9% over vLLM FP8 attention.
Related event: Sarvam AI Fixes MXFP8 Causality Bug, Boosting Throughput 4.9%(2 posts)→
More from Infra
- The Real Math on Distributed AI Infrastructure: Training 32B Across 9,000 Miles Works, With Caveats — bigdata · 2026-12-02
- Sequoia leads $43M Series A for Rangeview to reindustrialize America — shaunmmaguire · 2026-12-02
- Flash Attention 2 kernels nearly double Sentence Transformers throughput to ~450 passages/s — tomaarsen · 2026-12-02
- Just two pip installs: ~50% embedding speedup as kernels become the default — tomaarsen · 2026-12-02
- China's CXMT Launches 32Gb DDR5 Chips, 192GB Modules at 12800 MT/s Challenge Big Three — AIFlow_ML · 2026-12-02
- Enterprise AI: inference economics matter more than loyalty to one chip vendor — DavidLinthicum · 2026-12-02