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

DisagFusion:面向解耦扩散服务的异步流水线并行与弹性调度

DisagFusion: Asynchronous Pipeline Parallelism and Elastic Scheduling for Disaggregated Diffusion Serving

Renmin University of China(中国人民大学);SenseTime(商汤科技);Peking University(北京大学);Hong Kong University of Science and Technology(香港科技大学);Beihang University(北京航空航天大学)

Hantian Zha, Teng Ma, Yang Yong, Haiwen Fu, Ruiyang Ma, Wei Gao, Ruihao Gong, Xianglong Liu, Wei Wang, Yunpeng Chai

AI总结:

针对扩散模型部署中阶段间负载不均和调度脆弱性问题,提出DisagFusion,通过异步流水线并行和混合实例调度策略,实现吞吐量提升3.4-20.5倍、端到端延迟降低18.5倍。

摘要:

基于扩散的生成正日益驱动生产内容流水线;然而,大规模部署这些模型仍是一个重大挑战。模型权重经常超过商用GPU的内存容量,而编码器、扩散变换器(DiT)和解码器阶段表现出高度不平衡的计算和内存占用。一种自然的解决方案是解耦服务——在异构GPU上作为独立服务运行各阶段——但这引入了新的瓶颈,包括阶段交接开销和快速变化的工作负载,使得跨阶段资源调配和调度变得脆弱。本文提出DisagFusion,实现面向解耦扩散服务的异步流水线并行和弹性调度。首先,DisagFusion引入了异步流水线并行,重叠计算和阶段间通信以减少流水线气泡并缓解网络抖动。其次,DisagFusion采用混合实例调度策略,结合轻量级性能预测与运行时反馈,在工作负载变化下持续重新平衡各阶段的实例比例。我们实现了DisagFusion,并使用现代扩散模型进行评估。与单体基线相比,DisagFusion将吞吐量提高了3.4-20.5倍,端到端延迟降低了18.5倍,同时实现了跨异构GPU的灵活、经济高效的部署。

英文摘要:

Diffusion-based generation is increasingly powering production content pipelines; however, deploying these models at scale remains a significant challenge. Model weights frequently exceed the memory capacity of commodity GPUs, while the encoder, diffusion transformer (DiT), and decoder stages exhibit highly imbalanced computational and memory footprints. A natural remedy is disaggregated serving-running stages as separate services on heterogeneous GPUs-yet this introduces new bottlenecks, including stage handoff overheads and fast-changing workloads that make cross-stage provisioning and scheduling brittle. This paper presents DisagFusion, enabling asynchronous pipeline parallelism and elastic scheduling for disaggregated diffusion serving. First, DisagFusion introduces asynchronous pipeline parallelism that overlaps computation and stage-to-stage communication to reduce pipeline bubbles and mitigate network jitter. Second, DisagFusion employs a hybrid instance scheduling strategy that combines lightweight performance prediction with runtime feedback to continuously rebalance instance ratio across stages under workload shifts. We implement DisagFusion and evaluate it with modern diffusion models. Compared to a monolithic baseline, DisagFusion improves throughput by 3.4x-20.5x and reduces end-to-end latency by 18.5x, while enabling flexible, cost-efficient deployment across heterogeneous GPUs.

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

↑