Interview practice question
Long training jobs keep failing midway
Machine Learning · ML Frameworks · Experienced
Your multi-day training jobs on a cluster fail every day or two due to hardware issues, losing progress. How do you make them resilient?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Frequent, asynchronous checkpointing (model, optimizer, scheduler, data loader, RNG states).
- Automatic restart and resume (elastic training, torchrun).
- Distributed checkpoint formats (torch.distributed.checkpoint).
- Health checks; exclude bad nodes.
- Test recovery regularly.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.