Detecting and recovering from silent data corruption on Amazon SageMaker HyperPod
AWS•How-to••by Siddharth Senger, Pradeep Cruz, Nilesh PS and Roy Allela•AWS Artificial Intelligence Blog
Silent data corruption is a GPU fault that returns wrong but plausible numbers with no error, quietly poisoning distributed training. This post adds three checks to a PyTorch DDP loop to detect it, localize the faulty node on Amazon SageMaker HyperPod, and hand the node to automatic recovery for replacement.
Three checks in a PyTorch DDP training loop detect silent data corruption from GPUs: non-finite gradient checks, a ring replay audit, and weight fingerprint comparison, with node localization for HyperPod replacement.
Who it is for
Teams running multi-node PyTorch training on SageMaker HyperPod EKS clusters who need to catch wrong GPU results before they reach model weights.
Key points
Tested on 4 then 3 ml.p5.48xlarge instances with software-injected faults; the post reports no false alarms in 15,320 audit steps.
Deterministic audits every 100 steps cost about 10% step time in the authors' test; every 10 steps costs about 35%.
Checks detect only faults in the training code path; HyperPod's health monitoring and deep health checks do not see silent corruption.
Replacing a node destroys its root and secondary volumes, so checkpoints must be on shared storage such as FSx for Lustre or S3.
AI:SageMaker AI now has an inference router that sends model requests across registered endpoints in several Regions and accounts, preferring the local Region and failing over when it cannot serve reliably.
AI:SageMaker AI's inference router sends each model request to the healthiest SageMaker endpoint across Regions and accounts, so a saturated local endpoint can fail over without changing app code.
AI:NVRx adds async checkpointing and two restart layers to PyTorch FSDP training on EKS, so checkpoint I/O overlaps training and GPU faults recover in seconds.