CrossPipe: Towards Optimal Pipeline Schedules for Cross-Datacenter Training

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Chen, Tiancheng, Kubicek, Ales, Huang, Langwen, Hoefler, Torsten
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912458849910784
author Chen, Tiancheng
Kubicek, Ales
Huang, Langwen
Hoefler, Torsten
author_facet Chen, Tiancheng
Kubicek, Ales
Huang, Langwen
Hoefler, Torsten
contents Training large language models (LLMs) now requires resources that exceed a single datacenter, making cross-datacenter strategies increasingly crucial. We present CrossPipe, a framework designed to optimize model training across geographically distributed datacenters by explicitly modeling and mitigating the impact of network latency and limited bandwidth. It enables unified analysis and optimization incorporating both pipeline parallelism (PP) and opportunities for overlapping data parallelism (DP) communication. CrossPipe generates optimized pipeline schedules using either solver-based optimal or fast near-optimal greedy algorithms, built upon a flexible execution engine that separates scheduling logic from communication details. Our evaluation shows that CrossPipe reduces training time by up to 33.6\% compared to traditional pipeline schedules under identical memory constraints. When memory constraints are relaxed, CrossPipe maintains strong performance despite communication delays, approaching the efficiency of idealized schedules without delays. CrossPipe offers improved scalability and resource utilization, particularly in environments with high network latency or limited bandwidth.
format Preprint
id arxiv_https___arxiv_org_abs_2507_00217
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle CrossPipe: Towards Optimal Pipeline Schedules for Cross-Datacenter Training
Chen, Tiancheng
Kubicek, Ales
Huang, Langwen
Hoefler, Torsten
Distributed, Parallel, and Cluster Computing
Training large language models (LLMs) now requires resources that exceed a single datacenter, making cross-datacenter strategies increasingly crucial. We present CrossPipe, a framework designed to optimize model training across geographically distributed datacenters by explicitly modeling and mitigating the impact of network latency and limited bandwidth. It enables unified analysis and optimization incorporating both pipeline parallelism (PP) and opportunities for overlapping data parallelism (DP) communication. CrossPipe generates optimized pipeline schedules using either solver-based optimal or fast near-optimal greedy algorithms, built upon a flexible execution engine that separates scheduling logic from communication details. Our evaluation shows that CrossPipe reduces training time by up to 33.6\% compared to traditional pipeline schedules under identical memory constraints. When memory constraints are relaxed, CrossPipe maintains strong performance despite communication delays, approaching the efficiency of idealized schedules without delays. CrossPipe offers improved scalability and resource utilization, particularly in environments with high network latency or limited bandwidth.
title CrossPipe: Towards Optimal Pipeline Schedules for Cross-Datacenter Training
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2507.00217