# Sarvam AI — Ensuring Causality in MXFP8 Attention

- Company: Sarvam AI (sarvam.ai)
- Announced: 2026-12-02
- Category: research-paper
- Coverage: not counted
- Announcement: yes
- Group: announcements
- Source: https://www.sarvam.ai/blogs/causal-mxfp8-attention/
- Record: https://forck.live/items/43386-ensuring-causality-in-mxfp8-attention
- Subject: Sarvam / Bulbul / Saaras

Sarvam AI has published a method for running causal attention in MXFP8 during training and prefill, after finding that block-scaled quantization can leak future information into earlier outputs. In MXFP8, a power-of-two scale is shared among 32 contiguous values, and for V the scales are computed along the token dimension, so a future token can change the scale used to round a visible value even when its attention weight is zero. The company illustrates this with query 47, whose V scale for the block spanning positions 32 to 63 is drawn from positions up to 63, letting a large value at position 55 alter the represented value at position 32. Sarvam builds on MatX's correction for MXFP4 attention, which keeps fully visible blocks quantized and computes the block crossing the causal mask without quantization. Sarvam's approach keeps that boundary matrix product in native MXFP8 as well, so both forward attention matrix products can use MXFP8. Only the boundary block, one 32-token block per query, needs special handling; earlier complete blocks stay on the bulk MXFP8 path, and the boundary correction uses token-local scales folded into P.

---

Record: https://forck.live/items/43386-ensuring-causality-in-mxfp8-attention
Catalogue: https://forck.live/llms.txt
Current issue: https://forck.live/feed.md
