Sarvam fixes MXFP8 attention causal leakage
Understand this story
Sarvam AI says it has discovered a causality leak in MXFP8 attention: V's quantization scale is grouped by 32 tokens, and future tokens change the shared scale, which in turn affects the rounding of visible tokens, rendering the causal mask ineffective. Sarvam says it has proposed and implemented a causal MXFP8 attention kernel for training and inference, and has contributed it to cuDNN, TransformerEngine, vLLM (prefill), and an arXiv preprint. According to figures published by Sarvam, at a 4K context, this implementation is 2.1% slower than BF16; at a 32K context, training throughput is 4.9% higher than the BF16 attention baseline, with peak memory 5.2% lower. These numbers come from Sarvam's own statement and have not yet been independently verified.
AI overview based on source reports · Updated 14 hr ago
Coverage timeline
Follow the coverage to explore different perspectives.
- Sarvam AI BlogEnsuring Causality in MXFP8 Attention
The post explains that in block-scaled MXFP8 attention, V's scales are shared across 32-token groups, so a future token can change the scale used to round a visible value and leak information past the causal mask even when its attention weight is zero. The authors fix this by keeping fully visible blocks on the bulk MXFP8 path and handling the single boundary block with token-local scales folded into P, and they report Qwen3-4B training on 16 B200 GPUs at 32K context with 4.9% higher throughput and 5.2% lower peak memory than BF16 attention, while at 4K it is 2.1% slower. They also extend the approach to inference with an MXFP8 paged KV cache in vLLM and a BF16 surrogate backward pass.
Activity for this story
- Current comparable activity
- 5
- Peak comparable activity
- 7Dec 2 23:00
- Change in the past 24 hours
- –
Trends compare the same fully observed participants, which may cover fewer participants than current activity. Move the pointer or tap the chart to inspect hourly activity; use the left and right arrow keys with a keyboard.