Skip to content

Commit f9cf7bf

Browse files
committed
small update
1 parent c351583 commit f9cf7bf

1 file changed

Lines changed: 0 additions & 32 deletions

File tree

README.rst

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -158,38 +158,6 @@ This example shows how to deploy a trained model for real-time inference.
158158
159159
**See more examples:** `SageMaker V3 Examples <#sagemaker-v3-examples>`__
160160

161-
**SageMaker Core Experience**
162-
163-
V3 provides an object-oriented interface for interacting with SageMaker resources, with auto-generated config classes and methods based on SageMaker API inputs and outputs. This replaces V2 config classes with SageMaker Core config objects.
164-
165-
*SageMaker Python SDK 2.x:*
166-
167-
.. code:: python
168-
169-
from sagemaker.model import Model
170-
model = Model(
171-
image_uri="my-image",
172-
model_data="s3://my-bucket/model.tar.gz",
173-
role="arn:aws:iam::123456789012:role/SageMakerRole"
174-
)
175-
predictor = model.deploy(
176-
initial_instance_count=1,
177-
instance_type="ml.m5.xlarge",
178-
endpoint_name="my-endpoint"
179-
)
180-
181-
*SageMaker Python SDK 3.x:*
182-
183-
.. code:: python
184-
185-
model = Model.get(model_name="my-model")
186-
187-
endpoint = model.deploy(
188-
endpoint_name="my-endpoint",
189-
instance_type="ml.m5.xlarge",
190-
initial_instance_count=1
191-
)
192-
193161
SageMaker V3 Examples
194162
---------------------
195163

0 commit comments

Comments
 (0)