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

TridentServe:一种面向扩散模型流水线的阶段级服务系统

TridentServe: A Stage-level Serving System for Diffusion Pipelines

Peking University(北京大学)

Yifei Xia, Fangcheng Fu, Hao Yuan, Hanke Zhang, Xupeng Miao, Yijun Liu, Suhan Ling, Jie Jiang, Bin Cui

AI总结:

针对现有扩散模型流水线服务系统静态流水线级资源分配效率低的问题,提出动态阶段级服务范式并开发TridentServe系统,通过协同优化放置与调度方案,显著提升SLO达成率并降低延迟。

摘要:

扩散模型流水线凭借其强大的视觉生成能力,已在生成式视觉任务(如文本生成图像/视频)中得到广泛应用。这类流水线通常遵循编码-扩散-解码的三阶段架构。当前的服务系统以静态、人工配置的流水线级范式部署扩散模型流水线,为每个请求和每个阶段分配相同的资源。然而,通过深入分析我们发现,由于单个请求的三个阶段之间、以及不同请求之间的资源需求存在差异,这种范式的效率十分低下。基于上述分析,我们提出了动态阶段级服务范式,并开发了全新的扩散模型服务系统TridentServe。TridentServe能够自动、动态地推导流水线部署的放置方案(即各阶段的部署位置),以及请求处理的调度方案(即请求的路由方式),对模型和请求的资源分配进行协同优化。大量实验表明,在多种工作负载下,TridentServe相较于现有方案持续提升服务等级目标(SLO)达成率,平均延迟和P95延迟分别最高降低2.5倍和3.6倍/4.1倍。

英文摘要:

Diffusion pipelines, renowned for their powerful visual generation capabilities, have seen widespread adoption in generative vision tasks (e.g., text-to-image/video). These pipelines typically follow an encode--diffuse--decode three-stage architecture. Current serving systems deploy diffusion pipelines within a static, manual, and pipeline-level paradigm, allocating the same resources to every request and stage. However, through an in-depth analysis, we find that such a paradigm is inefficient due to the discrepancy in resource needs across the three stages of each request, as well as across different requests. Following the analysis, we propose the dynamic stage-level serving paradigm and develop TridentServe, a brand new diffusion serving system. TridentServe automatically, dynamically derives the placement plan (i.e., how each stage resides) for pipeline deployment and the dispatch plan (i.e., how the requests are routed) for request processing, co-optimizing the resource allocation for both model and requests. Extensive experiments show that TridentServe consistently improves SLO attainment and reduces average/P95 latencies by up to 2.5x and 3.6x/4.1x over existing works across a variety of workloads.

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

↑