AI Cloud Architect

Tiered KV cache for large LLMs on Amazon SageMaker HyperPod with Curvine

AWSHow-to by Qingyuan Tang, Bin Long, David Fu, Ying Hou, Long Jiang, Seanx and Zejun LvAWS Artificial Intelligence Blog

Running large language model inference at scale forces a KV cache trade-off: oversized GPU instances or slow time-to-first-token. This post builds a tiered KV cache on Amazon SageMaker HyperPod that extends the cache into a shared, distributed NVMe pool with Curvine, so replicas reuse cache at near-local-disk speeds on cost-efficient instances.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

A three-tier KV cache on SageMaker HyperPod adds a shared Curvine NVMe pool so vLLM replicas on G6e instances reuse prefix cache across Pods.

Who it is for

Teams serving LLMs on HyperPod G6e instances that need lower time-to-first-token and cheaper per-endpoint cost for long shared prompts.

Key points

  • Benchmark on a test deployment: up to 2.7x TTFT improvement and 100 percent cross-Pod cache hit for prompts of 1,000 tokens and above (AWS claim).
  • Requires at least two GPU nodes, Tiered Storage enabled, Curvine installed, and a manual patch to the rendered Deployment for the L2 FUSE mount.
  • Gains are smaller for short prompts under about 1,000 tokens and for faster GPUs; AWS says savings depend on model and traffic.

The same at other vendors

Timeline

Posts about Amazon SageMaker HyperPod, oldest first.

  1. How-toDisaggregated prefill and decode for LLM inference on SageMaker HyperPod · AWS · How-to
  2. Update to an existing featureAmazon SageMaker HyperPod now supports AMI-based node lifecycle configuration for Slurm clusters using continuous provisioning · AWS · Announcement
  3. New featureAmazon SageMaker HyperPod now supports custom AMIs (Amazon Machine Images) for Slurm clusters · AWS · Announcement
  4. New featureAmazon SageMaker HyperPod now supports partition-level topology for Slurm orchestrated clusters · AWS · Announcement
  5. This postTiered KV cache for large LLMs on Amazon SageMaker HyperPod with Curvine
  6. New featureAmazon SageMaker HyperPod enhances support for Ray · AWS · AnnouncementAlso published by AWS Artificial Intelligence Blog
  7. Blog postRun agent-driven Amazon SageMaker HyperPod operations with InstantStart · AWS · Blog post
  8. Blog postPathway’s brain-inspired architecture development on Amazon SageMaker HyperPod · AWS · Blog post
  9. How-toDeploying Qwen3.8-2.4T-A95B on Amazon SageMaker HyperPod with vLLM · AWS · How-to
