Skip to content

Commit e0c59c2

Browse files
authored
Merge branch 'aws:master' into master
2 parents 6d005e2 + 9369a87 commit e0c59c2

File tree

112 files changed

+4433
-952
lines changed

Some content is hidden

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

112 files changed

+4433
-952
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: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,80 @@
11
# Changelog
22

3+
## v2.99.0 (2022-07-08)
4+
5+
### Features
6+
7+
* heterogeneous cluster set up in distribution config
8+
* support heterogeneous cluster for training
9+
* include fields to work with inference recommender
10+
11+
### Bug Fixes and Other Changes
12+
13+
* Moving the newly added field instance_group to the end of method
14+
* image_uri does not need to be specified with instance_groups
15+
* Loosen version of attrs dependency
16+
* Add PipelineVariable annotation in estimatory, processing, tuner, transformer base classes
17+
* model table link
18+
19+
### Documentation Changes
20+
21+
* documentation for heterogeneous cluster
22+
23+
## v2.98.0 (2022-07-05)
24+
25+
### Features
26+
27+
* Adding deepar image
28+
29+
### Documentation Changes
30+
31+
* edit to clarify how to use inference.py
32+
33+
## v2.97.0 (2022-06-28)
34+
35+
### Deprecations and Removals
36+
37+
* remove support for python 3.6
38+
39+
### Features
40+
41+
* update prebuilt models documentation
42+
43+
### Bug Fixes and Other Changes
44+
45+
* Skipping test_candidate_estimator_default_rerun_and_deploy
46+
* Update model name from 'compiled.pt' to 'model.pth' for neo
47+
* update pytest, skip hf integ temp
48+
* Add override_pipeline_parameter_var decorator to give grace period to update invalid pipeline var args
49+
50+
## v2.96.0 (2022-06-20)
51+
52+
### Features
53+
54+
* Add helper method to generate pipeline adjacency list
55+
56+
### Bug Fixes and Other Changes
57+
58+
* changing trcomp integ tests to be able to run in all regions
59+
60+
## v2.95.0 (2022-06-16)
61+
62+
### Features
63+
64+
* Adding Training Compiler support for TensorFlow estimator starting TF 2.9
65+
* Add support for TF 2.9 training
66+
67+
### Bug Fixes and Other Changes
68+
69+
* integs fallback from p3 to p2 instance
70+
* bucket exists check for session.default_bucket
71+
* make instance type fields as optional
72+
73+
### Documentation Changes
74+
75+
* improvements on the docstring of ModelStep
76+
* Add XGBoostProcessor
77+
378
## v2.94.0 (2022-06-07)
479

580
### Features

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.94.1.dev0
1+
2.99.1.dev0

doc/api/utility/instance_group.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Instance Group
2+
--------------
3+
4+
.. automodule:: sagemaker.instance_group
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:
8+
:private-members:

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

0 commit comments

Comments
 (0)