DataStates-LLM: Lazy Asynchronous Checkpointing for Large Language Models
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× faster checkpointing and 2.2× faster end-to-end training runtime compared with the state-of-art checkpointing approaches.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Story of Two GPUs: Characterizing the Resilience of Hopper H100 and Ampere A100 GPUs 引用了 ByteCheckpoint: A Unified Checkpointing System for Large Foundation Model Development
- Checkmate: Zero Performance Overhead Model Checkpointing via Network Gradient Replication 引用了 ZeRO: memory optimizations toward training trillion parameter models
- Checkmate: Zero Performance Overhead Model Checkpointing via Network Gradient Replication 引用了 CheckFreq: Frequent, Fine-Grained DNN Checkpointing
- Checkmate: Zero Performance Overhead Model Checkpointing via Network Gradient Replication 引用了 ByteCheckpoint: A Unified Checkpointing System for Large Foundation Model Development
- Checkmate: Zero Performance Overhead Model Checkpointing via Network Gradient Replication 引用了 GEMINI: Fast Failure Recovery in Distributed Training with In-Memory Checkpoints
- ByteCheckpoint: A Unified Checkpointing System for Large Foundation Model Development 引用了 ZeRO: memory optimizations toward training trillion parameter models
- ByteCheckpoint: A Unified Checkpointing System for Large Foundation Model Development 引用了 CheckFreq: Frequent, Fine-Grained DNN Checkpointing
- ByteCheckpoint: A Unified Checkpointing System for Large Foundation Model Development 引用了 GLM-130B: An Open Bilingual Pre-trained Model
- ZeRO-infinity: breaking the GPU memory wall for extreme scale deep learning 引用了 ZeRO: memory optimizations toward training trillion parameter models
- GEMINI: Fast Failure Recovery in Distributed Training with In-Memory Checkpoints 引用了 ZeRO: memory optimizations toward training trillion parameter models
- GEMINI: Fast Failure Recovery in Distributed Training with In-Memory Checkpoints 引用了 CheckFreq: Frequent, Fine-Grained DNN Checkpointing
- MoC-System: Efficient Fault Tolerance for Sparse Mixture-of-Experts Model Training 引用了 ZeRO: memory optimizations toward training trillion parameter models
- MoC-System: Efficient Fault Tolerance for Sparse Mixture-of-Experts Model Training 引用了 CheckFreq: Frequent, Fine-Grained DNN Checkpointing
- MoC-System: Efficient Fault Tolerance for Sparse Mixture-of-Experts Model Training 引用了 ByteCheckpoint: A Unified Checkpointing System for Large Foundation Model Development
- MoC-System: Efficient Fault Tolerance for Sparse Mixture-of-Experts Model Training 引用了 GEMINI: Fast Failure Recovery in Distributed Training with In-Memory Checkpoints
- AdaCheck: An Adaptive Checkpointing System for Efficient LLM Training with Redundancy Utilization 引用了 ZeRO: memory optimizations toward training trillion parameter models
- AdaCheck: An Adaptive Checkpointing System for Efficient LLM Training with Redundancy Utilization 引用了 CheckFreq: Frequent, Fine-Grained DNN Checkpointing
- AdaCheck: An Adaptive Checkpointing System for Efficient LLM Training with Redundancy Utilization 引用了 ByteCheckpoint: A Unified Checkpointing System for Large Foundation Model Development
- AdaCheck: An Adaptive Checkpointing System for Efficient LLM Training with Redundancy Utilization 引用了 ZeRO-infinity: breaking the GPU memory wall for extreme scale deep learning
- AdaCheck: An Adaptive Checkpointing System for Efficient LLM Training with Redundancy Utilization 引用了 MoC-System: Efficient Fault Tolerance for Sparse Mixture-of-Experts Model Training
引用它的顶会 Paper11
- ByteCheckpoint: A Unified Checkpointing System for Large Foundation Model DevelopmentBorui Wan, Mingji Han, Yiyao Sheng, Yanghua Peng 等NSDI 2025 · 46 次引用
- Story of Two GPUs: Characterizing the Resilience of Hopper H100 and Ampere A100 GPUsShengkun Cui, Archit Patke, Hung Nguyen, Aditya Ranjan 等SC 2025 · 6 次引用
- MoC-System: Efficient Fault Tolerance for Sparse Mixture-of-Experts Model TrainingWeilin Cai, Le Qin, Jiayi HuangASPLOS 2025 · 5 次引用
- Checkmate: Zero Performance Overhead Model Checkpointing via Network Gradient ReplicationAnkit Bhardwaj, Weiyang Wang, Jeremy Carin, Adam Belay 等NSDI 2026 · 3 次引用
- AdaCheck: An Adaptive Checkpointing System for Efficient LLM Training with Redundancy UtilizationWeijie Liu, Shengwei Li, Zhiquan Lai, Keshi Ge 等FAST 2026 · 3 次引用
它引用的 Paper7
- ZeRO: memory optimizations toward training trillion parameter modelsSamyam Rajbhandari, Jeff Rasley, Olatunji Ruwase, Yuxiong HeSC 2020 · 852 次引用
- GLM-130B: An Open Bilingual Pre-trained ModelAohan Zeng, Xiao Liu, Zhengxiao Du, Zihan Wang 等ICLR 2023 · 295 次引用
- ZeRO-infinity: breaking the GPU memory wall for extreme scale deep learningSamyam Rajbhandari, Olatunji Ruwase, Jeff Rasley, Shaden Smith 等SC 2021 · 254 次引用
- CheckFreq: Frequent, Fine-Grained DNN CheckpointingJayashree Mohan, Amar Phanishayee, Vijay ChidambaramFAST 2021 · 175 次引用
- GEMINI: Fast Failure Recovery in Distributed Training with In-Memory CheckpointsZhuang Wang, Zhen Jia, Shuai Zheng, Zhen Zhang 等SOSP 2023 · 61 次引用
相关 Paper
- PCcheck: Persistent Concurrent Checkpointing for MLFoteini Strati, Michal Friedman, Ana KlimovicASPLOS 2025 · 11 次引用
- 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 次引用
- Just-In-Time Checkpointing: Low Cost Error Recovery from Deep Learning Training FailuresTanmaey Gupta, Sanjeev Krishnan, Rituraj Kumar, Abhishek Vijeev 等EuroSys 2024 · 23 次引用
- GPU-Enabled Asynchronous Multi-level Checkpoint Caching and PrefetchingAvinash Maurya, M. Mustafa Rafique, Thierry Tonellot, Hussain J. AlSalem 等HPDC 2023 · 13 次引用
- TrainMover: An Interruption-Resilient Runtime for ML TrainingChonLam Lao, Jiaqi Gao, Jiamin Cao, Zhipeng Zhang 等OSDI 2026
