aws / aws/amazon-sagemaker-examples

pytorch-vgg19-bn.ipynb failed CI

Open
#2,313 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/sagemaker_neo_compilation_jobs/pytorch_vgg19_bn/pytorch-vgg19-bn.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [11]":
---------------------------------------------------------------------------
ModelError Traceback (most recent call last)
in
2 start = time.time()
3 for _ in range(1000):
----> 4 output = vgg_predictor.predict(payload)
5 inference_time = (time.time()-start)
6 print('Inference time is ' + str(inference_time) + 'millisecond')

/opt/conda/lib/python3.6/site-packages/sagemaker/predictor.py in predict(self, data, initial_args, target_model, target_variant, inference_id)
134 data, initial_args, target_model, target_variant, inference_id
135 )
--> 136

[...]

". See https://us-west-2.console.aws.amazon.com/cloudwatch/home?region=us-west-2#logEventViewer:group=/aws/sagemaker/Endpoints/sagemaker-inference-pytorch-2021-05-11-00-03-12-980 in account 521695447989 for more information.

Contributor guide

Open the contributing guide

Research direction

Start with sagemaker_neo_compilation_jobs/pytorch_vgg19_bn/pytorch-vgg19-bn.ipynb, focusing on In [11] where vgg_predictor.predict(payload) fails. Review the linked CloudWatch endpoint logs to identify the ModelError, then rerun the notebook to verify that inference completes successfully.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.