通用检查点:一种面向可重构并行的大规模深度神经网络训练的灵活高效分布式检查点系统
Universal Checkpointing: A Flexible and Efficient Distributed Checkpointing System for Large-Scale DNN Training with Reconfigurable Parallelis
AI总结:
本文提出通用检查点系统UCP,通过将检查点结构与并行策略和硬件配置解耦,并设计基于模式的重配置流水线,实现大规模DNN训练中灵活高效的并行策略重配置,显著提升训练对动态硬件环境的适应能力。
摘要:
深度神经网络(DNN)训练在模型规模、数据量和序列长度方面持续快速扩展,以至于需要多台机器才能容纳大型模型进行训练。为了支持大规模DNN训练,人们开发了不同的分布式和并行训练策略,通过在GPU之间划分训练状态来实现。然而,现有的DNN训练系统对在训练过程中通过检查点重新配置并行策略的支持非常有限。这一局限性的根源在于分布式检查点与特定的模型并行方式和硬件配置紧密耦合,导致大规模训练作业无法高效地适应硬件故障或资源弹性变化。本文提出了通用检查点(Universal Checkpointing,UCP),这是一种新颖的检查点系统,能够实现具有可重构并行性的灵活高效DNN训练。UCP通过将检查点结构与并行训练策略和硬件配置解耦,克服了现有系统中的挑战。此外,我们提出了一种基于模式的重配置流水线,能够自动、灵活且高效地将检查点状态映射到各种并行策略。在一系列DNN模型上的评估(包括最先进的稠密和稀疏大语言模型LLM)表明,与现有解决方案相比,UCP能够支持更广泛的常用并行策略集合进行重配置,同时增加的重配置成本可以忽略不计。UCP已成功应用于真实的大语言模型训练工作负载中,极大地增强了其对动态硬件环境的灵活性和韧性。
英文摘要:
Deep neural network (DNN) training continues to scale rapidly in terms of model size, data volume, and sequence length, to the point where multiple machines are required to fit large models for training. Different distributed and parallel training strategies have been developed to support large-scale DNN training by partitioning the training state across GPUs. However, existing DNN training systems provide very limited support for reconfiguring parallelism strategies in the middle of the training via checkpointing. This limitation arises because distributed checkpoints are tightly coupled to specific model parallelism and hardware configurations, preventing large-scale training jobs from efficiently adapting to hardware failures or resource elasticity. This paper presents Universal Checkpointing (UCP), a novel checkpointing system that enables flexible and efficient DNN training with reconfigurable parallelism. UCP overcomes challenges in existing systems by decoupling checkpoint structure from parallel training strategies and hardware configurations. In addition, we present a pattern-based reconfiguration pipeline that enables automatic, flexible, and efficient mapping of checkpoint state to various parallelism strategies. Evaluation on a range of DNN models, including state-of-the-art dense and sparse LLMs, shows that UCP enables reconfiguration for a broader set of widely used parallelism strategies than existing solutions while adding negligible reconfiguration cost. UCP has been successfully employed in real LLM training workloads, greatly enhancing their flexibility and resilience to dynamic hardware environments.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。