paper-with-me

Papers

DataStates-LLM: Lazy Asynchronous Checkpointing for Large Language Models

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

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, unexpected events (e.g., failures of components, instability of the software, undesirable learning patterns, etc.), are frequent and typically impact the training in a negative fashion. Thus, LLMs need to be checkpointed frequently so that they can be rolled back to a stable state and subsequently fine-tuned. However, given the large sizes of LLMs, a straightforward checkpointing solution that directly writes the model parameters and optimizer state to persistent storage (e.g., a parallel file system), incurs significant I/O overheads. To address this challenge, in this paper we study how to reduce the I/O overheads for enabling fast and scalable checkpointing for LLMs that can be applied at high frequency (up to the granularity of individual iterations) without significant impact on the training process. Specifically, we introduce a lazy asynchronous multi-level approach that takes advantage of the fact that the tensors making up the model and optimizer state shards remain immutable for extended periods of time, which makes it possible to copy their content in the background with minimal interference during the training process. We evaluate our approach at scales of up to 180 GPUs using different model sizes, parallelism settings, and checkpointing frequencies. The results show up to 48$\times$ faster checkpointing and 2.2$\times$ faster end-to-end training runtime compared with the state-of-art checkpointing approaches.

📄 PDF Abstract BibTeX arXiv:2406.10707

Code (1)

datastates/datastates-llm 공식 구현 pytorch

Similar Papers 제목 키워드 기반

DataStates-LLM: Scalable Checkpointing for Transformer Models Using Composable State Providers

2026-01-23 · Avinash Maurya, M. Mustafa Rafique, Franck Cappello, Bogdan Nicolae arxiv

The rapid growth of Large Transformer-based models, specifically Large Language Models (LLMs), now scaling to trillions of parameters, has necessitated training across thousands of GPUs using complex hybrid parallelism s…

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…

MoC-System: Efficient Fault Tolerance for Sparse Mixture-of-Experts Model Training

2024-08-08 · Weilin Cai, Le Qin, Jiayi Huang

As large language models continue to scale up, distributed training systems have expanded beyond 10k nodes, intensifying the importance of fault tolerance. Checkpoint has emerged as the predominant fault tolerance strate…

Mixture-of-Experts

Universal Checkpointing: Efficient and Flexible Checkpointing for Large Scale Distributed Training

2024-06-27 · Xinyu Lian, Sam Ade Jacobs, Lev Kurilenko, Masahiro Tanaka 외

Existing checkpointing approaches seem ill-suited for distributed training even though hardware limitations make model parallelism, i.e., sharding model state across multiple accelerators, a requirement for model scaling…

ByteCheckpoint: A Unified Checkpointing System for Large Foundation Model Development

2024-07-29 · Borui Wan, Mingji Han, Yiyao Sheng, Yanghua Peng 외

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 …

GPU