Skip to content

Commit 8d3ca3f

Browse files
authored
Merge branch 'master' into lineageVisualization
2 parents f761a98 + 885423c commit 8d3ca3f

File tree

324 files changed

+26856
-3514
lines changed

Some content is hidden

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

324 files changed

+26856
-3514
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ _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
14+
- [ ] I certify that the changes I am introducing will be backward compatible, and I have discussed concerns about this, if any, with the Python SDK team
1515
- [ ] I used the commit message format described in [CONTRIBUTING](https://github.com/aws/sagemaker-python-sdk/blob/master/CONTRIBUTING.md#committing-your-change)
1616
- [ ] I have passed the region in to all S3 and STS clients that I've initialized as part of this change.
1717
- [ ] 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)

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,6 @@ env/
3030
.vscode/
3131
**/tmp
3232
.python-version
33-
*.html
33+
*.html
34+
**/_repack_model.py
35+
**/_repack_script_launcher.sh

CHANGELOG.md

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

3+
## v2.116.0 (2022-10-28)
4+
5+
### Features
6+
7+
* support customized timeout for model data download and inference container startup health check for Hosting Endpoints
8+
* Trainium Neuron support for PyTorch
9+
* Pipelines cache keys update
10+
* Caching Improvements for SM Pipeline Workflows
11+
12+
## v2.115.0 (2022-10-27)
13+
14+
### Features
15+
16+
* Add support for TF 2.10 training
17+
* Disable profiler for Trainium instance type
18+
* support the Hyperband strategy with the StrategyConfig
19+
* support the GridSearch strategy for hyperparameter optimization
20+
21+
### Bug Fixes and Other Changes
22+
23+
* Update Graviton supported instance families
24+
25+
## v2.114.0 (2022-10-26)
26+
27+
### Features
28+
29+
* Graviton support for XGB and SKLearn frameworks
30+
* Graviton support for PyTorch and Tensorflow frameworks
31+
* do not expand estimator role when it is pipeline parameter
32+
* added support for batch transform with model monitoring
33+
34+
### Bug Fixes and Other Changes
35+
36+
* regex in tuning integs
37+
* remove debugger environment var set up
38+
* adjacent slash in s3 key
39+
* Fix Repack step auto install behavior
40+
* Add retry for airflow ParsingError
41+
42+
### Documentation Changes
43+
44+
* doc fix
45+
46+
## v2.113.0 (2022-10-21)
47+
48+
### Features
49+
50+
* support torch_distributed distribution for Trainium instances
51+
52+
### Bug Fixes and Other Changes
53+
54+
* bump apache-airflow from 2.4.0 to 2.4.1 in /requirements/extras
55+
56+
### Documentation Changes
57+
58+
* fix kwargs and descriptions of the smdmp checkpoint function
59+
* add the doc for the MonitorBatchTransformStep
60+
61+
## v2.112.2 (2022-10-11)
62+
63+
### Bug Fixes and Other Changes
64+
65+
* Update Neo-TF2.x versions to TF2.9(.2)
66+
67+
### Documentation Changes
68+
69+
* fix typo in PR template
70+
71+
## v2.112.1 (2022-10-10)
72+
73+
### Bug Fixes and Other Changes
74+
75+
* fix(local-mode): loosen docker requirement to allow 6.0.0
76+
* CreateModelPackage API error for Scikit-learn and XGBoost frameworkss
77+
78+
## v2.112.0 (2022-10-09)
79+
80+
### Features
81+
82+
* added monitor batch transform step (pipeline)
83+
84+
### Bug Fixes and Other Changes
85+
86+
* Add PipelineVariable annotation to framework estimators
87+
88+
## v2.111.0 (2022-10-05)
89+
90+
### Features
91+
92+
* Edit test file for supporting TF 2.10 training
93+
94+
### Bug Fixes and Other Changes
95+
96+
* support kms key in processor pack local code
97+
* security issue by bumping apache-airflow from 2.3.4 to 2.4.0
98+
* instance count retrieval logic
99+
* Add regex for short-form sagemaker-xgboost tags
100+
* Upgrade attrs>=20.3.0,<23
101+
* Add PipelineVariable annotation to Amazon estimators
102+
103+
### Documentation Changes
104+
105+
* add context for pytorch
106+
107+
## v2.110.0 (2022-09-27)
108+
109+
### Features
110+
111+
* Support KeepAlivePeriodInSeconds for Training APIs
112+
* added ANALYSIS_CONFIG_SCHEMA_V1_0 in clarify
113+
* add model monitor image accounts for ap-southeast-3
114+
115+
### Bug Fixes and Other Changes
116+
117+
* huggingface release test
118+
* Fixing the logic to return instanceCount for heterogeneousClusters
119+
* Disable type hints in doc signature and add PipelineVariable annotations in docstring
120+
* estimator hyperparameters in script mode
121+
122+
### Documentation Changes
123+
124+
* Added link to example notebook for Pipelines local mode
125+
126+
## v2.109.0 (2022-09-09)
127+
128+
### Features
129+
130+
* add search filters
131+
132+
### Bug Fixes and Other Changes
133+
134+
* local pipeline step argument parsing bug
135+
* support fail_on_violation flag for check steps
136+
* fix links per app security scan
137+
* Add PipelineVariable annotation for all processor subclasses
138+
139+
### Documentation Changes
140+
141+
* the SageMaker model parallel library 1.11.0 release
142+
143+
## v2.108.0 (2022-09-02)
144+
145+
### Features
146+
147+
* Adding support in HuggingFace estimator for Training Compiler enhanced PyTorch 1.11
148+
149+
### Bug Fixes and Other Changes
150+
151+
* add sagemaker clarify image account for cgk region
152+
* set PYTHONHASHSEED env variable to fixed value to fix intermittent failures in release pipeline
153+
* trcomp fixtures to override default fixtures for integ tests
154+
155+
### Documentation Changes
156+
157+
* add more info about volume_size
158+
159+
## v2.107.0 (2022-08-29)
160+
161+
### Features
162+
163+
* support python 3.10, update airflow dependency
164+
165+
### Bug Fixes and Other Changes
166+
167+
* Add retry in session.py to check if training is finished
168+
169+
### Documentation Changes
170+
171+
* remove Other tab in Built-in algorithms section and mi…
172+
173+
## v2.106.0 (2022-08-24)
174+
175+
### Features
176+
177+
* Implement Kendra Search in RTD website
178+
179+
### Bug Fixes and Other Changes
180+
181+
* Add primitive_or_expr() back to conditions
182+
* remove specifying env-vars when creating model from model package
183+
* Add CGK in config for Spark Image
184+
185+
## v2.105.0 (2022-08-19)
186+
187+
### Features
188+
189+
* Added endpoint_name to clarify.ModelConfig
190+
* adding workgroup functionality to athena query
191+
192+
### Bug Fixes and Other Changes
193+
194+
* disable debugger/profiler in cgk region
195+
* using unique name for lineage test to unblock PR checks
196+
197+
### Documentation Changes
198+
199+
* update first-party algorithms and structural updates
200+
201+
## v2.104.0 (2022-08-17)
202+
203+
### Features
204+
205+
* local mode executor implementation
206+
* Pipelines local mode setup
207+
* Add PT 1.12 support
208+
* added _AnalysisConfigGenerator for clarify
209+
210+
### Bug Fixes and Other Changes
211+
212+
* yaml safe_load sagemaker config
213+
* pipelines local mode minor bug fixes
214+
* add local mode integ tests
215+
* implement local JsonGet function
216+
* Add Pipeline annotation in model base class and tensorflow estimator
217+
* Allow users to customize trial component display names for pipeline launched jobs
218+
* Update localmode code to decode urllib response as UTF8
219+
220+
### Documentation Changes
221+
222+
* New content for Pipelines local mode
223+
* Correct documentation error
224+
225+
## v2.103.0 (2022-08-05)
226+
227+
### Features
228+
229+
* AutoGluon 0.4.3 and 0.5.2 image_uris
230+
231+
### Bug Fixes and Other Changes
232+
233+
* Revert "change: add a check to prevent launching a modelparallel job on CPU only instances"
234+
* Add gpu capability to local
235+
* Link PyTorch 1.11 to 1.11.0
236+
237+
## v2.102.0 (2022-08-04)
238+
239+
### Features
240+
241+
* add warnings for xgboost specific rules in debugger rules
242+
* Add PyTorch DDP distribution support
243+
* Add test for profiler enablement with debugger_hook false
244+
245+
### Bug Fixes and Other Changes
246+
247+
* Two letter language code must be supported
248+
* add a check to prevent launching a modelparallel job on CPU only instances
249+
* Allow StepCollection added in ConditionStep to be depended on
250+
* Add PipelineVariable annotation in framework models
251+
* skip managed spot training mxnet nb
252+
253+
### Documentation Changes
254+
255+
* smdistributed libraries currency updates
256+
257+
## v2.101.1 (2022-07-28)
258+
259+
### Bug Fixes and Other Changes
260+
261+
* added more ml frameworks supported by SageMaker Workflows
262+
* test: Vspecinteg2
263+
* Add PipelineVariable annotation in amazon models
264+
265+
## v2.101.0 (2022-07-27)
266+
267+
### Features
268+
269+
* Algorithms region launch on CGK
270+
* enhance-bucket-override-support
271+
* infer framework and version
272+
* support clarify bias detection when facets not included
273+
* Add CGK region to frameworks by DLC
274+
275+
### Bug Fixes and Other Changes
276+
277+
* Make repack step output path align with model repack path
278+
* Support parameterized source code input for TrainingStep
279+
280+
### Documentation Changes
281+
282+
* heterogeneous cluster api doc fix
283+
* smdmp v1.10 release note
284+
285+
## v2.100.0 (2022-07-18)
286+
287+
### Features
288+
289+
* upgrade to support python 3.10
290+
* Add target_model to support multi-model endpoints
291+
* Added support for feature group schema change and feature parameters
292+
293+
### Bug Fixes and Other Changes
294+
295+
* enable model.register without 'inference' & 'transform' instances
296+
* rename RegisterModel inner steps to prevent duplicate step names
297+
* remove primitive_or_expr() from conditions
298+
* support pipeline variables for spark processors run arguments
299+
* make 'ModelInput' field optional for inference recommendation
300+
* Fix processing image uri param
301+
* fix: neo inferentia as compilation target not using framework ver
302+
303+
### Documentation Changes
304+
305+
* SageMaker model parallel library v1.10.0 documentation
306+
* add detail & links to clarify docstrings
307+
3308
## v2.99.0 (2022-07-08)
4309

