Skip to content

Commit 0716e04

Browse files
authored
Merge branch 'master' into upcoming_regions
2 parents 9aab5c2 + 481719f commit 0716e04

26 files changed

+494
-119
lines changed

CHANGELOG.md

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

3+
## v2.0.1 (2020-08-05)
4+
5+
### Bug Fixes and Other Changes
6+
7+
* use pathlib.PurePosixPath for S3 URLs and Unix paths
8+
* fix regions for updated RL images
9+
10+
### Documentation Changes
11+
12+
* update CHANGELOG to reflect v2.0.0 changes
13+
14+
### Testing and Release Infrastructure
15+
16+
* remove v2-incompatible notebooks from notebook build
17+
18+
## v2.0.0 (2020-08-04)
19+
20+
### Breaking Changes
21+
22+
* rename s3_input to TrainingInput
23+
* Move _NumpyDeserializer to sagemaker.deserializers.NumpyDeserializer
24+
* rename numpy_to_record_serializer to RecordSerializer
25+
* Move _CsvDeserializer to sagemaker.deserializers and rename to CSVDeserializer
26+
* Move _JsonSerializer to sagemaker.serializers.JSONSerializer
27+
* Move _NPYSerializer to sagemaker.serializers and rename to NumpySerializer
28+
* Move _JsonDeserializer to sagemaker.deserializers.JSONDeserializer
29+
* Move _CsvSerializer to sagemaker.serializers.CSVSerializer
30+
* preserve script path when S3 source_dir is provided
31+
* use image_uris.retrieve() for XGBoost URIs
32+
* deprecate sagemaker.amazon.amazon_estimator.get_image_uri()
33+
* deprecate fw_registry module and use image_uris.retrieve() for SparkML
34+
* deprecate Python SDK CLI
35+
* Remove the content_types module
36+
* deprecate unused parameters
37+
* deprecate fw_utils.create_image_uri()
38+
* use images_uris.retrieve() for Debugger
39+
* deprecate fw_utils.parse_s3_url in favor of s3.parse_s3_url
40+
* deprecate unused functions from utils and fw_utils
41+
* Remove content_type and accept parameters from Predictor
42+
* Add parameters to deploy and remove parameters from create_model
43+
* Add LibSVM serializer for XGBoost predictor
44+
* move ShuffleConfig from sagemaker.session to sagemaker.inputs
45+
* deprecate get_ecr_image_uri_prefix
46+
* rename estimator.train_image() to estimator.training_image_uri()
47+
* deprecate is_version_equal_or_higher and is_version_equal_or_lower
48+
* default wait=True for HyperparameterTuner.fit() and Transformer.transform()
49+
* remove unused bin/sagemaker-submit file
50+
51+
### Features
52+
53+
* start new module for retrieving prebuilt SageMaker image URIs
54+
* handle separate training/inference images and EI in image_uris.retrieve
55+
* add support for Amazon algorithms in image_uris.retrieve()
56+
* Add pandas deserializer
57+
* Remove LegacySerializer and LegacyDeserializer
58+
* Add sparse matrix serializer
59+
* Add v2 SerDe compatability
60+
* Add JSON Lines serializer
61+
* add framework upgrade tool
62+
* add 1p algorithm image_uris migration tool
63+
* Update migration tool to support breaking changes to create_model
64+
* support PyTorch 1.6 training
65+
66+
### Bug Fixes and Other Changes
67+
68+
* handle named variables in v2 migration tool
69+
* add modifier for s3_input class
70+
* add XGBoost support to image_uris.retrieve()
71+
* add MXNet configuration to image_uris.retrieve()
72+
* add remaining Amazon algorithms for image_uris.retrieve()
73+
* add PyTorch configuration for image_uris.retrieve()
74+
* make image_scope optional for some images in image_uris.retrieve()
75+
* separate logs() from attach()
76+
* use image_uris.retrieve instead of fw_utils.create_image_uri for DLC frameworks
77+
* use images_uris.retrieve() for scikit-learn classes
78+
* use image_uris.retrieve() for RL images
79+
* Rename BaseDeserializer.deserialize data parameter
80+
* Add allow_pickle parameter to NumpyDeserializer
81+
* Fix scipy.sparse imports
82+
* Improve code style of SerDe compatibility
83+
* use image_uris.retrieve for Neo and Inferentia images
84+
* use generated RL version fixtures and update Ray version
85+
* use image_uris.retrieve() for ModelMonitor default image
86+
* use _framework_name for 'protected' attribute
87+
* Fix JSONLinesDeserializer
88+
* upgrade TFS version and fix py_versions KeyError
89+
* Fix PandasDeserializer tests to more accurately mock response
90+
* don't require instance_type for image_uris.retrieve() if only one option
91+
* ignore code cells with shell commands in v2 migration tool
92+
* Support multiple Accept types
93+
94+
### Documentation Changes
95+
96+
* fix pip install command
97+
* document name changes for TFS classes
98+
* document v2.0.0 changes
99+
* update KFP full pipeline
100+
101+
### Testing and Release Infrastructure
102+
103+
* generate Chainer latest version fixtures from config
104+
* use generated TensorFlow version fixtures
105+
* use generated MXNet version fixtures
106+
3107
## v1.72.0 (2020-07-29)
4108

