aws / amazon-sagemaker-examples

Example 📓 Jupyter notebooks that demonstrate how to build, train, and deploy machine learning models using 🧠 Amazon SageMaker.
https://sagemaker-examples.readthedocs.io
Apache License 2.0
10.15k stars 6.78k forks source link

[Content Improvement] #4786

Open ShashwatDubey99 opened 3 days ago

ShashwatDubey99 commented 3 days ago

How to update python version in amazon sagemaker studiolab ?

dhapola commented 3 days ago

SageMaker studio uses container images in jupyterlab. All the packages, versions are baked in these container images. As of this writing, latest container distribution is "sagemaker-distribution:2.1". This version uses python v3.11.10. You can select distribution of your choice from SageMaker Studio->Jupyterlab->Select your space->Image dropdown

image

List of available distributions are published here: https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-distribution.html

In case you want to provide custom packages/versions to your users in sagemaker domain, you can create your own container image and make it available for your users. Detailed instructions are provided here: https://docs.aws.amazon.com/sagemaker/latest/dg/studio-updated-jl-provide-users-with-images.html