Sarvam AI's MXFP8 causal attention kernel boosts long-context training throughput by 4.9%
itsOmSarraf_ · x · 2026-12-02
Indian AI lab Sarvam AI published a research article introducing a kernel that keeps MXFP8 attention causal during training and pre-fill, enabling low-precision attention without letting future tokens influence earlier predictions.
- The problem: causal attention requires each token to attend only to itself and earlier tokens, but sharing a quantisation scale across a block of tokens breaks that rule — a future token can change the scale used for an earlier token and thus affect an earlier prediction
- Results: on long-context training runs, the kernel improved throughput by 4.9% and reduced peak memory compared with BF16 attention
Related event: Sarvam AI Fixes MXFP8 Causality Bug, Boosting Throughput 4.9%(2 posts)→
More from Infra
- 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
- AI-built LLM inference engine boots 50x faster, beats tuned vLLM on throughput — McDonaghMatthew · 2026-12-02
- Autonomous sells $19,900 backyard WorkPod with optional dual RTX 5090 AI computer — dee_hw · 2026-12-02