arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2310.10046cs.DCcs.AI
收藏

TRANSOM:一个用于训练LLM的高效容错系统

TRANSOM: An Efficient Fault-Tolerant System for Training LLMs

SenseTime(商汤科技);Huazhong University of Science and Technology(华中科技大学);Beijing University of Posts and Telecommunications(北京邮电大学)

Baodong Wu, Lei Xia, Qingping Li, Kangyu Li, Xu Chen, Yongqiang Guo, Tieyao Xiang, Yuheng Chen, Shigang Li

AI总结:

提出新型容错LLM训练系统TRANSOM,通过TOL、TEE和TCE三个子系统实现自动容错恢复、异常检测与异步检查点访问,显著提升大规模集群训练效率。

摘要:

以chatGPT为代表、具有数千亿或数万亿参数的大型语言模型(LLMs)对各个领域产生了深远影响。然而,训练具有超大规模参数的LLMs需要大型高性能GPU集群以及长达数月的训练周期。由于大规模集群中不可避免的硬件和软件故障,维持不间断的长期训练极具挑战性。因此,大量训练时间被用于任务检查点的保存与加载、任务重新调度与重启,以及任务人工异常检查,这极大地损害了整体训练效率。为了解决这些问题,我们提出了一种新型容错LLM训练系统TRANSOM。在本研究中,我们设计了三个关键子系统:名为Transom Operator and Launcher(TOL)的训练流水线自动容错与恢复机制,名为Transom Eagle Eye(TEE)的训练任务多维指标自动异常检测系统,以及名为Transom Checkpoint Engine(TCE)的训练检查点异步访问自动容错与恢复技术。其中,TOL管理训练任务的生命周期,而TEE负责任务监控和异常报告。TEE检测训练异常并将其报告给TOL,后者自动进入容错策略以消除异常节点并重启训练任务。此外,TCE提供的异步检查点保存与加载功能大大缩短了容错开销。实验结果表明,TRANSOM显著提升了集群上大规模LLM训练的效率。具体而言,GPT3-175B的预训练时间减少了28%,而检查点保存与加载性能提升了20倍。

英文摘要:

Large language models (LLMs) with hundreds of billions or trillions of parameters, represented by chatGPT, have achieved profound impact on various fields. However, training LLMs with super-large-scale parameters requires large high-performance GPU clusters and long training periods lasting for months. Due to the inevitable hardware and software failures in large-scale clusters, maintaining uninterrupted and long-duration training is extremely challenging. As a result, A substantial amount of training time is devoted to task checkpoint saving and loading, task rescheduling and restart, and task manual anomaly checks, which greatly harms the overall training efficiency. To address these issues, we propose TRANSOM, a novel fault-tolerant LLM training system. In this work, we design three key subsystems: the training pipeline automatic fault tolerance and recovery mechanism named Transom Operator and Launcher (TOL), the training task multi-dimensional metric automatic anomaly detection system named Transom Eagle Eye (TEE), and the training checkpoint asynchronous access automatic fault tolerance and recovery technology named Transom Checkpoint Engine (TCE). Here, TOL manages the lifecycle of training tasks, while TEE is responsible for task monitoring and anomaly reporting. TEE detects training anomalies and reports them to TOL, who automatically enters the fault tolerance strategy to eliminate abnormal nodes and restart the training task. And the asynchronous checkpoint saving and loading functionality provided by TCE greatly shorten the fault tolerance overhead. The experimental results indicate that TRANSOM significantly enhances the efficiency of large-scale LLM training on clusters. Specifically, the pre-training time for GPT3-175B has been reduced by 28%, while checkpoint saving and loading performance have improved by a factor of 20.

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

↑