Skip to content

Commit 0b6cf49

Browse files
authored
Merge branch 'master' into master
2 parents 2dbf80f + 3563f6a commit 0b6cf49

Some content is hidden

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

69 files changed

+1581
-917
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: 'bug'
5+
labels: ''
66
assignees: ''
77

88
---

.github/ISSUE_TEMPLATE/documentation-request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: Documentation request
33
about: Request improved documentation
44
title: ''
5-
labels: 'doc update'
5+
labels: ''
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 an improvement for this library
44
title: ''
5-
labels: 'feature request'
5+
labels: ''
66
assignees: ''
77

88
---

CHANGELOG.md

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

3+
## v1.50.9.post0 (2020-02-06)
4+
5+
### Documentation Changes
6+
7+
* remove labels from issue templates
8+
9+
## v1.50.9 (2020-02-04)
10+
11+
### Bug Fixes and Other Changes
12+
13+
* account for EI and version-based ECR repo naming in serving_image_uri()
14+
15+
### Documentation Changes
16+
17+
* correct broken AutoML API documentation link
18+
* fix MXNet version lists
19+
20+
## v1.50.8 (2020-01-30)
21+
22+
### Bug Fixes and Other Changes
23+
24+
* disable Debugger defaults in unsupported regions
25+
* modify session and kms_utils to check for S3 bucket before creation
26+
* update docker-compose and PyYAML dependencies
27+
* enable smdebug for Horovod (MPI) training setup
28+
* create lib dir for dependencies safely (only if it doesn't exist yet).
29+
* create the correct session for MultiDataModel
30+
31+
### Documentation Changes
32+
33+
* update links to the local mode notebooks examples.
34+
* Remove outdated badges from README
35+
* update links to TF notebook examples to link to script mode examples.
36+
* clean up headings, verb tenses, names, etc. in MXNet overview
37+
* Update SageMaker operator Helm chart installation guide
38+
39+
### Testing and Release Infrastructure
40+
41+
* choose faster notebook for notebook PR build
42+
* properly fail PR build if has-matching-changes fails
43+
* properly fail PR build if has-matching-changes fails
44+
45+
## v1.50.7 (2020-01-20)
46+
47+
### Bug fixes and other changes
48+
49+
* do not use script for TFS when entry_point is not provided
50+
* remove usage of pkg_resources
51+
* update py2 warning message since python 2 is deprecated
52+
* cleanup experiments, trials, and trial components in integ tests
53+
54+
## v1.50.6.post0 (2020-01-20)
55+
56+
### Documentation changes
57+
58+
* add additional information to Transformer class transform function doc string
59+
60+
## v1.50.6 (2020-01-18)
61+
62+
### Bug fixes and other changes
63+
64+
* Append serving to model framework name for PyTorch, MXNet, and TensorFlow
65+
66+
## v1.50.5 (2020-01-17)
67+
68+
### Bug fixes and other changes
69+
70+
* Use serving_image_uri for Airflow
71+
72+
### Documentation changes
73+
74+
* revise Processing docstrings for formatting and class links
75+
* Add processing readthedocs
76+
77+
## v1.50.4 (2020-01-16)
78+
79+
### Bug fixes and other changes
80+
81+
* Remove version number from default version comment
82+
* remove remaining instances of python-dateutil pin
83+
* upgrade boto3 and remove python-dateutil pin
84+
85+
### Documentation changes
86+
87+
* Add issue templates and configure issue template chooser
88+
* Update error type in delete_endpoint docstring
89+
* add version requirement for using "requirements.txt" when serving an MXNet model
90+
* update container dependency versions for MXNet and PyTorch
91+
* Update supported versions of PyTorch
92+
393
## v1.50.3 (2020-01-15)
494

595
### Bug fixes and other changes

README.rst

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,6 @@
66
SageMaker Python SDK
77
====================
88

9-
.. image:: https://travis-ci.org/aws/sagemaker-python-sdk.svg?branch=master
10-
:target: https://travis-ci.org/aws/sagemaker-python-sdk
11-
:alt: Build Status
12-
13-
.. image:: https://codecov.io/gh/aws/sagemaker-python-sdk/branch/master/graph/badge.svg
14-
:target: https://codecov.io/gh/aws/sagemaker-python-sdk
15-
:alt: CodeCov
16-
179
.. image:: https://img.shields.io/pypi/v/sagemaker.svg
1810
:target: https://pypi.python.org/pypi/sagemaker
1911
:alt: Latest Version
@@ -66,6 +58,7 @@ Table of Contents
6658
22. `SageMaker Autopilot <#sagemaker-autopilot>`__
6759
23. `Model Monitoring <#amazon-sagemaker-model-monitoring>`__
6860
24. `SageMaker Debugger <#amazon-sagemaker-debugger>`__
61+
25. `SageMaker Processing <#amazon-sagemaker-processing>`__
6962

7063

7164
Installing the SageMaker Python SDK
@@ -178,7 +171,7 @@ MXNet SageMaker Estimators
178171

179172
By using MXNet SageMaker Estimators, you can train and host MXNet models on Amazon SageMaker.
180173

181-
Supported versions of MXNet: ``0.12.1``, ``1.0.0``, ``1.1.0``, ``1.2.1``, ``1.3.0``, ``1.4.0``, ``1.4.1``.
174+
Supported versions of MXNet: ``0.12.1``, ``1.0.0``, ``1.1.0``, ``1.2.1``, ``1.3.0``, ``1.4.0``, ``1.4.1``, ``1.6.0``.
182175

183176
Supported versions of MXNet for Elastic Inference: ``1.3.0``, ``1.4.0``, ``1.4.1``.
184177

@@ -194,9 +187,9 @@ TensorFlow SageMaker Estimators
194187

195188
By using TensorFlow SageMaker Estimators, you can train and host TensorFlow models on Amazon SageMaker.
196189

197-
Supported versions of TensorFlow: ``1.4.1``, ``1.5.0``, ``1.6.0``, ``1.7.0``, ``1.8.0``, ``1.9.0``, ``1.10.0``, ``1.11.0``, ``1.12.0``, ``1.13.1``, ``1.14.``, ``1.15.0``, ``2.0.0``.
190+
Supported versions of TensorFlow: ``1.4.1``, ``1.5.0``, ``1.6.0``, ``1.7.0``, ``1.8.0``, ``1.9.0``, ``1.10.0``, ``1.11.0``, ``1.12.0``, ``1.13.1``, ``1.14.0``, ``1.15.0``, ``2.0.0``.
198191

199-
Supported versions of TensorFlow for Elastic Inference: ``1.11.0``, ``1.12.0``, ``1.13.1``, ``1.14``.
192+
Supported versions of TensorFlow for Elastic Inference: ``1.11.0``, ``1.12.0``, ``1.13.1``, ``1.14.0``.
200193

201194
We recommend that you use the latest supported version, because that's where we focus most of our development efforts.
202195

@@ -377,3 +370,13 @@ For more information, see `Amazon SageMaker Debugger`_.
377370

378371
.. _Amazon SageMaker Debugger: https://sagemaker.readthedocs.io/en/stable/amazon_sagemaker_debugger.html
379372

373+
374+
Amazon SageMaker Processing
375+
---------------------------------
376+
377+
You can use Amazon SageMaker Processing to perform data processing tasks such as data pre- and post-processing, feature engineering, data validation, and model evaluation
378+
379+
380+
For more information, see `Amazon SageMaker Processing`_.
381+
382+
.. _Amazon SageMaker Processing: https://sagemaker.readthedocs.io/en/stable/amazon_sagemaker_processing.html

VERSION

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

buildspec-localmodetests.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,5 @@ phases:
1111

1212
# local mode tests
1313
- start_time=`date +%s`
14-
- |
15-
if has-matching-changes "tests/" "src/*.py" "setup.py" "setup.cfg" "buildspec.yml"; then
16-
tox -e py36 -- tests/integ -m local_mode --durations 50
17-
fi
18-
- ./ci-scripts/displaytime.sh 'py36 local mode' $start_time
19-
20-
- start_time=`date +%s`
21-
- |
22-
if has-matching-changes "tests/" "src/*.py" "setup.py" "setup.cfg" "buildspec.yml"; then
23-
tox -e py27 -- tests/integ -m local_mode --durations 50
24-
fi
25-
- ./ci-scripts/displaytime.sh 'py27 local mode' $start_time
14+
- execute-command-if-has-matching-changes "tox -e py27,py36 -- tests/integ -m local_mode --durations 50" "tests/" "src/*.py" "setup.py" "setup.cfg" "buildspec.yml"
15+
- ./ci-scripts/displaytime.sh 'py27,py36 local mode' $start_time

buildspec-notebooktests.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,5 @@ phases:
66
# run notebook test
77
- echo "running notebook test"
88
- start_time=`date +%s`
9-
- |
10-
if has-matching-changes "src/*.py" "setup.py" "setup.cfg" "tests/scripts/run-notebook-test.sh"; then
11-
./tests/scripts/run-notebook-test.sh
12-
fi
9+
- execute-command-if-has-matching-changes "./tests/scripts/run-notebook-test.sh" "src/*.py" "setup.py" "setup.cfg" "tests/scripts/run-notebook-test.sh"
1310
- ./ci-scripts/displaytime.sh 'notebook test' $start_time

buildspec.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,12 @@ phases:
1111

1212
# run integration tests
1313
- start_time=`date +%s`
14-
- |
15-
if has-matching-changes "tests/" "src/*.py" "setup.py" "setup.cfg" "buildspec.yml"; then
16-
python3 -u ci-scripts/queue_build.py
17-
fi
14+
- execute-command-if-has-matching-changes "python3 -u ci-scripts/queue_build.py" "tests/" "src/*.py" "setup.py" "setup.cfg" "buildspec.yml"
1815
- ./ci-scripts/displaytime.sh 'build queue' $start_time
1916

2017
- start_time=`date +%s`
2118
- |
22-
if has-matching-changes "tests/" "src/*.py" "setup.py" "setup.cfg" "buildspec.yml"; then
23-
tox -e py36 -- tests/integ -m "not local_mode" -n 512 --reruns 3 --reruns-delay 5 --durations 50 --boto-config '{"region_name": "us-east-2"}'
24-
fi
19+
execute-command-if-has-matching-changes "tox -e py36 -- tests/integ -m \"not local_mode\" -n 512 --reruns 3 --reruns-delay 5 --durations 50 --boto-config '{\"region_name\": \"us-east-2\"}'" "tests/" "src/*.py" "setup.py" "setup.cfg" "buildspec.yml"
2520
- ./ci-scripts/displaytime.sh 'py36 tests/integ' $start_time
2621

2722
post_build:

doc/amazon_sagemaker_operators_for_kubernetes.rst

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ follows:
239239

240240
- Edit the \ ``installer.yaml`` file to
241241
replace \ ``eks.amazonaws.com/role-arn``. Replace the ARN here with
242-
the ARN for the OIDC-based role you’ve created.
242+
the Amazon Resource Name (ARN) for the OIDC-based role you’ve created.
243243

244244
- Use the following command to deploy the cluster:
245245

@@ -262,17 +262,22 @@ Clone the Helm installer directory using the following command:
262262

263263
Navigate to the
264264
``amazon-sagemaker-operator-for-k8s/hack/charts/installer`` folder. Edit
265-
the \ ``values.yaml`` file, which includes high-level parameters for the
266-
Chart. Replace the ARN here with the ARN for the OIDC-based role you’ve
265+
the \ ``rolebased/values.yaml`` file, which includes high-level parameters for the
266+
Chart. Replace the role ARN here with the Amazon Resource Name (ARN) for the OIDC-based role you’ve
267267
created.
268268

269269
Install the Helm Chart using the following command:
270270

271271
::
272272

273-
helm install rolebased/ --generate-name
273+
kubectl create namespace sagemaker-k8s-operator-system
274+
helm install --namespace sagemaker-k8s-operator-system sagemaker-operator rolebased/
274275

275276

277+
.. warning::
278+
If you decide to install the operator into a namespace other than the one specified above,
279+
you will need to adjust the namespace defined in the IAM role ``trust.json`` file to match.
280+
276281
After a moment, the chart will be installed with a randomly generated
277282
name. Verify that the installation succeeded by running the following
278283
command:
@@ -285,8 +290,8 @@ Your output should look like the following:
285290

286291
::
287292

288-
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
289-
rolebased-1234567 default 1 2019-11-20 23:14:59.6777082 +0000 UTC deployed sagemaker-k8s-operator-0.1.0
293+
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
294+
sagemaker-operator sagemaker-k8s-operator-system 1 2019-11-20 23:14:59.6777082 +0000 UTC deployed sagemaker-k8s-operator-0.1.0
290295

291296

292297
Verify the operator deployment

0 commit comments

Comments
 (0)