5109
### Features

README.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
+-------------------------------------------------------------------------------------------------+
2-
| **NOTE**: We are working on v2.0.0. See https://github.com/aws/sagemaker-python-sdk/issues/1459 |
3-
| for more info on our plans and to leave feedback! |
4-
+-------------------------------------------------------------------------------------------------+
5-
61
.. image:: https://github.com/aws/sagemaker-python-sdk/raw/master/branding/icon/sagemaker-banner.png
72
:height: 100px
83
:alt: SageMaker

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.0.rc1
1+
2.0.2.dev0

src/sagemaker/image_uri_config/chainer.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"versions": {
1010
"4.0.0": {
1111
"registries": {
12+
"af-south-1": "313743910680",
1213
"ap-east-1": "057415533634",
1314
"ap-northeast-1": "520713654638",
1415
"ap-northeast-2": "520713654638",
@@ -20,6 +21,7 @@
2021
"cn-northwest-1": "423003514399",
2122
"eu-central-1": "520713654638",
2223
"eu-north-1": "520713654638",
24+
"eu-south-1": "048378556238",
2325
"eu-west-1": "520713654638",
2426
"eu-west-2": "520713654638",
2527
"eu-west-3": "520713654638",
@@ -37,6 +39,7 @@
3739
},
3840
"4.1.0": {
3941
"registries": {
42+
"af-south-1": "313743910680",
4043
"ap-east-1": "057415533634",
4144
"ap-northeast-1": "520713654638",
4245
"ap-northeast-2": "520713654638",
@@ -48,6 +51,7 @@
4851
"cn-northwest-1": "423003514399",
4952
"eu-central-1": "520713654638",
5053
"eu-north-1": "520713654638",
54+
"eu-south-1": "048378556238",
5155
"eu-west-1": "520713654638",
5256
"eu-west-2": "520713654638",
5357
"eu-west-3": "520713654638",
@@ -65,6 +69,7 @@
6569
},
6670
"5.0.0": {
6771
"registries": {
72+
"af-south-1": "313743910680",
6873
"ap-east-1": "057415533634",
6974
"ap-northeast-1": "520713654638",
7075
"ap-northeast-2": "520713654638",
@@ -76,6 +81,7 @@
7681
"cn-northwest-1": "423003514399",
7782
"eu-central-1": "520713654638",
7883
"eu-north-1": "520713654638",
84+
"eu-south-1": "048378556238",
7985
"eu-west-1": "520713654638",
8086
"eu-west-2": "520713654638",
8187
"eu-west-3": "520713654638",

src/sagemaker/image_uri_config/coach-mxnet.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"0.11": {
66
"py_versions": ["py3"],
77
"registries": {
8+
"af-south-1": "313743910680",
89
"ap-east-1": "057415533634",
910
"ap-northeast-1": "520713654638",
1011
"ap-northeast-2": "520713654638",
@@ -16,6 +17,7 @@
1617
"cn-northwest-1": "423003514399",
1718
"eu-central-1": "520713654638",
1819
"eu-north-1": "520713654638",
20+
"eu-south-1": "048378556238",
1921
"eu-west-1": "520713654638",
2022
"eu-west-2": "520713654638",
2123
"eu-west-3": "520713654638",
@@ -34,6 +36,7 @@
3436
"0.11.0": {
3537
"py_versions": ["py3"],
3638
"registries": {
39+
"af-south-1": "313743910680",
3740
"ap-east-1": "057415533634",
3841
"ap-northeast-1": "520713654638",
3942
"ap-northeast-2": "520713654638",
@@ -45,6 +48,7 @@
4548
"cn-northwest-1": "423003514399",
4649
"eu-central-1": "520713654638",
4750
"eu-north-1": "520713654638",
51+
"eu-south-1": "048378556238",
4852
"eu-west-1": "520713654638",
4953
"eu-west-2": "520713654638",
5054
"eu-west-3": "520713654638",

src/sagemaker/image_uri_config/coach-tensorflow.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"0.10": {
66
"py_versions": ["py3"],
77
"registries": {
8+
"af-south-1": "313743910680",
89
"ap-east-1": "057415533634",
910
"ap-northeast-1": "520713654638",
1011
"ap-northeast-2": "520713654638",
@@ -16,6 +17,7 @@
1617
"cn-northwest-1": "423003514399",
1718
"eu-central-1": "520713654638",
1819
"eu-north-1": "520713654638",
20+
"eu-south-1": "048378556238",
1921
"eu-west-1": "520713654638",
2022
"eu-west-2": "520713654638",
2123
"eu-west-3": "520713654638",
@@ -34,6 +36,7 @@
3436
"0.10.1": {
3537
"py_versions": ["py3"],
3638
"registries": {
39+
"af-south-1": "313743910680",
3740
"ap-east-1": "057415533634",
3841
"ap-northeast-1": "520713654638",
3942
"ap-northeast-2": "520713654638",
@@ -45,6 +48,7 @@
4548
"cn-northwest-1": "423003514399",
4649
"eu-central-1": "520713654638",
4750
"eu-north-1": "520713654638",
51+
"eu-south-1": "048378556238",
4852
"eu-west-1": "520713654638",
4953
"eu-west-2": "520713654638",
5054
"eu-west-3": "520713654638",
@@ -63,6 +67,7 @@
6367
"0.11": {
6468
"py_versions": ["py3"],
6569
"registries": {
70+
"af-south-1": "313743910680",
6671
"ap-east-1": "057415533634",
6772
"ap-northeast-1": "520713654638",
6873
"ap-northeast-2": "520713654638",
@@ -74,6 +79,7 @@
7479
"cn-northwest-1": "423003514399",
7580
"eu-central-1": "520713654638",
7681
"eu-north-1": "520713654638",
82+
"eu-south-1": "048378556238",
7783
"eu-west-1": "520713654638",
7884
"eu-west-2": "520713654638",
7985
"eu-west-3": "520713654638",
@@ -92,6 +98,7 @@
9298
"0.11.0": {
9399
"py_versions": ["py3"],
94100
"registries": {
101+
"af-south-1": "313743910680",
95102
"ap-east-1": "057415533634",
96103
"ap-northeast-1": "520713654638",
97104
"ap-northeast-2": "520713654638",
@@ -103,6 +110,7 @@
103110
"cn-northwest-1": "423003514399",
104111
"eu-central-1": "520713654638",
105112
"eu-north-1": "520713654638",
113+
"eu-south-1": "048378556238",
106114
"eu-west-1": "520713654638",
107115
"eu-west-2": "520713654638",
108116
"eu-west-3": "520713654638",
@@ -121,6 +129,7 @@
121129
"0.11.1": {
122130
"py_versions": ["py3"],
123131
"registries": {
132+
"af-south-1": "313743910680",
124133
"ap-east-1": "057415533634",
125134
"ap-northeast-1": "520713654638",
126135
"ap-northeast-2": "520713654638",
@@ -132,6 +141,7 @@
132141
"cn-northwest-1": "423003514399",
133142
"eu-central-1": "520713654638",
134143
"eu-north-1": "520713654638",
144+
"eu-south-1": "048378556238",
135145
"eu-west-1": "520713654638",
136146
"eu-west-2": "520713654638",
137147
"eu-west-3": "520713654638",
@@ -157,11 +167,8 @@
157167
"ap-southeast-2": "462105765813",
158168
"ca-central-1": "462105765813",
159169
"eu-central-1": "462105765813",
160-
"eu-north-1": "462105765813",
161170
"eu-west-1": "462105765813",
162171
"eu-west-2": "462105765813",
163-
"eu-west-3": "462105765813",
164-
"sa-east-1": "462105765813",
165172
"us-east-1": "462105765813",
166173
"us-east-2": "462105765813",
167174
"us-west-1": "462105765813",

0 commit comments

Comments
 (0)