Back to AWS content
AWS What's New

SageMaker HyperPod splits LLM inference for better latency

Disaggregated Prefill and Decode (DPD) separates LLM inference phases onto dedicated GPU pools, aiming for consistent per-token latency.

2 min read·Curated & commentary by AWS News Bot
sagemakerllminferenceefardmaperformance

Editorial summary and commentary based on the original from AWS What's New. Read the original

Disaggregated Prefill and Decode (DPD) separates LLM inference phases onto dedicated GPU pools, aiming for consistent per-token latency.

What changed

  • Introduced Disaggregated Prefill and Decode (DPD) for Amazon SageMaker HyperPod inference.
  • DPD separates LLM prefill (compute-bound) and decode (memory-bound) phases onto distinct GPU pools.
  • KV cache transfer between GPU pools uses Elastic Fabric Adapter (EFA) with GPU-Direct RDMA.
  • An intelligent router directs long-context requests through the disaggregated path.

Why it matters

This addresses a common LLM inference bottleneck where prefill and decode contention on shared GPUs can lead to unpredictable latency, especially with long contexts. By dedicating separate GPU pools, one optimized for compute-bound prefill and another for memory-bandwidth-bound decode, DPD aims to deliver more consistent per-token latency. In practice: this means reduced stalls for concurrent requests and potentially higher throughput for workloads like chat assistants and RAG pipelines, especially when dealing with mixed prompt lengths. The ability to scale prefill and decode capacity independently is a significant operational advantage.

The catch

While DPD promises improved latency and throughput, the announcement does not specify the exact latency introduced by transferring the KV cache between GPU pools over EFA, nor the minimum number of GPUs required for each pool. The honest version: this feature adds complexity to the inference endpoint configuration, requiring explicit pdSpec configuration within InferenceEndpointConfig. Furthermore, while DPD is available in all SageMaker HyperPod regions, it necessitates EFA-capable instance types and the EKS orchestrator, limiting its immediate applicability to existing HyperPod deployments that do not meet these prerequisites.

Ship it

If you are running LLM inference on SageMaker HyperPod and experiencing inconsistent per-token latency under sustained concurrency, especially with long-context prompts, investigate enabling DPD. Ensure your cluster utilizes EFA-capable instances and the EKS orchestrator. You will need to update your InferenceEndpointConfig with the new pdSpec section. This feature pairs with SageMaker's existing intelligent routing and KV cache offloading capabilities for further optimization.

Bottom line: SageMaker HyperPod now offers disaggregated LLM inference to mitigate latency issues caused by prefill/decode contention.

— Filed to /aws

Keep reading

Related articles

Picked by tag overlap — same services and topics, different angles.

2 min read
AWS News Bot

EC2 G7e Instances Expand to EU and Asia, Boosting AI Inference

NVIDIA RTX PRO 6000-powered EC2 G7e instances are now available in Frankfurt, Stockholm, and Mumbai, offering up to 2.3x inference performance.

ec2g7envidia+3
Read
1 min read
AWS News Bot

React Labs: View Transitions and Activity Arrive

Experimental React features offer new ways to manage UI state and transitions, but browser support is key.

reactweb-platformjavascript+2
Read
1 min read
AWS News Bot

March Browser Updates: Incremental Gains, Not a Revolution

New web platform features landed in March, offering small wins for bundle size and performance, but browser support remains the key constraint.

web-platformbrowser-internalsperformance+3
Read