sagemaker 3.0__tar.gz → 3.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sagemaker
3
- Version: 3.0
3
+ Version: 3.1.0
4
4
  Summary: Open source library for training and deploying models on Amazon SageMaker.
5
5
  Author: Amazon Web Services
6
6
  Project-URL: Homepage, https://github.com/aws/sagemaker-python-sdk
@@ -17,7 +17,10 @@ Classifier: Programming Language :: Python :: 3.12
17
17
  Requires-Python: >=3.9
18
18
  Description-Content-Type: text/x-rst
19
19
  License-File: LICENSE
20
- Requires-Dist: sagemaker-core<3.0.0,>=2.0.0
20
+ Requires-Dist: sagemaker-core<3.0.0,>=2.1.0
21
+ Requires-Dist: sagemaker-train<2.0.0,>=1.1.0
22
+ Requires-Dist: sagemaker-serve<2.0.0,>=1.1.0
23
+ Requires-Dist: sagemaker-mlops<2.0.0,>=1.1.0
21
24
  Provides-Extra: train
22
25
  Requires-Dist: sagemaker-train; extra == "train"
23
26
  Provides-Extra: serve
@@ -42,10 +45,6 @@ SageMaker Python SDK
42
45
  :target: https://pypi.python.org/pypi/sagemaker
43
46
  :alt: Latest Version
44
47
 
45
- .. image:: https://img.shields.io/conda/vn/conda-forge/sagemaker-python-sdk.svg
46
- :target: https://anaconda.org/conda-forge/sagemaker-python-sdk
47
- :alt: Conda-Forge Version
48
-
49
48
  .. image:: https://img.shields.io/pypi/pyversions/sagemaker.svg
50
49
  :target: https://pypi.python.org/pypi/sagemaker
51
50
  :alt: Supported Python Versions
@@ -64,7 +63,7 @@ SageMaker Python SDK
64
63
 
65
64
  SageMaker Python SDK is an open source library for training and deploying machine learning models on Amazon SageMaker.
66
65
 
67
- With the SDK, you can train and deploy models using popular deep learning frameworks **Apache MXNet** and **TensorFlow**.
66
+ With the SDK, you can train and deploy models using popular deep learning frameworks **Apache MXNet** and **PyTorch**.
68
67
  You can also train and deploy models with **Amazon algorithms**,
69
68
  which are scalable implementations of core machine learning algorithms that are optimized for SageMaker and GPU training.
70
69
  If you have **your own algorithms** built into SageMaker compatible Docker containers, you can train and host models using these as well.
@@ -81,34 +80,155 @@ Version 3.0.0 represents a significant milestone in our product's evolution. Thi
81
80
  **Important: Please review these breaking changes before upgrading.**
82
81
 
83
82
  * Older interfaces such as Estimator, Model, Predictor and all their subclasses will not be supported in V3.
84
- * Please review documenation of interfaces for parameters support (especially ModelBuilder) in our V3 examples folder.
83
+ * Please see our `V3 examples folder <https://github.com/aws/sagemaker-python-sdk/tree/master/v3-examples>`__ for example notebooks and usage patterns.
85
84
 
86
- SageMaker V2 Examples
85
+
86
+ Migrating to V3
87
+ ----------------
88
+
89
+ **Upgrading to 3.x**
90
+
91
+ To upgrade to the latest version of SageMaker Python SDK 3.x:
92
+
93
+ ::
94
+
95
+ pip install --upgrade sagemaker
96
+
97
+ If you prefer to downgrade to the 2.x version:
98
+
99
+ ::
100
+
101
+ pip install sagemaker==2.*
102
+
103
+ See `SageMaker V2 Examples <#sagemaker-v2-examples>`__ for V2 documentation and examples.
104
+
105
+ **Key Benefits of 3.x**
106
+
107
+ * **Modular Architecture**: Separate PyPI packages for core, training, and serving capabilities
108
+
109
+ * `sagemaker-core <https://pypi.org/project/sagemaker-core/>`__
110
+ * `sagemaker-train <https://pypi.org/project/sagemaker-train/>`__
111
+ * `sagemaker-serve <https://pypi.org/project/sagemaker-serve/>`__
112
+ * `sagemaker-mlops <https://pypi.org/project/sagemaker-mlops/>`__
113
+
114
+ * **Unified Training & Inference**: Single classes (ModelTrainer, ModelBuilder) replace multiple framework-specific classes
115
+ * **Object-Oriented API**: Structured interface with auto-generated configs aligned with AWS APIs
116
+ * **Simplified Workflows**: Reduced boilerplate and more intuitive interfaces
117
+
118
+ **Training Experience**
119
+
120
+ V3 introduces the unified ModelTrainer class to reduce complexity of initial setup and deployment for model training. This replaces the V2 Estimator class and framework-specific classes (PyTorchEstimator, SKLearnEstimator, etc.).
121
+
122
+ This example shows how to train a model using a custom training container with training data from S3.
123
+
124
+ *SageMaker Python SDK 2.x:*
125
+
126
+ .. code:: python
127
+
128
+ from sagemaker.estimator import Estimator
129
+ estimator = Estimator(
130
+ image_uri="my-training-image",
131
+ role="arn:aws:iam::123456789012:role/SageMakerRole",
132
+ instance_count=1,
133
+ instance_type="ml.m5.xlarge",
134
+ output_path="s3://my-bucket/output"
135
+ )
136
+ estimator.fit({"training": "s3://my-bucket/train"})
137
+
138
+ *SageMaker Python SDK 3.x:*
139
+
140
+ .. code:: python
141
+
142
+ from sagemaker.train import ModelTrainer
143
+ from sagemaker.train.configs import InputData
144
+
145
+ trainer = ModelTrainer(
146
+ training_image="my-training-image",
147
+ role="arn:aws:iam::123456789012:role/SageMakerRole"
148
+ )
149
+
150
+ train_data = InputData(
151
+ channel_name="training",
152
+ data_source="s3://my-bucket/train"
153
+ )
154
+
155
+ trainer.train(input_data_config=[train_data])
156
+
157
+ **See more examples:** `SageMaker V3 Examples <#sagemaker-v3-examples>`__
158
+
159
+ **Inference Experience**
160
+
161
+ V3 introduces the unified ModelBuilder class for model deployment and inference. This replaces the V2 Model class and framework-specific classes (PyTorchModel, TensorFlowModel, SKLearnModel, XGBoostModel, etc.).
162
+
163
+ This example shows how to deploy a trained model for real-time inference.
164
+
165
+ *SageMaker Python SDK 2.x:*
166
+
167
+ .. code:: python
168
+
169
+ from sagemaker.model import Model
170
+ from sagemaker.predictor import Predictor
171
+ model = Model(
172
+ image_uri="my-inference-image",
173
+ model_data="s3://my-bucket/model.tar.gz",
174
+ role="arn:aws:iam::123456789012:role/SageMakerRole"
175
+ )
176
+ predictor = model.deploy(
177
+ initial_instance_count=1,
178
+ instance_type="ml.m5.xlarge"
179
+ )
180
+ result = predictor.predict(data)
181
+
182
+ *SageMaker Python SDK 3.x:*
183
+
184
+ .. code:: python
185
+
186
+ from sagemaker.serve import ModelBuilder
187
+ model_builder = ModelBuilder(
188
+ model="my-model",
189
+ model_path="s3://my-bucket/model.tar.gz"
190
+ )
191
+ endpoint = model_builder.build()
192
+ result = endpoint.invoke(...)
193
+
194
+ **See more examples:** `SageMaker V3 Examples <#sagemaker-v3-examples>`__
195
+
196
+ SageMaker V3 Examples
87
197
  ---------------------
