Skip to content

gilinachum/bedrock-latency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latency Benchmarking tools for Amazon Bedrock

A collection of tools to measure inference latency for foundations models in Amazon Bedrock and OpenAI. Reports time to first token and total time.

  1. bedrock-latency-benchmark.ipynb - Measure LLM latency across scenarios like:
    • Different number of in/out tokens
    • Compare latency across models from Amazon Bedrock and OpenAI.
    • Latency for the same model across AWS Regions.
  2. stress.test.bedrock.py - A utility to stress test Claude 3 models on Bedrock (e.g., launch 1000 requests/min).

Installing

  1. git clone https://github.com/gilinachum/bedrock-latency
  2. Open relevant notebook.

License

Apache License Version 2.0

About

Tools to measure latency for LLM in Amazon Bedrook

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •