sagemaker-serve
SageMaker Serve package for model serving and deployment
What it is and what it does
SageMaker Serve is a Python package for deploying and serving machine learning models on Amazon SageMaker. It abstracts the complexity of model hosting by providing a unified interface to SageMaker's inference infrastructure, working alongside sagemaker-core and sagemaker-train to complete the ML lifecycle from training through production serving.
The package depends on boto3 for AWS API interaction, torch and onnxruntime for model inference, and includes testing infrastructure (pytest, tqdm, psutil) and monitoring tools (mlflow, tritonclient). It targets developers building end-to-end ML pipelines on AWS who need to move trained models into production endpoints without managing the underlying SageMaker deployment details directly.
Use it for:
- Deploy trained PyTorch or ONNX models to SageMaker endpoints for real-time inference
- Manage model serving infrastructure and endpoint lifecycle on AWS
- Integrate model serving with SageMaker training pipelines for automated MLOps workflows
- Monitor and track model performance in production using MLflow integration
- Test model serving configurations locally before deploying to SageMaker
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides model serving and deployment functionality for machine learning models on Amazon SageMaker, integrating with SageMaker's core training and inference infrastructure.
Yes, if you are building ML workflows on AWS SageMaker and need a unified serving layer. The package is actively maintained, has low install friction, carries a permissive Apache 2.0 license, and integrates with the SageMaker ecosystem. However, verify that its API and deployment model match your specific serving requirements before committing, as the fact sheet does not detail its exact interface or whether it supports your model types.
Install
sagemaker-serve on PyPI
pip
pip install sagemaker-serveuv
uv add sagemaker-servepoetry
poetry add sagemaker-serveInstalling sagemaker-serve
Before you install
Low install friction with a pure Python wheel. Active maintenance status with a release 3 days old. Depends on 14 runtime packages including sagemaker-core, sagemaker-train, boto3, and ML frameworks (torch, onnxruntime), which may require additional system dependencies or AWS credentials.
License in practice
Apache License 2.0 (permissive) allows commercial use, modification, and distribution with minimal restrictions—primarily requiring license and copyright notice preservation in derivative works.
Quickstart
pip install sagemaker-serve
from sagemaker_serve import ...
# Deploy and serve ML models on SageMaker
Requires Python 3.10 or later; AWS credentials and SageMaker access for actual deployment; torch and onnxruntime may require system-level dependencies.
Verify before relying
- Specific API surface and main classes/functions available in the package
- Whether the package supports local testing or requires live SageMaker endpoints
- Integration patterns with sagemaker-core and sagemaker-train
- Performance characteristics and scalability limits for model serving
Package facts
| License | Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for… (full text in the JSON record) (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 14 — sagemaker-core, sagemaker-train, boto3, botocore, deepdiff, mlflow, sagemaker_schema_inference_artifacts, pytest, tqdm, psutil, tritonclient, onnx, onnxruntime, torch |
| Maintenance | actively maintained — 3 days since the last release |
| First released | |
| Downloads | 1,328,127/month — #4,051 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: sagemaker_serve-1.19.0-py3-none-any.whl
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
cogCog packages machine learning models into…
permissive · top 5,000 on PyPI
model-hosting-container-standardsProvides standardized FastAPI-based handlers…
permissive · top 5,000 on PyPI
sagemakerSageMaker Python SDK is a library for training…
permissive · top 5,000 on PyPI
sagemaker-data-insightsComputes ML-relevant statistical summaries of…
unclear · top 15,000 on PyPI
sagemaker-inferenceProvides a model serving stack for deploying…
permissive · top 15,000 on PyPI
tensorflow-serving-apiProvides Python client APIs to communicate with…
permissive · top 5,000 on PyPI
trussTruss is a CLI tool for packaging ML models…
permissive · top 5,000 on PyPI
sagemaker-mlopsProvides high-level orchestration for Amazon…
permissive · top 5,000 on PyPI
sagemaker-trainTrains and deploys machine learning models on…
unclear · top 5,000 on PyPI
sagemaker-coresagemaker-core provides an object-oriented…
permissive · top 5,000 on PyPI