Skip to content

Commit f3c70ca

Browse files
authored
Merge branch 'master' into dependabot/pip/requirements/extras/jinja2-3.1.3
2 parents 908bc0b + 0f98cdb commit f3c70ca

File tree

99 files changed

+7193
-628
lines changed

Some content is hidden

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

99 files changed

+7193
-628
lines changed

CHANGELOG.md

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

3+
## v2.207.1 (2024-02-06)
4+
5+
### Bug Fixes and Other Changes
6+
7+
* Add PT 2.1 as a supported framework for the smdistributed distribution
8+
* Enable private docker registry support for ModelBuilder
9+
* HF PT 2.1 Image Configs
10+
11+
### Documentation Changes
12+
13+
* add setup commands for documentation generation
14+
15+
## v2.207.0 (2024-02-05)
16+
17+
### Features
18+
19+
* Introduce HF Transformers to ModelBuilder
20+
* retrieve jumpstart estimator and predictor without specifying model id (infer from tags)
21+
22+
### Bug Fixes and Other Changes
23+
24+
* SMP PT upgrade to 2.1
25+
* Fetch HF metadata only when explicit type is not selected
26+
* relax upper bound for urllib dependency
27+
28+
## v2.206.0 (2024-01-31)
29+
30+
### Features
31+
32+
* Logic to detect hardware GPU count and aggregate GPU memory size in MiB
33+
34+
### Bug Fixes and Other Changes
35+
36+
* fixed create monitoring schedule failing after validation error
37+
* Support PipelineVariable for ModelQualityCheckConfig attributes
38+
* TGI NeuronX 0.0.17
39+
40+
## v2.205.0 (2024-01-25)
41+
42+
### Features
43+
44+
* Support selective pipeline execution for function step
45+
46+
### Bug Fixes and Other Changes
47+
48+
* remove fastapi and uvicorn dependencies
49+
* Support using PipelineDefinitionConfig in local mode
50+
* update get_execution_role_arn from metadata file if present
51+
* update image_uri_configs 01-24-2024 06:17:33 PST
52+
* Add validation for empty ParameterString value in start local pipeline
53+
54+
## v2.204.0 (2024-01-23)
55+
56+
### Features
57+
58+
* add throughput management support for feature group
59+
* Support custom repack model settings
60+
* parallelize notebook search utils, add new operators
61+
62+
### Bug Fixes and Other Changes
63+
64+
* Enable galactus integ tests
65+
* JumpStart - TLV region launch
66+
* add warning message for job-prefixed pipeline steps when no job name is provided
67+
* TGI NeuronX
68+
* Updates for DJL 0.26.0 release
69+
* update sphinx version
70+
* Add PyTorch 2.1.0 SM Training DLC to UNSUPPORTED_DLC_IMAGE_FOR_SM_PARALLELISM list
71+
* Huggingface glue failing tests
72+
* change ConditionNot incorrect property Expression to Condition
73+
374
## v2.203.1 (2024-01-09)
475

576
### Bug Fixes and Other Changes

CONTRIBUTING.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,12 @@ For example, see the [Processing API reference](https://github.com/aws/sagemaker
227227

228228
To build the Sphinx docs, run the following command in the `doc/` directory:
229229

230+
```shell
231+
# Initial setup, only required for the first run
232+
pip install -r requirements.txt
233+
pip install -e ../
234+
```
235+
230236
```shell
231237
make html
232238
```

VERSION

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

doc/api/prep_data/feature_store.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,14 @@ Inputs
7575
:members:
7676
:show-inheritance:
7777

78+
.. autoclass:: sagemaker.feature_store.inputs.ThroughputConfig
79+
:members:
80+
:show-inheritance:
81+
82+
.. autoclass:: sagemaker.feature_store.inputs.ThroughputConfigUpdate
83+
:members:
84+
:show-inheritance:
85+
7886
.. autoclass:: sagemaker.feature_store.inputs.OnlineStoreConfig
7987
:members:
8088
:show-inheritance:
@@ -83,6 +91,10 @@ Inputs
8391
:members:
8492
:show-inheritance:
8593

94+
.. autoclass:: sagemaker.feature_store.inputs.TtlDuration
95+
:members:
96+
:show-inheritance:
97+
8698
.. autoclass:: sagemaker.feature_store.inputs.S3StorageConfig
8799
:members:
88100
:show-inheritance:
@@ -99,6 +111,10 @@ Inputs
99111
:members:
100112
:show-inheritance:
101113

114+
.. autoclass:: sagemaker.feature_store.inputs.ThroughputModeEnum
115+
:members:
116+
:show-inheritance:
117+
102118
.. autoclass:: sagemaker.feature_store.inputs.ResourceEnum
103119
:members:
104120
:show-inheritance:

doc/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
sphinx==3.4.3
1+
sphinx==5.1.1
22
sphinx-rtd-theme==0.5.0
33
docutils==0.15.2
44
packaging==20.9

requirements/extras/test_requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ awslogs==0.14.0
1212
black==22.3.0
1313
stopit==1.1.2
1414
# Update tox.ini to have correct version of airflow constraints file
15-
apache-airflow==2.7.3
15+
apache-airflow==2.8.1
1616
apache-airflow-providers-amazon==7.2.1
1717
attrs>=23.1.0,<24
1818
fabric==2.6.0
@@ -32,7 +32,7 @@ sagemaker-feature-store-pyspark-3.3
3232
# TODO find workaround
3333
xgboost>=1.6.2,<=1.7.6
3434
pillow>=10.0.1,<=11
35-
transformers==4.32.0
35+
transformers>=4.36.0
3636
sentencepiece==0.1.99
3737
# https://github.com/triton-inference-server/server/issues/6246
3838
tritonclient[http]<2.37.0

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,7 @@ def read_requirements(filename):
6464
"jsonschema",
6565
"platformdirs",
6666
"tblib>=1.7.0,<3",
67-
"urllib3<1.27",
68-
"uvicorn==0.22.0",
69-
"fastapi==0.95.2",
67+
"urllib3>=1.26.8,<3.0.0",
7068
"requests",
7169
"docker",
7270
"tqdm",

src/sagemaker/estimator.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3282,7 +3282,10 @@ class Framework(EstimatorBase):
32823282
"""
32833283

32843284
_framework_name = None
3285-
UNSUPPORTED_DLC_IMAGE_FOR_SM_PARALLELISM = ("2.0.1-gpu-py310-cu121", "2.0-gpu-py310-cu121")
3285+
UNSUPPORTED_DLC_IMAGE_FOR_SM_PARALLELISM = (
3286+
"2.0.1-gpu-py310-cu121",
3287+
"2.0-gpu-py310-cu121",
3288+
)
32863289

32873290
def __init__(
32883291
self,
@@ -3955,7 +3958,7 @@ def _distribution_configuration(self, distribution):
39553958
for unsupported_image in Framework.UNSUPPORTED_DLC_IMAGE_FOR_SM_PARALLELISM:
39563959
if (
39573960
unsupported_image in img_uri and not torch_distributed_enabled
3958-
): # disabling DLC images with CUDA12
3961+
): # disabling DLC images without SMDataParallel or SMModelParallel
39593962
raise ValueError(
39603963
f"SMDistributed is currently incompatible with DLC image: {img_uri}. "
39613964
"(Could be due to CUDA version being greater than 11.)"

0 commit comments

Comments
 (0)