5310
### Features

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ Before sending us a pull request, please ensure that:
7878
1. cd into the sagemaker-python-sdk folder: `cd sagemaker-python-sdk` or `cd /environment/sagemaker-python-sdk`
7979
1. Run the following tox command and verify that all code checks and unit tests pass: `tox tests/unit`
8080

81-
You can also run a single test with the following command: `tox -e py36 -- -s -vv <path_to_file><file_name>::<test_function_name>`
81+
You can also run a single test with the following command: `tox -e py310 -- -s -vv <path_to_file><file_name>::<test_function_name>`
8282
* Note that the coverage test will fail if you only run a single test, so make sure to surround the command with `export IGNORE_COVERAGE=-` and `unset IGNORE_COVERAGE`
83-
* Example: `export IGNORE_COVERAGE=- ; tox -e py36 -- -s -vv tests/unit/test_estimator.py::test_sagemaker_model_s3_uri_invalid ; unset IGNORE_COVERAGE`
83+
* Example: `export IGNORE_COVERAGE=- ; tox -e py310 -- -s -vv tests/unit/test_estimator.py::test_sagemaker_model_s3_uri_invalid ; unset IGNORE_COVERAGE`
8484

8585

8686
### Run the Integration Tests
@@ -89,9 +89,9 @@ Our CI system runs integration tests (the ones in the `tests/integ` directory),
8989
You should only worry about manually running any new integration tests that you write, or integration tests that test an area of code that you've modified.
9090

