Introducing workload recovery and expanded infrastructure checks on Amazon SageMaker HyperPod
In one sentence
Amazon SageMaker HyperPod introduces three new capabilities to catch subtle training failures earlier and improve cluster goodput.
Key points
- The MultiNodeTrainingValidation deep health check trains a small model on EKS instances to catch GPUs that pass hardware tests but produce NaN or infinite loss.
- The HyperPod Kubernetes Resource Monitoring Agent continuously monitors EKS clusters for issues like crashing device plugins and reports involved pods and nodes when jobs fail.
- Hung job detection identifies Slurm jobs that stop making progress, logs events to CloudWatch, and can cancel them for requeuing.
- These features target scheduling, runtime, and program goodput, helping teams avoid costly compute waste from unnoticed stalled jobs.
In depth
An AI-written overview of the original article, not the article itself.
AWS has introduced workload recovery and expanded infrastructure checks on Amazon SageMaker HyperPod. These features target hidden failures—such as silent numerical errors, stalled jobs, and Kubernetes issues—that bypass traditional hardware diagnostics, helping teams detect problems faster and improve training goodput.
Why hardware checks alone fall short
Existing HyperPod tools like the health monitoring agent and stress tests only inspect one node's hardware at a time. According to the post, three types of failures slip past them: GPUs that pass diagnostics but produce NaN or infinite loss, hung jobs that stall without exiting, and Kubernetes-layer failures like crash-looping device plugins.
Three new capabilities
For EKS clusters, the new MultiNodeTrainingValidation deep health check runs a fixed Megatron-LM workload on individual instances and across instances over EFA. It flags hardware that produces invalid loss or fails to finish on time, either during provisioning or on demand.
Also on EKS, the HyperPod Kubernetes Resource Monitoring Agent continuously watches nodes, DaemonSets, and critical pods. When a job fails, it reports the exact pods and nodes involved to CloudWatch and Kubernetes events, though it leaves restarts to other tools.
For Slurm clusters, a new hung job detection agent monitors GPU activity, job output, or custom log patterns. If a job stalls, it logs an event to CloudWatch and can cancel the job so Slurm requeues it.
Cost savings and overhead
The post illustrates the financial impact with a 256-GPU H100 pre-training job. An unnoticed eight-hour hang costs about $16,900 in on-demand compute, whereas a 15-minute hung job rule cuts the loss to roughly $530.
Regarding overhead, AWS notes that MultiNodeTrainingValidation added about eight minutes to a 1-hour-28-minute deep health check on a two-node cluster, which teams should factor in when adding capacity.
This summary was generated by AI from the original article and may contain errors; the original is authoritative. Copyright belongs to the original author.