Skip to content

Commit 1b19f3c

Browse files
authored
Merge branch 'master' into xgboost_network_isolation
2 parents 14953bd + fc2711e commit 1b19f3c

23 files changed

+588
-40
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: Bug report
33
about: File a report to help us reproduce and fix the problem
44
title: ''
5-
labels: ''
5+
labels: 'bug'
66
assignees: ''
77

88
---

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: Feature request
33
about: Suggest new functionality for this library
44
title: ''
5-
labels: ''
5+
labels: 'feature request'
66
assignees: ''
77

88
---

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@ _Put an `x` in the boxes that apply. You can also fill these out after creating
1111
#### General
1212

1313
- [ ] I have read the [CONTRIBUTING](https://github.com/aws/sagemaker-python-sdk/blob/master/CONTRIBUTING.md) doc
14+
- [ ] I certify that the changes I am introducing will be backword compatible, and I have discussed concerns about this, if any, with the Python SDK team
1415
- [ ] I used the commit message format described in [CONTRIBUTING](https://github.com/aws/sagemaker-python-sdk/blob/master/CONTRIBUTING.md#committing-your-change)
1516
- [ ] I have passed the region in to all S3 and STS clients that I've initialized as part of this change.
1617
- [ ] I have updated any necessary documentation, including [READMEs](https://github.com/aws/sagemaker-python-sdk/blob/master/README.rst) and [API docs](https://github.com/aws/sagemaker-python-sdk/tree/master/doc) (if appropriate)
1718

1819
#### Tests
1920

2021
- [ ] I have added tests that prove my fix is effective or that my feature works (if appropriate)
22+
- [ ] I have added unit and/or integration tests as appropriate to ensure backward compatibility of the changes
2123
- [ ] I have checked that my tests are not configured for a specific region or account (if appropriate)
2224
- [ ] I have used [`unique_name_from_base`](https://github.com/aws/sagemaker-python-sdk/blob/master/src/sagemaker/utils.py#L77) to create resource names in integ tests (if appropriate)
2325

CHANGELOG.md

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

3+
## v2.59.8 (2021-10-07)
4+
5+
### Bug Fixes and Other Changes
6+
7+
* fix feature store ingestion via data wrangler test
8+
9+
## v2.59.7 (2021-10-04)
10+
11+
### Bug Fixes and Other Changes
12+
13+
* update feature request label
14+
* update bug template
15+
16+
## v2.59.6 (2021-09-30)
17+
18+
### Bug Fixes and Other Changes
19+
20+
* ParamValidationError when scheduling a Clarify model monitor
21+
22+
## v2.59.5 (2021-09-29)
23+
24+
### Bug Fixes and Other Changes
25+
26+
* support maps in step parameters
27+
28+
## v2.59.4 (2021-09-27)
29+
30+
### Bug Fixes and Other Changes
31+
32+
* add checks for ExecutionRole in UserSettings, adds more unit tests
33+
* add pytorch 1.8.1 for huggingface
34+
35+
## v2.59.3.post0 (2021-09-22)
36+
37+
### Documentation Changes
38+
39+
* Info about offline s3 bucket key when creating feature group
40+
341
## v2.59.3 (2021-09-20)
442

543
## v2.59.2 (2021-09-15)

VERSION

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

src/sagemaker/clarify.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def __init__(
228228
probability_threshold=None,
229229
label_headers=None,
230230
):
231-
"""Initializes a model output config to extract the predicted label.
231+
"""Initializes a model output config to extract the predicted label or predicted score(s).
232232
233233
The following examples show different parameter configurations depending on the endpoint:
234234
* Regression Task: The model returns the score, e.g. 1.2. we don't need to specify
@@ -255,11 +255,11 @@ def __init__(
255255
'label_headers=['cat','dog','fish']' and infer the predicted label to be 'fish.'
256256
257257
Args:
258-
label (str or int or list[int]): Optional index or JSONPath location in the model
259-
output for the prediction. In case, this is a predicted label of the same type as
260-
the label in the dataset no further arguments need to be specified.
261-
probability (str or int or list[int]): Optional index or JSONPath location in the model
262-
output for the predicted scores.
258+
label (str or int): Index or JSONPath location in the model output for the prediction.
259+
In case, this is a predicted label of the same type as the label in the dataset,
260+
no further arguments need to be specified.
261+
probability (str or int): Index or JSONPath location in the model output
262+
for the predicted score(s).
263263
probability_threshold (float): An optional value for binary prediction tasks in which
264264
the model returns a probability, to indicate the threshold to convert the
265265
prediction to a boolean value. Default is 0.5.

src/sagemaker/feature_store/feature_group.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,13 @@ def create(
457457
online_store_kms_key_id (str): KMS key id for online store.
458458
enable_online_store (bool): whether to enable online store or not.
459459
offline_store_kms_key_id (str): KMS key id for offline store.
460+
If a KMS encryption key is not specified, SageMaker encrypts all data at
461+
rest using the default AWS KMS key. By defining your bucket-level key for
462+
SSE, you can reduce the cost of AWS KMS requests.
463+
For more information, see
464+
`Bucket Key
465+
<https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-key.html>`_
466+
in the Amazon S3 User Guide.
460467
disable_glue_table_creation (bool): whether to turn off Glue table creation no not.
461468
data_catalog_config (DataCatalogConfig): configuration for Metadata store.
462469
description (str): description of the FeatureGroup.

src/sagemaker/huggingface/estimator.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,8 @@ def __init__(
178178
if "enable_sagemaker_metrics" not in kwargs:
179179
kwargs["enable_sagemaker_metrics"] = True
180180

181+
kwargs["py_version"] = self.py_version
182+
181183
super(HuggingFace, self).__init__(
182184
entry_point, source_dir, hyperparameters, image_uri=image_uri, **kwargs
183185
)

0 commit comments

Comments
 (0)