How to reduce launch time for SageMaker Notebooks?

0

I am using SageMaker Notebooks and have added a lifecycle configuration to shut it down after inactivity. However, after a period of inactivity, it takes a long time (20 minutes) to boot back up. What can I do to reduce the launch time?

I have considered creating a custom container image with pre-installed packages and dependencies but I am not sure if this would help. I also wonder if using a larger instance size would reduce launch time.

What are the strategies and best practices to reduce launch time for SageMaker Notebooks?

AWS
已提問 1 年前檢視次數 278 次
1 個回答
0

Typically lifecycle configuration scripts will timeout > 5 minutes. So if you're not seeing this timeout it could be something else that is causing the notebook to take 20 minutes to start. Check out the logs to see if you can pinpoint the issue as mentioned by another user: https://docs.aws.amazon.com/sagemaker/latest/dg/jupyter-logs.html

Instead of building a custom container image this is our published best practice to improve lifecycle configuration script time: https://aws.amazon.com/premiumsupport/knowledge-center/sagemaker-lifecycle-script-timeout/

profile pictureAWS
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南