Productspublished

AWS Brings Ray Into SageMaker HyperPod With Recovery Tools and Tiered Cache on EKS

The launch moves several operational tasks behind SageMaker Studio while tying Ray teams to a HyperPod-on-EKS setup and its required add-ons.

By 3 min read
AWS Brings Ray Into SageMaker HyperPod With Recovery Tools and Tiered Cache on EKS

Listen to this story

The audio brief

About 0:19
0:000:19
Read transcript
AWS is bringing first-party Ray workflows into SageMaker HyperPod on Amazon EKS, moving cluster setup, job submission, dashboards, and hung-job detection into SageMaker Studio. Ray teams can still use standard Ray APIs and KubeRay, but the operational layer now comes from HyperPod. That matters because running distributed Python workloads across clusters has often meant writing YAML, rebuilding images, wiring up monitoring, and using local port-forwarding just to reach the Ray Dashboard. Studio can manage the cluster, attach a JupyterLab or Code Editor workspace, and provide short-lived, IAM-authenticated URLs for dashboards, job submission, and log retrieval. AWS also provides the toolkit-for-ray-on-sagemaker-ai package, so laptops and continuous-integration pipelines can use standard Ray submission APIs without that local tunnel. The bigger promise is recovery. HyperPod can replace failed nodes, detect stalled Ray Train workers, and reschedule them. But training still needs periodic checkpoints, resume logic, and enough RayJob FailureConfig retries. Checkpoints are uploaded asynchronously to Amazon S3, while HyperPod Tiered Storage is checked first during recovery. AWS says that may help with large models, but provides no recovery-time measurement. For inference, Managed Tiered KV Cache is intended to reduce time to first token for multi-turn and long-document Ray Serve workloads, again without published benchmarks. The main constraint is that this is not standalone Ray: teams need HyperPod on EKS, a Studio domain, and several installed operators. Availability is also limited to supported AWS Regions.

Story brief

3 key points

AWS has added first-party Ray workflows to SageMaker HyperPod running on Amazon EKS, shifting much of cluster setup and operations into SageMaker Studio. The integration combines Ray’s existing APIs and KubeRay compatibility with HyperPod features for node replacement, stalled-job handling, checkpoint recovery, and tiered storage. It could reduce operational friction for distributed training and serving, but it is...

  1. 01

    Checkpoint recovery still depends on periodic checkpoints, resume logic, and sufficient RayJob FailureConfig retries.

  2. 02

    HyperPod Tiered Storage is checked before S3 during recovery; AWS provides no measured recovery-time improvement.

  3. 03

    Managed Tiered KV Cache targets faster time to first token for multi-turn and long-document Ray Serve workloads, without published benchmarks.

AWS has integrated Ray into SageMaker HyperPod on Amazon EKS, putting cluster management, job submission, dashboards, and hung-job-detection configuration into SageMaker Studio. HyperPod supplies the recovery and storage features underneath, while the integration remains compatible with KubeRay and standard Ray APIs.

Ray is an open-source framework for scaling distributed Python workloads across GPU clusters, including training with Ray Train and serving with Ray Serve. On Kubernetes, KubeRay manages RayCluster, RayJob, and RayService resources. AWS says users previously had to write YAML manifests, rebuild Docker images for dependency changes, use kubectl port-forwarding for the Ray Dashboard, and configure Prometheus and Grafana themselves.

Studio can create and manage Ray clusters, open Ray and Grafana dashboards, attach JupyterLab or Code Editor workspaces, submit distributed jobs, and configure hung-job detection. Dashboard access uses a short-lived IAM-authenticated URL scoped to the cluster creator; remote endpoints also support job submission and log retrieval without a local port-forward.

For remote workloads, AWS provides the toolkit-for-ray-on-sagemaker-ai Python package, which handles SageMaker-aware addresses and EKS API credentials through IAM authentication. It lets Studio, laptops, and CI/CD pipelines use standard Ray job-submission APIs. An attached JupyterLab or Code Editor workspace joins the cluster as a zero-compute worker node, giving the notebook native Ray driver access.

When HyperPod replaces a faulty node, Ray reschedules worker pods to the healthy node. For stalled Ray Train workloads, a per-node monitoring agent watches node- and job-level signals and notifies users through CloudWatch and the Ray Train Grafana dashboard. If configured to cancel, HyperPod terminates the stalled worker process and Ray Train can restart workers from the last checkpoint through FailureConfig.

The amzn-sagemaker-checkpointing library writes checkpoints to local disk, then uploads them asynchronously to Amazon S3. On restart, it checks HyperPod Tiered Storage first, which AWS says can shorten large-model recovery compared with restoring directly from S3.

For inference, a JumpStart loader can place catalog model weights directly into Ray Serve endpoints. Those deployments can use Managed Tiered KV Cache, which stores attention key-value vectors in node CPU memory and HyperPod Tiered Storage. AWS says the setup reduces time to first token for multi-turn and long-document workloads with minimal code changes, but did not publish performance figures.

AWS says existing Ray scripts and workflows can run without modification. The service is not standalone, however: users need a HyperPod cluster with EKS orchestration, a SageMaker Studio domain, and installed Spaces, observability, KubeRay, and Ray Endpoint Operator components. Availability is limited to AWS Regions that support HyperPod EKS.

Editorial analysis

Our Read

AWS is making a platform play around an open framework rather than replacing it. Keeping KubeRay and standard Ray APIs lowers the migration barrier for teams already using Ray, while Studio management, IAM-authenticated endpoints, HyperPod recovery, and tiered storage give AWS a more distinctive operating layer. The next useful evidence is whether teams adopt those managed layers while retaining the custom manifests and images they need. AWS says an inline YAML editor remains available, but the launch provides no adoption or reliability results.

Sources

  1. aws.amazon.comIntroducing new Ray capabilities on SageMaker HyperPod | Amazon Web Services