88
198
 
89
- #. `Using the SageMaker Python SDK <https://sagemaker.readthedocs.io/en/stable/overview.html>`__
90
- #. `Using MXNet <https://sagemaker.readthedocs.io/en/stable/using_mxnet.html>`__
91
- #. `Using TensorFlow <https://sagemaker.readthedocs.io/en/stable/using_tf.html>`__
92
- #. `Using Chainer <https://sagemaker.readthedocs.io/en/stable/using_chainer.html>`__
93
- #. `Using PyTorch <https://sagemaker.readthedocs.io/en/stable/using_pytorch.html>`__
94
- #. `Using Scikit-learn <https://sagemaker.readthedocs.io/en/stable/using_sklearn.html>`__
95
- #. `Using XGBoost <https://sagemaker.readthedocs.io/en/stable/using_xgboost.html>`__
96
- #. `SageMaker Reinforcement Learning Estimators <https://sagemaker.readthedocs.io/en/stable/using_rl.html>`__
97
- #. `SageMaker SparkML Serving <#sagemaker-sparkml-serving>`__
98
- #. `Amazon SageMaker Built-in Algorithm Estimators <src/sagemaker/amazon/README.rst>`__
99
- #. `Using SageMaker AlgorithmEstimators <https://sagemaker.readthedocs.io/en/stable/overview.html#using-sagemaker-algorithmestimators>`__
100
- #. `Consuming SageMaker Model Packages <https://sagemaker.readthedocs.io/en/stable/overview.html#consuming-sagemaker-model-packages>`__
101
- #. `BYO Docker Containers with SageMaker Estimators <https://sagemaker.readthedocs.io/en/stable/overview.html#byo-docker-containers-with-sagemaker-estimators>`__
102
- #. `SageMaker Automatic Model Tuning <https://sagemaker.readthedocs.io/en/stable/overview.html#sagemaker-automatic-model-tuning>`__
103
- #. `SageMaker Batch Transform <https://sagemaker.readthedocs.io/en/stable/overview.html#sagemaker-batch-transform>`__
104
- #. `Secure Training and Inference with VPC <https://sagemaker.readthedocs.io/en/stable/overview.html#secure-training-and-inference-with-vpc>`__
105
- #. `BYO Model <https://sagemaker.readthedocs.io/en/stable/overview.html#byo-model>`__
106
- #. `Inference Pipelines <https://sagemaker.readthedocs.io/en/stable/overview.html#inference-pipelines>`__
107
- #. `Amazon SageMaker Operators in Apache Airflow <https://sagemaker.readthedocs.io/en/stable/using_workflow.html>`__
108
- #. `SageMaker Autopilot <src/sagemaker/automl/README.rst>`__
109
- #. `Model Monitoring <https://sagemaker.readthedocs.io/en/stable/amazon_sagemaker_model_monitoring.html>`__
110
- #. `SageMaker Debugger <https://sagemaker.readthedocs.io/en/stable/amazon_sagemaker_debugger.html>`__
111
- #. `SageMaker Processing <https://sagemaker.readthedocs.io/en/stable/amazon_sagemaker_processing.html>`__
199
+ **Training Examples**
200
+
201
+ #. `Custom Distributed Training Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/training-examples/custom-distributed-training-example.ipynb>`__
202
+ #. `Distributed Local Training Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/training-examples/distributed-local-training-example.ipynb>`__
203
+ #. `Hyperparameter Training Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/training-examples/hyperparameter-training-example.ipynb>`__
204
+ #. `JumpStart Training Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/training-examples/jumpstart-training-example.ipynb>`__
205
+ #. `Local Training Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/training-examples/local-training-example.ipynb>`__
206
+
207
+ **Inference Examples**
208
+
209
+ #. `HuggingFace Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/inference-examples/huggingface-example.ipynb>`__
210
+ #. `In-Process Mode Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/inference-examples/in-process-mode-example.ipynb>`__
211
+ #. `Inference Spec Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/inference-examples/inference-spec-example.ipynb>`__
212
+ #. `JumpStart E2E Training Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/inference-examples/jumpstart-e2e-training-example.ipynb>`__
213
+ #. `JumpStart Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/inference-examples/jumpstart-example.ipynb>`__
214
+ #. `Local Mode Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/inference-examples/local-mode-example.ipynb>`__
215
+ #. `Optimize Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/inference-examples/optimize-example.ipynb>`__
216
+ #. `Train Inference E2E Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/inference-examples/train-inference-e2e-example.ipynb>`__
217
+
218
+ **ML Ops Examples**
219
+
220
+ #. `V3 Hyperparameter Tuning Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/ml-ops-examples/v3-hyperparameter-tuning-example/v3-hyperparameter-tuning-example.ipynb>`__
221
+ #. `V3 Hyperparameter Tuning Pipeline <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/ml-ops-examples/v3-hyperparameter-tuning-example/v3-hyperparameter-tuning-pipeline.ipynb>`__
222
+ #. `V3 Model Registry Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/ml-ops-examples/v3-model-registry-example/v3-model-registry-example.ipynb>`__
223
+ #. `V3 PyTorch Processing Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/ml-ops-examples/v3-processing-job-pytorch/v3-pytorch-processing-example.ipynb>`__
224
+ #. `V3 Pipeline Train Create Registry <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/ml-ops-examples/v3-pipeline-train-create-registry.ipynb>`__
225
+ #. `V3 Processing Job Sklearn <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/ml-ops-examples/v3-processing-job-sklearn.ipynb>`__
226
+ #. `V3 SageMaker Clarify <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/ml-ops-examples/v3-sagemaker-clarify.ipynb>`__
227
+ #. `V3 Transform Job Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/ml-ops-examples/v3-transform-job-example.ipynb>`__
228
+
229
+ **Looking for V2 Examples?** See `SageMaker V2 Examples <#sagemaker-v2-examples>`__ below.
230
+
231
+
112
232
 
113
233
 
114
234
  Installing the SageMaker Python SDK
@@ -297,3 +417,31 @@ For more information about the different ``content-type`` and ``Accept`` formats
297
417
  ``schema`` that SageMaker SparkML Serving recognizes, please see `SageMaker SparkML Serving Container`_.
298
418
 
299
419
  .. _SageMaker SparkML Serving Container: https://github.com/aws/sagemaker-sparkml-serving-container
420
+
421
+
422
+ SageMaker V2 Examples
423
+ ---------------------
424
+
425
+ #. `Using the SageMaker Python SDK <https://sagemaker.readthedocs.io/en/stable/overview.html>`__
426
+ #. `Using MXNet <https://sagemaker.readthedocs.io/en/stable/using_mxnet.html>`__
427
+ #. `Using TensorFlow <https://sagemaker.readthedocs.io/en/stable/using_tf.html>`__
428
+ #. `Using Chainer <https://sagemaker.readthedocs.io/en/stable/using_chainer.html>`__
429
+ #. `Using PyTorch <https://sagemaker.readthedocs.io/en/stable/using_pytorch.html>`__
430
+ #. `Using Scikit-learn <https://sagemaker.readthedocs.io/en/stable/using_sklearn.html>`__
431
+ #. `Using XGBoost <https://sagemaker.readthedocs.io/en/stable/using_xgboost.html>`__
432
+ #. `SageMaker Reinforcement Learning Estimators <https://sagemaker.readthedocs.io/en/stable/using_rl.html>`__
433
+ #. `SageMaker SparkML Serving <#sagemaker-sparkml-serving>`__
434
+ #. `Amazon SageMaker Built-in Algorithm Estimators <src/sagemaker/amazon/README.rst>`__
435
+ #. `Using SageMaker AlgorithmEstimators <https://sagemaker.readthedocs.io/en/stable/overview.html#using-sagemaker-algorithmestimators>`__
436
+ #. `Consuming SageMaker Model Packages <https://sagemaker.readthedocs.io/en/stable/overview.html#consuming-sagemaker-model-packages>`__
437
+ #. `BYO Docker Containers with SageMaker Estimators <https://sagemaker.readthedocs.io/en/stable/overview.html#byo-docker-containers-with-sagemaker-estimators>`__
438
+ #. `SageMaker Automatic Model Tuning <https://sagemaker.readthedocs.io/en/stable/overview.html#sagemaker-automatic-model-tuning>`__
439
+ #. `SageMaker Batch Transform <https://sagemaker.readthedocs.io/en/stable/overview.html#sagemaker-batch-transform>`__
440
+ #. `Secure Training and Inference with VPC <https://sagemaker.readthedocs.io/en/stable/overview.html#secure-training-and-inference-with-vpc>`__
441
+ #. `BYO Model <https://sagemaker.readthedocs.io/en/stable/overview.html#byo-model>`__
442
+ #. `Inference Pipelines <https://sagemaker.readthedocs.io/en/stable/overview.html#inference-pipelines>`__
443
+ #. `Amazon SageMaker Operators in Apache Airflow <https://sagemaker.readthedocs.io/en/stable/using_workflow.html>`__
444
+ #. `SageMaker Autopilot <src/sagemaker/automl/README.rst>`__
445
+ #. `Model Monitoring <https://sagemaker.readthedocs.io/en/stable/amazon_sagemaker_model_monitoring.html>`__
446
+ #. `SageMaker Debugger <https://sagemaker.readthedocs.io/en/stable/amazon_sagemaker_debugger.html>`__
447
+ #. `SageMaker Processing <https://sagemaker.readthedocs.io/en/stable/amazon_sagemaker_processing.html>`__
@@ -10,10 +10,6 @@ SageMaker Python SDK
10
10
  :target: https://pypi.python.org/pypi/sagemaker
11
11
  :alt: Latest Version
12
12
 
13
- .. image:: https://img.shields.io/conda/vn/conda-forge/sagemaker-python-sdk.svg
14
- :target: https://anaconda.org/conda-forge/sagemaker-python-sdk
15
- :alt: Conda-Forge Version
16
-
17
13
  .. image:: https://img.shields.io/pypi/pyversions/sagemaker.svg
18
14
  :target: https://pypi.python.org/pypi/sagemaker
19
15
  :alt: Supported Python Versions
@@ -32,7 +28,7 @@ SageMaker Python SDK
32
28
 
33
29
  SageMaker Python SDK is an open source library for training and deploying machine learning models on Amazon SageMaker.
34
30
 
35
- With the SDK, you can train and deploy models using popular deep learning frameworks **Apache MXNet** and **TensorFlow**.
31
+ With the SDK, you can train and deploy models using popular deep learning frameworks **Apache MXNet** and **PyTorch**.
36
32
  You can also train and deploy models with **Amazon algorithms**,
37
33
  which are scalable implementations of core machine learning algorithms that are optimized for SageMaker and GPU training.
38
34
  If you have **your own algorithms** built into SageMaker compatible Docker containers, you can train and host models using these as well.
@@ -49,34 +45,155 @@ Version 3.0.0 represents a significant milestone in our product's evolution. Thi
49
45
  **Important: Please review these breaking changes before upgrading.**
50
46
 
51
47
  * Older interfaces such as Estimator, Model, Predictor and all their subclasses will not be supported in V3.
52
- * Please review documenation of interfaces for parameters support (especially ModelBuilder) in our V3 examples folder.
48
+ * Please see our `V3 examples folder <https://github.com/aws/sagemaker-python-sdk/tree/master/v3-examples>`__ for example notebooks and usage patterns.
53
49
 
