mlsanityData to 7 Oct 2026

The Anatomy of a Triton Attention Kernel

arXiv 2511.11581 ↗First posted 7 Oct 2025cs.LG cs.AI cs.CLcited by 3

Not on the map. Why?

Abstract (arXiv)

A long-standing goal in both industry and academia is to develop an LLM inference platform that is portable across hardware architectures, eliminates the need for low-level hand-tuning, and still delivers best-in-class efficiency. In this work, we demonstrate that portable, efficient cross-platform LLM inference is indeed possible and share our experience. We develop a state-of-the-art paged attention kernel, the core performance-critical component of many LLM deployments, that builds exclusively on the domain-specific just-in-time compiled language Triton to achieve state-of-the-art performance on both NVIDIA and AMD GPUs. We describe our high-level approach, the key algorithmic and system-level improvements, the parameter auto-tuning required to unlock efficiency, and the integrations into a popular inference server that are necessary to bring the performance of a generic Triton attention kernel from 19.7% of the state-of-the-art to 105.9%. Our results highlight how open-source domain-specific languages can be leveraged to unlock model portability across different GPU vendors.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 11 of its 36 references that are in the map. First posted on arXiv 7 Oct 2025.

Builds on

11 of 36 references.

References · 11

  1. 2017Attention Is All You Needcited by 59,932
  2. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  3. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  4. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  5. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  6. 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 507
  7. 2025FlashInfer: Efficient and Customizable Attention Engine for LLM Inference Servingcited by 248
  8. 2024Flex Attention: A Programming Model for Generating Optimized Attention Kernelscited by 180
  9. 2020The Hardware Lotterycited by 160
  10. 2020Agile Autotuning of a Transprecision Tensor Accelerator Overlay for TVM Compiler Stackcited by 4
  11. 2025GPU Performance Portability needs Autotuningcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Ragged Paged Attention: A High-Performance and Flexible LLM Inference Kernel for TPU
  2. 2026HybridGen: Efficient LLM Generative Inference via CPU-GPU Hybrid Computing
  3. 2023Efficient LLM inference solution on Intel GPU
  4. 2026KernelSight-LM: A Kernel-Level LLM Inference Simulator
  5. 2024NEO: Saving GPU Memory Crisis with CPU Offloading for Online LLM Inference
  6. 2025HGCA: Hybrid GPU-CPU Attention for Long Context LLM Inference
  7. 2025Make LLM Inference Affordable to Everyone: Augmenting GPU Memory with NDP-DIMM
  8. 2025Characterizing LLM Inference Energy-Performance Tradeoffs across Workloads and GPU Scaling