Open source toolkit for helping create serving containers to run on Amazon SageMaker.
Archived. The repository is read-only: no more fixes or releases will come.
Consider insteadmodel-hosting-container-standardsPythie’s Index: 662.7M downloads/moCompare →
pip install sagemaker-inference![]()
SageMaker Inference Toolkit
Serve machine learning models within a Docker container using Amazon SageMaker.
:books: Background
Amazon SageMaker is a fully managed service for data science and machine learning (ML) workflows. You can use Amazon SageMaker to simplify the process of building, training, and deploying ML models.
Once you have a trained model, you can include it in a Docker container that runs your inference code. A container provides an effectively isolated environment, ensuring a consistent runtime regardless of where the container is deployed. Containerizing your model and code enables fast and reliable deployment of your model.
The SageMaker Inference Toolkit implements a model serving stack and can be easily added to any Docker container, making it deployable to SageMaker. This library's serving stack is built on Multi Model Server, and it can serve your own models or those you trained on SageMaker using machine learning frameworks with native SageMaker support. If you use a prebuilt SageMaker Docker image for inference, this library may already be included.
For more information, see the Amazon SageMaker Developer Guide sections on building your own container with Multi Model Server and using your own models.