Skip to content

Commit 590e3a9

Browse files
Merge branch 'master' into pandas_dtypes_lower_fix
2 parents 8ddb5a6 + 28b57fd commit 590e3a9

File tree

284 files changed

+22326
-1011
lines changed

Some content is hidden

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

284 files changed

+22326
-1011
lines changed

.flake8

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ application_import_names = sagemaker, tests
33
import-order-style = google
44
per-file-ignores =
55
tests/unit/test_tuner.py: F405
6+
src/sagemaker/config/config_schema.py: E501

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ env/
3030
.vscode/
3131
**/tmp
3232
.python-version
33+
*.html
3334
**/_repack_script_launcher.sh
3435
tests/data/**/_repack_model.py
3536
tests/data/experiment/sagemaker-dev-1.0.tar.gz

CHANGELOG.md

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

3+
## v2.152.0 (2023-05-04)
4+
5+
### Features
6+
7+
* add support for lineage visualization using pyvis
8+
* Expose Experiment class publicly
9+
* PyTorch 1.13 release
10+
11+
### Bug Fixes and Other Changes
12+
13+
* Change data_type argument to dtype to keep consistent with D…
14+
* Skip edge test
15+
* make RemoteExecutor context manager non-blocking on pending futures
16+
* Add inferentia2 DLC images for djl framework
17+
* Fix typo in using_pytorch.rst
18+
* Unable to attach estimator to training job when KeepAlivePeriodInSeconds specified
19+
* update LMI container image
20+
* Update Clarify SHAPConfig baseline to allow JSON structures
21+
22+
### Documentation Changes
23+
24+
* Fix broken link in DJL SageMaker docs
25+
* currency update for the SageMaker data parallelism lib
26+
* SM model parallel library v1.15.0 release note
27+
28+
## v2.151.0 (2023-04-27)
29+
30+
### Features
31+
32+
* Update Transformers 4.26 - TensorFlow 2.11.0 Image URI
33+
* Add Extra Parameters to Lambda Function Wrapper
34+
35+
### Bug Fixes and Other Changes
36+
37+
* Add kms key support for Model registration
38+
* Enable inference recommender slow tests
39+
* Pass sagemaker session to downstream s3 calls
40+
* Add ap-south-1 to no p3 regions
41+
* skip test for p2 instance for TF2.12 and above
42+
43+
### Documentation Changes
44+
45+
* Fix minor misses from the remote function doc release
46+
47+
## v2.150.0 (2023-04-26)
48+
49+
### Features
50+
51+
* Introduce TensorBoard app class
52+
53+
### Bug Fixes and Other Changes
54+
55+
* Update data wrangler images
56+
57+
## v2.149.0 (2023-04-25)
58+
59+
### Features
60+
61+
* Support TF2.12 SageMaker DLC
62+
63+
### Bug Fixes and Other Changes
64+
65+
* update the doc for Join function
66+
* change s3UploadMode of sagemaker clarify processing output for computer vision jobs.
67+
68+
### Documentation Changes
69+
70+
* Add Remote Function updates
71+
72+
## v2.148.0 (2023-04-20)
73+
74+
### Features
75+
76+
* [huggingface] Add `torch.distributed` support for Trainium and `torchrun`
77+
* Add PyTorch 2.0 to SDK
78+
79+
### Bug Fixes and Other Changes
80+
81+
* updating batch transform job in monitoring schedule
82+
83+
## v2.147.0 (2023-04-18)
84+
85+
### Features
86+
87+
* support different types of deletion mode
88+
89+
## v2.146.1 (2023-04-17)
90+
91+
### Bug Fixes and Other Changes
92+
93+
* skip failing tests temporarily
94+
* Added ml.p4d and ml.p4de as supported instances for DeepSpeed
95+
96+
### Documentation Changes
97+
98+
* Add Model Registry Model Collection
99+
100+
## v2.146.0 (2023-04-13)
101+
102+
### Features
103+
104+
* Add support for JSON model inputs for Clarify Processor
105+
106+
### Bug Fixes and Other Changes
107+
108+
* Feature/list collection
109+
* improve reliability of Run integration test
110+
* Add a comment that smdataparallel lib excludes tf 2.12 support
111+
112+
### Documentation Changes
113+
114+
* Update reference to load run method in documentation
115+
116+
## v2.145.0 (2023-04-06)
117+
118+
### Features
119+
120+
* add support for async inline error notifications
121+
* Add methods for feature group to list feature metadata parameters and tags
122+
* Support huggingface hub model_id for DJL Models
123+
124+
### Bug Fixes and Other Changes
125+
126+
* load_sagemaker_config should lazy initialize a default S3 resource
127+
128+
## v2.144.0 (2023-04-05)
129+
130+
### Features
131+
132+
* support create Clarify explainer enabled endpoint for Clarify Online Explainability
133+
* Combined inference and training script artifact
134+
* jumpstart instance types
135+
* Deprecation warning for framework profiling for TF 2.12 and on, PT 2.0 and on
136+
137+
### Bug Fixes and Other Changes
138+
139+
* always delete temporary directory even during exception
140+
* Fixes the completion_criteria_config dict in the to_input_req method
141+
* Update CHANGELOG.md
142+
143+
### Documentation Changes
144+
145+
* Update SageMaker Debugger doc
146+
147+
## v2.143.0 (2023-03-29)
148+
149+
### Features
150+
151+
* Support for SageMaker SDK Defaults
152+
153+
### Bug Fixes and Other Changes
154+
155+
* update feature store offline s3 path used in tests
156+
157+
## v2.142.0 (2023-03-27)
158+
159+
### Features
160+
161+
* combined model + script artifact
162+
163+
## v2.141.0 (2023-03-24)
164+
165+
### Features
166+
167+
* AutoGluon 0.7.0 image_uris update
168+
* Add DJL FasterTransformer image uris
169+
* EMR step runtime role support
170+
* locations for EMR configuration and Spark dependencies
171+
* Adding support for 1P Algorithms in ZAZ, ZRH, HYD, MEL
172+
173+
### Documentation Changes
174+
175+
* Update FeatureGroup kms key id documentation
176+
3177
## v2.140.1 (2023-03-21)
4178

