arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.19635cs.LGcs.AIcs.DC
收藏

基于异构系统的高效可扩展智能体 AI

Efficient and Scalable Agentic AI with Heterogeneous Systems

Stanford University(斯坦福大学);Gimlet Labs Inc.(Gimlet实验室);Intel(英特尔)

Zain Asgar, Michelle Nguyen, Sachin Katti

AI总结:

本文提出面向 AI 智能体工作负载的异构系统,通过成本模型、MLIR 编译和动态编排实现执行图优化与端到端 SLA,显著降低 TCO。

摘要:

AI 智能体正成为众多应用中的主流工作负载,有望成为将 AI 所承诺的收益交付给企业和消费者的载体。与传统软件或静态推理不同,智能体工作负载具有动态性和结构复杂性。这些智能体通常是由计算与 IO 操作构成的有向图,涵盖多模态数据输入与转换、数据处理和上下文收集(例如向量数据库查找)、多次 LLM 推理、工具调用等。为了扩展 AI 智能体的使用规模,我们需要高效、可扩展的部署与智能体服务基础设施。为应对这一挑战,本文提出一种在异构计算基础设施上动态编排 AI 智能体工作负载的系统设计,这些基础设施涵盖来自不同厂商的 CPU 和加速器,也包括单一厂商内不同性能层级的设备。该系统提供若干构建模块:一个用于规划和优化智能体 AI 执行图的框架,采用考虑不同硬件的计算、内存和带宽约束的成本模型;一套基于 MLIR 的表示与编译系统,能够将 AI 智能体执行图分解为细粒度算子,并为不同硬件选项生成代码;以及一个动态编排系统,能够将细粒度组件放置到异构计算基础设施上并将其拼接起来,同时满足端到端 SLA。我们的设计执行系统级 TCO 优化,初步结果表明,利用异构基础设施能够带来显著的 TCO 收益。一个令人惊讶的初步发现是,对于某些工作负载,旧一代 GPU 与较新加速器的异构组合可以提供与最新一代同构 GPU 基础设施设计相似的 TCO,从而有可能延长已部署基础设施的寿命。

英文摘要:

AI agents are emerging as a dominant workload in a wide range of applications, promising to be the vehicle that delivers the promised benefits of AI to enterprises and consumers. Unlike conventional software or static inference, agentic workloads are dynamic and structurally complex. Often these agents are directed graphs of compute and IO operations that span multi-modal data input and conversion), data processing and context gathering (e.g vector DB lookups), multiple LLM inferences, tool calls, etc. To scale AI agent usage, we need efficient and scalable deployment and agent-serving infrastructure. To tackle this challenge, in this paper, we present a system design for dynamic orchestration of AI agent workloads on heterogeneous compute infrastructure spanning CPUs and accelerators, both from different vendors and across different performance tiers within a single vendor. The system delivers several building blocks: a framework for planning and optimizing agentic AI execution graphs using cost models that account for compute, memory, and bandwidth constraints of different HW; a MLIR based representation and compilation system that can decompose AI agent execution graphs into granular operators and generate code for different HW options; and a dynamic orchestration system that can place the granular components across a heterogeneous compute infrastructure and stitch them together while meeting an end-to-end SLA. Our design performs a systems level TCO optimization and preliminary results show that leveraging a heterogeneous infrastructure can deliver significant TCO benefits. A preliminary surprising finding is that for some workloads a heterogeneous combination of older generation GPUs with newer accelerators can deliver similar TCO as the latest generation homogenous GPU infrastructure design, potentially extending the life of deployed infrastructure.

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

↑