-
Notifications
You must be signed in to change notification settings - Fork 78
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
Can't run inference on AWS Lambda #356
Comments
hi, As a walk-around you may take a look here: https://stackoverflow.com/questions/60455830/can-you-have-an-async-handler-in-lambda-python-3-6 Sorry for inconvenience and thanks for raising this bug |
Search before asking
Bug
I am running this code on AWS Lambda
As part of a docker container that looks like this:
My requirements.txt contains nothing but inference==0.9.17
When the code runs I get the following error. I have been trying to fix this and tried workarounds but to no avail. I understand that the error is somehow related to multiprocessing. I found this post from which I understand that multiprocessing isn't possible on AWS Lambda, however, my script does not control or trigger any multiprocessing.
This is the full error:
Environment
No response
Minimal Reproducible Example
No response
Additional
I am incredibly frustrated since I've been working on this for 9 hours now and would appreciate any hints!
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: