AI Cloud Architect

Large model inference container – latest capabilities and performance enhancements

AWSBlog post by Dmitry Soldatkin, Dan Ferguson, Lokeshwaran Ravi, Sadaf Fardeen, Sheng Mouaa and Suma KasaAWS Artificial Intelligence Blog

AWS recently released significant updates to the Large Model Inference (LMI) container, delivering comprehensive performance improvements, expanded model support, and streamlined deployment capabilities for customers hosting LLMs on AWS. These releases focus on reducing operational complexity while delivering measurable performance gains across popular model architectures.

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

AI: Summary

What it is

LMI container releases add LMCache KV caching with automatic configuration, EAGLE speculative decoding, new open models, and lazy-loaded LoRA adapters on SageMaker AI.

Who it is for

Teams hosting long-context LLM workloads on SageMaker AI that want lower time to first token and cheaper repeated-context requests.

Key points

  • AWS benchmark: CPU offloading cut TTFT from 1.161s to 0.438s on p4de.24xlarge with Qwen models (AWS's test, 460K tokens)
  • Auto LMCache configuration supports only tensor parallelism, assumes /tmp on NVMe, and requires maxWorkers=1
  • Adapter weights load on first invocation rather than at inference component creation

The same at other vendors

Timeline

  1. Same storyAmazon SageMaker AI introduces EAGLE based adaptive speculative decoding to accelerate generative AI inference · AWS · How-to
  2. Listed inAmazon SageMaker AI in 2025, a year in review part 1: Flexible Training Plans and improvements to price performance for inference workloads · AWS · Blog post
  3. This postLarge model inference container – latest capabilities and performance enhancements

Go deeper