AI Cloud Architect

Enhanced performance for Amazon Bedrock Custom Model Import

AWSBlog post by Nick McCarthy, Prashant Patel, Yashowardhan Shinde and Yanyan ZhangAWS Artificial Intelligence Blog

You can now achieve significant performance improvements when using Amazon Bedrock Custom Model Import, with reduced end-to-end latency, faster time-to-first-token, and improved throughput through advanced PyTorch compilation and CUDA graph optimizations. With Amazon Bedrock Custom Model Import you can to bring your own foundation models to Amazon Bedrock for deployment and inference at scale. In this post, we introduce how to use the improvements in Amazon Bedrock Custom Model Import.

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

AI: Summary

What it is

Bedrock Custom Model Import now caches compilation artifacts, which AWS says cuts time-to-first-token and end-to-end latency and raises throughput for imported models.

Who it is for

Teams serving their own models on Bedrock Custom Model Import that need faster scaling and lower latency.

Key points

  • AWS says the first instance of a model has a one-time initialization delay; later instances skip compilation.
  • Benchmarks cover Granite 20B code and Llama 3.1 8B at concurrency 1 to 32, single model copy, no auto-scaling.
  • Cached artifacts are checked with checksums and regenerated if corrupted.

Timeline

  1. Customer storyHow Amazon Bedrock Custom Model Import streamlined LLM deployment for Salesforce · AWS · Customer story
  2. This postEnhanced performance for Amazon Bedrock Custom Model Import
  3. Explained inAccelerate custom LLM deployment: Fine-tune with Oumi and deploy to Amazon Bedrock · AWS · How-to

Go deeper