Skip to content

Commit 989c074

Browse files
ohadkatzNamrata Madan
authored and
Namrata Madan
committed
feature: TF2.11 Update to PySDK (aws#3582)
* Updated Sagemaker SDK with TF2.11 * updated 2.10 to 2.10.1 patch version * Additional updates to TF2.11
1 parent c0a4a6f commit 989c074

File tree

3 files changed

+46
-6
lines changed

3 files changed

+46
-6
lines changed

src/sagemaker/fw_utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@
106106
"2.9.1",
107107
"2.9.2",
108108
"2.10",
109-
"2.10.0",
109+
"2.10.1",
110+
"2.11",
111+
"2.11.0",
110112
],
111113
"pytorch": [
112114
"1.6",

src/sagemaker/image_uri_config/tensorflow.json

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1927,7 +1927,8 @@
19271927
"2.7": "2.7.1",
19281928
"2.8": "2.8.0",
19291929
"2.9": "2.9.2",
1930-
"2.10": "2.10.0"
1930+
"2.10": "2.10.1",
1931+
"2.11": "2.11.0"
19311932
},
19321933
"versions": {
19331934
"1.10.0": {
@@ -3415,7 +3416,42 @@
34153416
},
34163417
"repository": "tensorflow-training"
34173418
},
3418-
"2.10.0": {
3419+
"2.10.1": {
3420+
"py_versions": [
3421+
"py39"
3422+
],
3423+
"registries": {
3424+
"af-south-1": "626614931356",
3425+
"ap-east-1": "871362719292",
3426+
"ap-northeast-1": "763104351884",
3427+
"ap-northeast-2": "763104351884",
3428+
"ap-northeast-3": "364406365360",
3429+
"ap-south-1": "763104351884",
3430+
"ap-southeast-1": "763104351884",
3431+
"ap-southeast-2": "763104351884",
3432+
"ap-southeast-3": "907027046896",
3433+
"ca-central-1": "763104351884",
3434+
"cn-north-1": "727897471807",
3435+
"cn-northwest-1": "727897471807",
3436+
"eu-central-1": "763104351884",
3437+
"eu-north-1": "763104351884",
3438+
"eu-south-1": "692866216735",
3439+
"eu-west-1": "763104351884",
3440+
"eu-west-2": "763104351884",
3441+
"eu-west-3": "763104351884",
3442+
"me-south-1": "217643126080",
3443+
"sa-east-1": "763104351884",
3444+
"us-east-1": "763104351884",
3445+
"us-east-2": "763104351884",
3446+
"us-gov-east-1": "446045086412",
3447+
"us-gov-west-1": "442386744353",
3448+
"us-iso-east-1": "886529160074",
3449+
"us-west-1": "763104351884",
3450+
"us-west-2": "763104351884"
3451+
},
3452+
"repository": "tensorflow-training"
3453+
},
3454+
"2.11.0": {
34193455
"py_versions": [
34203456
"py39"
34213457
],
@@ -3453,4 +3489,3 @@
34533489
}
34543490
}
34553491
}
3456-

tests/unit/test_fw_utils.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -886,8 +886,10 @@ def test_validate_smdataparallel_args_not_raises():
886886
("ml.p3.16xlarge", "tensorflow", "2.9.2", "py39", smdataparallel_enabled),
887887
("ml.p3.16xlarge", "tensorflow", "2.9.1", "py39", smdataparallel_enabled),
888888
("ml.p3.16xlarge", "tensorflow", "2.9", "py39", smdataparallel_enabled),
889-
("ml.p3.16xlarge", "tensorflow", "2.10.0", "py39", smdataparallel_enabled),
889+
("ml.p3.16xlarge", "tensorflow", "2.10.1", "py39", smdataparallel_enabled),
890890
("ml.p3.16xlarge", "tensorflow", "2.10", "py39", smdataparallel_enabled),
891+
("ml.p3.16xlarge", "tensorflow", "2.11.0", "py39", smdataparallel_enabled),
892+
("ml.p3.16xlarge", "tensorflow", "2.11", "py39", smdataparallel_enabled),
891893
("ml.p3.16xlarge", "pytorch", "1.6.0", "py3", smdataparallel_enabled),
892894
("ml.p3.16xlarge", "pytorch", "1.6", "py3", smdataparallel_enabled),
893895
("ml.p3.16xlarge", "pytorch", "1.7.1", "py3", smdataparallel_enabled),
@@ -917,7 +919,8 @@ def test_validate_smdataparallel_args_not_raises():
917919
("ml.p3.16xlarge", "tensorflow", "2.8.0", "py39", smdataparallel_enabled_custom_mpi),
918920
("ml.p3.16xlarge", "tensorflow", "2.9.1", "py39", smdataparallel_enabled_custom_mpi),
919921
("ml.p3.16xlarge", "tensorflow", "2.9.2", "py39", smdataparallel_enabled_custom_mpi),
920-
("ml.p3.16xlarge", "tensorflow", "2.10.0", "py39", smdataparallel_enabled_custom_mpi),
922+
("ml.p3.16xlarge", "tensorflow", "2.10.1", "py39", smdataparallel_enabled_custom_mpi),
923+
("ml.p3.16xlarge", "tensorflow", "2.11.0", "py39", smdataparallel_enabled_custom_mpi),
921924
("ml.p3.16xlarge", "pytorch", "1.8.0", "py3", smdataparallel_enabled_custom_mpi),
922925
("ml.p3.16xlarge", "pytorch", "1.9.1", "py38", smdataparallel_enabled_custom_mpi),
923926
("ml.p3.16xlarge", "pytorch", "1.10.2", "py38", smdataparallel_enabled_custom_mpi),

0 commit comments

Comments
 (0)