NeurIPS 2026QuestionsPapersAreasAboutMarkdown

TritonTune: LLM-Guided Multi-Agent Optimization of GPU Kernel Configurations

Shukai Duan, Mihai Capotă, Guixiang Ma, Hou-Jen Ko, Rafael Wang, Steve Cho, Shahin Nazarian, Paul Bogdan

NeurIPS page · OpenReview · Open on the map

Category: LLM Agents, Evals & Benchmarks › GPU Kernel Optimization and Benchmarking · Type: new method · Keywords: GPU kernel optimization, LLM-guided search, multi-agent systems, autotuning, performance guarantees

Areas: Code & Coding Agents › Code Generation and Optimization › GPU Kernel Optimization; AI Agents › Agentic Decision Making › Agentic Optimization and Evaluation

Summary

TritonTune is a multi-agent LLM-guided system that optimizes Triton GPU kernel launch configurations safely and efficiently, achieving up to a 2.24× speedup across a wide range of operator shapes.

Explained to a 5-year-old

Computers need to run tiny programs called kernels on graphics cards. Making these kernels run fast is hard work. The researchers made a team of smart chatbots that talk about how to move data and use the computer's power. They test the ideas on real computers and only keep changes that make things faster. This helps computers run faster without breaking anything.

Explained to a 5-year-old, longer

When we use computers to train AI, we need to run many small programs on the graphics card. These programs are called kernels and they need to be set up just right. Setting them up is like tuning a car engine, but it takes a lot of time. Existing methods try every possible setting, which is very slow. The researchers created a system where two smart chatbots work together. One chatbot knows about moving data around, and the other knows about using the computer's processing power. They each suggest a setting, and a manager decides which one to try first. The chosen setting is tested on the real computer. If it makes things slower, the system fixes it quickly. There is also a safety rule that never accepts a setting that makes things worse. The system was tested on many different kernels and many different sizes of work. It made the kernels run more than twice as fast on average, and most of the time it improved performance. The system also worked on different types of graphics cards, not just one. This makes it useful for many people who build AI systems.

For a technical reader

TritonTune uses two LLM agents that specialize in data movement and compute allocation, whose proposals are combined by an orchestration layer and refined through a phased hardware benchmark. Per-agent feedback corrects regressions, and a fallback ensures performance never drops below the original configuration. It was evaluated on 19 TritonBench kernels across 393 shapes and multiple GPU models, achieving a 2.24× geometric-mean speedup with 80 % of shapes improved. The system provides a safe, scalable alternative to exhaustive autotuning for production ML deployments.

Problem

Tuning GPU kernel launch configurations for Triton is labor-intensive, and existing exhaustive autotuning methods are too slow for the long tail of operator shapes, requiring manual search spaces.

Method

The approach uses two LLM agents specialized in data movement and compute allocation, whose proposals are orchestrated and refined via a phased benchmark search on real hardware, with per-agent feedback and a fallback that guarantees no performance regression.

Results

The approach achieves a 2.24× per-shape geometric-mean speedup on an NVIDIA V100, improving 80 % of shapes, and generalizes to L40S, A40, and A100 GPUs.

Contributions

A multi-agent LLM-guided optimization framework with a hardware-validated fallback that guarantees no regression, and empirical validation across multiple GPUs and operator shapes.

Practical relevance

It enables fast, safe GPU kernel tuning for production ML systems, reducing manual effort and the risk of performance regression.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction