SageMaker MLOps package for workflow orchestration and model building
Actively maintained. Last release 13 days ago. A safe choice.
pip install sagemaker-mlopsSageMaker MLOps Package
The sagemaker-mlops package provides high-level orchestration capabilities for Amazon SageMaker workflows, including pipeline definitions, step implementations, and model building utilities.
Purpose
This package sits at the top of the SageMaker SDK dependency hierarchy and orchestrates components from the Core, Train, and Serve packages. It resolves architectural violations by providing a dedicated home for workflow orchestration logic that needs to import from multiple lower-level packages.
Architecture
The SageMaker SDK follows a clean 4-package architecture:
┌─────────────────────────────────────────────────────────────┐
│ Package Architecture │
└─────────────────────────────────────────────────────────────┘
MLOps (orchestration)
↙ ↓ ↘
Train Core Serve
↘ ↓ ↙
Core
Dependency Rules:
✓ Core → nothing (foundation layer)
✓ Train → Core only
✓ Serve → Core only
✓ MLOps → Train, Serve, Core (orchestration layer)
Package Responsibilities
- sagemaker-core: Foundation primitives (entities, parameters, functions, conditions, properties)
- sagemaker-train: Training functionality (estimators, processors, tuners)
- sagemaker-serve: Serving functionality (models, predictors, endpoints)
- sagemaker-mlops: Workflow orchestration (pipelines, steps, model building)
What's in This Package
Workflow Orchestration (from Core)
The following files were moved from sagemaker-core/src/sagemaker/core/workflow/ to establish clean architectural boundaries:
Core Orchestration (2 files):
pipeline.py- Pipeline class for workflow definitionsteps.py- Base Step class and common step logic
Step Implementations (13 files):
automl_step.py- AutoML training stepsmodel_step.py- Model creation and registration stepscallback_step.py- Callback steps for custom logicclarify_check_step.py- Model bias and explainability checkscondition_step.py- Conditional execution stepsemr_step.py- EMR cluster steps