-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy path__init__.py
More file actions
49 lines (39 loc) · 1.54 KB
/
__init__.py
File metadata and controls
49 lines (39 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
"""SageMaker MLOps package for workflow orchestration and model building.
This package provides high-level orchestration capabilities for SageMaker workflows,
including pipeline definitions, step implementations, and model building utilities.
The MLOps package sits at the top of the dependency hierarchy and can import from:
- sagemaker.core (foundation primitives)
- sagemaker.train (training functionality)
- sagemaker.serve (serving functionality)
Key components:
- workflow: Pipeline and step orchestration
- model_builder: Model building and orchestration
- feature_store: Feature Store management (FeatureGroup, FeatureStore, ingestion, etc.)
Example usage:
from sagemaker.mlops import ModelBuilder
from sagemaker.mlops.workflow import Pipeline, TrainingStep
# Feature Store
from sagemaker.mlops.feature_store import (
FeatureGroup,
FeatureStore,
FeatureMetadata,
create_dataset,
ingest_dataframe,
create_athena_query,
)
"""
from __future__ import absolute_import
__version__ = "0.1.0"
# Model building
from sagemaker.serve.model_builder import ModelBuilder
# Workflow submodule is available via:
# from sagemaker.mlops import workflow
# from sagemaker.mlops.workflow import Pipeline, TrainingStep, etc.
# Feature Store submodule is available via:
# from sagemaker.mlops import feature_store
# from sagemaker.mlops.feature_store import FeatureGroup, FeatureStore, create_dataset, etc.
__all__ = [
"ModelBuilder",
"workflow", # Submodule
"feature_store", # Submodule
]