aws / aws/amazon-sagemaker-examples

creation of endpoint of the provided example fails with sagemaker_containers._errors.ImportModuleError

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

Description

Hello,

Following the tutorial for SM Studio with the example from the SM studio folder I keep getting an error when I try to create to an endpoint. This is indicated by status "fail" for the endpoint.
I can see a error message from the SM dashboard:
"The primary container for production variant default-variant-name did not pass the ping health check. Please check CloudWatch logs for this endpoint."

And then in ClouldWatch I see a line with an error message:

sagemaker_containers._errors.ImportModuleError: 'NoneType' object has no attribute 'startswith'

Contributor guide

Open the contributing guide

Research direction

Start with the example in the SM Studio folder and reproduce endpoint creation, then inspect the SageMaker dashboard status and the CloudWatch logs. Trace the sagemaker_containers._errors.ImportModuleError and determine what change makes the production container pass its ping health check.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, jupyter-notebook
Domain
cloud, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.