arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.41278cs.SEcs.AI
收藏

SWE-GPU-Bench:语言模型能否解决真实世界的GPU软件工程任务?

SWE-GPU-Bench: Can Language Models Solve Real-World GPU Software Engineering Tasks?

Feng Chen, Binbin Liu, Wenhan Han, Yin Zheng

AI总结:

该研究推出SWE-GPU-Bench基准,评估前沿语言模型解决真实GPU软件工程任务的能力,发现GPT-6-Astra等模型可解决约58%的相关任务。

摘要:

现有的基于语言模型的GPU编程基准测试,仅评估模型能否生成孤立的内核、算子或独立的CUDA程序。然而,大多数GPU软件开发是在现有代码仓库中进行的,单次变更往往涉及CUDA内核、C++主机代码、Python绑定、构建文件和测试。我们推出SWE-GPU-Bench,这一基准包含来自30个GPU仓库(包括CUTLASS、CCCL、FlashInfer、Triton和TensorFlow)的合并拉取请求中的417个任务。在预配置环境中,模型接收问题陈述和基础提交时的代码仓库,生成补丁,我们使用拉取请求的测试命令评估该补丁。这些任务涵盖错误修复、功能实现和性能优化,其中一小部分性能任务(Perf-Replay)还包含基准测试命令,用于测量通过正确性测试的补丁的加速比。超过四分之一的任务编辑4个以上文件,超过一半的任务编辑两种或更多语言的文件。我们在神谕设置和智能体设置中评估前沿的开放权重模型和专有模型,评估中表现最强的配置为Codex CLI中的GPT-6-Astra和GPT-6.1-Sol,分别解决58.3%和58.0%的任务。

英文摘要:

Existing benchmarks for GPU programming with language models evaluate whether a model can generate an isolated kernel, operator, or standalone CUDA program. Most GPU software, however, is developed inside existing repositories, where a single change often spans CUDA kernels, C++ host code, Python bindings, build files, and tests. We introduce SWE-GPU-Bench, a benchmark of 417 tasks drawn from merged pull requests in 30 GPU repositories, including CUTLASS, CCCL, FlashInfer, Triton, and TensorFlow. Working in a pre-configured environment, a model receives a problem statement and the repository at the base commit to generate a patch, which we evaluate using the pull request's test commands. The tasks cover bug fixes, feature implementations, and performance optimizations, with a small subset of performance tasks (Perf-Replay) also including benchmark commands that measure the speedup of patches that pass the correctness tests. Over a quarter of the tasks edit more than four files, and over half edit files in two or more languages. We evaluate frontier open-weight and proprietary models in both the oracle and agent settings. The strongest evaluated configurations, GPT-6-Astra and GPT-6.1-Sol in Codex CLI, resolve 58.3\% and 58.0\% of tasks, respectively.

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

↑