Skip to content

Commit dd2bc49

Browse files
Merge branch 'master' into support_tf2.9_inference
2 parents a43a71b + c5fc93f commit dd2bc49

Some content is hidden

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

55 files changed

+2150
-189
lines changed

CHANGELOG.md

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

3+
## v2.121.1 (2022-12-09)
4+
5+
### Bug Fixes and Other Changes
6+
7+
* Pop out ModelPackageName from pipeline definition
8+
* Fix failing jumpstart cache unit tests
9+
10+
## v2.121.0 (2022-12-08)
11+
12+
### Features
13+
14+
* Algorithms Region Expansion OSU/DXB
15+
16+
### Bug Fixes and Other Changes
17+
18+
* FrameworkProcessor S3 uploads
19+
* Add constraints file for apache-airflow
20+
21+
## v2.120.0 (2022-12-07)
22+
23+
### Features
24+
25+
* Add Neo image uri config for Pytorch 1.12
26+
* Adding support for SageMaker Training Compiler in PyTorch estimator starting 1.12
27+
* Update registries with new region account number mappings.
28+
* Add DXB region to frameworks by DLC
29+
30+
### Bug Fixes and Other Changes
31+
32+
* support idempotency for framework and spark processors
33+
334
## v2.119.0 (2022-12-03)
435

536
### Features

VERSION

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

requirements/extras/test_requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ contextlib2==21.6.0
1111
awslogs==0.14.0
1212
black==22.3.0
1313
stopit==1.1.2
14+
# Update tox.ini to have correct version of airflow constraints file
1415
apache-airflow==2.4.1
1516
apache-airflow-providers-amazon==4.0.0
1617
attrs==22.1.0

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def read_requirements(filename):
5555
"protobuf3-to-dict>=0.1.5,<1.0",
5656
"smdebug_rulesconfig==1.0.1",
5757
"importlib-metadata>=1.4.0,<5.0",
58-
"packaging>=20.0",
58+
"packaging==20.9",
5959
"pandas",
6060
"pathos",
6161
"schema",

src/sagemaker/fw_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ def framework_name_from_image(image_uri):
494494
# We must support both the legacy and current image name format.
495495
name_pattern = re.compile(
496496
r"""^(?:sagemaker(?:-rl)?-)?
497-
(tensorflow|mxnet|chainer|pytorch|scikit-learn|xgboost
497+
(tensorflow|mxnet|chainer|pytorch|pytorch-trcomp|scikit-learn|xgboost
498498
|huggingface-tensorflow|huggingface-pytorch
499499
|huggingface-tensorflow-trcomp|huggingface-pytorch-trcomp)(?:-)?
500500
(scriptmode|training)?

src/sagemaker/image_uri_config/blazingtext.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222
"eu-west-3": "749696950732",
2323
"eu-south-1": "257386234256",
2424
"me-south-1": "249704162688",
25+
"me-central-1": "272398656194",
2526
"sa-east-1": "855470959533",
2627
"us-east-1": "811284229777",
2728
"us-east-2": "825641698319",
2829
"us-gov-west-1": "226302683700",
30+
"us-gov-east-1": "237065988967",
2931
"us-iso-east-1": "490574956308",
3032
"us-west-1": "632365934929",
3133
"us-west-2": "433757028032"

src/sagemaker/image_uri_config/factorization-machines.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222
"eu-west-3": "749696950732",
2323
"eu-south-1": "257386234256",
2424
"me-south-1": "249704162688",
25+
"me-central-1": "272398656194",
2526
"sa-east-1": "855470959533",
2627
"us-east-1": "382416733822",
2728
"us-east-2": "404615174143",
2829
"us-gov-west-1": "226302683700",
30+
"us-gov-east-1": "237065988967",
2931
"us-iso-east-1": "490574956308",
3032
"us-west-1": "632365934929",
3133
"us-west-2": "174872318107"

src/sagemaker/image_uri_config/forecasting-deepar.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222
"eu-west-3": "749696950732",
2323
"eu-south-1": "257386234256",
2424
"me-south-1": "249704162688",
25+
"me-central-1": "272398656194",
2526
"sa-east-1": "855470959533",
2627
"us-east-1": "522234722520",
2728
"us-east-2": "566113047672",
2829
"us-gov-west-1": "226302683700",
30+
"us-gov-east-1": "237065988967",
2931
"us-iso-east-1": "490574956308",
3032
"us-west-1": "632365934929",
3133
"us-west-2": "156387875391"

src/sagemaker/image_uri_config/image-classification.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222
"eu-west-3": "749696950732",
2323
"eu-south-1": "257386234256",
2424
"me-south-1": "249704162688",
25+
"me-central-1": "272398656194",
2526
"sa-east-1": "855470959533",
2627
"us-east-1": "811284229777",
2728
"us-east-2": "825641698319",
2829
"us-gov-west-1": "226302683700",
30+
"us-gov-east-1": "237065988967",
2931
"us-iso-east-1": "490574956308",
3032
"us-west-1": "632365934929",
3133
"us-west-2": "433757028032"

src/sagemaker/image_uri_config/ipinsights.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222
"eu-west-3": "749696950732",
2323
"eu-south-1": "257386234256",
2424
"me-south-1": "249704162688",
25+
"me-central-1": "272398656194",
2526
"sa-east-1": "855470959533",
2627
"us-east-1": "382416733822",
2728
"us-east-2": "404615174143",
2829
"us-gov-west-1": "226302683700",
30+
"us-gov-east-1": "237065988967",
2931
"us-iso-east-1": "490574956308",
3032
"us-west-1": "632365934929",
3133
"us-west-2": "174872318107"

src/sagemaker/image_uri_config/kmeans.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222
"eu-west-3": "749696950732",
2323
"eu-south-1": "257386234256",
2424
"me-south-1": "249704162688",
25+
"me-central-1": "272398656194",
2526
"sa-east-1": "855470959533",
2627
"us-east-1": "382416733822",
2728
"us-east-2": "404615174143",
2829
"us-gov-west-1": "226302683700",
30+
"us-gov-east-1": "237065988967",
2931
"us-iso-east-1": "490574956308",
3032
"us-west-1": "632365934929",
3133
"us-west-2": "174872318107"

src/sagemaker/image_uri_config/knn.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222
"eu-west-3": "749696950732",
2323
"eu-south-1": "257386234256",
2424
"me-south-1": "249704162688",
25+
"me-central-1": "272398656194",
2526
"sa-east-1": "855470959533",
2627
"us-east-1": "382416733822",
2728
"us-east-2": "404615174143",
2829
"us-gov-west-1": "226302683700",
30+
"us-gov-east-1": "237065988967",
2931
"us-iso-east-1": "490574956308",
3032
"us-west-1": "632365934929",
3133
"us-west-2": "174872318107"

src/sagemaker/image_uri_config/linear-learner.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222
"eu-west-3": "749696950732",
2323
"eu-south-1": "257386234256",
2424
"me-south-1": "249704162688",
25+
"me-central-1": "272398656194",
2526
"sa-east-1": "855470959533",
2627
"us-east-1": "382416733822",
2728
"us-east-2": "404615174143",
2829
"us-gov-west-1": "226302683700",
30+
"us-gov-east-1": "237065988967",
2931
"us-iso-east-1": "490574956308",
3032
"us-west-1": "632365934929",
3133
"us-west-2": "174872318107"

src/sagemaker/image_uri_config/neo-pytorch.json

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
"1.7.0": "1.7",
1212
"1.7.1": "1.7",
1313
"1.8.0": "1.8",
14-
"1.8.1": "1.8"
14+
"1.8.1": "1.8",
15+
"1.12.0": "1.12",
16+
"1.12.1": "1.12"
1517
},
1618
"versions": {
1719
"1.4": {
@@ -173,6 +175,38 @@
173175
"us-west-2": "301217895009"
174176
},
175177
"repository": "sagemaker-inference-pytorch"
178+
},
179+
"1.12": {
180+
"py_versions": ["py3"],
181+
"registries": {
182+
"af-south-1": "774647643957",
183+
"ap-east-1": "110948597952",
184+
"ap-northeast-1": "941853720454",
185+
"ap-northeast-2": "151534178276",
186+
"ap-northeast-3": "925152966179",
187+
"ap-south-1": "763008648453",
188+
"ap-southeast-1": "324986816169",
189+
"ap-southeast-2": "355873309152",
190+
"ca-central-1": "464438896020",
191+
"cn-north-1": "472730292857",
192+
"cn-northwest-1": "474822919863",
193+
"eu-central-1": "746233611703",
194+
"eu-north-1": "601324751636",
195+
"eu-south-1": "966458181534",
196+
"eu-west-1": "802834080501",
197+
"eu-west-2": "205493899709",
198+
"eu-west-3": "254080097072",
199+
"me-south-1": "836785723513",
200+
"sa-east-1": "756306329178",
201+
"us-east-1": "785573368785",
202+
"us-east-2": "007439368137",
203+
"us-gov-west-1": "263933020539",
204+
"us-iso-east-1": "167761179201",
205+
"us-isob-east-1": "406031935815",
206+
"us-west-1": "710691900526",
207+
"us-west-2": "301217895009"
208+
},
209+
"repository": "sagemaker-inference-pytorch"
176210
}
177211
}
178212
}

src/sagemaker/image_uri_config/ntm.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222
"eu-west-3": "749696950732",
2323
"eu-south-1": "257386234256",
2424
"me-south-1": "249704162688",
25+
"me-central-1": "272398656194",
2526
"sa-east-1": "855470959533",
2627
"us-east-1": "382416733822",
2728
"us-east-2": "404615174143",
2829
"us-gov-west-1": "226302683700",
30+
"us-gov-east-1": "237065988967",
2931
"us-iso-east-1": "490574956308",
3032
"us-west-1": "632365934929",
3133
"us-west-2": "174872318107"

src/sagemaker/image_uri_config/object-detection.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222
"eu-west-3": "749696950732",
2323
"eu-south-1": "257386234256",
2424
"me-south-1": "249704162688",
25+
"me-central-1": "272398656194",
2526
"sa-east-1": "855470959533",
2627
"us-east-1": "811284229777",
2728
"us-east-2": "825641698319",
2829
"us-gov-west-1": "226302683700",
30+
"us-gov-east-1": "237065988967",
2931
"us-iso-east-1": "490574956308",
3032
"us-west-1": "632365934929",
3133
"us-west-2": "433757028032"

src/sagemaker/image_uri_config/object2vec.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222
"eu-west-3": "749696950732",
2323
"eu-south-1": "257386234256",
2424
"me-south-1": "249704162688",
25+
"me-central-1": "272398656194",
2526
"sa-east-1": "855470959533",
2627
"us-east-1": "382416733822",
2728
"us-east-2": "404615174143",
2829
"us-gov-west-1": "226302683700",
30+
"us-gov-east-1": "237065988967",
2931
"us-iso-east-1": "490574956308",
3032
"us-west-1": "632365934929",
3133
"us-west-2": "174872318107"

src/sagemaker/image_uri_config/pca.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222
"eu-west-3": "749696950732",
2323
"eu-south-1": "257386234256",
2424
"me-south-1": "249704162688",
25+
"me-central-1": "272398656194",
2526
"sa-east-1": "855470959533",
2627
"us-east-1": "382416733822",
2728
"us-east-2": "404615174143",
2829
"us-gov-west-1": "226302683700",
30+
"us-gov-east-1": "237065988967",
2931
"us-iso-east-1": "490574956308",
3032
"us-west-1": "632365934929",
3133
"us-west-2": "174872318107"
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"training": {
3+
"processors": [
4+
"gpu"
5+
],
6+
"version_aliases": {
7+
"1.12": "1.12.0"
8+
},
9+
"versions": {
10+
"1.12.0": {
11+
"py_versions": [
12+
"py38"
13+
],
14+
"registries": {
15+
"af-south-1": "626614931356",
16+
"ap-east-1": "871362719292",
17+
"ap-northeast-1": "763104351884",
18+
"ap-northeast-2": "763104351884",
19+
"ap-northeast-3": "364406365360",
20+
"ap-south-1": "763104351884",
21+
"ap-southeast-1": "763104351884",
22+
"ap-southeast-2": "763104351884",
23+
"ca-central-1": "763104351884",
24+
"eu-central-1": "763104351884",
25+
"eu-north-1": "763104351884",
26+
"eu-west-1": "763104351884",
27+
"eu-west-2": "763104351884",
28+
"eu-west-3": "763104351884",
29+
"eu-south-1": "692866216735",
30+
"me-south-1": "217643126080",
31+
"sa-east-1": "763104351884",
32+
"us-east-1": "763104351884",
33+
"us-east-2": "763104351884",
34+
"us-west-1": "763104351884",
35+
"us-west-2": "763104351884"
36+
},
37+
"repository": "pytorch-trcomp-training"
38+
}
39+
}
40+
}
41+
}

src/sagemaker/image_uri_config/randomcutforest.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222
"eu-west-3": "749696950732",
2323
"eu-south-1": "257386234256",
2424
"me-south-1": "249704162688",
25+
"me-central-1": "272398656194",
2526
"sa-east-1": "855470959533",
2627
"us-east-1": "382416733822",
2728
"us-east-2": "404615174143",
2829
"us-gov-west-1": "226302683700",
30+
"us-gov-east-1": "237065988967",
2931
"us-iso-east-1": "490574956308",
3032
"us-west-1": "632365934929",
3133
"us-west-2": "174872318107"

src/sagemaker/image_uri_config/semantic-segmentation.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222
"eu-west-3": "749696950732",
2323
"eu-south-1": "257386234256",
2424
"me-south-1": "249704162688",
25+
"me-central-1": "272398656194",
2526
"sa-east-1": "855470959533",
2627
"us-east-1": "811284229777",
2728
"us-east-2": "825641698319",
2829
"us-gov-west-1": "226302683700",
30+
"us-gov-east-1": "237065988967",
2931
"us-iso-east-1": "490574956308",
3032
"us-west-1": "632365934929",
3133
"us-west-2": "433757028032"

src/sagemaker/image_uri_config/seq2seq.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222
"eu-west-3": "749696950732",
2323
"eu-south-1": "257386234256",
2424
"me-south-1": "249704162688",
25+
"me-central-1": "272398656194",
2526
"sa-east-1": "855470959533",
2627
"us-east-1": "811284229777",
2728
"us-east-2": "825641698319",
2829
"us-gov-west-1": "226302683700",
30+
"us-gov-east-1": "237065988967",
2931
"us-iso-east-1": "490574956308",
3032
"us-west-1": "632365934929",
3133
"us-west-2": "433757028032"

0 commit comments

Comments
 (0)