Skip to content
NewA calmer, faster ZeroHour

Causal MXFP8 attention kernel stops future tokens altering earlier predictions

Original title: A Masked Future Is Not a Hidden Future: Keeping MXFP8 Attention Causal

arXiv cs.AI / cs.LG / cs.CLby Pushkar Patel ()1 min read2 · 1 read
AI summary · x-ai/grok-4.7Summaries by Vani AI

On Qwen3-4B-Base at 32K, next-token disagreement falls from 0.416% to 0.021%, near the BF16 reference of 0.015%.

The authors say stock Transformer Engine MXFP8 attention can let a masked future token change how an earlier value is rounded because quantization scales are shared across tokens. Their kernel uses token-local scales inside mixed value blocks and folds them into attention weights, keeping native MXFP8 forward products. It supports a causal dequantized-input backward and an MXFP8 KV cache. They report the causality fix on released language models, plus modest training and decode speedups versus BF16 and vLLM FP8.

Unconfirmed: The causality break and speedups are the authors' measurements; independent reproduction is not reported.

Key facts
  • MXFP8 matrix products target NVIDIA Blackwell GPUs.
  • Qwen3-4B training at 32K gained 4.9% throughput and cut peak memory 5.2% versus BF16.
  • Single-request Qwen3-4B decode rose 3.8–9.9% over vLLM FP8 at 4K–32K.
  • Qwen3-14B throughput was broadly comparable.
  • The kernel retains native MXFP8 for both forward matrix products.
Explain this AI news with Vani AIWhat was announced, what is new and why it matters, in a new chat

From the original article

1 min read at arxiv.org

Causal attention must prevent future tokens from influencing earlier predictions, including during parallel training and prompt prefill. Its cost grows quadratically with sequence length, making lower-precision arithmetic an attractive way to accelerate these computations. MXFP8 enables fast eight-bit matrix products on NVIDIA Blackwell GPUs, but sharing quantization scales across tokens can break causality.

arXiv cs.AI / cs.LG / cs.CL

By Pushkar Patel · arxiv.org

Read the full article at arXiv cs.AI / cs.LG / cs.CL

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.