9191
1. Follow the instructions at [Set Up the AWS Command Line Interface (AWS CLI)](https://docs.aws.amazon.com/polly/latest/dg/setup-aws-cli.html).
92-
1. To run a test, specify the test file and method you want to run per the following command: `tox -e py36 -- -s -vv <path_to_file><file_name>::<test_function_name>`
92+
1. To run a test, specify the test file and method you want to run per the following command: `tox -e py310 -- -s -vv <path_to_file><file_name>::<test_function_name>`
9393
* Note that the coverage test will fail if you only run a single test, so make sure to surround the command with `export IGNORE_COVERAGE=-` and `unset IGNORE_COVERAGE`
94-
* Example: `export IGNORE_COVERAGE=- ; tox -e py36 -- -s -vv tests/integ/test_tf_script_mode.py::test_mnist ; unset IGNORE_COVERAGE`
94+
* Example: `export IGNORE_COVERAGE=- ; tox -e py310 -- -s -vv tests/integ/test_tf_script_mode.py::test_mnist ; unset IGNORE_COVERAGE`
9595

9696
If you are writing or modifying a test that creates a SageMaker job (training, tuner, or transform) or endpoint, it's important to assign a concurrency-friendly `job_name` (or `endpoint_name`), or your tests may fail randomly due to name collisions. We have a helper method `sagemaker.utils.unique_name_from_base(base, max_length)` that makes test-friendly names. You can find examples of how to use it [here](https://github.com/aws/sagemaker-python-sdk/blob/3816a5658d3737c9767e01bc8d37fc3ed5551593/tests/integ/test_tfs.py#L37) and
9797
[here](https://github.com/aws/sagemaker-python-sdk/blob/3816a5658d3737c9767e01bc8d37fc3ed5551593/tests/integ/test_tuner.py#L616), or by searching for "unique\_name\_from\_base" in our test code.

LICENSE.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,3 +173,21 @@
173173
of your accepting any such warranty or additional liability.
174174

175175
END OF TERMS AND CONDITIONS
176+
177+
======================================================================================
178+
Amazon SageMaker Examples Subcomponents:
179+
180+
The Amazon SageMaker Examples project contains subcomponents with separate
181+
copyright notices and license terms. Your use of the source code for the
182+
these subcomponents is subject to the terms and conditions of the following
183+
licenses. See licenses/ for text of these licenses.
184+
185+
If a folder hierarchy is listed as subcomponent, separate listings of
186+
further subcomponents (files or folder hierarchies) part of the hierarchy
187+
take precedence.
188+
189+
=======================================================================================
190+
2-clause BSD license
191+
=======================================================================================
192+
_static/kendrasearchtools.js
193+
_templates/search.html

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ SageMaker Python SDK is tested on:
9090
- Python 3.7
9191
- Python 3.8
9292
- Python 3.9
93+
- Python 3.10
9394

9495
AWS Permissions
9596
~~~~~~~~~~~~~~~

VERSION

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

doc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# You can set these variables from the command line.
55
SPHINXOPTS = -W
6-
SPHINXBUILD = python -msphinx
6+
SPHINXBUILD = python3 -msphinx
77
SPHINXPROJ = sagemaker
88
SOURCEDIR = .
99
BUILDDIR = _build

0 commit comments

Comments
 (0)