Show all 89 posts
  1. New featureAnnouncing the new cluster creation experience for Amazon SageMaker HyperPod · AWS · Announcement
  2. How-toTrain and deploy models on Amazon SageMaker HyperPod using the new HyperPod CLI and SDK · AWS · How-to
  3. How-toAccelerating HPC and AI research in universities with Amazon SageMaker HyperPod · AWS · How-to
  4. Generally availableAnnouncing Managed Tiered Checkpointing for Amazon SageMaker HyperPod · AWS · AnnouncementAlso published by AWS Artificial Intelligence Blog
  5. Blog postMaximize HyperPod Cluster utilization with HyperPod task governance fine-grained quota allocation · AWS · Blog post
  6. How-toSchedule topology-aware workloads using Amazon SageMaker HyperPod task governance · AWS · How-to
  7. Generally availableAmazon SageMaker HyperPod announces health monitoring agent support for Slurm clusters · AWS · Announcement
  8. New featureAmazon SageMaker HyperPod now supports autoscaling using Karpenter · AWS · Announcement
  9. How-toUse Amazon SageMaker HyperPod and Anyscale for next-generation distributed computing · AWS · How-to
  10. How-toAccelerate large-scale AI training with Amazon SageMaker HyperPod training operator · AWS · How-to
  11. Blog postHyperPod enhances ML infrastructure with security and storage · AWS · Blog post
  12. New featureAmazon SageMaker HyperPod now supports running IDEs and Notebooks to accelerate AI development · AWS · Announcement
  13. New featureAmazon SageMaker HyperPod now supports Spot Instances · AWS · Announcement
  14. New featureAmazon SageMaker HyperPod now supports NVIDIA Multi-Instance GPU (MIG) for generative AI tasks · AWS · AnnouncementAlso published by AWS Artificial Intelligence Blog
  15. How-toPower up your ML workflows with interactive IDEs on SageMaker HyperPod · AWS · How-to
  16. New featureManage Amazon SageMaker HyperPod clusters with the new Amazon SageMaker AI MCP Server · AWS · Announcement
  17. New featureAmazon SageMaker HyperPod now supports programmatic node reboot and replacement · AWS · Announcement
  18. New featureAmazon SageMaker HyperPod now supports custom Kubernetes labels and taints · AWS · Announcement
  19. New featureSageMaker HyperPod now supports Managed tiered KV cache and intelligent routing · AWS · AnnouncementAlso published by AWS Artificial Intelligence Blog
  20. New featureIntroducing elastic training on Amazon SageMaker HyperPod · AWS · AnnouncementAlso published by AWS News Blog
  21. New featureAmazon SageMaker HyperPod now supports checkpointless training · AWS · Announcement
  22. Blog postAdaptive infrastructure for foundation model training with elastic training on SageMaker HyperPod · AWS · Blog post
  23. Blog postCheckpointless training on Amazon SageMaker HyperPod: Production-scale training with faster fault recovery · AWS · Blog post
  24. Update to an existing featureAmazon SageMaker HyperPod now validates service quotas before creating clusters on console · AWS · Announcement
  25. Update to an existing featureAmazon SageMaker HyperPod introduces enhanced lifecycle scripts debugging · AWS · Announcement
  26. How-toManage Amazon SageMaker HyperPod clusters using the HyperPod CLI and SDK · AWS · How-to
  27. Update to an existing featureAmazon SageMaker HyperPod now supports node actions from the console · AWS · Announcement
  28. Customer storyAccelerating AI model production at Hexagon with Amazon SageMaker HyperPod · AWS · Customer story
  29. New featureAmazon SageMaker HyperPod now supports API-driven Slurm configuration · AWS · Announcement
  30. New featureAmazon SageMaker HyperPod now provides comprehensive observability for Restricted Instance Groups · AWS · Announcement
  31. New featureSageMaker HyperPod now supports idle resource sharing for dynamic cluster utilization · AWS · Announcement
  32. Update to an existing featureAmazon SageMaker HyperPod now supports continuous provisioning for Slurm-orchestrated clusters · AWS · Announcement
  33. Customer storyScaling seismic foundation models on AWS: Distributed training with Amazon SageMaker HyperPod and expanding context windows · AWS · Customer story
  34. Blog postUnlock efficient model deployment: Simplified Inference Operator setup on Amazon SageMaker HyperPod · AWS · Blog post
  35. New featureSageMaker HyperPod now supports gang scheduling for distributed training workloads · AWS · Announcement
  36. How-toBest practices to run inference on Amazon SageMaker HyperPod · AWS · How-to
  37. New featureAmazon SageMaker HyperPod now supports on-demand deep health checks · AWS · Announcement
  38. Update to an existing featureAmazon SageMaker HyperPod now supports flexible instance groups · AWS · Announcement
  39. New featureAmazon SageMaker HyperPod now supports automatic Slurm topology management · AWS · Announcement
  40. New featureAmazon SageMaker HyperPod now supports G7e and r5d.16xlarge instances · AWS · Announcement
  41. Update to an existing featureAmazon SageMaker HyperPod now supports AMI-based node lifecycle configuration for Slurm clusters · AWS · Announcement
  42. New featureAmazon SageMaker HyperPod now supports data capture for inference workloads · AWS · Announcement
  43. New featureAmazon SageMaker HyperPod Slurm clusters now support specifying minimum capacity requirements with continuous provisioning · AWS · Announcement
  44. New featureAmazon SageMaker HyperPod now offers troubleshooting skills for AI coding assistants · AWS · Announcement
  45. New featureAmazon SageMaker HyperPod now supports EFA-only network interfaces · AWS · Announcement
  46. How-toScale Robot Reinforcement Learning with NVIDIA Isaac Lab on Amazon SageMaker AI · AWS · How-to
  47. Update to an existing featureAmazon SageMaker HyperPod now supports AMI versioning and auto-patching · AWS · Announcement
  48. New featureAmazon SageMaker HyperPod now supports disaggregated prefill and decode · AWS · Announcement
  49. New featureAmazon SageMaker HyperPod now supports deep health checks for Slurm clusters with continuous provisioning · AWS · Announcement
  50. How-toEnhancing enterprise inference on Amazon SageMaker HyperPod with data capture, Hugging Face, NVMe, and Route 53 integration · AWS · How-to
  51. How-toDisaggregated prefill and decode for LLM inference on SageMaker HyperPod · AWS · How-to
  52. Update to an existing featureAmazon SageMaker HyperPod now supports AMI-based node lifecycle configuration for Slurm clusters using continuous provisioning · AWS · Announcement
  53. New featureAmazon SageMaker HyperPod now supports custom AMIs (Amazon Machine Images) for Slurm clusters · AWS · Announcement
  54. New featureAmazon SageMaker HyperPod now supports partition-level topology for Slurm orchestrated clusters · AWS · Announcement
  55. This postTiered KV cache for large LLMs on Amazon SageMaker HyperPod with Curvine
  56. New featureAmazon SageMaker HyperPod enhances support for Ray · AWS · AnnouncementAlso published by AWS Artificial Intelligence Blog
  57. Blog postRun agent-driven Amazon SageMaker HyperPod operations with InstantStart · AWS · Blog post
  58. Blog postPathway’s brain-inspired architecture development on Amazon SageMaker HyperPod · AWS · Blog post
  59. How-toDeploying Qwen3.8-2.4T-A95B on Amazon SageMaker HyperPod with vLLM · AWS · How-to
  60. New featureReduce inference cold starts on Amazon SageMaker HyperPod with model caching · AWS · AnnouncementAlso published by What's New with AWS
  61. How-toBuild an AI-powered product tagging system with Amazon SageMaker serverless model customization · AWS · How-to
  62. New featureIntroducing Amazon SageMaker HyperPod Inference Gateway · AWS · Announcement
  63. New featureAmazon SageMaker HyperPod Inference Gateway for scalable LLM inference · AWS · Announcement
  64. How-toMulti-Region training with Amazon SageMaker HyperPod and Qumulo · AWS · How-to
  65. How-toAccelerate multimodal RL training with SkyRL on Amazon SageMaker HyperPod · AWS · How-to
  66. Blog postManage Amazon SageMaker HyperPod Spaces directly from SageMaker Studio · AWS · Blog post
  67. Blog postBest practices for Amazon SageMaker HyperPod administration and governance · AWS · Blog post
  68. How-toShare GPU clusters across teams with isolation and fairness using Amazon SageMaker HyperPod · AWS · How-to
  69. Blog postAccelerate agentic AI with NVIDIA Nemotron models on Amazon EKS and SageMaker HyperPod EKS · AWS · Blog post
  70. How-toDetecting and recovering from silent data corruption on Amazon SageMaker HyperPod · AWS · How-to
  71. How-toBuild a model improvement flywheel with Amazon SageMaker HyperPod Data Capture · AWS · How-to
  72. New featureAmazon SageMaker HyperPod now supports external Slurm accounting databases · AWS · Announcement
  73. Update to an existing featureAmazon SageMaker HyperPod now supports cluster operations for tracking scaling and on-demand Deep Health Check requests · AWS · Announcement
  74. New featureAmazon SageMaker HyperPod Inference now supports NVIDIA Dynamo for disaggregated and multi-node inference · AWS · AnnouncementAlso published by AWS Artificial Intelligence Blog
  75. New featureAmazon SageMaker AI real-time endpoints now support KV cache aware routing · AWS · Announcement
  76. Update to an existing featureAmazon SageMaker HyperPod now supports higher pod density on EKS-orchestrated clusters · AWS · Announcement
  77. How-toIntroducing workload recovery and expanded infrastructure checks on Amazon SageMaker HyperPod · AWS · How-to
  78. New featureAmazon SageMaker HyperPod now supports enhanced observability with Amazon CloudWatch · AWS · AnnouncementAlso published by AWS Artificial Intelligence Blog
  79. New featureAmazon SageMaker HyperPod now supports moving nodes between clusters · AWS · Announcement
  80. New featureAmazon SageMaker HyperPod introduces Global Inference Gateway to route inference requests across clusters and Regions · AWS · AnnouncementAlso published by AWS Artificial Intelligence Blog
  81. New featureIntroducing managed cluster extensions for observability and user management in Amazon SageMaker HyperPod Slurm · AWS · Announcement
  82. New featureAmazon SageMaker Studio now supports training job submission and model deployment for SageMaker HyperPod clusters · AWS · Announcement
  83. Update to an existing featureAmazon SageMaker HyperPod launches a redesigned console experience for creating Amazon EKS-orchestrated clusters · AWS · Announcement
  84. New featureAmazon SageMaker HyperPod deep health check now validates training correctness · AWS · Announcement
  85. Update to an existing featureAmazon SageMaker HyperPod extends AMI auto-patching to Slurm and inference on EKS · AWS · Announcement
  86. New featureAmazon SageMaker HyperPod now supports NCCL profiling for training jobs · AWS · Announcement
  87. New featureAmazon SageMaker HyperPod now detects Kubernetes issues affecting training · AWS · Announcement
  88. New featureAmazon SageMaker HyperPod now detects and recovers hung training jobs on Slurm clusters · AWS · Announcement
  89. New featureAmazon SageMaker HyperPod now supports managed observability and user management extensions for Slurm clusters · AWS · Announcement

Go deeper