Lune

FAST2021Top-tier venue

CheckFreq: Frequent, Fine-Grained DNN Checkpointing

Jayashree Mohan, Amar Phanishayee, Vijay Chidambaram

Abstract

Training Deep Neural Networks (DNNs) is a resource-hungry and time-consuming task. During training, the model per-forms computation at the GPU to learn weights, repeatedly, over several epochs. The learned weights reside in GPU memory, and are occasionally checkpointed (written to persistent storage) for fault-tolerance. Traditionally, model parameters are checkpointed at epoch boundaries; for modern deep net-works, an epoch runs for several hours. An interruption to the training job due to preemption, node failure, or process failure, therefore results in the loss of several hours worth of GPU work on recovery. We present CheckFreq, an automatic, fine-grained check-pointing framework that (1) algorithmically determines the checkpointing frequency at the granularity of iterations using systematic online profiling, (2) dynamically tunes check-pointing frequency at runtime to bound the checkpointing overhead using adaptive rate tuning, (3) maintains the training data invariant of using each item in the dataset exactly once per epoch by checkpointing data loader state using a light-weight resumable iterator, and (4) carefully pipelines checkpointing with computation to reduce the checkpoint cost by introducing two-phase checkpointing. Our experiments on a variety of models, storage backends, and GPU generations show that CheckFreq can reduce the recovery time from hours to seconds while bounding the runtime overhead within 3.5%.

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.

46 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Lyra: Elastic Scheduling for Deep Learning Clusters cites Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloads
  • Looking Beyond GPUs for DNN Scheduling on Multi-Tenant Clusters cites Themis: Fair and Efficient GPU Cluster Scheduling
  • Looking Beyond GPUs for DNN Scheduling on Multi-Tenant Clusters cites Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloads
  • HybridFlow: A Flexible and Efficient RLHF Framework cites GEMINI: Fast Failure Recovery in Distributed Training with In-Memory Checkpoints
  • HybridFlow: A Flexible and Efficient RLHF Framework cites Language Models are Few-Shot Learners
  • Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloads cites Themis: Fair and Efficient GPU Cluster Scheduling
  • Characterization of Large Language Model Development in the Datacenter cites Themis: Fair and Efficient GPU Cluster Scheduling
  • Characterization of Large Language Model Development in the Datacenter cites GEMINI: Fast Failure Recovery in Distributed Training with In-Memory Checkpoints
  • Characterization of Large Language Model Development in the Datacenter cites Language Models are Few-Shot Learners
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers46

  1. Characterization of Large Language Model Development in the DatacenterQinghao Hu, Zhisheng Ye, Zerui Wang, Guoteng Wang et al.NSDI 2024 · 192 citations
  2. Looking Beyond GPUs for DNN Scheduling on Multi-Tenant ClustersJayashree Mohan, Amar Phanishayee, Janardhan Kulkarni, Vijay ChidambaramOSDI 2022 · 91 citations
  3. HybridFlow: A Flexible and Efficient RLHF FrameworkGuangming Sheng, Chi Zhang, Zilingfeng Ye, Xibin Wu et al.EuroSys 2025 · 61 citations
  4. GEMINI: Fast Failure Recovery in Distributed Training with In-Memory CheckpointsZhuang Wang, Zhen Jia, Shuai Zheng, Zhen Zhang et al.SOSP 2023 · 61 citations
  5. Lyra: Elastic Scheduling for Deep Learning ClustersJiamin Li, Hong Xu, Yibo Zhu, Zherui Liu et al.EuroSys 2023 · 59 citations

Builds on3

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning WorkloadsDeepak Narayanan, Keshav Santhanam, Fiodar Kazhamiaka, Amar Phanishayee et al.OSDI 2020 · 286 citations
  3. Themis: Fair and Efficient GPU Cluster SchedulingKshiteej Mahajan, Arjun Balasubramanian, Arjun Singhvi, Shivaram Venkataraman et al.NSDI 2020 · 22 citations

Related papers

  1. 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
  2. PCcheck: Persistent Concurrent Checkpointing for MLFoteini Strati, Michal Friedman, Ana KlimovicASPLOS 2025 · 11 citations
  3. Rehabilitating over Recomputing: A Novel Failure Recovery Method for Large Model TrainingZichen Wang, Hongliang Li, Jie Wu, Zhewen Xu et al.INFOCOM 2026
  4. Checkmate: Zero Performance Overhead Model Checkpointing via Network Gradient ReplicationAnkit Bhardwaj, Weiyang Wang, Jeremy Carin, Adam Belay et al.NSDI 2026 · 3 citations
  5. Elastor: Elastic and Efficient Model Partitioning and Checkpointing for Fault-Tolerant Distributed TrainingXuanyu Wang, Fangcheng Fu, Haoyang Li, Hao Ge et al.PPoPP 2026 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines