AWS Adds Model Caching to SageMaker HyperPod, Cuts Inference Cold Starts from 30 Minutes to Seconds
AWS has launched model caching for Amazon SageMaker Inference on HyperPod, pre-loading model weights and container images onto cluster nodes to cut inference pod startup times from tens of minutes to seconds. The feature targets large models like DeepSeek-R1, which previously took 30+ minutes to become servable during scale-out events.
AWS has launched model caching for Amazon SageMaker Inference on HyperPod, a feature designed to eliminate the download delays that stall inference pods before they can serve traffic. According to AWS, pods can now typically start serving requests in seconds rather than tens of minutes.
The Problem
Deploying an LLM on SageMaker HyperPod involves two sequential downloads before a pod can serve a single request: the inference server container image from Amazon ECR (5–7 minutes for multi-gigabyte images bundling GPU drivers, CUDA libraries, and serving frameworks), and the model weights from Amazon S3, FSx for Lustre, or Hugging Face Hub. For a 145 GB model, weight downloads alone can take 20+ minutes. For DeepSeek-R1, at over 600 GB, the full process takes upwards of 30 minutes.
This delay compounds during autoscaling. If a HorizontalPodAutoscaler requests five new pods in response to a traffic spike, each pod independently repeats the full download cycle. AWS notes that while the autoscaling policy may react within seconds, actual capacity to serve additional traffic can lag by 25–30+ minutes.
How Model Caching Works
The feature introduces two independent capabilities — a weights cache and an image cache — that can be enabled together or separately via a new modelCacheConfig field on the InferenceEndpointConfig or JumpStartModel resource.
The weights cache pre-downloads model weights to local NVMe storage on target nodes before pods are scheduled. The HyperPod Inference Operator creates a ModelDataCacheConfig resource, downloads weights from the configured source, and labels nodes as "cache-ready" once complete. The operator waits for all target nodes to reach cache-ready status before creating the inference deployment. Pods then read from local NVMe at approximately 7 GB/s instead of downloading over the network, and the cache persists across pod restarts on the same node.
The image cache pre-pulls the container image via a DaemonSet onto target nodes, tracked through a new ModelImageCache CRD. Unlike the weights cache, it does not block deployment creation — the deployment starts immediately while the image pull happens in parallel, saving 5–7 minutes when the cache completes before a pod needs it.
Both mechanisms use preferred rather than required scheduling. If a pod lands on a node without a warm cache — for example, during rapid scale-out that exceeds the number of pre-cached nodes — it falls back to standard network downloads with no failure or manual intervention required.
When a model source changes (a new S3 path with updated weights, for instance), the operator creates a new cache, rolls out the updated deployment, and removes the old cache afterward, which AWS says ensures zero-downtime transitions.
Implementation
Enabling the feature requires no additional infrastructure — users add a modelCacheConfig block with weightsCache and imageCache flags to existing resource definitions. Cache state can be inspected via kubectl get modeldatacacheconfig and kubectl get inferenceimagecache, which report per-node readiness and target counts.
What This Means
Cold-start latency has been a persistent operational tax on GPU-based inference infrastructure, particularly as models grow past hundreds of gigabytes. AWS's fix is straightforward infrastructure engineering — pre-stage data locally rather than optimize the transfer path — but it directly addresses a bottleneck that made autoscaling effectively meaningless for large models: a policy that reacts in seconds is worthless if pods still need 30 minutes to become useful.
The practical impact will scale with model size. Teams running smaller models that already start in a few minutes will see modest gains. Teams running frontier-scale open models like DeepSeek-R1 on HyperPod get the most significant benefit, since the gap between autoscaler response time and actual capacity increase closes almost entirely. This is a HyperPod-specific, Kubernetes-native feature — it does not extend to SageMaker's fully managed inference endpoints — so its relevance is limited to customers already operating on HyperPod's more hands-on infrastructure layer.
Related Articles
Anthropic launches OSS Scanner, a free opt-in vulnerability scanner for critical open-source projects
Anthropic has launched OSS Scanner, a free, opt-in vulnerability scanner for critical open-source projects. It runs the company's strongest models, including Claude Mythos, against enrolled codebases, and reports go straight to maintainers without human review.
Cognition open-sources Devin plugin with 3 MIT-licensed skills to patch PHP, Node.js, GitLab RCE flaws
Cognition released the Devin Vulnerability Fixes plugin, made up of 3 MIT-licensed agent skills. They inventory, patch and test PHP, Node.js and self-managed GitLab deployments affected by this week's critical RCE flaws, then open 1 PR per repo.
Google's Data Agent Kit reaches GA with 37 open-source skills and an IAM deny policy for read-only agents
Google has made Data Agent Kit generally available. It is free, open source, and installs into Antigravity, Claude Code, Codex, Cursor, and VS Code-compatible editors. It splits guardrails between advisory skills and enforceable IAM deny policies, according to InfoQ.
Alibaba's Qwen Go! Adds My Apps, Building Shareable Apps From a Text Description via Meoo
Alibaba's personal agent Qwen Go! launched My Apps on October 23, letting users describe an app and have it built, configured and deployed without code. The feature runs on Alibaba Cloud's Meoo platform and is in invite-only testing.
Comments
Loading...