arXiv:cs.LG· Gabriele Oliaro, Jaeseong Lee, Yichao Fu, Zhaoyuan Su, Owen Lu, Sreeram Vennam, May Jiang, Junli Wang, Hao Zhang, Zhihao Jia, Samyam Rajbhandari·· 6 小时前AI 评分62
FastKernels:面向生产环境的 GPU kernel 生成基准
FastKernels: Benchmarking GPU Kernel Generation in Production
AI 导读
研究者发布 FastKernels 基准,包含来自 47 个代表性架构、8 个类别的 384 个任务,其 kernel 可覆盖 94.6%(472/499)的 HuggingFace Transformers 架构,并在生产执行路径上按 kernel 级和端到端评分。
正文
Authors:Gabriele Oliaro, Jaeseong Lee, Yichao Fu, Zhaoyuan Su, Owen Lu, Sreeram Vennam, May Jiang, Junli Wang, Hao Zhang, Zhihao Jia, Samyam Rajbhandari
Abstract:LLM-based agents for GPU kernel generation are advancing rapidly, but the benchmarks they optimize against evaluate kernels in isolation, with synthetic inputs and weak baselines, rewarding sandbox speedups that break or vanish in real inference systems. We introduce FastKernels, a benchmark of 384 tasks drawn from 47 representative architectures across 8 categories, whose kernels suffice to reimplement 94.6% (472/499) of HuggingFace Transformers architectures with outputs matching the native implementations. Each task mirrors the interface of the corresponding production module and is scored against the kernels production frameworks ship, and tasks form a compositional hierarchy, from primitives to full models, in which higher-level modules import lower-level ones. Candidates are scored at the kernel level and end to end inside the models they come from, on the production execution path, and MacroEval aggregates calibrated correctness, coverage, and speedup into a leaderboard. Seeding it with five representative agents (6,900 agent-hours), we find that kernel-level speedups of $1.6$-$6.6\times$ shrink to at most $1.25\times$ end to end, only 20% of winning kernel sets run correctly as-is, and kernel-level scores mis-rank agents: Claude Code matches or beats KDA at every level in isolation, yet KDA scores $3\times$ higher end to end. Code is available at this https URL.
| Subjects: | Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Computation and Language (cs.CL) |
| Cite as: | arXiv:2605.23215 [cs.LG] |
| (or arXiv:2605.23215v2 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2605.23215 arXiv-issued DOI via DataCite |
Submission history
From: Gabriele Oliaro [view email]
[v1]
Fri, 22 May 2026 04:19:04 UTC (298 KB)
[v2]
Thu, 1 Oct 2026 20:34:40 UTC (1,071 KB)
来源:arXiv:cs.LG · arxiv.org