-
-
Notifications
You must be signed in to change notification settings - Fork 18.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] "ThrottlingException: Too many requests" when embedding on Amazon Bedrock #2079
Comments
Also tried with a text file of the same data (3.5MB), with the same result, so looks like some type of Amazon-specific socket usage bug? Perhaps 50 sockets is too high?
|
I started having the same issue as well when I upgraded my Bedrock emnedding model and my Bedrock LLM model to titan-text-v2 embedding and Cohere 3 - after spending some time on it I think I was able to pin point the issue to the embedding model - basically you are going to have this issue for any Bedrock model that isn't amazon.titan-embed-text-v1 (I Tried on Cohere and Titan-text V2) - once I downgraded the embedding model to V1 the issue was gone. |
should be fixed via PR with the support of cohere embed in bedrock |
Describe the bug
When trying to upsert data and created embeddings via Amazon, the socket limit is reached and the AWS API throws an error (with a 4MB file). A smaller file with less records is successful.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The Upsert to complete successfully, after the objects are enqueued and processed.
Screenshots
Setup
The text was updated successfully, but these errors were encountered: