The Doubtful Guest: Fail-Slow Failures in AI Training
summary
Shows concrete fail-slow causes and fixes: PyTorch + DeepSpeed models use NCCL/RCCL (nickel) to build rings and all-reduce synchronization, and a single slow GPU or network path turns a 16‑GPU job into idle time. Demos on A100s (Oracle Cloud) show a hung rank pausing 5 minutes — 5 minutes × 1,024 GPUs = ~80 GPU‑hours lost — TCP fallback to sockets quadruples step time, and a straggler can cut throughput 60–70% (observed at 8,000 GPUs). Detect, localize, recover (checkpointing or resume), then root cause; AWS reports 15–30 minutes recovery at 2,300 GPUs.
AI-written summary · about
chapters (16)
- 0:00Introduction to fail-slow failures
- 2:44AI training workload basics
- 5:13Identifying slow jobs
- 7:20Parallelism in AI training
- 9:04Distributed communication as a seance
- 10:51All-reduce synchronization explained
- 11:57Role of NCCL in communication
- 13:42Gang scheduling necessity
- 14:46Fail-stop vs fail-slow failures
- 15:30Hung rank demonstration
- 19:59Straggler rank demonstration
- 24:14RDMA and TCP fallback
- 25:20TCP fallback demonstration
- 27:09Four-step recovery process
- 28:11Checkpointing strategies
- 29:56Key takeaways and conclusion
