skillfed

sagemaker-train

Open source library for training and deploying models on Amazon SageMaker.

sagemaker-train v1.19.0 1.3M downloads/30d#4,069 on PyPI2,259
License unclear Active released

What it is and what it does

sagemaker-train is the AWS SageMaker Python SDK's training module, a library for programmatically training and deploying machine learning models on Amazon's managed SageMaker service. It abstracts the complexity of distributed training, GPU provisioning, and model hosting by providing a Python interface to SageMaker's capabilities. The package supports training with popular frameworks like Apache MXNet and TensorFlow, Amazon's optimized built-in algorithms, and custom algorithms packaged in SageMaker-compatible Docker containers.

The library is actively maintained, tested on Python 3.10–3.12, and depends on a stack of 12 runtime packages including sagemaker-core, mlflow, pydantic, and paramiko. It includes telemetry by default (opt-out available via configuration) and requires AWS credentials and appropriate IAM permissions to function. The package is in Alpha status and is designed for developers building ML workflows on AWS infrastructure.

Use it for:

  • Train deep learning models using TensorFlow or Apache MXNet on SageMaker's managed infrastructure without managing compute directly.
  • Deploy trained models to SageMaker endpoints for real-time inference or batch predictions.
  • Use Amazon's pre-built, optimized algorithms for common ML tasks like classification or regression.
  • Integrate custom training code packaged in Docker containers with SageMaker's distributed training and monitoring.
  • Track and manage ML experiments using MLflow integration for reproducibility and model comparison.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Trains and deploys machine learning models on Amazon SageMaker using popular frameworks like Apache MXNet, TensorFlow, and Amazon's built-in algorithms, or custom Docker containers.

Yes, if you are building ML workflows on AWS and want a managed training and deployment platform. The package is actively maintained, has low install friction, and integrates well with SageMaker's ecosystem. However, verify the license terms (Apache 2.0 is mentioned in the description but not confirmed in metadata) and ensure your AWS account has the necessary IAM permissions before relying on it. Not suitable if you need to train models outside AWS or prefer a cloud-agnostic ML framework.

Install

sagemaker-train on PyPI

pip

pip install sagemaker-train

uv

uv add sagemaker-train

poetry

poetry add sagemaker-train

Installing sagemaker-train

Before you install

Low install friction with a pure-Python wheel. Active maintenance with a recent release (3 days old) and steady repository activity. Requires Python 3.10 or later and depends on 12 runtime packages including sagemaker-core, mlflow, and pydantic.

License in practice

License treatment is unclear—the description mentions Apache 2.0 licensing, but the fact sheet contains no SPDX identifier or confirmed license metadata. Verify the actual license terms before relying on this package in a commercial or restricted-license context.

Quickstart

pip install sagemaker-train

from sagemaker_train import ...
# See https://sagemaker.readthedocs.io for detailed usage examples

Requires Python 3.10, 3.11, or 3.12. AWS credentials and appropriate IAM permissions are needed to interact with SageMaker services.

Verify before relying

  • Whether the Apache 2.0 license mentioned in the description is the actual applied license given the unclear license_treatment in metadata.
  • Specific API surface and which frameworks (MXNet, TensorFlow, PyTorch, HuggingFace) are fully supported in this 1.19.0 release.
  • Whether telemetry can be fully disabled and what data is collected before opt-out configuration is applied.

Package facts

License not declared (unclear)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 12 — sagemaker-core, graphene, typing_extensions, tblib, PyYAML, paramiko, jinja2, sagemaker-mlflow, mlflow, nest_asyncio, requests, pydantic
Maintenance actively maintained — 3 days since the last release
Last repo commit
First released
Downloads 1,316,222/month — #4,069 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: sagemaker_train-1.19.0-py3-none-any.whl

Keywords: AI, AWS, Amazon, ML, MXNet, Tensorflow, PyTorch, HuggingFace

Development Status :: 3 - AlphaIntended Audience :: DevelopersNatural Language :: EnglishProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12

Tags

sagemaker model trainingaws ml deployment sdktensorflow training on sagemakeramazon sagemaker pythondistributed ml training awssagemaker model hostingmxnet sagemaker training
aws-sagemakerml-trainingdistributed-computing

More Artificial Intelligence packages

litellm

LiteLLM provides a unified Python interface to…

permissive · top 100 on PyPI

huggingface-hub

Client library and CLI tool for downloading,…

permissive · top 100 on PyPI

langchain

LangChain provides a framework for building…

permissive · top 1,000 on PyPI

hf-xet

hf-xet provides chunk-based deduplication and…

permissive · top 1,000 on PyPI

tokenizers

Tokenizers converts raw text into token…

permissive · top 1,000 on PyPI

transformers

Transformers provides a unified framework for…

permissive · top 1,000 on PyPI

sagemaker

SageMaker Python SDK is a library for training…

permissive · top 5,000 on PyPI

sagemaker-experiments

Tracks machine learning experiments, trials,…

permissive · top 15,000 on PyPI

sagemaker-mlflow

Integrates MLflow with Amazon SageMaker by…

permissive · top 5,000 on PyPI

sagemaker-scikit-learn-extension

Extends scikit-learn with additional estimators…

permissive · top 15,000 on PyPI

sagemaker-serve

Provides model serving and deployment…

permissive · top 5,000 on PyPI

sagemaker-core

sagemaker-core provides an object-oriented…

permissive · top 5,000 on PyPI

sagemaker-datawrangler

Provides a Python library for Amazon SageMaker…

unclear · top 15,000 on PyPI

smdebug-rulesconfig

Provides preconfigured rule definitions and…

permissive · top 5,000 on PyPI

sagemaker-data-insights

Computes ML-relevant statistical summaries of…

unclear · top 15,000 on PyPI

stepfunctions

Builds and orchestrates machine learning…

permissive · top 15,000 on PyPI