A large training run can burn days of GPU time while a single faulty chip quietly returns wrong numbers, and nothing in the logs says so. Silent data corruption detection is the practice of catching those wrong results by checking the computation itself, and an AWS blog post shows how to do it on Amazon SageMaker HyperPod, a managed cluster service for large-scale model training. AWS describes adding three checks to a PyTorch DistributedDataParallel (DDP) loop, then mapping the suspect GPU to a node and having HyperPod replace it.
What is silent data corruption?
AWS explains that silent data corruption (SDC) happens when hardware, such as a GPU, returns a wrong but plausible number and raises no error. In distributed training, where many GPUs each hold a copy of the model and average their updates, that wrong number can flow into the gradients and weights of every replica. A gradient is the adjustment signal the model learns from, and weights are the model’s learned values.
Loss, the score that tracks how well training is going, can still look normal for hours. By the time a team notices an unexplained divergence or a weaker model, the compute is already spent. AWS cites Meta’s Llama 3 405B pre-training, a 54-day period on up to 16,000 H100 GPUs, in which Meta attributed 6 of 419 unexpected job interruptions to silent data corruption. AWS notes those were only the cases that interrupted the job and were traced to SDC.
Why do existing health checks miss it?
HyperPod already replaces nodes that report a fault. Its health-monitoring agent watches for GPU errors, deep health checks stress-test nodes, and automatic node recovery swaps out bad hardware. AWS states that SDC slips past all of these because the hardware never reports anything, so detection has to come from the training job itself.
AWS explains the cause as manufacturing defects and silicon aging in a specific compute unit, most often a multiply-accumulate lane in a tensor core. That circuit computes correctly most of the time and wrong only under stress, such as high temperature, voltage droop, or particular operand patterns. The arithmetic path has no error-correcting code or parity, so a result like 4.0001 instead of 4.0000 is never flagged.
AWS lists the guards that sit on other boundaries:
- ECC memory catches bit flips in memory, not wrong math in a tensor core.
- Xid errors are driver and hardware fault reports, and SDC by definition raises none.
- The DCGM deep health check runs on an idle node outside the job, so it can miss defects that need the workload’s own operands, thermal state, or timing.
- NVLink, PCIe, and EFA checksums verify that bytes arrived as sent, not that they were computed correctly.
- Checkpoint checksums verify the storage round trip, and a poisoned but consistent checkpoint passes.
Which three checks go into the training loop?
AWS places each check where a different kind of fault can land.
Non-finite gradient check
This check catches NaN (not a number), Inf (infinity), and overflow in a GPU’s forward or backward pass, on the step it happens. It also catches NaN or Inf that the gradient all-reduce, the step where GPUs combine their gradients, introduces. AWS says it names a GPU whose local gradient is non-finite before the all-reduce and stops the step if the reduced gradient is non-finite. It only catches faults that turn into NaN, Inf, or overflow.
Ring replay audit
This is the check aimed at finite wrong values. On audit steps, every GPU recomputes a micro-batch from another node and compares the loss bit for bit and the gradients by fingerprint, a compact summary of the values. Because each comparison involves a different node, a mismatch points to a specific suspect. AWS says it catches finite compute-path faults that change the loss or a gradient, on audit steps only.
Weight fingerprint comparison
After the optimizer update, this check compares every replica’s weights. AWS says it names a replica whose weights differ from a strict majority, which catches corruption in the optimizer step and in stored weights. It is blind to compute-path faults and to sharded weights, where each GPU holds only part of the model.
How does a suspect GPU become a node replacement?
AWS describes a four-step loop. The training job handles the first two steps, and Kubernetes and HyperPod features handle the rest.
- Detect: the three checks name a suspect GPU by comparing data-parallel replicas.
- Localize: on HyperPod clusters orchestrated by Amazon Elastic Kubernetes Service (Amazon EKS), the Kubernetes node name contains the instance ID, so mapping a suspect rank to a node is a lookup.
- Contain and correlate: stop the job, cordon the node so nothing new is scheduled on it, and review its GPU metrics in the HyperPod observability dashboards.
- Confirm and recover: confirm when the alarm is ambiguous, replace the node after review, and resume from a checkpoint saved before the suspect window.
AWS adds supporting layers around the three checks. The HyperPod observability add-on can show the suspect GPU’s DCGM metrics around the alarm, though AWS says clean telemetry does not clear a node. An on-demand deep health check can run on the suspect node as triage rather than proof. A history query over retained alarms and telemetry can surface nodes that alarm repeatedly. AWS states that only the three in-loop checks detect truly silent SDC.
How does this compare with the tools teams already run?
The comparison follows AWS’s own table. Memory ECC, driver error reports, hardware diagnostics, link checksums, and checkpoint checksums each verify a boundary other than the arithmetic result. The new checks verify the result by redundancy: the same micro-batch is computed on two nodes, or the same weights are held on several replicas, and disagreement exposes the fault. This is a different category of control from hardware monitoring, and AWS positions it as a complement to HyperPod’s existing fault handling.
What does a run look like in practice?
Consider a data-parallel job spread over three GPU nodes. Every so often the loop designates an audit step. Each GPU rebuilds a micro-batch that belongs to a neighboring node, recomputes it, and compares the loss bits and a gradient fingerprint with what that node reported. If one node’s numbers disagree with the two that checked it, the comparison names the rank. The job looks up that rank’s Kubernetes node name, extracts the instance ID, and stops. An operator cordons the node, reads its GPU metrics, and, if the alarm still looks credible, has HyperPod replace the node. Training then resumes from a checkpoint written before the suspect window, stored on shared storage.
AWS says it tested the checks with software-injected faults on a HyperPod cluster of four ml.p5.48xlarge instances, 32 NVIDIA H100 GPUs in total, and repeated every test on three instances, the minimum the checks need. The full code is in an AWS-published GitHub repository for PyTorch DDP SDC detection.
What does the setup require?
AWS lists these prerequisites:
- A HyperPod cluster orchestrated by Amazon EKS with at least three GPU nodes, because the ring audit needs three different nodes to settle each comparison and the weight comparison needs three copies of each weight to name the odd one out.
- A PyTorch DDP job in which every replica runs its own optimizer step, with a data pipeline that can rebuild any rank’s micro-batch for a given step, such as a seeded sampler.
- Checkpoints on shared storage, either Amazon FSx for Lustre or Amazon S3, since replacing a node destroys its root and secondary volumes, including local NVMe data.
- The HyperPod observability add-on for the correlation step, with advanced DCGM metrics enabled.
Where do the checks fall short?
Each check has a blind spot, and AWS’s layer table shows how they overlap. Coverage of compute-path faults depends on audit steps, so a fault between audits can go unnoticed until the next one. The weight comparison cannot see sharded weights, which many large-model setups use. The non-finite check only fires when a fault produces NaN, Inf, or overflow. Teams adopting this pattern should check the current AWS documentation and the accompanying repository for how audit frequency affects training overhead, since AWS has not quantified that cost.