szymonmaszke / torchlambda

Lightweight tool to deploy PyTorch models to AWS Lambda
MIT License
125 stars 3 forks source link

MalformedHandler #19

Open kyuheejo opened 1 year ago

kyuheejo commented 1 year ago

I am getting the following error when I deploy it to lambda:

{"errorMessage": "Bad handler 'torchlambda': not enough values to unpack (expected 2, got 1)", "errorType": "Runtime.MalformedHandlerName", "requestId": "1bbef602-68e0-4251-8e84-636db1c5d1e8", "stackTrace": []}

Does anyone know how to fix it???