The GitHub Repository cloned to the Amazon SageMaker Notebook Instance contains sample notebooks that demonstrate leveraging Managed Spot Training with various frameworks. You can view these notebooks directly through the following link: EC2 Spot Labs.
If you’re familiar with SageMaker Notebook Instances and Jupyter Lab then you can use the following steps to skip ahead and work through any example notebooks you’re interested in. However, the following sections will provide more details on these notebooks, and how to configure Amazon SageMaker to leverage Spot Instances when executing training jobs.
Logon to the AWS Console.
Browse to the Amazon SageMaker Notebook Instances Console.
Open the Notebook you’d like to run.
Execute each step in the notebook in order.