Error while deploying this repo in AWS

#10
by kiranshivaraju - opened

Hey, so I'm using AWS Sagemaker to host this model (timdettmers/guanaco-33b-merged ), and then using AWS lambda to host this model in a serverless architecture and API gateway, which acts as a trigger to the lambda function.
After hosting the model in Sagemaker, I cloned this repo to my local computer, and changed the API_URL in the app.py to the endpoint where the model is hosted and ran the file.
I encountered the following error.

error1.png

error2.png

error3.png

This is my lambda function:

lambda_function.png

Let me know how to solve this issue.
Thanks in advance!

Sign up or log in to comment