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

地理分布式大语言模型训练中带宽感知且成本高效的流水线并行调度

Bandwidth-Aware and Cost-Efficient Pipeline Parallel Scheduling in Geo-Distributed LLM Training

Han Zhang, Jianchun Liu, Hongli Xu

AI总结:

提出BACE-Pipe框架,通过动态作业优先级、带宽感知路径搜索和成本最小化分配,在异构带宽和电价下优化流水线并行调度,同时降低作业完成时间和总电费。

摘要:

大语言模型(LLM)的快速发展使得由于单一云区域内GPU稀缺,地理分布式训练成为必要。在这种跨区域设置中,流水线并行(PP)通信效率高,但在异构区域间带宽和区域电价下调度PP仍具挑战性。现有调度器要么是延迟优先,导致高电费,要么是成本优先,依赖僵化的资源分配,延长作业完成时间(JCT)。它们在多租户环境中优化执行顺序也无效,其中长时间运行和带宽密集型作业可能导致队首(HoL)阻塞并降低整体性能。为此,我们提出了BACE-Pipe,一种用于跨地理分布式集群的LLM训练的带宽感知且成本高效的流水线调度框架。BACE-Pipe首先引入一种动态作业优先级机制,通过联合考虑作业特征(如计算时间)和实时网络利用率来优化执行顺序。然后,它采用带宽感知的路径搜索器来识别满足通信约束的可行跨区域流水线路径,从而防止通信阻塞流水线。在所有可行路径中,成本最小化分配器通过优先将资源分配给电价较低的区域来确定最优GPU放置策略。因此,BACE-Pipe减轻了HoL阻塞,提高了资源利用率,并同时降低了JCT和总电费。大量模拟表明,与最先进的基线相比,BACE-Pipe将平均JCT降低了27.9%–64.7%,总电费降低了12.6%–30.6%。

英文摘要:

The rapid evolution of large language models (LLMs) has made geographically distributed training necessary due to GPU scarcity within a single cloud region. In such cross-region settings, Pipeline Parallelism (PP) is communication-efficient, yet scheduling PP remains challenging under heterogeneous inter-region bandwidth and regional electricity prices. Existing schedulers are either delay-first, incurring high electricity cost, or cost-first, relying on rigid resource allocation that prolongs Job Completion Time (JCT). They are also ineffective at optimizing execution order in multi-tenant environments, where long-running and bandwidth-intensive jobs can cause head-of-line (HoL) blocking and degrade overall performance. To this end, we propose BACE-Pipe, a bandwidth-aware and cost-efficient pipeline scheduling framework for LLM training across geo-distributed clusters. BACE-Pipe first introduces a dynamic job prioritization mechanism that optimizes execution order by jointly considering job characteristics (e.g., computation time) and real-time network utilization. It then employs a bandwidth-aware pathfinder to identify feasible cross-region pipeline paths that satisfy communication constraints, thereby preventing communication from stalling the pipeline. Among all feasible paths, a cost-minimizing allocator determines the optimal GPU placement strategy by preferentially assigning resources to regions with lower electricity prices. Consequently, BACE-Pipe mitigates HoL blocking, improves resource utilization, and simultaneously reduces both JCT and total electricity cost. Extensive simulations show that BACE-Pipe reduces average JCT by 27.9%--64.7% and total electricity cost by 12.6%--30.6% compared with state-of-the-art baselines.

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

↑