Keep a large LLM training run going when a node fails

HardSystem design45 minMLESWEREPro outline

The question

You are running a pretraining job on 1,024 GPUs across 128 nodes for several weeks. Nodes fail every few days. Design how the job detects a failure, recovers, and loses as little work as possible.

Cover checkpointing, the restart path and how you would know the recovered run is healthy.

What the interviewer is looking for

  • Estimates failure rate and checkpoint cost and picks an interval from them
  • Designs fast checkpoints: sharded, asynchronous, with a copy off the failing nodes
  • Handles detection: heartbeats, collective timeouts, health checks before rejoin
  • Plans the restart: spare nodes, rescheduling, restoring data loader and RNG state
  • Verifies correctness after restart, such as loss continuity and bitwise checks on a small run
  • Thinks about silent data corruption and stragglers, not just crashes

Your answer

Saved in this browser only. Nobody else sees it.

Why this question

Written by BlogLLM in the style of a publicly reported NVIDIA (Research and AI engineering) question type: Distributed training questions, such as recovering from a node failure in a large LLM training job.

Reported in: glassdoor.com, datainterview.com

Practice question written by BlogLLM based on publicly reported interview formats. Not an official NVIDIA (Research and AI engineering) question.