SPARe: 面向10万+GPU容错LLM预训练系统的堆叠并行与自适应重排序
SPARe: Stacked Parallelism with Adaptive Reordering for Fault-Tolerant LLM Pretraining Systems with 100k+ GPUs
AI总结:
针对大规模LLM预训练中故障频繁导致重启开销主导训练时间的问题,提出SPARe框架,通过跨并行组堆叠冗余数据分片并自适应重排序执行顺序,在梯度同步中掩盖节点故障,实现接近传统复制的可用性且计算开销仅2~3倍,在60万GPU规模下训练时间减少40~50%。
摘要:
在拥有10万+GPU的大规模LLM预训练系统中,故障成为常态而非例外,重启成本可能主导挂钟训练时间。然而,现有的容错机制在很大程度上尚未为这种重启主导模式做好准备。为应对这一挑战,我们提出SPARe——堆叠并行与自适应重排序——一种容错框架,通过在并行组之间堆叠冗余数据分片并自适应重排序执行顺序,在梯度同步过程中掩盖节点故障。SPARe实现了与传统复制相当的可用性,同时保持仅2~3倍的近恒定计算开销,即使在传统复制需要线性增加开销的高冗余场景下也是如此。我们推导了可承受故障数量和计算开销的闭式表达式,通过基于SimGrid的离散事件模拟进行验证,并联合优化冗余和检查点以最小化训练时间。在高达60万GPU的极端规模下,与传统复制相比,SPARe将训练时间减少了40~50%。
英文摘要:
In large-scale LLM pre-training systems with 100k+ GPUs, failures become the norm rather than the exception, and restart costs can dominate wall-clock training time. However, existing fault-tolerance mechanisms are largely unprepared for this restart-dominant regime. To address this challenge, we propose SPARe - Stacked Parallelism with Adaptive Reordering - a fault-tolerance framework that masks node failures during gradient synchronization by stacking redundant data shards across parallelism groups and adaptively reordering execution. SPARe achieves availability comparable to traditional replication while maintaining near-constant computation overhead of only 2~3x, even under high redundancy where traditional replication would require linearly inflating overhead. We derive closed-form expressions for endurable failure count and computation overhead, validate them via SimGrid-based discrete-event simulation, and jointly optimize redundancy and checkpointing to minimize time-to-train. At extreme scale with up to 600k GPUs, SPARe reduces time-to-train by 40~50% compared to traditional replication.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。