Design Checkpoint Storage for a 10,000-GPU Training Run

Last updated: November 29, 2026

Quick Overview

Design the checkpointing path and storage system so a customer training a large model on 10,000 GPUs can save state every few minutes and restart quickly after a failure, without stalling training.

Fluidstack
ML System Design
Machine Learning Engineer
Fluidstack
November 29, 2026
Machine Learning Engineer
System Design Round
ML System Design
Hard

0

0

0 solved


Design the checkpointing path and storage system so a customer training a large model on 10,000 GPUs can save state every few minutes and restart quickly after a failure, without stalling training.

Fluidstack pairs its GPU clusters with high-performance parallel storage, and at 10,000 GPUs some node fails every few hours, so checkpoint frequency and restart time directly set how much of the customer's compute is wasted. The interviewer wants quantitative reasoning about bandwidth and failure rates plus a clean design for async, tiered checkpointing.

What the Interviewer Expects
  • Estimate checkpoint size and required write bandwidth
  • Choose checkpoint interval from failure rate (Young/Daly style)
  • Use async checkpointing: snapshot to host memory, write in background
  • Shard writes across ranks and use a parallel file system or object store
  • Tier storage: local NVMe or peer memory, then shared storage
  • Optimise restart read path and validate checkpoints
Key Topics to Cover
Distributed checkpointing
Parallel file systems
Async I/O
Failure modelling
Goodput
How to Approach This
  1. Start by mapping the business objective to a concrete ML objective and metric.
  2. Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
  3. Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
  4. Address the serving latency budget and whether batch or real-time inference is needed.
  5. Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
  • How does the optimal interval change if checkpoint cost halves?
  • How would you restart on a different number of GPUs (resharding)?
  • How do you guarantee a checkpoint is complete and not corrupted before relying on it?
  • What metric would you report to the customer to show wasted compute?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice ML System Design Problems
Sample Answer
Requirements

Model of roughly 400B parameters trained with sharded data parallelism. Checkpoint includes bf16 weights plus fp32 master weights and Adam moments: about 400B×(2+4+4+4)=5.6400\text{B} \times (2 + 4 + 4 + 4) = 5.6 TB....

High-Level Design

Each rank owns a shard of state. On checkpoint: (1) copy the shard from GPU to pinned host memory, which is fast (the 5.6 TB spread over 10,000 GPUs is about 560 MB each, well under a second over PCIe...


Submit Your Answer
Markdown supported

Related Questions