5179
### Bug Fixes and Other Changes

README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ To run the integration tests, the following prerequisites must be met
133133
1. AWS account credentials are available in the environment for the boto3 client to use.
134134
2. The AWS account has an IAM role named :code:`SageMakerRole`.
135135
It should have the AmazonSageMakerFullAccess policy attached as well as a policy with `the necessary permissions to use Elastic Inference <https://docs.aws.amazon.com/sagemaker/latest/dg/ei-setup.html>`__.
136+
3. To run remote_function tests, dummy ecr repo should be created. It can be created by running -
137+
:code:`aws ecr create-repository --repository-name remote-function-dummy-container`
136138

137139
We recommend selectively running just those integration tests you'd like to run. You can filter by individual test function names with:
138140

VERSION

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

doc/amazon_sagemaker_debugger.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ Amazon SageMaker Debugger
44
#########################
55

66

7+
.. warning::
8+
9+
This page is no longer supported for maintenence. The live documentation is at `Debug and Profile Training Jobs Using Amazon SageMaker Debugger <https://docs.aws.amazon.com/sagemaker/latest/dg/train-debugger.html>`_
10+
and `Debugger API <https://sagemaker.readthedocs.io/en/stable/api/training/debugger.html>`_.
11+
12+
713
Amazon SageMaker Debugger allows you to detect anomalies while training your machine learning model by emitting relevant data during training, storing the data and then analyzing it.
814

915
.. contents::

doc/api/inference/explainer.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Online Explainability
2+
---------------------
3+
4+
This module contains classes related to Amazon Sagemaker Clarify Online Explainability
5+
6+
.. automodule:: sagemaker.explainer.explainer_config
7+
:members:
8+
:undoc-members:
9+
:show-inheritance:
10+
11+
.. automodule:: sagemaker.explainer.clarify_explainer_config
12+
:members:
13+
:undoc-members:
14+
:show-inheritance:
15+
16+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Model Collection
2+
----------------
3+
4+
.. automodule:: sagemaker.collection
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:
8+

doc/api/prep_data/feature_store.rst

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Feature Store APIs
22
------------------
33

