Zhidaily AI · Intelligence · Daily
Zhidaily
Issue 13 · November 12, 2026 · Thu
Today's stories
14 stories · 11 companies
Home / November 12, 2026 / AWS authors propose three-layer checks to detect silent data corruption in SageMaker HyperPod training
← Back
Guide Official Models / Chips & Compute · Amazon·AWS Score78

AWS authors propose three-layer checks to detect silent data corruption in SageMaker HyperPod training

In brief
AWS authors propose adding three layers of checks to the PyTorch DDP training loop to catch silent data corruption that hardware does not report, then locate and replace the bad node.
AWS Machine Learning Blog aws.amazon.com
Nov 12 · 07:30 Read the original ↗
01Summary

Silent data corruption (SDC) means a GPU computes a wrong but plausible number without reporting any error. In distributed training, the wrong number spreads through gradients and weights to all replicas, and loss may look normal for hours, so compute is already spent by the time the team notices the model is abnormal. The AWS authors cite Meta's data: in Llama 3 405B pretraining, 6 of 419 unexpected interruptions over 54 days were attributed to SDC. HyperPod's existing health monitoring, deep health checks and automatic node replacement all rely on hardware error reports, and SDC precisely does not report errors, so it can only be detected by the training job itself.

02Background

Silent data corruption (SDC) means a GPU computes a wrong but plausible number without reporting any error. In distributed training, the wrong number spreads through gradients and weights to all replicas, and loss may look normal for hours, so compute is already spent by the time the team notices the model is abnormal. The AWS authors cite Meta's data: in Llama 3 405B pretraining, 6 of 419 unexpected interruptions over 54 days were attributed to SDC. HyperPod's existing health monitoring, deep health checks and automatic node replacement all rely on hardware error reports, and SDC precisely does not report errors, so it can only be detected by the training job itself.

03Approach

The authors' approach is to add three layers of checks to the PyTorch DDP training loop, covering the three places where a fault may land. The first layer is a non-finite gradient check: each rank checks before and after all-reduce whether gradients contain NaN, Inf or overflow, which can pinpoint a specific GPU on the spot. The second layer is a ring replay audit: every few steps, each GPU recomputes a micro-batch from another node, compares loss bit by bit and compares gradients by fingerprint, which can catch silent faults where numbers are finite but wrong; the premise is that any rank's micro-batch can be exactly reconstructed from a seed, and the replay uses the same loss function as training. The third layer is weight fingerprint comparison: after the optimizer update, weights of each replica are compared, and the outlier replica is identified by majority, covering corruption in the optimizer step and stored weights. When a check triggers, the update for that step is not applied, the suspicious rank is mapped to a node using the instance ID in the HyperPod EKS node name, the node is isolated, GPU metrics are checked, the job rolls back to a checkpoint before the suspicious window, and the node is replaced. The authors tested on 4 p5.48xlarge machines (32 H100s) with software-injected faults, and state the cost: adding only the checks without auditing increases single-step time by about 7.4%; a larger audit interval saves more, but at most audit_every−1 contaminated updates will be applied, and a finite fault that occurs only once and not on an audit step is not caught at all. The approach requires at least three nodes, has not been tested in scenarios such as gradient accumulation, BatchNorm and unused parameters, and weight comparison does not apply under ZeRO-1 or full FSDP sharding.

04Implications

The authors' core conclusion is that silent data corruption bypasses all hardware-level checks and can only be found by comparing results across replicas inside the training code, after which HyperPod's node location and replacement complete recovery. For teams doing large-scale training, such checks should be treated as part of the training loop, and they should accept a small per-step overhead in exchange for finding bad nodes earlier.