how to use aws sagemaker containers?

0

docs here, https://docs.aws.amazon.com/sagemaker/latest/dg/notebooks-available-images.html, provide list of images that are available. what is the URI for -> Data Science 3.0. based on the docs, example URI will be in this format 053634841547.dkr.ecr.us-west-1.amazonaws.com/sagemaker-distribution-prod:tag

what would be URI , for Base Python 3.0 (resource identifier - sagemaker-base-python-310-v1) ?

i tried , 053634841547.dkr.ecr.us-west-1.amazonaws.com/sagemaker-base-python-310-v1 , but this doesn't work.

asked 5 months ago252 views
1 Answer
0

Hi,

You can use sagemaker.image_uris.get_base_python_image_uri from SageMaker SDK API to retreive image URIs.

For python 3.10 image,

import sagemaker 
sagemaker.image_uris.get_base_python_image_uri('us-west-1', py_version='310')

That gives the following URI output,

053634841547.dkr.ecr.us-west-1.amazonaws.com/sagemaker-base-python-310:1.0

*If you find this useful and solves your question, please remember to accept anwer.

AWS
avelizf
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions