arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2601.00227cs.AI
收藏

FlashInfer-Bench: 构建 AI 驱动的 LLM 系统的良性循环

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

Shanli Xing, Yiyan Zhai, Alexander Jiang, Yixin Dong, Yong Wu, Zihao Ye, Charlie Ruan, Yingyi Huang, Yineng Zhang, Liangsheng Yin, Aksara Bayyapu, Luis Ceze, Tianqi Chen

AI总结:

FlashInfer-Bench 提出了一种闭环框架,用于评估和部署 AI 生成的 GPU 内核,以提升大规模语言模型的推理性能。

摘要:

近期进展表明,大型语言模型(LLMs)能够作为自主代理,生成 GPU 内核,但将这些 AI 生成的内核集成到实际应用的推理系统中仍然具有挑战性。FlashInfer-Bench 通过建立一个标准化的闭环框架来填补这一空白,该框架连接了内核生成、基准测试和部署。在核心部分,FlashInfer Trace 提供了一个统一的模式,描述内核定义、工作负载、实现和评估,使代理和系统之间能够实现一致的通信。基于真实的服务跟踪,FlashInfer-Bench 包括一个经过精心挑选的数据集,一个稳健的正确性与性能感知的基准测试框架,一个公开的排行榜以跟踪 LLM 代理的 GPU 编程能力,以及一个动态替换机制(apply()),能够无缝地将表现最佳的内核注入到生产 LLM 引擎中,如 SGLang 和 vLLM。使用 FlashInfer-Bench,我们进一步评估了 LLM 代理的性能和局限性,比较了不同 GPU 编程语言之间的权衡,并为未来的代理设计提供了见解。FlashInfer-Bench 从而建立了一条实用且可重复的路径,以持续改进 AI 生成的内核并将其部署到大规模 LLM 推理系统中。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