aws / aws/amazon-sagemaker-examples

The primary container for production variant AllTraffic did not pass the ping health check.

Open
#993 4 comments 2 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
11k
Forks
7k
Avg merge
8h 29m
Merged PRs (30d)
8

Description

I am trying to deploy a Multi Model endpoint, I am following "https://github.com/awslabs/amazon-sagemaker-examples/blob/master/advanced_functionality/multi_model_bring_your_own/multi_model_endpoint_bring_your_own.ipynb" as my reference.

Everything is successful until "Create Endpoint COnfiguration" step,

When I am trying to create endpoint, I am facing the error"The primary container for production variant AllTraffic did not pass the ping health check."

I checked the cloud watch logs, which are below
`Processing /opt/ml/code
Building wheels for collected packages: None
Building wheel for None (setup.py): started
Building wheel for None (setup.py): finished with status 'done'
Created wheel for None: filename=None-1.0.0-py2.py3-none-any.whl size=3775 sha256=XXXXXX
stored in directory:XXXXXXXX
Successfully built None
Installing collected packages: None
Successfully installed None-1.0.0`

`Traceback (most recent call last):
File "/miniconda3/bin/serve", line 8, in
sys.exit(main())
File "/miniconda3/lib/python3.7/site-packages/sagemaker_sklearn_container/serving.py", line 107, in main
modules.import_module(serving_env.module_dir, serving_env.module_name)
File "/miniconda3/lib/python3.7/site-packages/sagemaker_containers/_modules.py", line 274, in import_module
six.reraise(_errors.ImportModuleError, _errors.ImportModuleError(e), sys.exc_info()[2])
File "/miniconda3/lib/python3.7/site-packages/six.py", line 695, in reraise
raise value.with_traceback(tb)
File "/miniconda3/lib/python3.7/site-packages/sagemaker_containers/_modules.py", line 269, in import_module
module = importlib.import_module(name)
File "/miniconda3/lib/python3.7/importlib/__init__.py", line 118, in import_module
if name.startswith('.'):
`

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.