Amazon SageMaker HyperPod now detects and recovers hung training jobs on Slurm clusters

Amazon SageMaker HyperPod now supports hung job detection for Slurm-orchestrated clusters, which finds training jobs that have stopped making progress and returns them to the job queue. SageMaker HyperPod helps you provision resilient clusters for training and deploying AI/ML models. Previously, a job that hung on an NCCL timeout, a stalled data pipeline, or a deadlock kept its GPUs while Slurm reported it as running, until you noticed that the job is not making progress.

Now, if a training run hangs, HyperPod detects it within minutes from the job’s output and GPU activity, or from log patterns that you define, such as your training step message or an NCCL error, and writes an event to Amazon CloudWatch. You can also have HyperPod cancel the hung job and let Slurm requeue it, so the job can restart from its last checkpoint instead of holding its GPUs idle. You turn on detection per job with an environment variable that points to a rules file, and it works with any framework, including PyTorch, TensorFlow, and JAX, without changes to your code or containers.

Hung job detection is available for HyperPod clusters orchestrated by Slurm in all AWS Regions where SageMaker HyperPod is available.To learn more, see hung job detection in the user guide and the blog post.

Categories: marketing:marchitecture/artificial-intelligence

Source: Amazon Web Services