FlashMLA-ETAP: Efficient Transpose Attention Pipeline for Accelerating MLA Inference on NVIDIA H20 GPUs
On the map: LLM reasoning → Test-time compute and efficient thinking
Abstract (arXiv)
Efficient inference of Multi-Head Latent Attention (MLA) is challenged by deploying the DeepSeek-R1 671B model on a single Multi-GPU server. This paper introduces FlashMLA-ETAP, a novel framework that enhances MLA inference for the single-instance deployment scenario on NVIDIA H20 GPUs. We propose the Efficient Transpose Attention Pipeline (ETAP), which reconfigures attention computation through transposition to align the KV context length with the (M)-dimension in WGMMA operations, significantly reducing redundant computations. FlashMLA-ETAP achieves a 2.78x speedup over FlashMLA at 64K sequence length (batch size 16), with 5.24x and 4.94x improvements over FlashAttention-3 and FlashInfer, respectively, while maintaining numerical stability with a 15.2x lower RMSE ((1.25 × 10-5)) than FlashAttention-3. Furthermore, ETAP's design enables seamless integration into frameworks like FlashAttention-3 and FlashInfer, supported by a detailed theoretical analysis. Our work addresses a critical gap in resource-constrained inference, offering a scalable solution for mid-tier GPUs and paving the way for broader adoption in hardware-aware optimization. Code is available at https://github.com/pengcuo/FlashMLA-ETAP.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 17 of its 22 references that are in the map. First posted on arXiv 13 May 2025.
Builds on
17 of 22 references.
Closest ancestors · 1
Same direction, newest first
Other references · 16
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
4 more
- 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 507
- 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 448
- 2025FlashInfer: Efficient and Customizable Attention Engine for LLM Inference Servingcited by 248
- 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Surveycited by 71
Built on by
Citing papers per year: 2025: 3; 2026: 2.
5 papers.
- 2025LongCat-Flash Technical Reportcited by 54
- 2025Efficient Context Scaling with LongCat ZigZag Attentioncited by 6
- 2025TyphoonMLA: A Mixed Naive-Absorb MLA Kernel For Shared Prefixcited by 0
- 2026Think Before You Grid-Search: Floor-First Triage for LLM Servingcited by 0
- 2026TileMix: Tile-Centric Mixed-Precision Attention for LLM Inference Accelerationcited by 0
- 2026TileMix: Tile-Centric Mixed-Precision Attention for LLM Inference Acceleration18 Aug 2026
- 2026Think Before You Grid-Search: Floor-First Triage for LLM Serving7 Jul 2026
- 2025Efficient Context Scaling with LongCat ZigZag Attention30 Dec 2025
- 2025TyphoonMLA: A Mixed Naive-Absorb MLA Kernel For Shared Prefix25 Sep 2025
- 2025LongCat-Flash Technical Report1 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2025Hardware-Centric Analysis of DeepSeek's Multi-Head Latent Attention
- 2025TransMLA: Multi-Head Latent Attention Is All You Need
- 2026Predictive Multi-Tier Memory Management for KV Cache in Large-Scale GPU Inference
- 2025Latent Multi-Head Attention for Small Language Models
- 2025TPLA: Tensor Parallel Latent Attention for Efficient Disaggregated Prefill and Decode Inference
- 2026Ragged Paged Attention: A High-Performance and Flexible LLM Inference Kernel for TPU
- 2026An Efficient Hybrid Sparse Attention with CPU-GPU Parallelism for Long-Context Inference
- 2025The Anatomy of a Triton Attention Kernel