aws / aws/amazon-sagemaker-examples
inference-pipeline.ipynb failed CI
- Dominant language
- Jupyter Notebook
- Stars
- 11k
- Forks
- 7k
- Avg merge
- 8h 29m
- Merged PRs (30d)
- 8
Description
Link to the notebook:
https://github.com/aws/amazon-sagemaker-examples/blob/master/contrib/inference_pipeline_custom_containers/inference-pipeline.ipynb
Error:
---------------------------------------------------------------------------
Exception encountered at "In [12]":
---------------------------------------------------------------------------
ClientError Traceback (most recent call last)
in
11 val_config = sagemaker.session.s3_input('s3://{0}/{1}/val/'.format(bucket, prefix), content_type='text/csv')
12
---> 13 custom_preprocessor.fit({'train': train_input})
/opt/conda/lib/python3.7/site-packages/sagemaker/estimator.py in fit(self, inpu
[...]
ClientError: An error occurred (ValidationException) when calling the CreateTrainingJob operation: Cannot find repository: custompipeline/preprocessor in registry ID: 521695447989 Please check if your ECR repository exists and role arn:aws:iam::521695447989:role/ProdBuildSystemStack-ReleaseBuildRoleFB326D49-QK8LUA2UI1IC has proper pull permissions for SageMaker: ecr:BatchCheckLayerAvailability, ecr:BatchGetImage, ecr:GetDownloadUrlForLayer
Contributor guide
Research direction
Open contrib/inference_pipeline_custom_containers/inference-pipeline.ipynb and inspect In [12], where custom_preprocessor.fit triggers SageMaker CreateTrainingJob. Reproduce the CI failure and determine whether the missing ECR repository or the reported SageMaker pull permissions is actionable; done means the notebook no longer fails at that step.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, jupyter-notebook, machine-learning
- Domain
- ci-cd, cloud, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100