SageMaker Studio Lab Notebook Not Running During Scheduled Job

0

I have set a notebook up on SageMaker Studio Lab to run on a schedule once a day during the week. When I checked the notebook jobs, I saw that the notebook did not run during the scheduled time. I suspect this is because I stopped the runtime to ensure I do not go over my allotted time for the free version of the product, but I am unable to confirm this anywhere.

I began to look into using Lambda to execute the notebook using StopNotebookInstance and StartNotebookInstance but only saw examples for SageMaker Studio and not Lab.

  • First, can SageMaker Studio Lab notebooks run on a schedule if runtime is not started?
  • Next, can Lambda access SageMaker Studio Lab notebooks using endpoints if runtime is not started?
  • Last, if neither of the options above is possible, how can I start and stop SageMaker Studio Lab's runtime on a schedule?

Thank you in advance for any insight and support you can provide.

1回答
0

Hi,

This blog post is the exact solution to what you want to achieve: https://aws.amazon.com/blogs/machine-learning/run-notebooks-as-batch-jobs-in-amazon-sagemaker-studio-lab/

Please, follow it to implement your own scheduled StudioLab notebook.

Best,

Didier

profile pictureAWS
エキスパート
回答済み 4ヶ月前
  • Hi,

    Thank you for the solution you provided. I have implemented exactly what is prescribed in the blog, but my notebooks still do not run when scheduled if my runtime is not started from the SageMaker Studio Lab home page. I checked on the AWS console to see if any processing was logged, but there is nothing in Studio Lab or the console. I am stuck, especially because the free version doesn't have tech support.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