Skip to content

sync with master branch #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 74 commits into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
1f3e616
Release TGI 1.1.0 Image (#4148)
haixiw Oct 2, 2023
5e83ad4
fix: transform step unit test (#4151)
benieric Oct 2, 2023
16bd4bf
feat: add feature processor APIs to public doc (#4055)
can-sun Oct 2, 2023
3057f21
change: Add bucket owner check (#4150)
mufaddal-rohawala Oct 2, 2023
3703333
prepare release v2.189.0
Oct 3, 2023
41feb4c
update development version to v2.189.1.dev0
Oct 3, 2023
b101b83
Add missing API docs for processors (#4152)
martinRenou Oct 3, 2023
897cfe4
chore: xfail resource in use failure for specific test (#4147)
evakravi Oct 3, 2023
7f7c1a1
documentation: Add missing AirFlow operators + link to airflow docume…
martinRenou Oct 4, 2023
3d0f660
documentation: Bring back (de)serializers documentation (#4163)
martinRenou Oct 4, 2023
64b2f47
feature: Add support for in-memory feature groups and collection type…
AWS-pratab Oct 4, 2023
f73bc2a
prepare release v2.190.0
Oct 4, 2023
f631e41
update development version to v2.190.1.dev0
Oct 4, 2023
f646180
feat: feature-processor extra data sources support (#4155)
can-sun Oct 5, 2023
4839eef
feat: Selective Step Execution milestone 2 features (#4158)
shenlongtang Oct 5, 2023
75f1f44
prepare release v2.191.0
Oct 5, 2023
ea60a2d
update development version to v2.191.1.dev0
Oct 5, 2023
962c394
change: DJL Neuronx 0.24.0 (#4170)
zachgk Oct 6, 2023
641a947
documentation: Include FeatureGroup's load_feature_definitions API do…
martinRenou Oct 9, 2023
3bd4435
fix: Fixed bug in _create_training_details (#4141)
chrivtho-github Oct 9, 2023
5d0f6b3
fix: use correct line endings and s3 uris on windows (#4118)
jmahlik Oct 9, 2023
0b8b26e
Batch transform: Add support for split_type == "None" in local mode (…
martinRenou Oct 9, 2023
412e8ba
feat: allow configuring docker container in local mode (#4153)
trungleduc Oct 9, 2023
a9ac311
feature: allow non-python files in job dependencies (#4138)
trungleduc Oct 9, 2023
7f6f3f9
feat: jumpstart default payloads (#4149)
evakravi Oct 10, 2023
858a965
fix: js tagging s3 prefix (#4167)
evakravi Oct 10, 2023
78e7b3b
feat: jumpstart estimator enable infra check flag (#4154)
evakravi Oct 11, 2023
d4befc9
prepare release v2.192.0
Oct 11, 2023
35c146b
update development version to v2.192.1.dev0
Oct 11, 2023
744724b
fix: Update Ec2 instance type to g5.4xlarge in test_huggingface_torch…
goelakash Oct 11, 2023
d845772
fix: import error in unsupported js regions (#4188)
evakravi Oct 13, 2023
561301e
fix: update local mode schema (#4185)
trungleduc Oct 13, 2023
db9cbfa
prepare release v2.192.1
Oct 13, 2023
bfc63d2
update development version to v2.192.2.dev0
Oct 13, 2023
a44a755
feat: jumpstart model package arn instance type variants (#4186)
evakravi Oct 16, 2023
e9617f5
feat: Support job checkpoint in remote function (#4171)
aoguo64 Oct 17, 2023
ef3d2b2
feat: Feature Processor event based triggers (#1132) (#4202)
can-sun Oct 17, 2023
1f9def5
doc: specify that input_shape in no longer required for torch 2.0 mod…
HappyAmazonian Oct 17, 2023
9dbd694
documentation: Update PipelineModel.register documentation (#4206)
trungleduc Oct 17, 2023
59f7d11
fix: fix flaky Inference Recommender integration tests (#4156)
cj-zhang Oct 17, 2023
ff59ff6
feat: jumpstart instance specific hyperparameters (#4180)
evakravi Oct 17, 2023
070dc34
fix: clone distribution in validate_distribution (#4205)
trungleduc Oct 17, 2023
4a5ed1b
change: bump apache-airflow to `v2.7.2` (#4209)
knikure Oct 18, 2023
accd220
change: add image_uris_unit_test pytest mark (#4211)
benieric Oct 18, 2023
dba2dbb
feat: jumpstart model artifact instance type variants (#4172)
evakravi Oct 18, 2023
7213b5a
change: Fix hyperlinks in feature_processor.scheduler parameter descr…
mwfongAWS Oct 18, 2023
433e4ff
prepare release v2.193.0
Oct 18, 2023
4f916cf
update development version to v2.193.1.dev0
Oct 18, 2023
03680b2
change: add method to Model class to check if repack is needed (#4213)
trungleduc Oct 18, 2023
68d73bf
change: use getter for resource-metadata dict (#4207)
trungleduc Oct 18, 2023
d3f2841
feat: jumpstart instance specific metric definitions (#4200)
evakravi Oct 18, 2023
aa86be9
change: Updates for DJL 0.24.0 Release (#4161)
zachgk Oct 19, 2023
5acad56
feat: Added register step in Jumpstart model (#4212)
keshav-chandak Oct 19, 2023
6ed038b
prepare release v2.194.0
Oct 19, 2023
fcfc402
update development version to v2.194.1.dev0
Oct 19, 2023
80df01c
feat: jumpstart contruct payload utility (#4190)
evakravi Oct 20, 2023
b8e3e05
fix: fix URL links (#4217)
mwfongAWS Oct 20, 2023
4befd93
feat: jumpstart extract generated text from response (#4210)
evakravi Oct 20, 2023
488adba
feat: jumpstart gated model artifacts (#4215)
evakravi Oct 23, 2023
6427fda
documentation: update framework version links (#4178)
trungleduc Oct 23, 2023
4e6f2e0
change: allow smdistributed to be enabled with torch_distributed. (#4…
viclzhu Oct 23, 2023
610d00f
fix: bump urllib3 version (#4223)
knikure Oct 23, 2023
415b703
fix: relax upper bound on urllib in local mode requirements (#4219)
jmahlik Oct 24, 2023
0202bad
documentation: remove python 2 reference (#4226)
trungleduc Oct 24, 2023
4aedeaa
prepare release v2.195.0
Oct 25, 2023
78c478c
update development version to v2.195.1.dev0
Oct 25, 2023
5ff1fca
change: enhance image_uris unit tests (#4228)
benieric Oct 25, 2023
a636155
change: Allow either instance_type or instance_group to be defined in…
rohithn1 Oct 25, 2023
c14cf21
prepare release v2.195.1
Oct 26, 2023
a4ba730
update development version to v2.195.2.dev0
Oct 26, 2023
866a2d9
change: improved jumpstart tagging (#4231)
evakravi Oct 26, 2023
03f901f
feat: inference instance type conditioned on training instance type (…
evakravi Oct 26, 2023
fd1a722
prepare release v2.196.0
Oct 27, 2023
d355d5b
update development version to v2.196.1.dev0
Oct 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
139 changes: 139 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,144 @@
# Changelog

## v2.196.0 (2023-10-27)

### Features

* inference instance type conditioned on training instance type

### Bug Fixes and Other Changes

* improved jumpstart tagging

## v2.195.1 (2023-10-26)

### Bug Fixes and Other Changes

* Allow either instance_type or instance_group to be defined in…
* enhance image_uris unit tests

## v2.195.0 (2023-10-25)

### Features

* jumpstart gated model artifacts
* jumpstart extract generated text from response
* jumpstart contruct payload utility

### Bug Fixes and Other Changes

* relax upper bound on urllib in local mode requirements
* bump urllib3 version
* allow smdistributed to be enabled with torch_distributed.
* fix URL links

### Documentation Changes

* remove python 2 reference
* update framework version links

## v2.194.0 (2023-10-19)

### Features

* Added register step in Jumpstart model
* jumpstart instance specific metric definitions

### Bug Fixes and Other Changes

* Updates for DJL 0.24.0 Release
* use getter for resource-metadata dict
* add method to Model class to check if repack is needed

## v2.193.0 (2023-10-18)

### Features

* jumpstart model artifact instance type variants
* jumpstart instance specific hyperparameters
* Feature Processor event based triggers (#1132)
* Support job checkpoint in remote function
* jumpstart model package arn instance type variants

### Bug Fixes and Other Changes

* Fix hyperlinks in feature_processor.scheduler parameter descriptions
* add image_uris_unit_test pytest mark
* bump apache-airflow to `v2.7.2`
* clone distribution in validate_distribution
* fix flaky Inference Recommender integration tests

### Documentation Changes

* Update PipelineModel.register documentation
* specify that input_shape in no longer required for torch 2.0 mod…

## v2.192.1 (2023-10-13)

### Bug Fixes and Other Changes

* update local mode schema
* import error in unsupported js regions
* Update Ec2 instance type to g5.4xlarge in test_huggingface_torch_distributed.py

## v2.192.0 (2023-10-11)

### Features

* jumpstart estimator enable infra check flag
* jumpstart default payloads
* allow non-python files in job dependencies
* allow configuring docker container in local mode

### Bug Fixes and Other Changes

* js tagging s3 prefix
* Batch transform: Add support for split_type == "None" in local mode
* use correct line endings and s3 uris on windows
* Fixed bug in _create_training_details
* DJL Neuronx 0.24.0

### Documentation Changes

* Include FeatureGroup's load_feature_definitions API documentation

## v2.191.0 (2023-10-05)

### Features

* Selective Step Execution milestone 2 features
* feature-processor extra data sources support

## v2.190.0 (2023-10-04)

### Features

* Add support for in-memory feature groups and collection type features in Feature Store.

### Bug Fixes and Other Changes

* chore: xfail resource in use failure for specific test
* Add missing API docs for processors

### Documentation Changes

* Bring back (de)serializers documentation
* Add missing AirFlow operators + link to airflow documentation

## v2.189.0 (2023-10-03)

### Features

* add feature processor APIs to public doc
* s3 prefix model data for JumpStartModel
* Model Package support for updating approval

### Bug Fixes and Other Changes

* Add bucket owner check
* transform step unit test
* Release TGI 1.1.0 Image

## v2.188.0 (2023-09-26)

### Features
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.188.1.dev0
2.196.1.dev0
12 changes: 8 additions & 4 deletions doc/amazon_sagemaker_featurestore.rst
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,11 @@ The following code from the fraud detection example shows a minimal
    enable_online_store=True
)

Creating a feature group takes time as the data is loaded. You will need
to wait until it is created before you can use it. You can check status
using the following method.
Creating a feature group takes time as the data is loaded. You will
need to wait until it is created before you can use it. You can
check status using the following method. Note that it can take
approximately 10-15 minutes to provision an online ``FeatureGroup``
with the ``InMemory`` ``StorageType``.

.. code:: python

Expand Down Expand Up @@ -480,7 +482,9 @@ Feature Store `DatasetBuilder API Reference
.. rubric:: Delete a feature group
:name: bCe9CA61b78

You can delete a feature group with the ``delete`` function.
You can delete a feature group with the ``delete`` function. Note that it
can take approximately 10-15 minutes to delete an online ``FeatureGroup``
with the ``InMemory`` ``StorageType``.

.. code:: python

Expand Down
6 changes: 5 additions & 1 deletion doc/api/inference/deserializers.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
Deserializers
-------------

.. automodule:: sagemaker.deserializers
.. automodule:: sagemaker.base_deserializers
:members:
:undoc-members:
:show-inheritance:

.. automodule:: sagemaker.deserializers
:members:
:undoc-members:
:show-inheritance:
6 changes: 5 additions & 1 deletion doc/api/inference/serializers.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
Serializers
-----------

.. automodule:: sagemaker.serializers
.. automodule:: sagemaker.base_serializers
:members:
:undoc-members:
:show-inheritance:

.. automodule:: sagemaker.serializers
:members:
:undoc-members:
:show-inheritance:
62 changes: 61 additions & 1 deletion doc/api/prep_data/feature_store.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Feature Group

.. autoclass:: sagemaker.feature_store.feature_group.FeatureGroup
:members:
:exclude-members: load_feature_definitions
:show-inheritance:

.. autoclass:: sagemaker.feature_store.feature_group.AthenaQuery
Expand Down Expand Up @@ -41,6 +40,25 @@ Feature Definition
:members:
:show-inheritance:

.. autoclass:: sagemaker.feature_store.feature_definition.CollectionTypeEnum
:members:
:show-inheritance:

.. autoclass:: sagemaker.feature_store.feature_definition.CollectionType
:members:
:show-inheritance:

.. autoclass:: sagemaker.feature_store.feature_definition.ListCollectionType
:members:
:show-inheritance:

.. autoclass:: sagemaker.feature_store.feature_definition.SetCollectionType
:members:
:show-inheritance:

.. autoclass:: sagemaker.feature_store.feature_definition.VectorCollectionType
:members:
:show-inheritance:

Inputs
******
Expand Down Expand Up @@ -77,6 +95,10 @@ Inputs
:members:
:show-inheritance:

.. autoclass:: sagemaker.feature_store.inputs.OnlineStoreStorageTypeEnum
:members:
:show-inheritance:

.. autoclass:: sagemaker.feature_store.inputs.ResourceEnum
:members:
:show-inheritance:
Expand Down Expand Up @@ -120,3 +142,41 @@ Feature Store
.. autoclass:: sagemaker.feature_store.feature_store.FeatureStore
:members:
:show-inheritance:


@feature_processor Decorator
****************************

.. autodecorator:: sagemaker.feature_store.feature_processor.feature_processor


Feature Processor Data Source
*****************************

.. autoclass:: sagemaker.feature_store.feature_processor.FeatureGroupDataSource
:members:
:show-inheritance:

.. autoclass:: sagemaker.feature_store.feature_processor.CSVDataSource
:members:
:show-inheritance:

.. autoclass:: sagemaker.feature_store.feature_processor.ParquetDataSource
:members:
:show-inheritance:


Feature Processor Scheduler
***************************

.. automethod:: sagemaker.feature_store.feature_processor.to_pipeline

.. automethod:: sagemaker.feature_store.feature_processor.schedule

.. automethod:: sagemaker.feature_store.feature_processor.execute

.. automethod:: sagemaker.feature_store.feature_processor.delete_schedule

.. automethod:: sagemaker.feature_store.feature_processor.describe

.. automethod:: sagemaker.feature_store.feature_processor.list_pipelines
2 changes: 2 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@
# autosectionlabel
autosectionlabel_prefix_document = True

autodoc_mock_imports = ["pyspark", "feature_store_pyspark", "py4j"]


def setup(app):
sys.stdout.write("Generating JumpStart model table...")
Expand Down
8 changes: 8 additions & 0 deletions doc/frameworks/huggingface/sagemaker.huggingface.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,11 @@ Hugging Face Predictor
:members:
:undoc-members:
:show-inheritance:

Hugging Face Processor
----------------------

.. autoclass:: sagemaker.huggingface.processing.HuggingFaceProcessor
:members:
:undoc-members:
:show-inheritance:
14 changes: 11 additions & 3 deletions doc/frameworks/mxnet/sagemaker.mxnet.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,33 @@ MXNet Classes


MXNet Estimator
---------------------------
---------------

.. autoclass:: sagemaker.mxnet.estimator.MXNet
:members:
:undoc-members:
:show-inheritance:

MXNet Model
---------------------------
-----------

.. autoclass:: sagemaker.mxnet.model.MXNetModel
:members:
:undoc-members:
:show-inheritance:

MXNet Predictor
---------------------------
---------------

.. autoclass:: sagemaker.mxnet.model.MXNetPredictor
:members:
:undoc-members:
:show-inheritance:

MXNet Processor
---------------

.. autoclass:: sagemaker.mxnet.processing.MXNetProcessor
:members:
:undoc-members:
:show-inheritance:
8 changes: 8 additions & 0 deletions doc/frameworks/pytorch/sagemaker.pytorch.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,11 @@ PyTorch Predictor
:members:
:undoc-members:
:show-inheritance:

PyTorch Processor
-----------------

.. autoclass:: sagemaker.pytorch.processing.PyTorchProcessor
:members:
:undoc-members:
:show-inheritance:
9 changes: 9 additions & 0 deletions doc/frameworks/tensorflow/sagemaker.tensorflow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,12 @@ TensorFlow Serving Predictor
:members:
:undoc-members:
:show-inheritance:


TensorFlow Processor
--------------------

.. autoclass:: sagemaker.tensorflow.processing.TensorFlowProcessor
:members:
:undoc-members:
:show-inheritance:
Loading