Skip to content

Commit 49b6fbe

Browse files
authored
Merge branch 'master' into deepar-kix
2 parents c0fd669 + 0bb007c commit 49b6fbe

File tree

105 files changed

+4076
-1023
lines changed

Some content is hidden

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

105 files changed

+4076
-1023
lines changed

.githooks/pre-push

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ start_time=`date +%s`
1212
tox -e sphinx,doc8 --parallel all
1313
./ci-scripts/displaytime.sh 'sphinx,doc8' $start_time
1414
start_time=`date +%s`
15-
tox -e py36,py37,py38,py39 --parallel all -- tests/unit
16-
./ci-scripts/displaytime.sh 'py36,py37,py38,py39 unit' $start_time
15+
tox -e py37,py38,py39 --parallel all -- tests/unit
16+
./ci-scripts/displaytime.sh 'py37,py38,py39 unit' $start_time

CHANGELOG.md

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

3+
## v2.97.0 (2022-06-28)
4+
5+
### Deprecations and Removals
6+
7+
* remove support for python 3.6
8+
9+
### Features
10+
11+
* update prebuilt models documentation
12+
13+
### Bug Fixes and Other Changes
14+
15+
* Skipping test_candidate_estimator_default_rerun_and_deploy
16+
* Update model name from 'compiled.pt' to 'model.pth' for neo
17+
* update pytest, skip hf integ temp
18+
* Add override_pipeline_parameter_var decorator to give grace period to update invalid pipeline var args
19+
20+
## v2.96.0 (2022-06-20)
21+
22+
### Features
23+
24+
* Add helper method to generate pipeline adjacency list
25+
26+
### Bug Fixes and Other Changes
27+
28+
* changing trcomp integ tests to be able to run in all regions
29+
30+
## v2.95.0 (2022-06-16)
31+
32+
### Features
33+
34+
* Adding Training Compiler support for TensorFlow estimator starting TF 2.9
35+
* Add support for TF 2.9 training
36+
37+
### Bug Fixes and Other Changes
38+
39+
* integs fallback from p3 to p2 instance
40+
* bucket exists check for session.default_bucket
41+
* make instance type fields as optional
42+
43+
### Documentation Changes
44+
45+
* improvements on the docstring of ModelStep
46+
* Add XGBoostProcessor
47+
48+
## v2.94.0 (2022-06-07)
49+
50+
### Features
51+
52+
* AutoGluon 0.4.2 image_uris support
53+
54+
## v2.93.1 (2022-06-06)
55+
56+
### Bug Fixes and Other Changes
57+
58+
* add input parameterization tests for workflow job steps
59+
* add parameterized tests to transformer
60+
61+
## v2.93.0 (2022-06-03)
62+
63+
### Features
64+
65+
* MxNet 1.9 support
66+
67+
### Bug Fixes and Other Changes
68+
69+
* bump importlib-metadata version upperbound to support TF2.9
70+
* fix pipeline doc code example where process.run only accepts argument
71+
* Fix Tensorflow default model_dir generation when output_path is pipeline variable
72+
* Support transformer data parameterization
73+
74+
## v2.92.2 (2022-05-31)
75+
76+
### Bug Fixes and Other Changes
77+
78+
* turn off Pipeline Parameter inheritance from python primitives
79+
* Add more validations for pipeline step new interfaces
80+
* Changed method description per AWS request
81+
382
## v2.92.1 (2022-05-26)
483

584
### Bug Fixes and Other Changes

README.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ Supported Python Versions
8787

8888
SageMaker Python SDK is tested on:
8989

90-
- Python 3.6
9190
- Python 3.7
9291
- Python 3.8
9392
- Python 3.9

VERSION

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

doc/amazon_sagemaker_model_building_pipeline.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ Referable Property List:
239239
ProcessingOutput(output_name="train", source="/opt/ml/processing/train"),
240240
],
241241
code="./local/preprocess.py",
242-
job_arguments=["--input-data", "s3://my-input"]
242+
arguments=["--input-data", "s3://my-input"]
243243
),
244244
)
245245
@@ -496,7 +496,7 @@ A :class:`sagemaker.workflow.properties.PropertyFile` is designed to store infor
496496
ProcessingOutput(output_name="hyperparam", source="/opt/ml/processing/evaluation"),
497497
],
498498
code="./local/preprocess.py",
499-
job_arguments=["--input-data", "s3://my-input"],
499+
arguments=["--input-data", "s3://my-input"],
500500
)
501501
502502
hyperparam_report = PropertyFile(
@@ -577,7 +577,7 @@ There are eight types of condition are supported, they are:
577577
ProcessingOutput(output_name="hyperparam", source="/opt/ml/processing/evaluation"),
578578
],
579579
code="./local/preprocess.py",
580-
job_arguments=["--input-data", "s3://my-input"],
580+
arguments=["--input-data", "s3://my-input"],
581581
)
582582
583583
eval_report = PropertyFile(
@@ -668,7 +668,7 @@ Use :class:`sagemaker.workflow.functions.JsonGet` to extract a Json property fro
668668
ProcessingOutput(output_name="hyperparam", source="/opt/ml/processing/evaluation"),
669669
],
670670
code="./local/preprocess.py",
671-
job_arguments=["--input-data", "s3://my-input"],
671+
arguments=["--input-data", "s3://my-input"],
672672
)
673673
674674
hyperparam_report = PropertyFile(

doc/doc_utils/jumpstart_doc_utils.py

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -143,20 +143,26 @@ def create_jumpstart_model_table():
143143
file_content.append(".. |external-link| raw:: html\n\n")
144144
file_content.append(' <i class="fa fa-external-link"></i>\n\n')
145145

146-
file_content.append("==================================\n")
147-
file_content.append("JumpStart Available Model Table\n")
148-
file_content.append("==================================\n")
146+
file_content.append("================================================\n")
147+
file_content.append("Built-in Algorithms with pre-trained Model Table\n")
148+
file_content.append("================================================\n")
149149
file_content.append(
150150
"""
151-
JumpStart for the SageMaker Python SDK uses model IDs and model versions to access the necessary
152-
utilities. This table serves to provide the core material plus some extra information that can be useful
153-
in selecting the correct model ID and corresponding parameters.\n"""
151+
The SageMaker Python SDK uses model IDs and model versions to access the necessary
152+
utilities for pre-trained models. This table serves to provide the core material plus
153+
some extra information that can be useful in selecting the correct model ID and
154+
corresponding parameters.\n"""
154155
)
155156
file_content.append(
156157
"""
157158
If you want to automatically use the latest version of the model, use "*" for the `model_version` attribute.
158159
We highly suggest pinning an exact model version however.\n"""
159160
)
161+
file_content.append(
162+
"""
163+
These models are also available through the
164+
`JumpStart UI in SageMaker Studio <https://docs.aws.amazon.com/sagemaker/latest/dg/studio-jumpstart.html>`__\n"""
165+
)
160166
file_content.append("\n")
161167
file_content.append(".. list-table:: Available Models\n")
162168
file_content.append(" :widths: 50 20 20 20 30 20\n")
@@ -183,5 +189,6 @@ def create_jumpstart_model_table():
183189
" - `{} <{}>`__ |external-link|\n".format(model_source, model_spec["url"])
184190
)
185191

186-
f = open("doc_utils/jumpstart.rst", "w")
192+
f = open("doc_utils/pretrainedmodels.rst", "w")
187193
f.writelines(file_content)
194+
f.close()
File renamed without changes.

doc/frameworks/tensorflow/sagemaker.tensorflow.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ TensorFlow Estimator
1010
:undoc-members:
1111
:show-inheritance:
1212

13+
TensorFlow Training Compiler Configuration
14+
------------------------------------------
15+
16+
.. autoclass:: sagemaker.tensorflow.TrainingCompilerConfig
17+
:members:
18+
:undoc-members:
19+
:show-inheritance:
20+
1321
TensorFlow Serving Model
1422
------------------------
1523

doc/frameworks/tensorflow/using_tf.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ Create Python Scripts for Custom Input and Output Formats
759759
---------------------------------------------------------
760760

761761
You can add your customized Python code to process your input and output data.
762-
This customized Python code must be named ``inference.py`` and specified through the ``entry_point`` parameter:
762+
This customized Python code must be named ``inference.py`` and is specified through the ``entry_point`` parameter:
763763

764764
.. code::
765765
@@ -769,6 +769,8 @@ This customized Python code must be named ``inference.py`` and specified through
769769
model_data='s3://mybucket/model.tar.gz',
770770
role='MySageMakerRole')
771771
772+
In the example above, ``inference.py`` is assumed to be a file inside ``model.tar.gz``. If you want to use a local file instead, you must add the ``source_dir`` argument. See the documentation on `TensorFlowModel <https://sagemaker.readthedocs.io/en/stable/frameworks/tensorflow/sagemaker.tensorflow.html#sagemaker.tensorflow.model.TensorFlowModel>`_.
773+
772774
How to implement the pre- and/or post-processing handler(s)
773775
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
774776

doc/frameworks/xgboost/using_xgboost.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,7 @@ For information about the SageMaker Python SDK XGBoost classes, see the followin
465465
* :class:`sagemaker.xgboost.estimator.XGBoost`
466466
* :class:`sagemaker.xgboost.model.XGBoostModel`
467467
* :class:`sagemaker.xgboost.model.XGBoostPredictor`
468+
* :class:`sagemaker.xgboost.processing.XGBoostProcessor`
468469

469470
***********************************
470471
SageMaker XGBoost Docker Containers

doc/frameworks/xgboost/xgboost.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,8 @@ The Amazon SageMaker XGBoost open source framework algorithm.
1616
:members:
1717
:undoc-members:
1818
:show-inheritance:
19+
20+
.. autoclass:: sagemaker.xgboost.processing.XGBoostProcessor
21+
:members:
22+
:undoc-members:
23+
:show-inheritance:

0 commit comments

Comments
 (0)