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.18k stars 6.79k forks source link

Update to JupyterLab 2.0 #1071

Closed tibdex closed 2 years ago

tibdex commented 4 years ago

The JupyterLab team released version 2.0, do you know when it will become the default version on SageMaker (and SageMaker Studio)?

Thanks!

samuelsinayoko commented 4 years ago

Any update on this??

tibdex commented 4 years ago

JupyterLab 3 is right around the corner.

cornhundred commented 4 years ago

@jasongrout @jtpio would you all happen to know if there are any examples if setting up Jupyter lab 2.0 or 3.0 on Sagemaker using lifecycle management?

jtpio commented 4 years ago

@cornhundred I haven't used sagemaker for a very long time so can't really say if it's possible to use lifecycle management for this.

cornhundred commented 4 years ago

thanks for the feedback @jtpio :)

naterush commented 4 years ago

Any update on if upgrading to JupyterLab 2.0 is possible in sagemaker? Thanks for any info!

geophpherie commented 3 years ago

Yes would love to see 2 or 3 on Sagemaker soon!

karrtikiyerkcm commented 3 years ago

Is there a way to manually upgrade it to 3.0 via say onstart script configured in lifecycle of notebook instance? Does that work?

dsaid-xj commented 3 years ago

you can't manually upgrade it to 3.0 on sagemaker according to AWS support. I've tried nonetheless, but it doesn't work.

quetil commented 3 years ago

Hi, did someone manage to update manually jupyterlab ? Thanks again

chrisranderson commented 3 years ago

I've tried pip install --upgrade jupyterlab. It installs, but then when I try to access JupyterLab from the AWS console, it fails. Restarting my instance reverts to the old version.

I also tried installing ufw and running ufw allow 8888 and manually starting JupyterLab, but no luck there.

chrisranderson commented 2 years ago

According to https://pypi.org/project/safety/, the Notebook Instance versions of notebook and jupyterlab have known security vulnerabilities: image

jkroll-aws commented 2 years ago

As of June 2022, JupyterLab 3 is available on SageMaker notebook instances and Studio.

https://aws.amazon.com/blogs/machine-learning/amazon-sagemaker-studio-and-sagemaker-notebook-instance-now-come-with-jupyterlab-3-notebooks-to-boost-developer-productivity/