aws / aws/amazon-sagemaker-examples

creative-writing-using-gpt-2-text-generation.ipynb failed CI

Open
#2,281 0 comments 0 reactions 0 assignees View on GitHub
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/creative-writing-using-gpt-2-text-generation/creative-writing-using-gpt-2-text-generation.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [11]":
---------------------------------------------------------------------------
ClientError Traceback (most recent call last)
in
1 model = ModelPackage(role=role, model_package_arn=model_package_arn)
----> 2 predictor = model.deploy(1, real_time_inference_instance_type, endpoint_name=endpoint_name)

/opt/conda/lib/python3.7/site-packages/sagemaker/model.py in deploy(self, initial_instance_count, instance_type, serializer, deserializer, accelerator_type, endpoint_name, tags, kms_key, wait, data_capture_config, **kwargs)
761 self._base_name = "-".join((self._base_name, compiled_model_suffix))
762
--> 763 self._create_sagemaker_model(instance_t

[...]

ClientError: An error occurred (ValidationException) when calling the CreateModel operation: Caller is not subscribed to the marketplace offering.

Contributor guide

Open the contributing guide

Research direction

Open the linked creative-writing-using-gpt-2-text-generation.ipynb and inspect cell In [11], where ModelPackage.deploy fails during CreateModel. First check the marketplace offering subscription and the CI execution context; done means the deployment cell no longer raises the reported ValidationException.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, jupyter-notebook, machine-learning, python
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.