VibeServe: 人工智能代理能否构建定制化的LLM服务系统?
VibeServe: Can AI Agents Build Bespoke LLM Serving Systems?
AI总结:
本文提出VibeServe,一种通过多代理循环自动合成定制化LLM服务系统的框架,在标准部署中与vLLM竞争,在非标准场景中表现更优。
摘要:
多年来,我们像构建其他关键基础设施一样构建LLM服务系统:一个单一的通用栈,经过多年工程师的精心调优,旨在支持所有模型和工作负载。在本文中,我们采取相反的赌注:一个多代理循环,能够自动合成针对不同使用场景的定制化服务系统。我们提出了VibeServe,首个能够端到端生成完整LLM服务栈的代理循环。VibeServe使用外层循环来规划和跟踪系统设计的搜索,内层循环用于实现候选方案、检查正确性并测量目标基准的性能。在标准部署设置中,现有栈高度优化,VibeServe仍能与vLLM竞争,表明生成时的定制化不必以性能为代价。更有趣的是,在非标准场景中,VibeServe通过利用通用系统所忽略的机会,在六个涉及非标准模型架构、工作负载知识和硬件特定优化的场景中表现更优。这些结果表明,基础设施软件的设计空间存在新的方向:生成时的定制化而非运行时的通用性。代码可在https://github.com/uw-syfi/vibe-serve获取。
英文摘要:
For years, we have built LLM serving systems like any other critical infrastructure, with a single general-purpose stack hand-tuned over many engineer-years to support every model and workload. In this paper, we instead let coding agents build bespoke serving systems for different usage scenarios. We propose VibeServe, the first agentic loop that generates entire LLM serving stacks end-to-end. VibeServe uses an outer loop to plan and track the search over system designs, and an inner loop to implement candidates, check correctness, and measure performance on the target benchmark. In standard serving settings, VibeServe matches vLLM and SGLang on Llama-3.1-8B, and delivers 2.3x the goodput of a tuned SGLang for a 397B MoE model on four AMD MI300As. In five non-standard scenarios, VibeServe outperforms existing systems by exploiting opportunities that generic systems miss, spanning non-standard model architectures, workload knowledge, and hardware-specific optimizations. Together, these results show that coding agents can construct and specialize competitive serving systems across heterogeneous deployment targets. Code is available at https://github.com/uw-syfi/vibesys.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。