Skip to content

Commit 121b2bc

Browse files
committed
Add support to TF 2.10 training
1 parent 1a39422 commit 121b2bc

File tree

3 files changed

+41
-1
lines changed

3 files changed

+41
-1
lines changed

src/sagemaker/fw_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@
102102
"2.8.0",
103103
"2.9",
104104
"2.9.1",
105+
"2.10",
106+
"2.10.0",
105107
],
106108
"pytorch": [
107109
"1.6",

src/sagemaker/image_uri_config/tensorflow.json

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1498,7 +1498,8 @@
14981498
"2.6": "2.6.3",
14991499
"2.7": "2.7.1",
15001500
"2.8": "2.8.0",
1501-
"2.9": "2.9.1"
1501+
"2.9": "2.9.1",
1502+
"2.10": "2.10.0"
15021503
},
15031504
"versions": {
15041505
"1.10.0": {
@@ -2921,6 +2922,40 @@
29212922
"us-west-2": "763104351884"
29222923
},
29232924
"repository": "tensorflow-training"
2925+
},
2926+
"2.10.0": {
2927+
"py_versions": [
2928+
"py39"
2929+
],
2930+
"registries": {
2931+
"af-south-1": "626614931356",
2932+
"ap-east-1": "871362719292",
2933+
"ap-northeast-1": "763104351884",
2934+
"ap-northeast-2": "763104351884",
2935+
"ap-northeast-3": "364406365360",
2936+
"ap-south-1": "763104351884",
2937+
"ap-southeast-1": "763104351884",
2938+
"ap-southeast-2": "763104351884",
2939+
"ap-southeast-3": "907027046896",
2940+
"ca-central-1": "763104351884",
2941+
"cn-north-1": "727897471807",
2942+
"cn-northwest-1": "727897471807",
2943+
"eu-central-1": "763104351884",
2944+
"eu-north-1": "763104351884",
2945+
"eu-south-1": "692866216735",
2946+
"eu-west-1": "763104351884",
2947+
"eu-west-2": "763104351884",
2948+
"eu-west-3": "763104351884",
2949+
"me-south-1": "217643126080",
2950+
"sa-east-1": "763104351884",
2951+
"us-east-1": "763104351884",
2952+
"us-east-2": "763104351884",
2953+
"us-gov-west-1": "442386744353",
2954+
"us-iso-east-1": "886529160074",
2955+
"us-west-1": "763104351884",
2956+
"us-west-2": "763104351884"
2957+
},
2958+
"repository": "tensorflow-training"
29242959
}
29252960
}
29262961
}

tests/unit/test_fw_utils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -847,6 +847,8 @@ def test_validate_smdataparallel_args_not_raises():
847847
("ml.p3.16xlarge", "tensorflow", "2.8", "py39", smdataparallel_enabled),
848848
("ml.p3.16xlarge", "tensorflow", "2.9.1", "py39", smdataparallel_enabled),
849849
("ml.p3.16xlarge", "tensorflow", "2.9", "py39", smdataparallel_enabled),
850+
("ml.p3.16xlarge", "tensorflow", "2.10.0", "py39", smdataparallel_enabled),
851+
("ml.p3.16xlarge", "tensorflow", "2.10", "py39", smdataparallel_enabled),
850852
("ml.p3.16xlarge", "pytorch", "1.6.0", "py3", smdataparallel_enabled),
851853
("ml.p3.16xlarge", "pytorch", "1.6", "py3", smdataparallel_enabled),
852854
("ml.p3.16xlarge", "pytorch", "1.7.1", "py3", smdataparallel_enabled),
@@ -874,6 +876,7 @@ def test_validate_smdataparallel_args_not_raises():
874876
("ml.p3.16xlarge", "tensorflow", "2.7.1", "py38", smdataparallel_enabled_custom_mpi),
875877
("ml.p3.16xlarge", "tensorflow", "2.8.0", "py39", smdataparallel_enabled_custom_mpi),
876878
("ml.p3.16xlarge", "tensorflow", "2.9.1", "py39", smdataparallel_enabled_custom_mpi),
879+
("ml.p3.16xlarge", "tensorflow", "2.10.0", "py39", smdataparallel_enabled_custom_mpi),
877880
("ml.p3.16xlarge", "pytorch", "1.8.0", "py3", smdataparallel_enabled_custom_mpi),
878881
("ml.p3.16xlarge", "pytorch", "1.9.1", "py38", smdataparallel_enabled_custom_mpi),
879882
("ml.p3.16xlarge", "pytorch", "1.10.2", "py38", smdataparallel_enabled_custom_mpi),

0 commit comments

Comments
 (0)