54
- SageMaker V2 Examples
50
+
51
+ Migrating to V3
52
+ ----------------
53
+
54
+ **Upgrading to 3.x**
55
+
56
+ To upgrade to the latest version of SageMaker Python SDK 3.x:
57
+
58
+ ::
59
+
60
+ pip install --upgrade sagemaker
61
+
62
+ If you prefer to downgrade to the 2.x version:
63
+
64
+ ::
65
+
66
+ pip install sagemaker==2.*
67
+
68
+ See `SageMaker V2 Examples <#sagemaker-v2-examples>`__ for V2 documentation and examples.
69
+
70
+ **Key Benefits of 3.x**
71
+
72
+ * **Modular Architecture**: Separate PyPI packages for core, training, and serving capabilities
73
+
74
+ * `sagemaker-core <https://pypi.org/project/sagemaker-core/>`__
75
+ * `sagemaker-train <https://pypi.org/project/sagemaker-train/>`__
76
+ * `sagemaker-serve <https://pypi.org/project/sagemaker-serve/>`__
77
+ * `sagemaker-mlops <https://pypi.org/project/sagemaker-mlops/>`__
78
+
79
+ * **Unified Training & Inference**: Single classes (ModelTrainer, ModelBuilder) replace multiple framework-specific classes
80
+ * **Object-Oriented API**: Structured interface with auto-generated configs aligned with AWS APIs
81
+ * **Simplified Workflows**: Reduced boilerplate and more intuitive interfaces
82
+
83
+ **Training Experience**
84
+
85
+ V3 introduces the unified ModelTrainer class to reduce complexity of initial setup and deployment for model training. This replaces the V2 Estimator class and framework-specific classes (PyTorchEstimator, SKLearnEstimator, etc.).
86
+
87
+ This example shows how to train a model using a custom training container with training data from S3.
88
+
89
+ *SageMaker Python SDK 2.x:*
90
+
91
+ .. code:: python
92
+
93
+ from sagemaker.estimator import Estimator
94
+ estimator = Estimator(
95
+ image_uri="my-training-image",
96
+ role="arn:aws:iam::123456789012:role/SageMakerRole",
97
+ instance_count=1,
98
+ instance_type="ml.m5.xlarge",
99
+ output_path="s3://my-bucket/output"
100
+ )
101
+ estimator.fit({"training": "s3://my-bucket/train"})
102
+
103
+ *SageMaker Python SDK 3.x:*
104
+
105
+ .. code:: python
106
+
107
+ from sagemaker.train import ModelTrainer
108
+ from sagemaker.train.configs import InputData
109
+
110
+ trainer = ModelTrainer(
111
+ training_image="my-training-image",
112
+ role="arn:aws:iam::123456789012:role/SageMakerRole"
113
+ )
114
+
115
+ train_data = InputData(
116
+ channel_name="training",
117
+ data_source="s3://my-bucket/train"
118
+ )
119
+
120
+ trainer.train(input_data_config=[train_data])
121
+
122
+ **See more examples:** `SageMaker V3 Examples <#sagemaker-v3-examples>`__
123
+
124
+ **Inference Experience**
125
+
126
+ V3 introduces the unified ModelBuilder class for model deployment and inference. This replaces the V2 Model class and framework-specific classes (PyTorchModel, TensorFlowModel, SKLearnModel, XGBoostModel, etc.).
127
+
128
+ This example shows how to deploy a trained model for real-time inference.
129
+
130
+ *SageMaker Python SDK 2.x:*
131
+
132
+ .. code:: python
133
+
134
+ from sagemaker.model import Model
135
+ from sagemaker.predictor import Predictor
136
+ model = Model(
137
+ image_uri="my-inference-image",
138
+ model_data="s3://my-bucket/model.tar.gz",
139
+ role="arn:aws:iam::123456789012:role/SageMakerRole"
140
+ )
141
+ predictor = model.deploy(
142
+ initial_instance_count=1,
143
+ instance_type="ml.m5.xlarge"
144
+ )
145
+ result = predictor.predict(data)
146
+
147
+ *SageMaker Python SDK 3.x:*
148
+
149
+ .. code:: python
150
+
151
+ from sagemaker.serve import ModelBuilder
152
+ model_builder = ModelBuilder(
153
+ model="my-model",
154
+ model_path="s3://my-bucket/model.tar.gz"
155
+ )
156
+ endpoint = model_builder.build()
157
+ result = endpoint.invoke(...)
158
+
159
+ **See more examples:** `SageMaker V3 Examples <#sagemaker-v3-examples>`__
160
+
161
+ SageMaker V3 Examples
55
162
  ---------------------
56
163
 
57
- #. `Using the SageMaker Python SDK <https://sagemaker.readthedocs.io/en/stable/overview.html>`__
58
- #. `Using MXNet <https://sagemaker.readthedocs.io/en/stable/using_mxnet.html>`__
59
- #. `Using TensorFlow <https://sagemaker.readthedocs.io/en/stable/using_tf.html>`__
60
- #. `Using Chainer <https://sagemaker.readthedocs.io/en/stable/using_chainer.html>`__
61
- #. `Using PyTorch <https://sagemaker.readthedocs.io/en/stable/using_pytorch.html>`__
62
- #. `Using Scikit-learn <https://sagemaker.readthedocs.io/en/stable/using_sklearn.html>`__
63
- #. `Using XGBoost <https://sagemaker.readthedocs.io/en/stable/using_xgboost.html>`__
64
- #. `SageMaker Reinforcement Learning Estimators <https://sagemaker.readthedocs.io/en/stable/using_rl.html>`__
65
- #. `SageMaker SparkML Serving <#sagemaker-sparkml-serving>`__
66
- #. `Amazon SageMaker Built-in Algorithm Estimators <src/sagemaker/amazon/README.rst>`__
67
- #. `Using SageMaker AlgorithmEstimators <https://sagemaker.readthedocs.io/en/stable/overview.html#using-sagemaker-algorithmestimators>`__
68
- #. `Consuming SageMaker Model Packages <https://sagemaker.readthedocs.io/en/stable/overview.html#consuming-sagemaker-model-packages>`__
69
- #. `BYO Docker Containers with SageMaker Estimators <https://sagemaker.readthedocs.io/en/stable/overview.html#byo-docker-containers-with-sagemaker-estimators>`__
70
- #. `SageMaker Automatic Model Tuning <https://sagemaker.readthedocs.io/en/stable/overview.html#sagemaker-automatic-model-tuning>`__
71
- #. `SageMaker Batch Transform <https://sagemaker.readthedocs.io/en/stable/overview.html#sagemaker-batch-transform>`__
72
- #. `Secure Training and Inference with VPC <https://sagemaker.readthedocs.io/en/stable/overview.html#secure-training-and-inference-with-vpc>`__
73
- #. `BYO Model <https://sagemaker.readthedocs.io/en/stable/overview.html#byo-model>`__
74
- #. `Inference Pipelines <https://sagemaker.readthedocs.io/en/stable/overview.html#inference-pipelines>`__
75
- #. `Amazon SageMaker Operators in Apache Airflow <https://sagemaker.readthedocs.io/en/stable/using_workflow.html>`__
76
- #. `SageMaker Autopilot <src/sagemaker/automl/README.rst>`__
77
- #. `Model Monitoring <https://sagemaker.readthedocs.io/en/stable/amazon_sagemaker_model_monitoring.html>`__
78
- #. `SageMaker Debugger <https://sagemaker.readthedocs.io/en/stable/amazon_sagemaker_debugger.html>`__
79
- #. `SageMaker Processing <https://sagemaker.readthedocs.io/en/stable/amazon_sagemaker_processing.html>`__
164
+ **Training Examples**
165
+
166
+ #. `Custom Distributed Training Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/training-examples/custom-distributed-training-example.ipynb>`__
167
+ #. `Distributed Local Training Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/training-examples/distributed-local-training-example.ipynb>`__
168
+ #. `Hyperparameter Training Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/training-examples/hyperparameter-training-example.ipynb>`__
169
+ #. `JumpStart Training Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/training-examples/jumpstart-training-example.ipynb>`__
170
+ #. `Local Training Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/training-examples/local-training-example.ipynb>`__
171
+
172
+ **Inference Examples**
173
+
174
+ #. `HuggingFace Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/inference-examples/huggingface-example.ipynb>`__
175
+ #. `In-Process Mode Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/inference-examples/in-process-mode-example.ipynb>`__
176
+ #. `Inference Spec Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/inference-examples/inference-spec-example.ipynb>`__
177
+ #. `JumpStart E2E Training Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/inference-examples/jumpstart-e2e-training-example.ipynb>`__
178
+ #. `JumpStart Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/inference-examples/jumpstart-example.ipynb>`__
179
+ #. `Local Mode Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/inference-examples/local-mode-example.ipynb>`__
180
+ #. `Optimize Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/inference-examples/optimize-example.ipynb>`__
181
+ #. `Train Inference E2E Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/inference-examples/train-inference-e2e-example.ipynb>`__
182
+
183
+ **ML Ops Examples**
184
+
185
+ #. `V3 Hyperparameter Tuning Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/ml-ops-examples/v3-hyperparameter-tuning-example/v3-hyperparameter-tuning-example.ipynb>`__
186
+ #. `V3 Hyperparameter Tuning Pipeline <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/ml-ops-examples/v3-hyperparameter-tuning-example/v3-hyperparameter-tuning-pipeline.ipynb>`__
187
+ #. `V3 Model Registry Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/ml-ops-examples/v3-model-registry-example/v3-model-registry-example.ipynb>`__
188
+ #. `V3 PyTorch Processing Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/ml-ops-examples/v3-processing-job-pytorch/v3-pytorch-processing-example.ipynb>`__
189
+ #. `V3 Pipeline Train Create Registry <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/ml-ops-examples/v3-pipeline-train-create-registry.ipynb>`__
190
+ #. `V3 Processing Job Sklearn <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/ml-ops-examples/v3-processing-job-sklearn.ipynb>`__
191
+ #. `V3 SageMaker Clarify <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/ml-ops-examples/v3-sagemaker-clarify.ipynb>`__
192
+ #. `V3 Transform Job Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/ml-ops-examples/v3-transform-job-example.ipynb>`__
193
+
194
+ **Looking for V2 Examples?** See `SageMaker V2 Examples <#sagemaker-v2-examples>`__ below.
195
+
196
+
80
197
 
81
198
 
82
199
  Installing the SageMaker Python SDK
@@ -265,3 +382,31 @@ For more information about the different ``content-type`` and ``Accept`` formats
265
382
  ``schema`` that SageMaker SparkML Serving recognizes, please see `SageMaker SparkML Serving Container`_.
266
383
 
267
384
  .. _SageMaker SparkML Serving Container: https://github.com/aws/sagemaker-sparkml-serving-container
385
+
386
+
387
+ SageMaker V2 Examples
388
+ ---------------------
389
+
390
+ #. `Using the SageMaker Python SDK <https://sagemaker.readthedocs.io/en/stable/overview.html>`__
391
+ #. `Using MXNet <https://sagemaker.readthedocs.io/en/stable/using_mxnet.html>`__
392
+ #. `Using TensorFlow <https://sagemaker.readthedocs.io/en/stable/using_tf.html>`__
393
+ #. `Using Chainer <https://sagemaker.readthedocs.io/en/stable/using_chainer.html>`__
394
+ #. `Using PyTorch <https://sagemaker.readthedocs.io/en/stable/using_pytorch.html>`__
395
+ #. `Using Scikit-learn <https://sagemaker.readthedocs.io/en/stable/using_sklearn.html>`__
396
+ #. `Using XGBoost <https://sagemaker.readthedocs.io/en/stable/using_xgboost.html>`__
397
+ #. `SageMaker Reinforcement Learning Estimators <https://sagemaker.readthedocs.io/en/stable/using_rl.html>`__
398
+ #. `SageMaker SparkML Serving <#sagemaker-sparkml-serving>`__
399
+ #. `Amazon SageMaker Built-in Algorithm Estimators <src/sagemaker/amazon/README.rst>`__
400
+ #. `Using SageMaker AlgorithmEstimators <https://sagemaker.readthedocs.io/en/stable/overview.html#using-sagemaker-algorithmestimators>`__
401
+ #. `Consuming SageMaker Model Packages <https://sagemaker.readthedocs.io/en/stable/overview.html#consuming-sagemaker-model-packages>`__
402
+ #. `BYO Docker Containers with SageMaker Estimators <https://sagemaker.readthedocs.io/en/stable/overview.html#byo-docker-containers-with-sagemaker-estimators>`__
403
+ #. `SageMaker Automatic Model Tuning <https://sagemaker.readthedocs.io/en/stable/overview.html#sagemaker-automatic-model-tuning>`__
404
+ #. `SageMaker Batch Transform <https://sagemaker.readthedocs.io/en/stable/overview.html#sagemaker-batch-transform>`__
405
+ #. `Secure Training and Inference with VPC <https://sagemaker.readthedocs.io/en/stable/overview.html#secure-training-and-inference-with-vpc>`__
406
+ #. `BYO Model <https://sagemaker.readthedocs.io/en/stable/overview.html#byo-model>`__
407
+ #. `Inference Pipelines <https://sagemaker.readthedocs.io/en/stable/overview.html#inference-pipelines>`__
408
+ #. `Amazon SageMaker Operators in Apache Airflow <https://sagemaker.readthedocs.io/en/stable/using_workflow.html>`__
409
+ #. `SageMaker Autopilot <src/sagemaker/automl/README.rst>`__
410
+ #. `Model Monitoring <https://sagemaker.readthedocs.io/en/stable/amazon_sagemaker_model_monitoring.html>`__
411
+ #. `SageMaker Debugger <https://sagemaker.readthedocs.io/en/stable/amazon_sagemaker_debugger.html>`__
412
+ #. `SageMaker Processing <https://sagemaker.readthedocs.io/en/stable/amazon_sagemaker_processing.html>`__
@@ -0,0 +1 @@
1
+ 3.1.0
@@ -33,7 +33,10 @@ classifiers = [
33
33
  "Programming Language :: Python :: 3.12",
34
34
  ]
35
35
  dependencies = [
36
- "sagemaker-core>=2.0.0,<3.0.0",
36
+ "sagemaker-core>=2.1.0,<3.0.0",
37
+ "sagemaker-train>=1.1.0,<2.0.0",
38
+ "sagemaker-serve>=1.1.0,<2.0.0",
39
+ "sagemaker-mlops>=1.1.0,<2.0.0",
37
40
  ]
38
41
 
39
42
  [project.optional-dependencies]
@@ -56,4 +59,4 @@ addopts = ["-vv"]
56
59
  testpaths = ["tests"]
57
60
 
58
61
  [tool.black]
59
- line-length = 100
62
+ line-length = 100
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sagemaker
3
- Version: 3.0
3
+ Version: 3.1.0
4
4
  Summary: Open source library for training and deploying models on Amazon SageMaker.
5
5
  Author: Amazon Web Services
6
6
  Project-URL: Homepage, https://github.com/aws/sagemaker-python-sdk
@@ -17,7 +17,10 @@ Classifier: Programming Language :: Python :: 3.12
17
17
  Requires-Python: >=3.9
18
18
  Description-Content-Type: text/x-rst
19
19
  License-File: LICENSE
20
- Requires-Dist: sagemaker-core<3.0.0,>=2.0.0
20
+ Requires-Dist: sagemaker-core<3.0.0,>=2.1.0
21
+ Requires-Dist: sagemaker-train<2.0.0,>=1.1.0
22
+ Requires-Dist: sagemaker-serve<2.0.0,>=1.1.0
23
+ Requires-Dist: sagemaker-mlops<2.0.0,>=1.1.0
21
24
  Provides-Extra: train
22
25
  Requires-Dist: sagemaker-train; extra == "train"
23
26
  Provides-Extra: serve
@@ -42,10 +45,6 @@ SageMaker Python SDK
42
45
  :target: https://pypi.python.org/pypi/sagemaker
43
46
  :alt: Latest Version
44
47
 
45
- .. image:: https://img.shields.io/conda/vn/conda-forge/sagemaker-python-sdk.svg
46
- :target: https://anaconda.org/conda-forge/sagemaker-python-sdk
47
- :alt: Conda-Forge Version
48
-
49
48
  .. image:: https://img.shields.io/pypi/pyversions/sagemaker.svg
50
49
  :target: https://pypi.python.org/pypi/sagemaker
51
50
  :alt: Supported Python Versions
@@ -64,7 +63,7 @@ SageMaker Python SDK
64
63
 
65
64
  SageMaker Python SDK is an open source library for training and deploying machine learning models on Amazon SageMaker.
66
65
 
67
- With the SDK, you can train and deploy models using popular deep learning frameworks **Apache MXNet** and **TensorFlow**.
66
+ With the SDK, you can train and deploy models using popular deep learning frameworks **Apache MXNet** and **PyTorch**.
68
67
  You can also train and deploy models with **Amazon algorithms**,
69
68
  which are scalable implementations of core machine learning algorithms that are optimized for SageMaker and GPU training.
70
69
  If you have **your own algorithms** built into SageMaker compatible Docker containers, you can train and host models using these as well.
@@ -81,34 +80,155 @@ Version 3.0.0 represents a significant milestone in our product's evolution. Thi
81
80
  **Important: Please review these breaking changes before upgrading.**
82
81
 
83
82
  * Older interfaces such as Estimator, Model, Predictor and all their subclasses will not be supported in V3.
84
- * Please review documenation of interfaces for parameters support (especially ModelBuilder) in our V3 examples folder.
83
+ * Please see our `V3 examples folder <https://github.com/aws/sagemaker-python-sdk/tree/master/v3-examples>`__ for example notebooks and usage patterns.
85
84
 
