Skip to content

Commit 0900405

Browse files
authored
Merge branch 'aws:master' into 2PR
2 parents 66a5461 + 43cdadd commit 0900405

36 files changed

+2184
-251
lines changed

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
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+
328
## v2.206.0 (2024-01-31)
429

530
### Features

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.206.1.dev0
1+
2.207.2.dev0

doc/api/prep_data/feature_store.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ Inputs
9191
:members:
9292
:show-inheritance:
9393

94+
.. autoclass:: sagemaker.feature_store.inputs.TtlDuration
95+
:members:
96+
:show-inheritance:
97+
9498
.. autoclass:: sagemaker.feature_store.inputs.S3StorageConfig
9599
:members:
96100
:show-inheritance:

doc/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ sphinx==5.1.1
22
sphinx-rtd-theme==0.5.0
33
docutils==0.15.2
44
packaging==20.9
5-
jinja2<3.1
5+
jinja2==3.1.3
66
schema==0.7.5

requirements/extras/test_requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ 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
1919
requests==2.31.0
2020
sagemaker-experiments==0.1.35
21-
Jinja2==3.0.3
21+
Jinja2==3.1.3
2222
pyvis==0.2.1
2323
pandas>=1.3.5,<1.5
2424
scikit-learn==1.3.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

src/sagemaker/estimator.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3285,7 +3285,6 @@ class Framework(EstimatorBase):
32853285
UNSUPPORTED_DLC_IMAGE_FOR_SM_PARALLELISM = (
32863286
"2.0.1-gpu-py310-cu121",
32873287
"2.0-gpu-py310-cu121",
3288-
"2.1.0-gpu-py310",
32893288
)
32903289

32913290
def __init__(
@@ -3959,7 +3958,7 @@ def _distribution_configuration(self, distribution):
39593958
for unsupported_image in Framework.UNSUPPORTED_DLC_IMAGE_FOR_SM_PARALLELISM:
39603959
if (
39613960
unsupported_image in img_uri and not torch_distributed_enabled
3962-
): # disabling DLC images with CUDA12
3961+
): # disabling DLC images without SMDataParallel or SMModelParallel
39633962
raise ValueError(
39643963
f"SMDistributed is currently incompatible with DLC image: {img_uri}. "
39653964
"(Could be due to CUDA version being greater than 11.)"

0 commit comments

Comments
 (0)