Detecting and recovering from silent data corruption on SageMaker HyperPod
AWS adds three checks to a PyTorch DDP training loop to catch silent data corruption (a GPU returning a wrong but plausible number without error): a non-finite gradient check, a ring replay audit that recomputes another node's micro-batch and compares…
Why it matters
At scale, silent corruption can waste hours of compute; these patterns apply to any team doing distributed training.
What happened
1 min readAWS adds three checks to a PyTorch DDP training loop to catch silent data corruption (a GPU returning a wrong but plausible number without error): a non-finite gradient check, a ring replay audit that recomputes another node's micro-batch and compares results, and weight fingerprint comparison across replicas. When a check fires, the suspect node is identified and replaced by HyperPod.
Our analysis
Citing Meta's Llama 3 405B experience (6 of 419 interruptions) shows the problem is real. The ring replay audit is simple and cloud-agnostic, though its compute overhead must be tuned via audit frequency. Automatic node replacement is HyperPod-specific.