iCreatAI News
Skip to content
Sarvam AI Blog·· 1 days agoAI score38

Ensuring Causality in MXFP8 Attention

Ensuring Causality in MXFP8 Attention

AI summary

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.

Source: Sarvam AI Blog · sarvam.ai