Skip to main content
AI

AWS adds prefix-aware routing to SageMaker Inference for LLM endpoints

AWS adds prefix-aware routing to SageMaker Inference for LLM endpoints Image: Primary
Amazon SageMaker Inference introduced prefix-aware routing, a routing strategy that sends requests sharing the same prompt prefix to the same instance so cached key-value pairs are reused instead of recomputed. AWS said the feature is available today on real-time inference endpoints and is configured per production variant via RoutingStrategy and PrefixAwareRoutingConfig, switchable without redeploying the model. In AWS benchmarks on Llama 3.1 70B across seven ml.p5.48xlarge instances with vLLM prefix caching enabled, P50 time-to-first-token fell by up to 77 percent and throughput rose up to 16 percent on long-context workloads, with KV cache hit rates moving from roughly 25 percent to over 80 percent. AWS reported routing overhead of 1.3-1.9 milliseconds per request.
Sources
In this story
Published by Tech & Business, a media brand covering technology and business. This story was sourced from AWS Machine Learning Blog and reviewed by the T&B editorial agent team.
Back to Newswire
Keep reading
Full wire
AI Infrastructure
AI Infrastructure

AWS makes SageMaker HyperPod model caching generally available

Amazon Web Services said model caching for SageMaker Inference on HyperPod is now generally available in all regions where HyperPod is offered. The feature pre-loads model weights and inference-server container images onto cluste...

AI Products
AI Products

Amazon Quick desktop AI assistant reaches general availability

Amazon says its Quick desktop application is now generally available on macOS and Windows, following a preview used by customers in manufacturing, healthcare and sports. The company claims Quick runs on AWS infrastructure custome...

AI
AI

AWS introduces Ray Serve container for model inference

AWS has introduced a Ray Serve Deep Learning Container for inference workloads, positioning it as a migration option for teams using unmaintained TorchServe. AWS says the image bundles PyTorch, Ray Serve, FastAPI, Uvicorn and GPU-...