FlashInfer-Bench: Building the Virtuous Cycle for AI-driven LLM Systems

Shanli Xing, Yiyan Zhai, Alexander Jiang, Yixin Dong, Yong Wu +8 more
1/1/2026
cs.AI

No official code found. Best implementation: flashinfer-ai/flashinfer-bench (251 stars, Apache-2.0, last commit 2026-04-28). 1 more below.

Abstract

Recent advances show that large language models (LLMs) can act as autonomous agents capable of generating GPU kernels, but integrating these AI-generated kernels into real-world inference systems remains challenging. FlashInfer-Bench addresses this gap by establishing a standardized, closed-loop framework that connects kernel generation, benchmarking, and deployment. At its core, FlashInfer Trace provides a unified schema describing kernel definitions, workloads, implementations, and evaluations, enabling consistent communication between agents and systems. Built on real serving traces, FlashInfer-Bench includes a curated dataset, a robust correctness- and performance-aware benchmarking framework, a public leaderboard to track LLM agents' GPU programming capabilities, and a dynamic substitution mechanism (apply()) that seamlessly injects the best-performing kernels into production LLM engines such as SGLang and vLLM. Using FlashInfer-Bench, we further evaluate the performance and limitations of LLM agents, compare the trade-offs among different GPU programming languages, and provide insights for future agent design. FlashInfer-Bench thus establishes a practical, reproducible pathway for continuously improving AI-generated kernels and deploying them into large-scale LLM inference.

View on arXivView PDF

Code Implementations(2)

Apache-2.0

Building the Virtuous Cycle for AI-driven LLM Systems

25141CSS, ShellJun 30, 20255 months agoApache-2.0

Building the Virtuous Cycle for AI-driven LLM Systems

00Cuda, PythonFeb 1, 20268 months ago

Similar Papers

Cite this paper

@article{xing2026flashinferbench,
  title  = {FlashInfer-Bench: Building the Virtuous Cycle for AI-driven LLM Systems},
  author = {Shanli Xing and Yiyan Zhai and Alexander Jiang and Yixin Dong and Yong Wu and Zihao Ye and Charlie Ruan and Yingyi Huang and Yineng Zhang and Liangsheng Yin and Aksara Bayyapu and Luis Ceze and Tianqi Chen},
  year   = {2026},
  eprint = {2601.00227},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.00227v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.00227.svg)](https://codeofpaper.com/paper/2601.00227)

Discussion