Skip to content

Commit 325214f

Browse files
arjkeshLokiiiiii
andauthored
feature: Add support for TF 2.9 training (#3154)
* feature: Add support for TF 2.9 training * +self as collaborator * fix: typo in TF json * rerun CI Co-authored-by: Loki <[email protected]>
1 parent b2d4744 commit 325214f

File tree

3 files changed

+40
-1
lines changed

3 files changed

+40
-1
lines changed

src/sagemaker/fw_utils.py

+2
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@
8181
"2.7.1",
8282
"2.8",
8383
"2.8.0",
84+
"2.9",
85+
"2.9.1",
8486
],
8587
"pytorch": [
8688
"1.6",

src/sagemaker/image_uri_config/tensorflow.json

+35-1
Original file line numberDiff line numberDiff line change
@@ -1464,7 +1464,8 @@
14641464
"2.5": "2.5.1",
14651465
"2.6": "2.6.3",
14661466
"2.7": "2.7.1",
1467-
"2.8": "2.8.0"
1467+
"2.8": "2.8.0",
1468+
"2.9": "2.9.1"
14681469
},
14691470
"versions": {
14701471
"1.10.0": {
@@ -2822,6 +2823,39 @@
28222823
"us-west-2": "763104351884"
28232824
},
28242825
"repository": "tensorflow-training"
2826+
},
2827+
"2.9.1": {
2828+
"py_versions": [
2829+
"py39"
2830+
],
2831+
"registries": {
2832+
"af-south-1": "626614931356",
2833+
"ap-east-1": "871362719292",
2834+
"ap-northeast-1": "763104351884",
2835+
"ap-northeast-2": "763104351884",
2836+
"ap-northeast-3": "364406365360",
2837+
"ap-south-1": "763104351884",
2838+
"ap-southeast-1": "763104351884",
2839+
"ap-southeast-2": "763104351884",
2840+
"ca-central-1": "763104351884",
2841+
"cn-north-1": "727897471807",
2842+
"cn-northwest-1": "727897471807",
2843+
"eu-central-1": "763104351884",
2844+
"eu-north-1": "763104351884",
2845+
"eu-south-1": "692866216735",
2846+
"eu-west-1": "763104351884",
2847+
"eu-west-2": "763104351884",
2848+
"eu-west-3": "763104351884",
2849+
"me-south-1": "217643126080",
2850+
"sa-east-1": "763104351884",
2851+
"us-east-1": "763104351884",
2852+
"us-east-2": "763104351884",
2853+
"us-gov-west-1": "442386744353",
2854+
"us-iso-east-1": "886529160074",
2855+
"us-west-1": "763104351884",
2856+
"us-west-2": "763104351884"
2857+
},
2858+
"repository": "tensorflow-training"
28252859
}
28262860
}
28272861
}

tests/unit/test_fw_utils.py

+3
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,8 @@ def test_validate_smdataparallel_args_not_raises():
691691
("ml.p3.16xlarge", "tensorflow", "2.7", "py38", smdataparallel_enabled),
692692
("ml.p3.16xlarge", "tensorflow", "2.8.0", "py39", smdataparallel_enabled),
693693
("ml.p3.16xlarge", "tensorflow", "2.8", "py39", smdataparallel_enabled),
694+
("ml.p3.16xlarge", "tensorflow", "2.9.1", "py39", smdataparallel_enabled),
695+
("ml.p3.16xlarge", "tensorflow", "2.9", "py39", smdataparallel_enabled),
694696
("ml.p3.16xlarge", "pytorch", "1.6.0", "py3", smdataparallel_enabled),
695697
("ml.p3.16xlarge", "pytorch", "1.6", "py3", smdataparallel_enabled),
696698
("ml.p3.16xlarge", "pytorch", "1.7.1", "py3", smdataparallel_enabled),
@@ -715,6 +717,7 @@ def test_validate_smdataparallel_args_not_raises():
715717
("ml.p3.16xlarge", "tensorflow", "2.6.3", "py38", smdataparallel_enabled_custom_mpi),
716718
("ml.p3.16xlarge", "tensorflow", "2.7.1", "py38", smdataparallel_enabled_custom_mpi),
717719
("ml.p3.16xlarge", "tensorflow", "2.8.0", "py39", smdataparallel_enabled_custom_mpi),
720+
("ml.p3.16xlarge", "tensorflow", "2.9.1", "py39", smdataparallel_enabled_custom_mpi),
718721
("ml.p3.16xlarge", "pytorch", "1.8.0", "py3", smdataparallel_enabled_custom_mpi),
719722
("ml.p3.16xlarge", "pytorch", "1.9.1", "py38", smdataparallel_enabled_custom_mpi),
720723
("ml.p3.16xlarge", "pytorch", "1.10.2", "py38", smdataparallel_enabled_custom_mpi),

0 commit comments

Comments
 (0)