Skip to content

Commit 9a2a5be

Browse files
saimidumufaddal-rohawala
authored andcommitted
feature: Add support for TF 2.6.3 (aws#3006)
Co-authored-by: Mufaddal Rohawala <[email protected]>
1 parent 6989b30 commit 9a2a5be

File tree

3 files changed

+70
-2
lines changed

3 files changed

+70
-2
lines changed

src/sagemaker/fw_utils.py

+1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
"2.6",
7575
"2.6.0",
7676
"2.6.2",
77+
"2.6.3",
7778
],
7879
"pytorch": [
7980
"1.6",

src/sagemaker/image_uri_config/tensorflow.json

+65-2
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@
279279
"2.3": "2.3.2",
280280
"2.4": "2.4.3",
281281
"2.5": "2.5.1",
282-
"2.6": "2.6.0"
282+
"2.6": "2.6.3"
283283
},
284284
"versions": {
285285
"1.10.0": {
@@ -1343,6 +1343,36 @@
13431343
"us-west-2": "763104351884"
13441344
},
13451345
"repository": "tensorflow-inference"
1346+
},
1347+
"2.6.3": {
1348+
"registries": {
1349+
"af-south-1": "626614931356",
1350+
"ap-east-1": "871362719292",
1351+
"ap-northeast-1": "763104351884",
1352+
"ap-northeast-2": "763104351884",
1353+
"ap-northeast-3": "364406365360",
1354+
"ap-south-1": "763104351884",
1355+
"ap-southeast-1": "763104351884",
1356+
"ap-southeast-2": "763104351884",
1357+
"ca-central-1": "763104351884",
1358+
"cn-north-1": "727897471807",
1359+
"cn-northwest-1": "727897471807",
1360+
"eu-central-1": "763104351884",
1361+
"eu-north-1": "763104351884",
1362+
"eu-south-1": "692866216735",
1363+
"eu-west-1": "763104351884",
1364+
"eu-west-2": "763104351884",
1365+
"eu-west-3": "763104351884",
1366+
"me-south-1": "217643126080",
1367+
"sa-east-1": "763104351884",
1368+
"us-east-1": "763104351884",
1369+
"us-east-2": "763104351884",
1370+
"us-gov-west-1": "442386744353",
1371+
"us-iso-east-1": "886529160074",
1372+
"us-west-1": "763104351884",
1373+
"us-west-2": "763104351884"
1374+
},
1375+
"repository": "tensorflow-inference"
13461376
}
13471377
}
13481378
},
@@ -1370,7 +1400,7 @@
13701400
"2.3": "2.3.2",
13711401
"2.4": "2.4.3",
13721402
"2.5": "2.5.1",
1373-
"2.6": "2.6.2"
1403+
"2.6": "2.6.3"
13741404
},
13751405
"versions": {
13761406
"1.10.0": {
@@ -2629,6 +2659,39 @@
26292659
"us-west-2": "763104351884"
26302660
},
26312661
"repository": "tensorflow-training"
2662+
},
2663+
"2.6.3": {
2664+
"py_versions": [
2665+
"py38"
2666+
],
2667+
"registries": {
2668+
"af-south-1": "626614931356",
2669+
"ap-east-1": "871362719292",
2670+
"ap-northeast-1": "763104351884",
2671+
"ap-northeast-2": "763104351884",
2672+
"ap-northeast-3": "364406365360",
2673+
"ap-south-1": "763104351884",
2674+
"ap-southeast-1": "763104351884",
2675+
"ap-southeast-2": "763104351884",
2676+
"ca-central-1": "763104351884",
2677+
"cn-north-1": "727897471807",
2678+
"cn-northwest-1": "727897471807",
2679+
"eu-central-1": "763104351884",
2680+
"eu-north-1": "763104351884",
2681+
"eu-south-1": "692866216735",
2682+
"eu-west-1": "763104351884",
2683+
"eu-west-2": "763104351884",
2684+
"eu-west-3": "763104351884",
2685+
"me-south-1": "217643126080",
2686+
"sa-east-1": "763104351884",
2687+
"us-east-1": "763104351884",
2688+
"us-east-2": "763104351884",
2689+
"us-gov-west-1": "442386744353",
2690+
"us-iso-east-1": "886529160074",
2691+
"us-west-1": "763104351884",
2692+
"us-west-2": "763104351884"
2693+
},
2694+
"repository": "tensorflow-training"
26322695
}
26332696
}
26342697
}

tests/unit/test_fw_utils.py

+4
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,8 @@ def test_validate_smdataparallel_args_not_raises():
683683
("ml.p3.16xlarge", "tensorflow", "2.5.1", "py37", smdataparallel_enabled),
684684
("ml.p3.16xlarge", "tensorflow", "2.5", "py37", smdataparallel_enabled),
685685
("ml.p3.16xlarge", "tensorflow", "2.6.0", "py38", smdataparallel_enabled),
686+
("ml.p3.16xlarge", "tensorflow", "2.6.2", "py38", smdataparallel_enabled),
687+
("ml.p3.16xlarge", "tensorflow", "2.6.3", "py38", smdataparallel_enabled),
686688
("ml.p3.16xlarge", "tensorflow", "2.6", "py38", smdataparallel_enabled),
687689
("ml.p3.16xlarge", "pytorch", "1.6.0", "py3", smdataparallel_enabled),
688690
("ml.p3.16xlarge", "pytorch", "1.6", "py3", smdataparallel_enabled),
@@ -698,6 +700,8 @@ def test_validate_smdataparallel_args_not_raises():
698700
("ml.p3.16xlarge", "tensorflow", "2.4.1", "py37", smdataparallel_enabled_custom_mpi),
699701
("ml.p3.16xlarge", "tensorflow", "2.5.1", "py37", smdataparallel_enabled_custom_mpi),
700702
("ml.p3.16xlarge", "tensorflow", "2.6.0", "py38", smdataparallel_enabled_custom_mpi),
703+
("ml.p3.16xlarge", "tensorflow", "2.6.2", "py38", smdataparallel_enabled_custom_mpi),
704+
("ml.p3.16xlarge", "tensorflow", "2.6.3", "py38", smdataparallel_enabled_custom_mpi),
701705
("ml.p3.16xlarge", "pytorch", "1.8.0", "py3", smdataparallel_enabled_custom_mpi),
702706
("ml.p3.16xlarge", "pytorch", "1.9.1", "py38", smdataparallel_enabled_custom_mpi),
703707
]

0 commit comments

Comments
 (0)