← Back
AWS ML Blog

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

31 min read
#llm#compute#amazon#inference
TL;DR

The article introduces a tiered key‑value (KV) cache for large language models running on Amazon SageMaker HyperPod, leveraging Curvine’s distributed NVMe pool to extend cache capacity beyond GPU memory. By layering GPU‑resident cache with a shared NVMe tier, the approach cuts first‑token latency while keeping memory footprints manageable, enabling higher throughput without scaling to oversized GPU instances. The design trades off modest storage costs for significant speed gains, making it attractive for production deployments that demand low‑latency inference at scale.

⚡ Key Takeaways

  • The tiered cache architecture couples on‑device GPU memory with a Curvine‑managed NVMe pool, allowing replicas to share cached activations across the HyperPod cluster.
  • Curvine’s distributed NVMe pool is configured as a secondary cache tier, reducing the need for larger GPU instances while keeping data locality high.
  • The tradeoff is an increased storage footprint and associated cost, but the system delivers lower time‑to‑first‑token and higher overall throughput for large LLM inference workloads.
  • Integration requires enabling the tiered KV cache in the SageMaker HyperPod configuration and pointing the cache backend to the Curvine NVMe pool endpoint.
  • The solution assumes the presence of Cur

Want the full story? Read the original article.

Read on AWS ML Blog

More like this

Building an AI Text Detector From Scratch

Ahead of AI#llm

GLM-5.3 is here with advanced cyber capabilities — and reportedly already found a 'serious vulnerability' in Cursor

VentureBeat AI#llm

Universitas Gadjah Mada, Indosat and NVIDIA Open Indonesia’s First University AI Center to Develop Local AI Talent

NVIDIA Blog#nvidia

Custom reward functions for multi-turn reinforcement learning with Amazon Nova Forge

AWS ML Blog#amazon

EXPLORE AI NEWS

Daily hand-picked stories on LLMs, RAG, agents and production AI — curated for engineers who ship.

BROWSE NEWS

GET THE WEEKLY DIGEST

Join engineers getting the Monday signal-over-noise AI breakdown. No spam, unsubscribe anytime.

LEARN AI ENGINEERING

Curated courses, research papers, repos and tutorials built for engineers leveling up in AI.

START LEARNING