Search papers, labs, and topics across Lattice.
This paper investigates the impact of one-step gradient delay in asynchronous pipeline parallelism for large-scale LLM pretraining, challenging the prevailing belief that such delays lead to instability. The authors demonstrate that the choice of optimizer significantly influences performance degradation, revealing that while AdamW struggles under delay, newer optimizers like Muon maintain robustness. Their findings, supported by theoretical analysis and extensive empirical evaluation, show that with the right strategies, asynchronous methods can achieve performance comparable to synchronous training, thus enhancing computational efficiency in LLM pretraining.
Asynchronous pipeline parallelism can match synchronous training performance if the right optimizer is chosen, debunking myths about gradient delay instability.
Modern large-scale LLM pretraining benefits from utilizing Pipeline Parallelism; however, synchronous implementations leave GPUs idle during pipeline bubbles, wasting computational resources. Asynchronous Pipeline Parallelism eliminates these bubbles, maximizing throughput at the cost of gradient staleness. Among asynchronous schedules, PipeDream-2BW is particularly appealing: unlike the original PipeDream schedule, it ensures a constant one-step gradient delay regardless of pipeline depth. However, its adoption remains limited due to the common belief that optimizing under staleness is fundamentally unstable. In this work, we challenge this assumption, demonstrating that degradation under one-step delay depends strongly on optimizer choice rather than being an intrinsic limitation. We provide the first comprehensive empirical analysis showing that while AdamW, the predominant optimizer at the time when PipeDream-2BW was introduced, indeed suffers from severe degradation, recent methods like Muon exhibit strong robustness under a one-step delay. We introduce an optimizer-agnostic Error Feedback-inspired correction to further mitigate delay effects. We provide supporting theoretical analysis demonstrating convergence for Muon with and without this correction. Extensive evaluation on models up to 10B parameters confirms that our strategies bridge the performance gap with synchronous training, highlighting the practical potential of asynchronous pipeline parallelism at scale.