DataStates-LLM: Lazy Asynchronous Checkpointing for Large Language Models
Avinash Maurya, Robert Underwood, M. Mustafa Rafique, Franck Cappello, Bogdan Nicolae
Abstract
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× faster checkpointing and 2.2× faster end-to-end training runtime compared with the state-of-art checkpointing approaches.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
11 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Story of Two GPUs: Characterizing the Resilience of Hopper H100 and Ampere A100 GPUs cites ByteCheckpoint: A Unified Checkpointing System for Large Foundation Model Development
- Checkmate: Zero Performance Overhead Model Checkpointing via Network Gradient Replication cites ZeRO: memory optimizations toward training trillion parameter models
- Checkmate: Zero Performance Overhead Model Checkpointing via Network Gradient Replication cites CheckFreq: Frequent, Fine-Grained DNN Checkpointing
- Checkmate: Zero Performance Overhead Model Checkpointing via Network Gradient Replication cites ByteCheckpoint: A Unified Checkpointing System for Large Foundation Model Development
- Checkmate: Zero Performance Overhead Model Checkpointing via Network Gradient Replication cites GEMINI: Fast Failure Recovery in Distributed Training with In-Memory Checkpoints
- ByteCheckpoint: A Unified Checkpointing System for Large Foundation Model Development cites ZeRO: memory optimizations toward training trillion parameter models
- ByteCheckpoint: A Unified Checkpointing System for Large Foundation Model Development cites CheckFreq: Frequent, Fine-Grained DNN Checkpointing
- ByteCheckpoint: A Unified Checkpointing System for Large Foundation Model Development cites GLM-130B: An Open Bilingual Pre-trained Model
- ZeRO-infinity: breaking the GPU memory wall for extreme scale deep learning cites ZeRO: memory optimizations toward training trillion parameter models
- GEMINI: Fast Failure Recovery in Distributed Training with In-Memory Checkpoints cites ZeRO: memory optimizations toward training trillion parameter models
- GEMINI: Fast Failure Recovery in Distributed Training with In-Memory Checkpoints cites CheckFreq: Frequent, Fine-Grained DNN Checkpointing
- MoC-System: Efficient Fault Tolerance for Sparse Mixture-of-Experts Model Training cites ZeRO: memory optimizations toward training trillion parameter models
- MoC-System: Efficient Fault Tolerance for Sparse Mixture-of-Experts Model Training cites CheckFreq: Frequent, Fine-Grained DNN Checkpointing
- MoC-System: Efficient Fault Tolerance for Sparse Mixture-of-Experts Model Training cites ByteCheckpoint: A Unified Checkpointing System for Large Foundation Model Development
- MoC-System: Efficient Fault Tolerance for Sparse Mixture-of-Experts Model Training cites GEMINI: Fast Failure Recovery in Distributed Training with In-Memory Checkpoints
- AdaCheck: An Adaptive Checkpointing System for Efficient LLM Training with Redundancy Utilization cites ZeRO: memory optimizations toward training trillion parameter models
- AdaCheck: An Adaptive Checkpointing System for Efficient LLM Training with Redundancy Utilization cites CheckFreq: Frequent, Fine-Grained DNN Checkpointing
- AdaCheck: An Adaptive Checkpointing System for Efficient LLM Training with Redundancy Utilization cites ByteCheckpoint: A Unified Checkpointing System for Large Foundation Model Development
- AdaCheck: An Adaptive Checkpointing System for Efficient LLM Training with Redundancy Utilization cites ZeRO-infinity: breaking the GPU memory wall for extreme scale deep learning
- AdaCheck: An Adaptive Checkpointing System for Efficient LLM Training with Redundancy Utilization cites MoC-System: Efficient Fault Tolerance for Sparse Mixture-of-Experts Model Training
Cited by top-tier papers11
- ByteCheckpoint: A Unified Checkpointing System for Large Foundation Model DevelopmentBorui Wan, Mingji Han, Yiyao Sheng, Yanghua Peng et al.NSDI 2025 · 46 citations
- Story of Two GPUs: Characterizing the Resilience of Hopper H100 and Ampere A100 GPUsShengkun Cui, Archit Patke, Hung Nguyen, Aditya Ranjan et al.SC 2025 · 6 citations
- MoC-System: Efficient Fault Tolerance for Sparse Mixture-of-Experts Model TrainingWeilin Cai, Le Qin, Jiayi HuangASPLOS 2025 · 5 citations
- Checkmate: Zero Performance Overhead Model Checkpointing via Network Gradient ReplicationAnkit Bhardwaj, Weiyang Wang, Jeremy Carin, Adam Belay et al.NSDI 2026 · 3 citations
- AdaCheck: An Adaptive Checkpointing System for Efficient LLM Training with Redundancy UtilizationWeijie Liu, Shengwei Li, Zhiquan Lai, Keshi Ge et al.FAST 2026 · 3 citations
Builds on7
- ZeRO: memory optimizations toward training trillion parameter modelsSamyam Rajbhandari, Jeff Rasley, Olatunji Ruwase, Yuxiong HeSC 2020 · 852 citations
- GLM-130B: An Open Bilingual Pre-trained ModelAohan Zeng, Xiao Liu, Zhengxiao Du, Zihan Wang et al.ICLR 2023 · 295 citations
- ZeRO-infinity: breaking the GPU memory wall for extreme scale deep learningSamyam Rajbhandari, Olatunji Ruwase, Jeff Rasley, Shaden Smith et al.SC 2021 · 254 citations
- CheckFreq: Frequent, Fine-Grained DNN CheckpointingJayashree Mohan, Amar Phanishayee, Vijay ChidambaramFAST 2021 · 175 citations
- GEMINI: Fast Failure Recovery in Distributed Training with In-Memory CheckpointsZhuang Wang, Zhen Jia, Shuai Zheng, Zhen Zhang et al.SOSP 2023 · 61 citations
Related papers
- PCcheck: Persistent Concurrent Checkpointing for MLFoteini Strati, Michal Friedman, Ana KlimovicASPLOS 2025 · 11 citations
- MLP-Offload: Multi-Level, Multi-Path Offloading for LLM Pre-training to Break the GPU Memory WallAvinash Maurya, M. Mustafa Rafique, Franck Cappello, Bogdan NicolaeSC 2025 · 2 citations
- Just-In-Time Checkpointing: Low Cost Error Recovery from Deep Learning Training FailuresTanmaey Gupta, Sanjeev Krishnan, Rituraj Kumar, Abhishek Vijeev et al.EuroSys 2024 · 23 citations
- GPU-Enabled Asynchronous Multi-level Checkpoint Caching and PrefetchingAvinash Maurya, M. Mustafa Rafique, Thierry Tonellot, Hussain J. AlSalem et al.HPDC 2023 · 13 citations
- TrainMover: An Interruption-Resilient Runtime for ML TrainingChonLam Lao, Jiaqi Gao, Jiamin Cao, Zhipeng Zhang et al.OSDI 2026
