AI Cloud Architect

Right-size generative AI endpoints with concurrency sweeps on Amazon SageMaker AI

AWSHow-to by Mona Mona, Felipe Lopez, Hrushikesh Gangur, Lokeshwaran Ravi and Sheng MouaaAWS Artificial Intelligence Blog

Concurrency sweeps help you right-size a generative AI endpoint on Amazon SageMaker AI by systematically benchmarking it at increasing load levels. This post walks through deploying a model, running automated concurrency sweeps with the CreateAIBenchmarkJob API, and using the results to make data-driven capacity decisions about fleet size.

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

AI: Summary

What it is

SageMaker AI's CreateAIBenchmarkJob API runs automated concurrency sweeps on a generative AI endpoint, showing where throughput plateaus and latency rises, and can search for the highest concurrency that meets latency SLAs.

Who it is for

Teams running LLM endpoints on SageMaker AI that need to size instance fleets against latency targets.

Key points

  • Walkthrough uses NVIDIA Nemotron-3 Nano 30B on ml.g7e.2xlarge with the native vLLM container.
  • Sweep levels in the example are 64, 256 and 1,024 concurrent requests; the saturation knee appears at 256.
  • The max-concurrency-under-sla recipe accepts e2e, TTFT, TPOT and error-rate SLA thresholds.
  • Example combining e2e under 50 s and TTFT under 1.5 s gives a maximum concurrency of 80.

The same at other vendors