paper-with-me

Papers

ByteCheckpoint: A Unified Checkpointing System for Large Foundation Model Development

2024-07-29 · Borui Wan, Mingji Han, Yiyao Sheng, Yanghua Peng, Haibin Lin, Mofan Zhang, Zhichao Lai, Menghan Yu, Junda Zhang, Zuquan Song, Xin Liu, Chuan Wu

Checkpointing to preserve training states is crucial during the development of Large Foundation Models (LFMs), for training resumption upon various failures or changes in GPU resources and parallelism configurations. In addition, saved checkpoints are dispatched to evaluation tasks or transferred across different training stages (e.g., from pre-training to post-training). All these scenarios require resharding distributed checkpoints from one parallelism to another. In production, different LFMs are trained with various frameworks and storage backends, depending on model sizes and training scales. A high-performance checkpointing system is needed to enable efficient checkpoint management at scale. This paper presents ByteCheckpoint, an industrial-grade checkpointing system for large-scale LFM training. ByteCheckpoint employs a parallelism-agnostic checkpoint representation that enables efficient load-time checkpoint resharding. ByteCheckpoint advocates a generic checkpoint saving/loading workflow to accommodate multiple training frameworks and support different storage backends. To ensure high I/O efficiency, we take a full-stack approach to optimize saving/loading plan generation, critical stages of checkpointing pipelines, and irregular tensor processing required by resharding. To guarantee the scalability of ByteCheckpoint in large-scale training, we enhance the storage system to efficiently handle high volumes of checkpointing I/O requests, devise communication optimizations within the checkpointing workflow, and introduce a suite of monitoring tools to analyze performance and detect bottlenecks. Compared to existing open-source checkpointing systems [40, 46], ByteCheckpoint significantly reduces runtime checkpoint stalls, achieving an average reduction of 54.20x. For saving and loading times, ByteCheckpoint achieves improvements of up to 9.96x and 8.80x, respectively.

📄 PDF Abstract BibTeX arXiv:2407.20143

Code (0)

등록된 구현이 없습니다.

Tasks

GPU

Similar Papers 제목 키워드 기반

TierCheck: Tiered Checkpointing for Fault Tolerance in Large Language Model Training

2026-05-18 · Shujie Han, Feng Jiang, Patrick P. C. Lee, Xiao Zhang 외 arxiv

Large Language Model (LLM) training is frequently interrupted by a heterogeneous spectrum of failures, from common GPU crashes to catastrophic cluster-wide outages. Existing checkpointing systems rely on monolithic, sing…

Binomial Checkpointing for Arbitrary Programs with No User Annotation

2016-11-10 · Jeffrey Mark Siskind, Barak A. Pearlmutter

Heretofore, automatic checkpointing at procedure-call boundaries, to reduce the space complexity of reverse mode, has been provided by systems like Tapenade. However, binomial checkpointing, or treeverse, has only been p…

DataStates-LLM: Lazy Asynchronous Checkpointing for Large Language Models

2024-06-15 · Avinash Maurya, Robert Underwood, M. Mustafa Rafique, Franck Cappello 외

LLMs have seen rapid adoption in all domains. They need to be trained on high-end high-performance computing (HPC) infrastructures and ingest massive amounts of input data. Unsurprisingly, at such a large scale, unexpect…

Check-N-Run: A Checkpointing System for Training Deep Learning Recommendation Models

2020-10-17 · Assaf Eisenman, Kiran Kumar Matam, Steven Ingram, Dheevatsa Mudigere 외

Checkpoints play an important role in training long running machine learning (ML) models. Checkpoints take a snapshot of an ML model and store it in a non-volatile memory so that they can be used to recover from failures…

QuantizationRecommendation Systems

Colossal-Auto: Unified Automation of Parallelization and Activation Checkpoint for Large-scale Models

2023-02-06 · Yuliang Liu, Shenggui Li, Jiarui Fang, Yanjun Shao 외

In recent years, large-scale models have demonstrated state-of-the-art performance across various domains. However, training such models requires various techniques to address the problem of limited computing power and m…

Scheduling