Skip to content

Commit 7b7322b

Browse files
authored
Merge branch 'master' into fix/fw-processor-normargs
2 parents a5c6faf + eee1d74 commit 7b7322b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+964
-1672
lines changed

CHANGELOG.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,65 @@
11
# Changelog
22

3+
## v2.67.0 (2021-11-01)
4+
5+
### Deprecations and Removals
6+
7+
* deprecate Serverless Lambda model-predictor
8+
9+
### Features
10+
11+
* add joinsource to DataConfig
12+
* Add support for Partial Dependence Plots(PDP) in SageMaker Clarify
13+
14+
### Bug Fixes and Other Changes
15+
16+
* localmode subprocess parent process not sending SIGTERM to child
17+
* remove buildspec from repo
18+
19+
## v2.66.2.post0 (2021-10-28)
20+
21+
### Documentation Changes
22+
23+
* Update estimator docstrings to add Fast File Mode
24+
25+
## v2.66.2 (2021-10-27)
26+
27+
### Bug Fixes and Other Changes
28+
29+
* expose num_clusters parameter for clarify shap in shapconfig
30+
* Update cron job to run hourly
31+
32+
## v2.66.1 (2021-10-26)
33+
34+
### Bug Fixes and Other Changes
35+
36+
* HuggingFace image_uri generation for inference
37+
* Update '_' and '/' with '-' in filename creation
38+
39+
## v2.66.0 (2021-10-25)
40+
41+
### Features
42+
43+
* Add image_uris.retrieve() support for AutoGluon
44+
45+
### Documentation Changes
46+
47+
* fix documentation for input types in estimator.fit
48+
* Add JsonGet v2 deprecation
49+
50+
## v2.65.0 (2021-10-21)
51+
52+
### Features
53+
54+
* modify RLEstimator to use newly generated Ray image (1.6.0)
55+
* network isolation mode for xgboost
56+
* update clarify imageURI for PDT
57+
58+
### Bug Fixes and Other Changes
59+
60+
* retry downstream_trials test
61+
* Add retries to pipeline execution
62+
363
## v2.64.0 (2021-10-20)
464

565
### Deprecations and Removals

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.64.1.dev0
1+
2.67.1.dev0

buildspec-deploy.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

buildspec-localmodetests.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

buildspec-notebooktests.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

buildspec-release.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

buildspec-slowtests.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

buildspec-unittests.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

buildspec.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

ci-scripts/queue_build.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
from __future__ import absolute_import
1414

1515
import os
16+
import re
1617
import time
18+
1719
import boto3
1820

1921
account = boto3.client(
@@ -23,9 +25,11 @@
2325

2426

2527
def queue_build():
26-
build_id = os.environ.get("CODEBUILD_BUILD_ID", "CODEBUILD-BUILD-ID")
27-
source_version = os.environ.get("CODEBUILD_SOURCE_VERSION", "CODEBUILD-SOURCE-VERSION").replace(
28-
"/", "-"
28+
build_id = re.sub("[_/]", "-", os.environ.get("CODEBUILD_BUILD_ID", "CODEBUILD-BUILD-ID"))
29+
source_version = re.sub(
30+
"[_/]",
31+
"-",
32+
os.environ.get("CODEBUILD_SOURCE_VERSION", "CODEBUILD-SOURCE-VERSION"),
2933
)
3034
ticket_number = int(1000 * time.time())
3135
filename = "%s_%s_%s" % (ticket_number, build_id, source_version)

doc/api/inference/model.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,3 @@ Model
1616
:undoc-members:
1717
:show-inheritance:
1818

19-
.. autoclass:: sagemaker.serverless.model.LambdaModel
20-
:members:
21-
:undoc-members:
22-
:show-inheritance:

doc/api/inference/predictors.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,3 @@ Make real-time predictions against SageMaker endpoints with Python objects
77
:members:
88
:undoc-members:
99
:show-inheritance:
10-
11-
.. autoclass:: sagemaker.serverless.predictor.LambdaPredictor
12-
:members:
13-
:undoc-members:
14-
:show-inheritance:

doc/overview.rst

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,50 +1063,6 @@ You can also find these notebooks in the **Advanced Functionality** section of t
10631063
For information about using sample notebooks in a SageMaker notebook instance, see `Use Example Notebooks <https://docs.aws.amazon.com/sagemaker/latest/dg/howitworks-nbexamples.html>`__
10641064
in the AWS documentation.
10651065
1066-
********************
1067-
Serverless Inference
1068-
********************
1069-
1070-
You can use the SageMaker Python SDK to perform serverless inference on Lambda.
1071-
1072-
To deploy models to Lambda, you must complete the following prerequisites:
1073-
1074-
- `Package your model and inference code as a container image. <https://docs.aws.amazon.com/lambda/latest/dg/images-create.html>`_
1075-
- `Create a role that lists Lambda as a trusted entity. <https://docs.aws.amazon.com/lambda/latest/dg/lambda-intro-execution-role.html#permissions-executionrole-console>`_
1076-
1077-
After completing the prerequisites, you can deploy your model to Lambda using
1078-
the `LambdaModel`_ class.
1079-
1080-
.. code:: python
1081-
1082-
from sagemaker.serverless import LambdaModel
1083-
1084-
image_uri = "123456789012.dkr.ecr.us-west-2.amazonaws.com/my-lambda-repository:latest"
1085-
role = "arn:aws:iam::123456789012:role/MyLambdaExecutionRole"
1086-
1087-
model = LambdaModel(image_uri=image_uri, role=role)
1088-
predictor = model.deploy("my-lambda-function", timeout=20, memory_size=4092)
1089-
1090-
The ``deploy`` method returns a `LambdaPredictor`_ instance. Use the
1091-
`LambdaPredictor`_ ``predict`` method to perform inference on Lambda.
1092-
1093-
.. code:: python
1094-
1095-
url = "https://example.com/cat.jpeg"
1096-
predictor.predict({"url": url}) # {'class': 'tabby'}
1097-
1098-
Once you are done performing inference on Lambda, free the `LambdaModel`_ and
1099-
`LambdaPredictor`_ resources using the ``delete_model`` and ``delete_predictor``
1100-
methods.
1101-
1102-
.. code:: python
1103-
1104-
model.delete_model()
1105-
predictor.delete_predictor()
1106-
1107-
.. _LambdaModel : https://sagemaker.readthedocs.io/en/stable/api/inference/model.html#sagemaker.serverless.model.LambdaModel
1108-
.. _LambdaPredictor : https://sagemaker.readthedocs.io/en/stable/api/inference/predictors.html#sagemaker.serverless.predictor.LambdaPredictor
1109-
11101066
******************
11111067
SageMaker Workflow
11121068
******************

doc/v2.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,12 @@ Please use :func:`sagemaker.s3.parse_s3_url` instead.
265265

266266
The class ``sagemaker.session.ModelContainer`` has been deprecated, as it is not needed for creating inference pipelines.
267267

268+
``sagemaker.workflow.condition_step.JsonGet``
269+
---------------------------------------------
270+
271+
The class ``sagemaker.workflow.condition_step.JsonGet`` has been deprecated.
272+
Please use :class:`sagemaker.workflow.functions.JsonGet` instead.
273+
268274
Parameter and Class Name Changes
269275
================================
270276

0 commit comments

Comments
 (0)