86
- SageMaker V2 Examples
85
+
86
+ Migrating to V3
87
+ ----------------
88
+
89
+ **Upgrading to 3.x**
90
+
91
+ To upgrade to the latest version of SageMaker Python SDK 3.x:
92
+
93
+ ::
94
+
95
+ pip install --upgrade sagemaker
96
+
97
+ If you prefer to downgrade to the 2.x version:
98
+
99
+ ::
100
+
101
+ pip install sagemaker==2.*
102
+
103
+ See `SageMaker V2 Examples <#sagemaker-v2-examples>`__ for V2 documentation and examples.
104
+
105
+ **Key Benefits of 3.x**
106
+
107
+ * **Modular Architecture**: Separate PyPI packages for core, training, and serving capabilities
108
+
109
+ * `sagemaker-core <https://pypi.org/project/sagemaker-core/>`__
110
+ * `sagemaker-train <https://pypi.org/project/sagemaker-train/>`__
111
+ * `sagemaker-serve <https://pypi.org/project/sagemaker-serve/>`__
112
+ * `sagemaker-mlops <https://pypi.org/project/sagemaker-mlops/>`__
113
+
114
+ * **Unified Training & Inference**: Single classes (ModelTrainer, ModelBuilder) replace multiple framework-specific classes
115
+ * **Object-Oriented API**: Structured interface with auto-generated configs aligned with AWS APIs
116
+ * **Simplified Workflows**: Reduced boilerplate and more intuitive interfaces
117
+
118
+ **Training Experience**
119
+
120
+ V3 introduces the unified ModelTrainer class to reduce complexity of initial setup and deployment for model training. This replaces the V2 Estimator class and framework-specific classes (PyTorchEstimator, SKLearnEstimator, etc.).
121
+
122
+ This example shows how to train a model using a custom training container with training data from S3.
123
+
124
+ *SageMaker Python SDK 2.x:*
125
+
126
+ .. code:: python
127
+
128
+ from sagemaker.estimator import Estimator
129
+ estimator = Estimator(
130
+ image_uri="my-training-image",
131
+ role="arn:aws:iam::123456789012:role/SageMakerRole",
132
+ instance_count=1,
133
+ instance_type="ml.m5.xlarge",
134
+ output_path="s3://my-bucket/output"
135
+ )
136
+ estimator.fit({"training": "s3://my-bucket/train"})
137
+
138
+ *SageMaker Python SDK 3.x:*
139
+
140
+ .. code:: python
141
+
142
+ from sagemaker.train import ModelTrainer
143
+ from sagemaker.train.configs import InputData
144
+
145
+ trainer = ModelTrainer(
146
+ training_image="my-training-image",
147
+ role="arn:aws:iam::123456789012:role/SageMakerRole"
148
+ )
149
+
150
+ train_data = InputData(
151
+ channel_name="training",
152
+ data_source="s3://my-bucket/train"
153
+ )
154
+
155
+ trainer.train(input_data_config=[train_data])
156
+
157
+ **See more examples:** `SageMaker V3 Examples <#sagemaker-v3-examples>`__
158
+
159
+ **Inference Experience**
160
+
161
+ V3 introduces the unified ModelBuilder class for model deployment and inference. This replaces the V2 Model class and framework-specific classes (PyTorchModel, TensorFlowModel, SKLearnModel, XGBoostModel, etc.).
162
+
163
+ This example shows how to deploy a trained model for real-time inference.
164
+
165
+ *SageMaker Python SDK 2.x:*
166
+
167
+ .. code:: python
168
+
169
+ from sagemaker.model import Model
170
+ from sagemaker.predictor import Predictor
171
+ model = Model(
172
+ image_uri="my-inference-image",
173
+ model_data="s3://my-bucket/model.tar.gz",
174
+ role="arn:aws:iam::123456789012:role/SageMakerRole"
175
+ )
176
+ predictor = model.deploy(
177
+ initial_instance_count=1,
178
+ instance_type="ml.m5.xlarge"
179
+ )
180
+ result = predictor.predict(data)
181
+
182
+ *SageMaker Python SDK 3.x:*
183
+
184
+ .. code:: python
185
+
186
+ from sagemaker.serve import ModelBuilder
187
+ model_builder = ModelBuilder(
188
+ model="my-model",
189
+ model_path="s3://my-bucket/model.tar.gz"
190
+ )
191
+ endpoint = model_builder.build()
192
+ result = endpoint.invoke(...)
193
+
194
+ **See more examples:** `SageMaker V3 Examples <#sagemaker-v3-examples>`__
195
+
196
+ SageMaker V3 Examples
87
197
  ---------------------
88
198
 
89
- #. `Using the SageMaker Python SDK <https://sagemaker.readthedocs.io/en/stable/overview.html>`__
90
- #. `Using MXNet <https://sagemaker.readthedocs.io/en/stable/using_mxnet.html>`__
91
- #. `Using TensorFlow <https://sagemaker.readthedocs.io/en/stable/using_tf.html>`__
92
- #. `Using Chainer <https://sagemaker.readthedocs.io/en/stable/using_chainer.html>`__
93
- #. `Using PyTorch <https://sagemaker.readthedocs.io/en/stable/using_pytorch.html>`__
94
- #. `Using Scikit-learn <https://sagemaker.readthedocs.io/en/stable/using_sklearn.html>`__
95
- #. `Using XGBoost <https://sagemaker.readthedocs.io/en/stable/using_xgboost.html>`__
96
- #. `SageMaker Reinforcement Learning Estimators <https://sagemaker.readthedocs.io/en/stable/using_rl.html>`__
97
- #. `SageMaker SparkML Serving <#sagemaker-sparkml-serving>`__
98
- #. `Amazon SageMaker Built-in Algorithm Estimators <src/sagemaker/amazon/README.rst>`__
99
- #. `Using SageMaker AlgorithmEstimators <https://sagemaker.readthedocs.io/en/stable/overview.html#using-sagemaker-algorithmestimators>`__
100
- #. `Consuming SageMaker Model Packages <https://sagemaker.readthedocs.io/en/stable/overview.html#consuming-sagemaker-model-packages>`__
101
- #. `BYO Docker Containers with SageMaker Estimators <https://sagemaker.readthedocs.io/en/stable/overview.html#byo-docker-containers-with-sagemaker-estimators>`__
102
- #. `SageMaker Automatic Model Tuning <https://sagemaker.readthedocs.io/en/stable/overview.html#sagemaker-automatic-model-tuning>`__
103
- #. `SageMaker Batch Transform <https://sagemaker.readthedocs.io/en/stable/overview.html#sagemaker-batch-transform>`__
104
- #. `Secure Training and Inference with VPC <https://sagemaker.readthedocs.io/en/stable/overview.html#secure-training-and-inference-with-vpc>`__
105
- #. `BYO Model <https://sagemaker.readthedocs.io/en/stable/overview.html#byo-model>`__
106
- #. `Inference Pipelines <https://sagemaker.readthedocs.io/en/stable/overview.html#inference-pipelines>`__
107
- #. `Amazon SageMaker Operators in Apache Airflow <https://sagemaker.readthedocs.io/en/stable/using_workflow.html>`__
108
- #. `SageMaker Autopilot <src/sagemaker/automl/README.rst>`__
109
- #. `Model Monitoring <https://sagemaker.readthedocs.io/en/stable/amazon_sagemaker_model_monitoring.html>`__
110
- #. `SageMaker Debugger <https://sagemaker.readthedocs.io/en/stable/amazon_sagemaker_debugger.html>`__
111
- #. `SageMaker Processing <https://sagemaker.readthedocs.io/en/stable/amazon_sagemaker_processing.html>`__
199
+ **Training Examples**
200
+
201
+ #. `Custom Distributed Training Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/training-examples/custom-distributed-training-example.ipynb>`__
202
+ #. `Distributed Local Training Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/training-examples/distributed-local-training-example.ipynb>`__
203
+ #. `Hyperparameter Training Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/training-examples/hyperparameter-training-example.ipynb>`__
204
+ #. `JumpStart Training Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/training-examples/jumpstart-training-example.ipynb>`__
205
+ #. `Local Training Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/training-examples/local-training-example.ipynb>`__
206
+
207
+ **Inference Examples**
208
+
209
+ #. `HuggingFace Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/inference-examples/huggingface-example.ipynb>`__
210
+ #. `In-Process Mode Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/inference-examples/in-process-mode-example.ipynb>`__
211
+ #. `Inference Spec Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/inference-examples/inference-spec-example.ipynb>`__
212
+ #. `JumpStart E2E Training Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/inference-examples/jumpstart-e2e-training-example.ipynb>`__
213
+ #. `JumpStart Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/inference-examples/jumpstart-example.ipynb>`__
214
+ #. `Local Mode Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/inference-examples/local-mode-example.ipynb>`__
215
+ #. `Optimize Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/inference-examples/optimize-example.ipynb>`__
216
+ #. `Train Inference E2E Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/inference-examples/train-inference-e2e-example.ipynb>`__
217
+
218
+ **ML Ops Examples**
219
+
220
+ #. `V3 Hyperparameter Tuning Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/ml-ops-examples/v3-hyperparameter-tuning-example/v3-hyperparameter-tuning-example.ipynb>`__
221
+ #. `V3 Hyperparameter Tuning Pipeline <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/ml-ops-examples/v3-hyperparameter-tuning-example/v3-hyperparameter-tuning-pipeline.ipynb>`__
222
+ #. `V3 Model Registry Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/ml-ops-examples/v3-model-registry-example/v3-model-registry-example.ipynb>`__
223
+ #. `V3 PyTorch Processing Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/ml-ops-examples/v3-processing-job-pytorch/v3-pytorch-processing-example.ipynb>`__
224
+ #. `V3 Pipeline Train Create Registry <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/ml-ops-examples/v3-pipeline-train-create-registry.ipynb>`__
225
+ #. `V3 Processing Job Sklearn <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/ml-ops-examples/v3-processing-job-sklearn.ipynb>`__
226
+ #. `V3 SageMaker Clarify <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/ml-ops-examples/v3-sagemaker-clarify.ipynb>`__
227
+ #. `V3 Transform Job Example <https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/ml-ops-examples/v3-transform-job-example.ipynb>`__
228
+
229
+ **Looking for V2 Examples?** See `SageMaker V2 Examples <#sagemaker-v2-examples>`__ below.
230
+
231
+
112
232
 
113
233
 
114
234
  Installing the SageMaker Python SDK
@@ -297,3 +417,31 @@ For more information about the different ``content-type`` and ``Accept`` formats
297
417
  ``schema`` that SageMaker SparkML Serving recognizes, please see `SageMaker SparkML Serving Container`_.
298
418
 
299
419
  .. _SageMaker SparkML Serving Container: https://github.com/aws/sagemaker-sparkml-serving-container
420
+
421
+
422
+ SageMaker V2 Examples
423
+ ---------------------
424
+
425
+ #. `Using the SageMaker Python SDK <https://sagemaker.readthedocs.io/en/stable/overview.html>`__
426
+ #. `Using MXNet <https://sagemaker.readthedocs.io/en/stable/using_mxnet.html>`__
427
+ #. `Using TensorFlow <https://sagemaker.readthedocs.io/en/stable/using_tf.html>`__
428
+ #. `Using Chainer <https://sagemaker.readthedocs.io/en/stable/using_chainer.html>`__
429
+ #. `Using PyTorch <https://sagemaker.readthedocs.io/en/stable/using_pytorch.html>`__
430
+ #. `Using Scikit-learn <https://sagemaker.readthedocs.io/en/stable/using_sklearn.html>`__
431
+ #. `Using XGBoost <https://sagemaker.readthedocs.io/en/stable/using_xgboost.html>`__
432
+ #. `SageMaker Reinforcement Learning Estimators <https://sagemaker.readthedocs.io/en/stable/using_rl.html>`__
433
+ #. `SageMaker SparkML Serving <#sagemaker-sparkml-serving>`__
434
+ #. `Amazon SageMaker Built-in Algorithm Estimators <src/sagemaker/amazon/README.rst>`__
435
+ #. `Using SageMaker AlgorithmEstimators <https://sagemaker.readthedocs.io/en/stable/overview.html#using-sagemaker-algorithmestimators>`__
436
+ #. `Consuming SageMaker Model Packages <https://sagemaker.readthedocs.io/en/stable/overview.html#consuming-sagemaker-model-packages>`__
437
+ #. `BYO Docker Containers with SageMaker Estimators <https://sagemaker.readthedocs.io/en/stable/overview.html#byo-docker-containers-with-sagemaker-estimators>`__
438
+ #. `SageMaker Automatic Model Tuning <https://sagemaker.readthedocs.io/en/stable/overview.html#sagemaker-automatic-model-tuning>`__
439
+ #. `SageMaker Batch Transform <https://sagemaker.readthedocs.io/en/stable/overview.html#sagemaker-batch-transform>`__
440
+ #. `Secure Training and Inference with VPC <https://sagemaker.readthedocs.io/en/stable/overview.html#secure-training-and-inference-with-vpc>`__
441
+ #. `BYO Model <https://sagemaker.readthedocs.io/en/stable/overview.html#byo-model>`__
442
+ #. `Inference Pipelines <https://sagemaker.readthedocs.io/en/stable/overview.html#inference-pipelines>`__
443
+ #. `Amazon SageMaker Operators in Apache Airflow <https://sagemaker.readthedocs.io/en/stable/using_workflow.html>`__
444
+ #. `SageMaker Autopilot <src/sagemaker/automl/README.rst>`__
445
+ #. `Model Monitoring <https://sagemaker.readthedocs.io/en/stable/amazon_sagemaker_model_monitoring.html>`__
446
+ #. `SageMaker Debugger <https://sagemaker.readthedocs.io/en/stable/amazon_sagemaker_debugger.html>`__
447
+ #. `SageMaker Processing <https://sagemaker.readthedocs.io/en/stable/amazon_sagemaker_processing.html>`__
@@ -1,4 +1,7 @@
1
- sagemaker-core<3.0.0,>=2.0.0
1
+ sagemaker-core<3.0.0,>=2.1.0
2
+ sagemaker-train<2.0.0,>=1.1.0
3
+ sagemaker-serve<2.0.0,>=1.1.0
4
+ sagemaker-mlops<2.0.0,>=1.1.0
2
5
 
3
6
  [all]
4
7
  sagemaker-train
sagemaker-3.0/VERSION DELETED
@@ -1 +0,0 @@
1
- 3.0
File without changes
File without changes