AivexaNewsSearch
AI news for builders and product teamsChecked every hour

Introducing workload recovery and expanded infrastructure checks on Amazon SageMaker HyperPod

Collected Nov 19, 2026

Amazon Web Services introduced three new capabilities for Amazon SageMaker HyperPod that target training failures its existing node-level health tooling misses: workload recovery and expanded infrastructure checks. The additions are a new deep health check called MultiNodeTrainingValidation, the HyperPod Kubernetes Resource Monitoring Agent, and hung job detection for Slurm-orchestrated clusters.

The framing is built around goodput, the share of cluster time that produces useful training. HyperPod already had the health monitoring agent (HMA) watching each node for GPU faults such as Xid and NVLink errors, EFA and kernel errors, plus deep health checks and automatic node recovery that reboots or replaces faulty hardware. Those features inspect one node's hardware at a time. They cannot establish whether the GPUs actually train correctly, whether a running job is still advancing, or whether the Kubernetes components a job relies on are healthy.

AWS names three failure classes that slip past node checks. Numerical faults: a GPU can pass every hardware test and still compute wrong values, usually surfacing first as NaN or infinite loss. The post cites Meta, which attributed 6 of the 419 unexpected interruptions in its 54-day Llama 3 405B pre-training run to silent data corruption. Hung jobs: an NCCL timeout, stalled data pipeline or deadlock can stop a job without ending it, so it keeps its GPUs and memory while Slurm still reports it as running. Cluster-level faults: a crash-looping device plugin, a DaemonSet that never starts on a new node, or ranks drifting out of step in an NCCL collective, failures that surface in an error message naming no pod or node.

MultiNodeTrainingValidation, available on EKS-orchestrated HyperPod clusters with supported EFA-enabled NVIDIA GPU instance types such as ml.p5.48xlarge, adds two tests to the deep health check. The Tiny Megatron test runs a short Megatron-LM training job on all GPUs of each instance. The Megatron test runs the same workload across instances of the same type over EFA. An instance fails if loss becomes NaN or infinite, or if training exceeds its time limit. Because the workload is fixed, a failure points at hardware rather than at a model or code change. Failed instances are labeled, and with automatic node recovery enabled they are rebooted or replaced, including during provisioning before jobs can use them.

Configuration is a matter of adding entries to OnStartDeepHealthChecks in the instance group passed to create-cluster or update-cluster. Checks can also be triggered on demand through the StartClusterHealthCheck API, optionally scoped to specific instance IDs. Results land in a DeepHealthCheckResults log stream in the cluster's CloudWatch log group, and each instance receives a sagemaker.amazonaws.com/deep-health-check-status node label marked Passed or failed. Detailed per-iteration logs sit at /var/log/aws/clusters/sagemaker-deep-health-check.log on the instance.

In AWS's two-node example the loss fell from 11.57 to 3.62 over 300 iterations with no NaN or skipped iterations, roughly 507 milliseconds per iteration on 16 H100 GPUs. The full deep health check took 1 hour 28 minutes, of which level 4 DCGM diagnostics consumed 74 minutes and the two training tests about 8 minutes. Because instances accept no workloads until checks finish, that is added time when bringing up capacity. AWS is explicit that a pass covers only the reference workload and does not guarantee a customer's own job converges; it recommends the check on new or replacement capacity and before long pre-training runs.

The Kubernetes Resource Monitoring Agent addresses the cluster layer on EKS. It runs as a single pod per cluster in the aws-hyperpod namespace, scheduled preferentially on CPU nodes so it consumes no GPU capacity. It watches node condition changes such as NotReady or pressure states, drops in allocatable GPUs or EFA devices, lost NVIDIA capability labels, taint changes and missing HyperPod labels. It watches critical DaemonSet pods in kube-system, aws-hyperpod and kubeflow plus the training operator controller, flagging crash loops, restarts, container errors and pods stuck not ready. It tracks required DaemonSets that go missing or stall, and training jobs of the HyperPodPyTorchJob, Kubeflow PyTorchJob v1 and Kubeflow TrainJob v2 kinds, recording failure reasons alongside the pods and nodes involved. For jobs that opt in it also reports NCCL communicator state via NCCL's RAS subsystem, requiring NCCL 2.24 or later in the training container.

Findings appear as Kubernetes Warning and Normal events on the affected object, readable with kubectl, and as structured JSON in CloudWatch logs so history survives event expiry. Notably, this agent only reports; it does not reboot nodes or restart jobs, on the reasoning that the cause may sit in the workload itself. HMA and node recovery keep handling hardware, and the training operator keeps handling restarts. Installation is via the HyperPod Helm chart, applying the CRD first since Helm skips CRDs on upgrade, then upgrading with the monitor enabled. Operators must also list the namespaces and DaemonSets to watch, replacing rather than extending defaults, which is an easy place to misconfigure.

Hung job detection is the piece aimed at Slurm clusters, where it is new. An agent on each node inspects job output and GPU activity or user-defined log patterns to spot work that has stopped progressing. It emits a CloudWatch event and can cancel the job so Slurm requeues it. On EKS, HyperPod already detected hangs for jobs run through the HyperPod training operator, and Ray Train jobs get hang detection by default.

The cost argument is concrete: a pre-training job on 32 ml.p5.48xlarge instances (256 H100 GPUs) that hangs at 1:00 AM unnoticed until 9:00 AM burns 256 instance-hours, or 2,048 GPU-hours, about $16,900 at the listed on-demand rate of roughly $66 per instance-hour in US East (N. Virginia). A 15-minute detection rule cuts that to about $530, a saving near $16,400.

This suggests AWS is shifting HyperPod health management from per-node hardware telemetry toward behavioral validation and layer-aware observability, and the split of responsibilities is deliberate: detection and reporting at the cluster layer, remediation left to hardware recovery and the job scheduler. A likely trade-off is operational overhead, since the monitoring agent is opt-in, needs curated namespace and DaemonSet lists, and depends on chart upgrades that also bump other HyperPod components. The on-demand check also competes with real workloads for capacity at small scale, though the fixed workload makes its verdict reproducible.

Why it matters: teams running large distributed training on HyperPod now get earlier signals for silent data corruption, stalled jobs and Kubernetes misconfiguration, which can translate directly into recovered GPU spend. Developers should expect to budget extra provisioning time for the training check and to maintain chart and CRD configuration for the monitoring agent. Whether these checks materially lift goodput is inference at this stage; the published evidence is a single two-node validation run and a modeled hang scenario rather than fleet-wide results.

Read at AWS Machine Learning Blog

Based on reporting from the original publisher. Visit the source for full context and later updates.

Publisher excerpt

Large training jobs can stall or compute wrong results even when every node looks healthy. Amazon SageMaker HyperPod now adds workload recovery and expanded infrastructure checks that catch these failures sooner and raise the goodput of your training workloads.