The SageMaker Distributed Model Parallel Library Overview¶
The Amazon SageMaker distributed model parallel library is a model parallelism library for training large deep learning models that were previously difficult to train due to GPU memory limitations. The library automatically and efficiently splits a model across multiple GPUs and instances and coordinates model training, allowing you to increase prediction accuracy by creating larger models with more parameters.
You can use the library to automatically partition your existing TensorFlow and PyTorch workloads across multiple GPUs with minimal code changes. The library’s API can be accessed through the Amazon SageMaker SDK.
We recommend that you use this API documentation along with the conceptual guide at SageMaker’s Distributed Model Parallel in the Amazon SageMaker developer guide. The conceptual guide includes the following topics:
The model parallel library only supports SageMaker training jobs using CUDA 11. Make sure you use the pre-built Deep Learning Containers. If you want to extend or customize your own training image, you must use a CUDA 11 base image. For more information, see Extend a Prebuilt Docker Container that Contains SageMaker’s Distributed Model Parallel Library and Create Your Own Docker Container with the SageMaker Distributed Model Parallel Library.