원문 초록
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. In Transformer Engine's stock MXFP8 attention, a masked future token can change how an earlier value is rounded and alter an earlier prediction. We demonstrate this dependency in released language models and present a causal attention kernel that removes it. Within value blocks containing both visible and future tokens, our kernel uses token-local scales and folds them into the corresponding attention weights, retaining native MXFP8 for both forward matrix products. We support training with a causal dequantized-input backward and inference with an MXFP8 KV cache. On Qwen3-4B-Base at 32K context, our kernel reduces full-sequence versus prefix disagreement on the most likely next token from 0.416% to 0.021%, close to the BF16 reference of 0.015%. In end-to-end Qwen3-4B training at 32K, our recipe improves throughput by 4.9% and reduces peak memory by 5.2% relative to BF16. For single-request inference, it improves Qwen3-4B decode throughput by 3.8-9.9% over vLLM with FP8 attention and an FP8 KV cache at 4K-32K context, with broadly comparable throughput on Qwen3-14B.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2611.36044v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.