跳到正文
返回论文列表
cs.AI提交于 已译

InfraDev: 编码智能体能否开发 AI 基础设施,以及如何评估?

InfraDev: Can Coding Agents Develop AI Infrastructure, and How Can We Tell?

Yangshen Deng · Jiaqi Ruan · Yeqi Huang · Nick Lau · Guangming Sheng · Luo Mai

中文摘要

现有基准仅覆盖单内核或单 GPU 任务,且评估机制易误判。InfraDev 基于 Megatron-LM、vLLM 和 verl 的真实 Pull Request 构建了 36 个任务,涵盖训练、推理及强化学习的基础设施开发。每个任务要求智能体重新实现跨多文件、需在多 GPU 上正确运行的真实变更。评估采用联合合成的隐藏探针(hidden probes)与提示词,前者强制检查原测试未覆盖的需求,后者明确接口而不泄露解法。共享执行环境复用依赖,使 Megatron-LM 和 vLLM 的存储减少 52-57%,构建时间缩短 13-14%。在六个前沿模型中,最佳模型仅解决 38.9% 的任务;探针拒绝了 32% 通过官方测试的提交;若使用原始 PR 描述作为提示,无模型能解决任何任务。失败分析显示结构性和状态错误占主导,智能体自测很少检查内存、时间或流量。将这些发现转化为智能体技能,使前沿模型在 Megatron-LM 任务上的解决率提升 10.5%。

关键要点

  1. 01现有基准仅覆盖单内核或单 GPU 任务,且评估机制易误判正确与错误的补丁。
  2. 02InfraDev 基于 Megatron-LM、vLLM 和 verl 的真实 PR 构建 36 个跨多文件、多 GPU 的基础设施开发任务。
  3. 03采用隐藏探针与提示词联合评估,探针可拒绝 32% 通过官方测试但实际错误的提交。
  4. 04共享执行环境复用依赖,使存储减少 52-57%,构建时间缩短 13-14%。
  5. 05最佳前沿模型仅解决 38.9% 任务,失败主因是结构性和状态错误,智能体自测缺乏对内存和时间的检查。

解读

尚无解读。

原始英文摘要

arXiv:2610.36589v1 Announce Type: new Abstract: Coding agents are beginning to develop the production-grade AI infrastructure that trains and serves large models, yet existing benchmarks cover only single kernels or single-GPU tasks, and grade with tests and prompts that misjudge both correct and incorrect patches. We introduce InfraDev, a benchmark of 36 tasks built from real-world pull requests to Megatron-LM, vLLM, and verl, covering infrastructure development for training, inference, and reinforcement learning. Each task asks an agent to reimplement a real change that spans many files and must run correctly across many GPUs. To grade such changes, we jointly synthesize hidden probes, which enforce the requirements the original tests leave unchecked, and a prompt that states every interface the probes call without revealing the solution. We also design a shared execution environment that reuses dependencies and artifacts across tasks, cutting storage by 52-57% and build time by 13-14% on Megatron-LM and vLLM. Across six frontier models, the best resolves only 38.9% of the tasks; the probes reject 32% of the submissions that pass every official test, and with the original pull request descriptions as prompts, no model resolves a single task. Failure analysis shows that structural and state errors dominate and that agents' own tests rarely check memory, time, or traffic. Turning these findings into an agent skill raises the resolved rate of a frontier model on the Megatron-LM tasks by 10.5%.

同方向论文 · cs.AI

查看全部 →

反向发现 · 这篇论文相关的工具与提示词

去交叉发现 →

关联提示词 · 6

智能体github.com/f/awesome-chatgpt-prompts·外部收录·

Autonomous Root-Cause Debugging & Bug-Fix Architect

You are a Staff Software Engineer and Principal Debugging Architect. Your task is to analyze, diagnose, and resolve an engineering defect in a codebase without introducing regressions or speculative fixes. ### Context & Problem: - **Techno…

研究github.com/f/awesome-chatgpt-prompts·外部收录·

Enhanmcnet suggestion and analysis

a lot of people even professional said a software product or platfrom especially which has complex rules which was fully coded by AI by a vibe coder who deosnt understand what is the arcture concept deployed, read and understand the code et…

智能体github.com/f/awesome-chatgpt-prompts·外部收录·

hermes agent desktop default system prompt

You are Hermes Agent, an intelligent AI assistant created by Nous Research. You are helpful, knowledgeable, and direct. You assist users with a wide range of tasks including answering questions, writing and editing code, analyzing informati…

智能体github.com/f/awesome-chatgpt-prompts·外部收录·

xcode-mcp (for pi agent)

--- name: xcode-mcp-for-pi-agent description: Guidelines for efficient Xcode MCP tool usage via mcporter CLI. This skill should be used to understand when to use Xcode MCP tools vs standard tools. Xcode MCP consumes many tokens - use only f…

智能体github.com/f/awesome-chatgpt-prompts·外部收录·

VSCode CodeTour Expert Agent

--- description: 'Expert agent for creating and maintaining VSCode CodeTour files with comprehensive schema support and best practices' name: 'VSCode Tour Expert' --- # VSCode Tour Expert 🗺️ You are an expert agent specializing in crea…