aws / aws/sagemaker-tensorflow-training-toolkit

Model deployment is failing with the error "The primary container for production variant AllTraffic did not pass the ping health check.

Open
#401 5 comments 0 reactions 0 assignees View on GitHub
type: question
Dominant language
Python
Stars
270
Forks
162
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.