Fused-Softmax for efficient quantized attention
Not on the map. Why?
Abstract (arXiv)
Low-precision matrix throughput on modern GPUs is growing far faster than vector-arithmetic throughput. Attention therefore cannot realize the available GEMM performance because softmax has become the pipeline bottleneck. We introduce Fused-Softmax Attention, a training-free algorithm that reformulates and approximates softmax to fold its dominant operations into the attention GEMMs, moving work from vector units to matrix cores. Implemented for the AMD CDNA 4 architecture, our MXFP8, MXFP6 and MXFP4 kernels reach approximately 3.0, 4.0 and 4.6 PFLOP/s on an AMD Instinct MI355X GPU, yielding speedups of 2.1×, 2.8× and 3.2× over the BF16 attention. Importantly, the additional error introduced by Fused-Softmax remains below the error floor set by quantizing the GEMM operands. On Wan2.2-T2V-A14B, a hybrid MXFP6/4 schedule delivers up to 2.05× end-to-end speedup while preserving the visual quality of the outputs. The kernels ship in AMD's open-source AITER library, and they powered AMD's MLPerf Inference v6.1 Wan2.2 submission, which ran 1.7× faster than AMD's previous-round result on the same hardware. Our results show that redesigning softmax to utilize the matrix pipeline enables attention to capitalize on continued growth in low-precision matrix throughput.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 23 of its 34 references that are in the map. Submitted 6 Nov 2026.
Builds on
23 of 34 references.
References · 23
- 2017Attention Is All You Needcited by 62,125
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,893
- 2025Wan: Open and Advanced Large-Scale Video Generative Modelscited by 3,127
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,787
- 2023VBench: Comprehensive Benchmark Suite for Video Generative Modelscited by 2,060
- 2024HunyuanVideo: A Systematic Framework For Large Video Generative Modelscited by 1,831
- 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 611
- 2023UniPC: A Unified Predictor-Corrector Framework for Fast Sampling of Diffusion Modelscited by 486
- 2023QuIP: 2-Bit Quantization of Large Language Models With Guaranteescited by 452
- 2024QuIP#: Even Better LLM Quantization with Hadamard Incoherence and Lattice Codebookscited by 429
- 2019MLPerf Inference Benchmarkcited by 212
- 2024SageAttention: Accurate 8-Bit Attention for Plug-and-play Inference Accelerationcited by 191
11 more
- 2018Online normalizer calculation for softmaxcited by 182
- 2021Self-attention Does Not Need O(n2) Memorycited by 168
- 2024SageAttention2: Efficient Attention with Thorough Outlier Smoothing and Per-thread INT4 Quantizationcited by 134
- 2026FlashAttention-4: Algorithm and Kernel Pipelining Co-Design for Asymmetric Hardware Scalingcited by 99
- 2025SageAttention3: Microscaling FP4 Attention for Inference and An Exploration of 8-Bit Trainingcited by 81
- 2024xDiT: an Inference Engine for Diffusion Transformers (DiTs) with Massive Parallelismcited by 62
- 2026Attn-QAT: 4-Bit Attention With Quantization-Aware Trainingcited by 16
- 2026Hardware-Aware FP4 FlashAttention-4cited by 6
- 2026MXAttention: Data-Free Optimal Scaling and Pre-Normalization Quantization for MXFP4 Attentioncited by 5
- 2026VC-Attention: Value Smoothing and Softmax Casting for Low-bit Attentioncited by 5
- 2025HipKittens: Fast and Furious AMD Kernelscited by 4
Built on by
Not cited yet.