Hardware & Inference 🇺🇸 06.08.2026 21:04

Amazon SageMaker Python SDK Integrates LLM Optimization Tools

Amazon Web ServicesAmazon Web Services
The Amazon SageMaker Python SDK v3 now includes generative AI inference recommendations, allowing users to benchmark endpoints, generate deployment recommendations, and deploy directly from notebooks. The new capabilities, available under the sagemaker.serve.ai_inference_recommender package, automate inference optimization and integrate with existing workflows.
The Amazon SageMaker Python SDK v3 introduces generative AI inference recommendations, enabling users to optimize deployment of large language models. The service benchmarks live endpoints against synthetic or real traffic, measures throughput, time-to-first-token (TTFT), and latency, and generates ranked deployment recommendations based on cost-performance tradeoffs. Users can deploy the top-ranked configuration directly to an Amazon SageMaker real-time endpoint. The new SDK interface, available in the sagemaker.serve.ai_inference_recommender package starting with version 3.17.0, includes operations like ModelBuilder.from_jumpstart_config, start_benchmark, generate_deployment_recommendations, and deploy. The post demonstrates an end-to-end workflow: generating recommendations, interpreting results, deploying, benchmarking, and comparing frameworks like LMI and vLLM. It also explains how to read key metrics and choose between configurations based on performance targets, and how to deploy from a previously run recommendation job using ModelBuilder.from_recommendation_job.
Abbreviations
AWS = Amazon Web Services — Amazon Web Services
TTFT = Time to First Token — Время до первого токена
E2E = End-to-End — Сквозной
SDK = Software Development Kit — Набор средств разработки
API = Application Programming Interface — Программный интерфейс приложения
LMI = Large Model Inference — Инференс больших моделей
vLLM = Virtual Large Language Model — Виртуальная большая языковая модель
Source: AWS ML blog — original
Our earlier posts on this topic ↓
Fresh news