-
Notifications
You must be signed in to change notification settings - Fork 159
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
Model deployment is failing with the error "The primary container for production variant AllTraffic did not pass the ping health check. #401
Comments
Hi @vishwath96, are you able to share your logs and the full stack trace? |
Hi I am having the same error. I am deploying my own dlib model. The cloud watch logs is this 2022/06/15 21:08:37 [error] 19#19: *1 js: failed ping{ Kindly help. Thank you. |
@ajaykarpur I followed your notebook which was helpful but fails at deployment too. Here's my stacktrace - all help will be appreciated, been blocked on it for a while now. And for this error - don't understand how the model is read-only when it dumps the .pkl file in s3 perfectly fine. but when I try to deploy it
I run into this error.
|
Hi, For resolving it. in docker container inside the "/opt/ml/output/" directory there should be a file with the name of failure. |
@birla8319 the error is this statement: |
Trying to deploy a custom Word2Vec model that I've trained offline as a SageMaker endpoint. Followed the documentation - https://github.com/awslabs/amazon-sagemaker-examples/tree/master/advanced_functionality/scikit_bring_your_own to create docker file and everything.
I've added the following in docker file - # ENTRYPOINT ["python3", "/usr/local/bin/predictor.py"]
Looking at the logs, I am able to see that this code is running and I am able to load the model, but the model isn't getting deployed and fails with the error - Model deployment is failing with the error "The primary container for production variant AllTraffic did not pass the ping health check.
Any help?
The text was updated successfully, but these errors were encountered: