arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.26913cs.DC
收藏

FlowMesh:面向可组合 LLM 工作流的服务架构

FlowMesh: A Service Fabric for Composable LLM Workflows

National University of Singapore(新加坡国立大学);DataCanvas

Junyi Shen, Noppanat Wadlom, Lingfeng Zhou, Dequan Wang, Xu Miao, Lei Fang, Yao Lu

AI总结:

FlowMesh 是一种多租户服务架构,通过将可组合 LLM 工作流分解为细粒度算子并利用全局控制平面优化调度,在异构 GPU 上实现跨用户工作去重与弹性扩容,显著降低成本与能耗。

摘要:

AI 部署越来越像由数据转换、微调和智能体交互构成的流水线,而非单体 LLM 作业;近期的例子包括 RLHF/RLAIF 训练和智能体工作流。为应对这一转变,我们提出 FlowMesh,一种多租户服务架构,将这些工作负载作为单一共享服务而非孤立流水线来执行和优化。它将工作流分解为带有记录溯源的细粒度算子,从而在保留各工作流出处的同时,实现跨用户工作去重并在同一硬件上批量处理请求。全局控制平面维护集群范围内就绪算子池,并使用单一效用函数同时选择批次和工作者,在异构 GPU 上平衡吞吐量、成本和数据局部性。数据平面是由内容寻址存储支持的无状态工作者弹性集群,实现快速自动扩容、抢占后安全重试,以及在 Kubernetes 等托管集群和 Vast.ai 等地理分布式 GPU 市场间的可移植性。与基线方案相比,FlowMesh 实现高达 3.8 倍成本降低和 2.0 倍能耗下降,提供相似或更优的延迟特性,并在动态和易故障条件下保持高效。

英文摘要:

AI deployment increasingly resembles a pipeline of data transformation, fine-tuning, and agent interactions rather than a monolithic LLM job; recent examples include RLHF/RLAIF training and agentic workflows. To cope with this shift, we propose FlowMesh, a multi-tenant service fabric that executes and optimizes these workloads as one shared service instead of isolated pipelines. It decomposes workflows into fine-grained operators with recorded lineage, enabling de-duplication of work across users and batching requests on the same hardware while preserving per-workflow provenance. A global control plane maintains a cluster-wide pool of ready operators and uses a single utility function to pick both the batch and the worker, balancing throughput, cost, and data locality on heterogeneous GPUs. The data plane is an elastic fleet of stateless workers backed by a content-addressable store, enabling rapid, automatic scale-out, safe retry after preemption, and portability across managed clusters such as Kubernetes and geo-distributed GPU marketplaces such as Vast.ai. Compared with baseline solutions, FlowMesh achieves up to 3.8x cost reduction and 2.0x lower energy usage, provides a similar or better latency profile, and remains efficient under dynamic and failure-prone conditions.

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

↑