4-
Feature group
4+
Feature Group
55
*************
66

77
.. autoclass:: sagemaker.feature_store.feature_group.FeatureGroup
@@ -18,7 +18,7 @@ Feature group
1818
:show-inheritance:
1919

2020

21-
Feature definition
21+
Feature Definition
2222
******************
2323

2424
.. autoclass:: sagemaker.feature_store.feature_definition.FeatureDefinition
@@ -77,10 +77,46 @@ Inputs
7777
:members:
7878
:show-inheritance:
7979

80+
.. autoclass:: sagemaker.feature_store.inputs.ResourceEnum
81+
:members:
82+
:show-inheritance:
83+
84+
.. autoclass:: sagemaker.feature_store.inputs.SearchOperatorEnum
85+
:members:
86+
:show-inheritance:
87+
88+
.. autoclass:: sagemaker.feature_store.inputs.SortOrderEnum
89+
:members:
90+
:show-inheritance:
91+
92+
.. autoclass:: sagemaker.feature_store.inputs.FilterOperatorEnum
93+
:members:
94+
:show-inheritance:
95+
96+
.. autoclass:: sagemaker.feature_store.inputs.Filter
97+
:members:
98+
:show-inheritance:
99+
100+
.. autoclass:: sagemaker.feature_store.inputs.Identifier
101+
:members:
102+
:show-inheritance:
103+
104+
.. autoclass:: sagemaker.feature_store.inputs.FeatureParameter
105+
:members:
106+
:show-inheritance:
107+
80108

81109
Dataset Builder
82110
***************
83111

84112
.. autoclass:: sagemaker.feature_store.dataset_builder.DatasetBuilder
85113
:members:
86114
:show-inheritance:
115+
116+
117+
Feature Store
118+
*************
119+
120+
.. autoclass:: sagemaker.feature_store.feature_store.FeatureStore
121+
:members:
122+
:show-inheritance:

doc/api/training/debugger.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,13 @@ Configure the Debugger-specific parameters when constructing
1010
a SageMaker estimator to gain visibility and insights
1111
into your training job.
1212

13+
.. contents::
14+
1315
.. currentmodule:: sagemaker.debugger
1416

17+
Debugger Rule APIs
18+
~~~~~~~~~~~~~~~~~~
19+
1520
.. autoclass:: get_rule_container_image_uri
1621
:show-inheritance:
1722

@@ -44,6 +49,9 @@ into your training job.
4449
:show-inheritance:
4550
:inherited-members:
4651

52+
Debugger Configuration APIs
53+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
54+
4755
.. autoclass:: CollectionConfig
4856
:show-inheritance:
4957

@@ -56,6 +64,21 @@ into your training job.
5664
.. autoclass:: ProfilerConfig
5765
:show-inheritance:
5866

67+
Debugger Configuration APIs for Framework Profiling (Deprecated)
68+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69+
70+
.. warning::
71+
72+
SageMaker Debugger deprecates the framework profiling feature starting from TensorFlow 2.11 and PyTorch 2.0. You can still use the feature in the previous versions of the frameworks and SDKs as follows.
73+
74+
* SageMaker Python SDK <= v2.130.0
75+
* PyTorch >= v1.6.0, < v2.0
76+
* TensorFlow >= v2.3.1, < v2.11
77+
78+
With the deprecation, SageMaker Debugger discontinues support for the APIs below this note.
79+
80+
See also `Amazon SageMaker Debugger Release Notes: March 16, 2023 <https://docs.aws.amazon.com/sagemaker/latest/dg/debugger-release-notes.html#debugger-release-notes-20230315>`_.
81+
5982
.. autoclass:: FrameworkProfile
6083
:show-inheritance:
6184

doc/api/training/sdp_versions/latest.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ depending on the version of the library you use.
2626
<https://docs.aws.amazon.com/sagemaker/latest/dg/data-parallel-use-api.html#data-parallel-use-python-skd-api>`_
2727
for more information.
2828

29-
For versions between 1.4.0 and 1.7.0 (Latest)
29+
For versions between 1.4.0 and 1.8.0 (Latest)
3030
=============================================
3131

3232
.. toctree::

0 commit comments

Comments
 (0)