mlsanityData to 14 Oct 2026

CODA: Rewriting Transformer Blocks as GEMM-Epilogue Programs

arXiv 2605.19269 ↗First posted 19 May 2026cs.LGcited by 5

Not on the map. Why?

Abstract (arXiv)

Transformer training systems are built around dense linear algebra, yet a nontrivial fraction of end-to-end time is spent on surrounding memory-bound operators. Normalization, activations, residual updates, reductions, and related computations repeatedly move large intermediate tensors through global memory while performing little arithmetic, making data movement an increasingly important bottleneck in otherwise highly optimized training stacks. We introduce CODA, a GPU kernel abstraction that expresses these computations as GEMM-plus-epilogue programs. CODA is based on the observation that many Transformer operators exposed as separate framework kernels can be algebraically reparameterized to execute while a GEMM output tile remains on chip, before it is written to memory. The abstraction fixes the GEMM mainloop and exposes a small set of composable epilogue primitives for scaling, reductions, pairwise transformations, and accumulation. This constrained interface preserves the performance structure of expert-written GEMMs while remaining expressive enough to cover nearly all non-attention computation in the forward and backward pass of a standard Transformer block. Across representative Transformer workloads, both human- and LLM-authored CODA kernels achieve high performance, suggesting that GEMM-plus-epilogue programming offers a practical path toward combining framework-level productivity with hardware-level efficiency.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 18 of its 24 references that are in the map. First posted on arXiv 19 May 2026.

Builds on

18 of 24 references.

References · 18

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  3. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  4. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,141
  5. 2025FlashInfer: Efficient and Customizable Attention Engine for LLM Inference Servingcited by 258
  6. 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 225
  7. 2024Liger Kernel: Efficient Triton Kernels for LLM Trainingcited by 130
  8. 2026Learning to Discover at Test Timecited by 115
  9. 2020Data Movement Is All You Need: A Case Study on Optimizing Transformerscited by 108
  10. 2024TorchTitan: One-stop PyTorch native solution for production ready LLM pre-trainingcited by 85
  11. 2025Towards Robust Agentic CUDA Kernel Benchmarking, Verification, and Optimizationcited by 56
  12. 2025TileLang: A Composable Tiled Programming Model for AI Systemscited by 43
6 more
  1. 2024Mirage: A Multi-Level Superoptimizer for Tensor Programscited by 41
  2. 2024Cut Your Losses in Large-Vocabulary Language Modelscited by 40
  3. 2024ThunderKittens: Simple, Fast, and Adorable AI Kernelscited by 36
  4. 2025CUDA-LLM: LLMs Can Write Efficient CUDA Kernelscited by 34
  5. 2025CUDA-L2: Surpassing cuBLAS Performance for Matrix Multiplication through Reinforcement Learningcited by 13
  6. 2025ParallelKittens: Systematic and Practical Simplification of Multi-GPU AI Kernelscited by 12

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 5.

5 papers.