-
Book Overview & Buying
-
Table Of Contents
Accelerate Deep Learning Workloads with Amazon SageMaker
By :
To simplify code development and testing locally, SageMaker supports local mode. This mode allows you to run your training, inference, or data processing locally in SageMaker containers. This is particularly helpful when you want to troubleshoot your scripts before provisioning any SageMaker resources.
Local mode is supported for all SageMaker images as well as custom SageMaker-compatible images. It is implemented as part of the sagemaker Python SDK. When running your jobs in local mode, the SageMaker SDK under the hood creates a Docker Compose YAML file with your job parameters and starts a relevant container locally. The complexities of configuring a Docker runtime environment are abstracted from the user.
Local mode is supported for both CPU and GPU devices. You can run the following types of SageMaker jobs in local mode: