Skip to content

Commit 3ac5bf8

Browse files
authored
Merge branch 'master' into eia_151
2 parents e487a03 + 1a2d36f commit 3ac5bf8

File tree

479 files changed

+10466
-1302
lines changed

Some content is hidden

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

479 files changed

+10466
-1302
lines changed

CHANGELOG.md

+192
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,197 @@
11
# Changelog
22

3+
## v2.52.2 (2021-08-10)
4+
5+
### Bug Fixes and Other Changes
6+
7+
* sklearn integ tests, remove swallowing exception on feature group delete attempt
8+
* sklearn integ test for custom bucket
9+
10+
### Documentation Changes
11+
12+
* Fix dataset_definition links
13+
* Document LambdaModel and LambdaPredictor classes
14+
15+
## v2.52.1 (2021-08-06)
16+
17+
### Bug Fixes and Other Changes
18+
19+
* revert #2251 changes for sklearn processor
20+
21+
## v2.52.0 (2021-08-05)
22+
23+
### Features
24+
25+
* processors that support multiple Python files, requirements.txt, and dependencies.
26+
* support step object in step depends on list
27+
28+
### Bug Fixes and Other Changes
29+
30+
* enable isolation while creating model from job
31+
* update `sagemaker.serverless` integration test
32+
* Use correct boto model name for RegisterModelStep properties
33+
34+
## v2.51.0 (2021-08-03)
35+
36+
### Features
37+
38+
* add LambdaStep support for SageMaker Pipelines
39+
* support JsonGet for all step types
40+
41+
## v2.50.1 (2021-08-02)
42+
43+
### Bug Fixes and Other Changes
44+
45+
* null checks for uploaded_code and entry_point
46+
47+
### Documentation Changes
48+
49+
* update sagemaker.estimator.EstimatorBase
50+
* Mark baseline as optional in KernelSHAP.
51+
52+
## v2.50.0 (2021-07-28)
53+
54+
### Features
55+
56+
* add KIX region to image_uris
57+
58+
### Bug Fixes and Other Changes
59+
60+
* Rename `PredictorBase.delete_endpoint` as `PredictorBase.delete_predictor`
61+
* incorrect default argument for callback output parameter
62+
63+
### Documentation Changes
64+
65+
* Remove years from copyright boilerplate
66+
* Fix documentation formatting for PySpark and SparkJar processors
67+
68+
### Testing and Release Infrastructure
69+
70+
* enable py38 tox env
71+
72+
## v2.49.2 (2021-07-21)
73+
74+
### Bug Fixes and Other Changes
75+
76+
* order of populating container list
77+
* upgrade Adobe Analytics cookie to 3.0
78+
79+
## v2.49.1 (2021-07-19)
80+
81+
### Bug Fixes and Other Changes
82+
83+
* Set flag when debugger is disabled
84+
* KMS Key fix for kwargs
85+
* Update BiasConfig to accept multiple facet params
86+
87+
### Documentation Changes
88+
89+
* Update huggingface estimator documentation
90+
91+
## v2.49.0 (2021-07-15)
92+
93+
### Features
94+
95+
* Adding serial inference pipeline support to RegisterModel Step
96+
97+
### Documentation Changes
98+
99+
* add tuning step get_top_model_s3_uri and callback step to doc
100+
* links for HF in sdk
101+
* Add Clarify module to Model Monitoring API docs
102+
103+
## v2.48.2 (2021-07-12)
104+
105+
### Bug Fixes and Other Changes
106+
107+
* default time for compilation jobs
108+
* skip hf inference test
109+
110+
## v2.48.1 (2021-07-08)
111+
112+
### Bug Fixes and Other Changes
113+
114+
* skip HF inference test
115+
* remove upsert from test_workflow
116+
117+
### Documentation Changes
118+
119+
* Add Hugging Face docs
120+
* add tuning step to doc
121+
122+
## v2.48.0 (2021-07-07)
123+
124+
### Features
125+
126+
* HuggingFace Inference
127+
128+
### Bug Fixes and Other Changes
129+
130+
* add support for SageMaker workflow tuning step
131+
132+
## v2.47.2.post0 (2021-07-01)
133+
134+
### Documentation Changes
135+
136+
* smddp 1.2.1 release note / convert md to rst
137+
* add smd model parallel 1.4.0 release note / restructure doc files
138+
139+
## v2.47.2 (2021-06-30)
140+
141+
### Bug Fixes and Other Changes
142+
143+
* handle tags when upsert pipeine
144+
145+
## v2.47.1 (2021-06-27)
146+
147+
### Bug Fixes and Other Changes
148+
149+
* revert "fix: jsonGet interpolation issue 2426 + allow step depends on pass in step instance (#2477)"
150+
151+
## v2.47.0 (2021-06-25)
152+
153+
### Features
154+
155+
* support job_name_prefix for Clarify
156+
157+
### Bug Fixes and Other Changes
158+
159+
* Add configuration option with headers for Clarify Explainability
160+
* jsonGet interpolation issue 2426 + allow step depends on pass in step instance
161+
* add default retries to feature group ingestion.
162+
* Update using_pytorch.rst
163+
* kms key does not propapate in register model step
164+
* Correctly interpolate Callback output parameters
165+
166+
## v2.46.1 (2021-06-22)
167+
168+
### Bug Fixes and Other Changes
169+
170+
* Register model step tags
171+
172+
### Documentation Changes
173+
174+
* update to include new batch_get_record api call
175+
* Correct type annotation for TrainingStep inputs
176+
* introduce input mode FastFile
177+
* update hf transformer version
178+
179+
## v2.46.0 (2021-06-15)
180+
181+
### Features
182+
183+
* Add HF transformer version 4.6.1
184+
185+
### Bug Fixes and Other Changes
186+
187+
* encode localmode payload to UTF-8
188+
* call DescribeDomain as fallback in get_execution_role
189+
* parameterize PT and TF version for HuggingFace tests
190+
191+
### Documentation Changes
192+
193+
* Add import statement in Batch Transform Overview doc
194+
3195
## v2.45.0 (2021-06-07)
4196

5197
### Features

NOTICE.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Amazon SageMaker Python SDK
2-
Copyright 2017-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ However, if you are using an IAM role with a path in it, you should grant permis
103103

104104
Licensing
105105
~~~~~~~~~
106-
SageMaker Python SDK is licensed under the Apache 2.0 License. It is copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. The license is available at:
106+
SageMaker Python SDK is licensed under the Apache 2.0 License. It is copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. The license is available at:
107107
http://aws.amazon.com/apache2.0/
108108

109109
Running tests

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.45.1.dev0
1+
2.52.3.dev0

ci-scripts/displaytime.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License"). You
55
# may not use this file except in compliance with the License. A copy of

ci-scripts/queue_build.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2019-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License"). You
44
# may not use this file except in compliance with the License. A copy of

doc/_static/aws-ux-shortbread/index.js

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/_static/aws-ux-shortbread/init.js

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
(function (w) {
2+
w.URLSearchParams = w.URLSearchParams || function (searchString) {
3+
var self = this;
4+
self.searchString = searchString;
5+
self.get = function (name) {
6+
var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(self.searchString);
7+
if (results === null) {
8+
return null;
9+
}
10+
else {
11+
return decodeURI(results[1]) || 0;
12+
}
13+
};
14+
}
15+
})(window);
16+
17+
const queryString = window.location.search;
18+
const urlParams = new URLSearchParams(queryString);
19+
const lang = urlParams.get('lang')
20+
window.onload = function () {
21+
var domainName = window.location.hostname;
22+
23+
// remove an instance of shortbread if already exists
24+
var existingShortbreadEl = document.getElementById("awsccc-sb-ux-c");
25+
existingShortbreadEl && existingShortbreadEl.remove();
26+
27+
var shortbread = AWSCShortbread({
28+
domain: domainName,
29+
language: lang,
30+
//queryGeolocation: function (geolocatedIn) { geolocatedIn("EU") },
31+
});
32+
33+
shortbread.checkForCookieConsent();
34+
}

doc/amazon_sagemaker_featurestore.rst

+7
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,13 @@ example identifier to retrieve the record.
291291
record_identifier_value = str(2990130)
292292
featurestore_runtime.get_record(FeatureGroupName=transaction_feature_group_name, RecordIdentifierValueAsString=record_identifier_value)
293293
294+
You can use the ``batch_get_record`` function to retrieve multiple records simultaneously from your feature store. The following example uses this API to retrieve a batch of records.
295+
296+
.. code:: python
297+
298+
record_identifier_values = ["573291", "109382", "828400", "124013"]
299+
featurestore_runtime.batch_get_record(Identifiers=[{"FeatureGroupName": transaction_feature_group_name, "RecordIdentifiersValueAsString": record_identifier_values}])
300+
294301
An example response from the fraud detection example:
295302
296303
.. code:: python

doc/api/inference/model.rst

+5
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,8 @@ Model
1515
:members:
1616
:undoc-members:
1717
:show-inheritance:
18+
19+
.. autoclass:: sagemaker.serverless.model.LambdaModel
20+
:members:
21+
:undoc-members:
22+
:show-inheritance:

doc/api/inference/model_monitor.rst

+5
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,8 @@ Model Monitor
2626
:members:
2727
:undoc-members:
2828
:show-inheritance:
29+
30+
.. automodule:: sagemaker.model_monitor.clarify_model_monitoring
31+
:members:
32+
:undoc-members:
33+
:show-inheritance:

doc/api/inference/predictors.rst

+5
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,8 @@ 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/api/training/sdp_versions/latest.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
Version 1.2.0 (Latest)
2+
Version 1.2.x (Latest)
33
======================
44

55
.. toctree::

doc/api/training/sdp_versions/latest/smd_data_parallel_tensorflow.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ TensorFlow API
157157

158158
.. rubric:: Supported versions
159159

160-
**TensorFlow 2.3.1, 2.4.1**
160+
**TensorFlow 2.3.1, 2.4.1, 2.5.0**
161161

162162
.. function:: smdistributed.dataparallel.tensorflow.init()
163163

doc/api/training/smd_data_parallel.rst

+6-4
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,10 @@ Select a version to see the API documentation for version.
101101
Release Notes
102102
=============
103103

104-
New features, bug fixes, and improvements are regularly made to the SageMaker distributed data parallel library.
104+
New features, bug fixes, and improvements are regularly made to the SageMaker
105+
distributed data parallel library.
105106

106-
To see the the latest changes made to the library, refer to the library
107-
`Release Notes
108-
<https://github.com/aws/sagemaker-python-sdk/blob/master/doc/api/training/smd_data_parallel_release_notes/>`_.
107+
.. toctree::
108+
:maxdepth: 1
109+
110+
smd_data_parallel_release_notes/smd_data_parallel_change_log

0 commit comments

Comments
 (0)