You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TF 2.2.0 image is not available in eu-west-1 #1527
Describe the bug
TF 2.2.0 image is not available.
Region: eu-west-1
CalledProcessError: Command 'docker pull 763104351884.dkr.ecr.eu-west-1.amazonaws.com/tensorflow-training:2.2.0-cpu-py3' returned non-zero exit status 1.
at the same time docker pull 763104351884.dkr.ecr.eu-west-1.amazonaws.com/tensorflow-training:2.2.0-cpu-py37 image exists.
I have a similar problem when trying to use framework version 2.2.0 and I get an error when trying to specify py_version to 'py37': ValueError: invalid py_version argument: py37
I created a new notebook instance few days ago and the sagemaker sdk version is 1.55.3
Would updating to a newer version solve this issue and what is the recommended way to update?
Thank you for the response! I've updated sagemaker to version 1.67.1 and I can confirm that py_version now accepts py37 and works with framework_version=2.2.0
I was wondering if it is common that new notebook instances have outdated versions of the python packages and therefore it is a good practice to always update them when the notebook instance is created? This article states that AWS is updating the notebook software once it is not in service. What do these software updates include?
@stoyan-dixa my understanding is that Notebook Instances are updated regularly to include updates from the SageMaker Python SDK (in addition to other libraries). Since we release the SDK every Monday-Thursday (if there are changes), this does mean that you may run into an outdated SDK even with a new notebook instance. You could also look into Notebook Instance Lifecycle Configs as a way to update libraries upon startup.
Activity
laurenyu commentedon May 26, 2020
apologies for the confusion - you need to specify
"py37"forpy_versionyegortokmakov commentedon May 27, 2020
works with
py37, thanks!was trying
py37on the previous version of sdk, obviously it didn't work :)stoyan-dixa commentedon Jul 6, 2020
I have a similar problem when trying to use framework version 2.2.0 and I get an error when trying to specify py_version to 'py37':
ValueError: invalid py_version argument: py37I created a new notebook instance few days ago and the sagemaker sdk version is
1.55.3Would updating to a newer version solve this issue and what is the recommended way to update?
This is how my estimator definition looks like:
laurenyu commentedon Jul 6, 2020
@stoyan-dixa you can update your SDK version by running
!pip install -U sagemakerin a cell and then restarting the notebook kernelstoyan-dixa commentedon Jul 7, 2020
Thank you for the response! I've updated sagemaker to version 1.67.1 and I can confirm that
py_versionnow acceptspy37and works withframework_version=2.2.0I was wondering if it is common that new notebook instances have outdated versions of the python packages and therefore it is a good practice to always update them when the notebook instance is created?
This article states that AWS is updating the notebook software once it is not in service. What do these software updates include?
laurenyu commentedon Jul 7, 2020
@stoyan-dixa my understanding is that Notebook Instances are updated regularly to include updates from the SageMaker Python SDK (in addition to other libraries). Since we release the SDK every Monday-Thursday (if there are changes), this does mean that you may run into an outdated SDK even with a new notebook instance. You could also look into Notebook Instance Lifecycle Configs as a way to update libraries upon startup.
kafka399 commentedon Aug 29, 2020
In my case I had to restart my notebook, as kernel restart didn't fix the issue completely. Thanks!
martinRenou commentedon Sep 27, 2023
Closing as answered, thanks!
Add unit tests for ModelTrainer (#1527)
Trainer handshake (#1535)
Support building image from Dockerfile (#1571)
Unified Deployment interface in Model Builder (#1549)
1 remaining item
Skip JS model mapping with env vars or image URI provided (#1599)
Add unit tests for ModelTrainer (#1527)
Trainer handshake (#1535)
Support building image from Dockerfile (#1571)
Unified Deployment interface in Model Builder (#1549)
Single container local training (#1556)
Skip JS model mapping with env vars or image URI provided (#1599)
Add unit tests for ModelTrainer (aws#1527)
Trainer handshake (aws#1535)
Support building image from Dockerfile (aws#1571)
Unified Deployment interface in Model Builder (aws#1549)
Single container local training (aws#1556)
Skip JS model mapping with env vars or image URI provided (aws#1599)