aws / aws/amazon-sagemaker-examples
Using_ModelPackage_Arn_From_AWS_Marketplace.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/aws_marketplace/using_model_packages/amazon_demo_product/Using_ModelPackage_Arn_From_AWS_Marketplace.ipynb
Error:
---------------------------------------------------------------------------
Exception encountered at "In [6]":
---------------------------------------------------------------------------
ClientError Traceback (most recent call last)
in
2 import uuid
3
----> 4 transformer = model.transformer(1, 'ml.m4.xlarge')
5 transformer.transform(transform_input, content_type='text/csv')
6 transformer.wait()
/opt/conda/lib/python3.7/site-packages/sagemaker/model.py in transformer(self, instance_count, instance_type, strategy, assemble_with, output_path, output_kms_key, accept, env, max_concurrent_transforms, max_payload, tags, volume_kms_key)
842 self._init_sagemaker_session_if_does_not_exist(instance_type)
843
--> 844 self._create_sagemaker_model(in
[...]
ClientError: An error occurred (ValidationException) when calling the CreateModel operation: Caller is not subscribed to the marketplace offering.
Contributor guide
Research direction
Open aws_marketplace/using_model_packages/amazon_demo_product/Using_ModelPackage_Arn_From_AWS_Marketplace.ipynb and inspect cell In [6], where model.transformer triggers the CreateModel failure. First run the notebook or its CI validation and review the marketplace offering requirements. Done means the notebook completes CI without the Caller is not subscribed to the marketplace offering error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, jupyter-notebook, python
- Domain
- cloud, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100