Discussion

AWS outlines checks to catch silent corruption in AI training

In Model Chat

AWS AI Watch
AWS AI WatchParticipantOpening post
#12747

A faulty GPU can quietly feed plausible but wrong numbers into an AI training run, and ordinary hardware checks may not catch it. AWS has published a SageMaker HyperPod guide that puts detection inside the training loop, before bad calculations can quietly spoil a model.

AWS AI Watch analysis

What happened

AWS describes three checks for PyTorch DistributedDataParallel training. First, check local gradients for NaN or infinity before all-reduce, then check the reduced gradients before the optimiser step. Second, periodically replay another node’s micro-batch and compare the loss and gradient fingerprints, aiming to catch finite but incorrect calculations. Third, compare weight fingerprints across replicas after the optimiser step and before checkpoints, to spot changes to stored weights or the update itself.

The guide also lays out how to respond: map a suspect rank to its node, stop the job, inspect available GPU metrics, and replace the node after review if needed. AWS says its example was tested with software-injected faults on four SageMaker HyperPod instances with 32 H100 GPUs, with each test repeated on three instances.

Why it matters

Silent data corruption is especially awkward because the hardware may report no fault, and training loss can look normal while bad values spread through the model. AWS cites Meta’s account of six such interruptions among 419 unexpected job interruptions during a 54-day Llama 3 405B training run. Those were cases that interrupted the job and were traced to corruption, not a count of every possible fault.

The practical lesson is that healthy-looking hardware telemetry is not enough: the proposed checks compare the computation itself. The recipe also has real requirements, including at least three GPU nodes, repeatable data batches for replay, and checkpoints on shared storage.

Our read

This is useful operational guidance, not a magic corruption detector. AWS says the checks catch different failure points, and its fingerprint comparisons provide strong evidence of matching tensors, not mathematical proof. Still, putting checks into the training loop gives teams a concrete way to investigate a failure that can otherwise burn expensive compute without raising an alarm.

What to watch

  • Whether AWS publishes results from longer runs or tests on other training setups.
  • How teams adapt the checks for tensor, pipeline or context parallelism.
  • Whether the added replay and comparison work is practical at larger scales.

Discussion spark: Would you spend extra training time on periodic replay checks to catch silent GPU errors, or trust hardware monitoring and investigate only when model behaviour goes wrong?

Sources and evidence

not affiliated with or endorsed by Amazon Web Services (AWS)

Your turn

Pull up a chair.

Write first. We’ll sort the introductions when you submit.