arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.11215cs.DCcs.AI
收藏

ReCoVer: 通过容错集合和多功能工作负载实现的弹性LLM预训练系统

ReCoVer: Resilient LLM Pre-Training System via Fault-Tolerant Collective and Versatile Workload

University of California at Santa Barbara(加州大学圣芭芭拉分校);Argonne National Laboratory(阿贡国家实验室)

Ziyue Liu, Zhengyang Wang, Ruijie Zhang, Avinash Maurya, Hui Zhou, Paul Hovland, Sheng Di, Franck Cappello, Bogdan Nicolae, Zheng Zhang

AI总结:

提出ReCoVer系统,通过保持每次迭代微批次数恒定、容错集合通信、步内细粒度恢复和动态工作负载重分配,实现并行方案无关的弹性LLM预训练,在512 GPU上即使丢失256 GPU也能保持训练轨迹,有效吞吐量比检查点重启基线高2.23倍。

摘要:

在大型GPU集群上预训练大型语言模型使得硬件故障变得常见而非罕见,推动了对弹性训练系统的需求。然而,现有框架要么专注于特定的并行方案,要么存在偏离无故障训练轨迹的风险。我们提出ReCoVer,一个弹性LLM预训练系统,它维护一个单一不变性:每次迭代保持微批次数恒定,确保每次迭代的梯度在随机意义上等同于无故障运行。该框架组织为三个解耦的协议层:(1) 容错集合,隔离故障以防止跨副本传播;(2) 步内细粒度恢复,保留迭代内进度并防止梯度损坏;(3) 多功能工作负载策略,动态地在幸存者之间重新分配微批次配额。该设计与并行方案无关,可直接作为即插即用基础集成到3D并行和混合分片数据并行(HSDP)中。我们在多达512个GPU的端到端预训练任务上评估了我们的实现,ReCoVer成功保持了无故障参考的训练轨迹,尽管在整个运行过程中丢失了256个GPU。与检查点重启基线相比,ReCoVer在连续故障后有效吞吐量提高了2.23倍。这一优势使得ReCoVer在234 GPU小时内处理了74.9%更多的令牌,且随着训练时间延长差距进一步扩大。

英文摘要:

Pre-training large language models on massive GPU clusters has made hardware faults routine rather than rare, driving the need for resilient training systems. Yet existing frameworks either focus on specific parallelism schemes or risk drifting away from a failure-free training trajectory. We propose ReCoVer, a resilient LLM pre-training system that upholds a single invariant: each iteration keeps the number of microbatches constant, ensuring per-iteration gradients remain stochastically equivalent to a failure-free run. The framework is organized as three decoupled protocol layers: (1) Fault-tolerant collectives that isolate faults from propagating across replicas; (2) in-step fine-grained recovery that preserves intra-iteration progress and prevents gradient corruption; (3) versatile-workload policy that dynamically redistributes microbatch quotas across the survivors. The design is parallelism-agnostic, integrating directly with both 3D parallelism and Hybrid Sharded Data Parallel (HSDP) as a drop-in substrate. We evaluate our implementation on end-to-end pre-training tasks for up to 512 GPUs, ReCoVer successfully preserves the training trajectory from a failure-free reference despite of 256 GPUs lost spread across the run. For comparison with checkpoint-and-restart baselines, ReCoVer demonstrates $2.23\times$ higher effective throughput after successive failures. This advantage results in ReCoVer processing 74.9% more tokens at 234 GPU-hours, with the gap widening as the training prolongs.

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

↑