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.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