An AWS Machine Learning Blog post describes how to detect silent data corruption (SDC) during distributed training on SageMaker HyperPod. SDC is a hardware fault in which a GPU returns a wrong but plausible number and raises no error; the post cites Meta's Llama 3 405B pre-training, where 6 of 419 unexpected job interruptions over a 54-day period on up to 16K H100 GPUs were attributed to silent data corruption. Because the hardware reports nothing, AWS argues detection has to come from the training job itself. The authors add three checks to a PyTorch DistributedDataParallel loop: one catching NaN, Inf and overflow in the forward or backward pass and in the gradient all-reduce; one that on audit steps has every GPU recompute a micro-batch from another node and compares the loss bit for bit plus gradient fingerprints; and one comparing every replica's weights after the optimizer step, covering corruption in the optimizer and in stored weights. A fired check maps the suspect rank to its node, which HyperPod then replaces. AWS says it tested the checks with software-injected faults on four ml.p5.48xlarge instances (32 H100 GPUs) and repeated every test on three instances, the minimum the checks need; the code is in a public repository.
Our takeThis treats silent corruption as a software-observable failure rather than a hardware statistic, which is the right framing for a fault the node never reports. The audit recompute is the load-bearing check, and it carries two costs: extra compute on audit steps, and a dependence on deterministic kernels that software-injected faults do not exercise. The three-instance minimum also means smaller jobs cannot run the cross-replica comparison at all.