Skip to content

Commit 98079ef

Browse files
jeniyatathewsey
authored andcommitted
feature: Upgrade TensorFlow to 2.7
1 parent 8291be2 commit 98079ef

File tree

3 files changed

+71
-2
lines changed

3 files changed

+71
-2
lines changed

src/sagemaker/fw_utils.py

+2
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@
7474
"2.6",
7575
"2.6.0",
7676
"2.6.2",
77+
"2.7",
78+
"2.7.0",
7779
],
7880
"pytorch": [
7981
"1.6",

src/sagemaker/image_uri_config/tensorflow.json

+67-2
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,8 @@
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.0",
283+
"2.7": "2.7.0"
283284
},
284285
"versions": {
285286
"1.10.0": {
@@ -1343,6 +1344,36 @@
13431344
"us-west-2": "763104351884"
13441345
},
13451346
"repository": "tensorflow-inference"
1347+
},
1348+
"2.7.0": {
1349+
"registries": {
1350+
"af-south-1": "626614931356",
1351+
"ap-east-1": "871362719292",
1352+
"ap-northeast-1": "763104351884",
1353+
"ap-northeast-2": "763104351884",
1354+
"ap-northeast-3": "364406365360",
1355+
"ap-south-1": "763104351884",
1356+
"ap-southeast-1": "763104351884",
1357+
"ap-southeast-2": "763104351884",
1358+
"ca-central-1": "763104351884",
1359+
"cn-north-1": "727897471807",
1360+
"cn-northwest-1": "727897471807",
1361+
"eu-central-1": "763104351884",
1362+
"eu-north-1": "763104351884",
1363+
"eu-south-1": "692866216735",
1364+
"eu-west-1": "763104351884",
1365+
"eu-west-2": "763104351884",
1366+
"eu-west-3": "763104351884",
1367+
"me-south-1": "217643126080",
1368+
"sa-east-1": "763104351884",
1369+
"us-east-1": "763104351884",
1370+
"us-east-2": "763104351884",
1371+
"us-gov-west-1": "442386744353",
1372+
"us-iso-east-1": "886529160074",
1373+
"us-west-1": "763104351884",
1374+
"us-west-2": "763104351884"
1375+
},
1376+
"repository": "tensorflow-inference"
13461377
}
13471378
}
13481379
},
@@ -1370,7 +1401,8 @@
13701401
"2.3": "2.3.2",
13711402
"2.4": "2.4.3",
13721403
"2.5": "2.5.1",
1373-
"2.6": "2.6.2"
1404+
"2.6": "2.6.2",
1405+
"2.7": "2.7.0"
13741406
},
13751407
"versions": {
13761408
"1.10.0": {
@@ -2629,6 +2661,39 @@
26292661
"us-west-2": "763104351884"
26302662
},
26312663
"repository": "tensorflow-training"
2664+
},
2665+
"2.7.0": {
2666+
"py_versions": [
2667+
"py38"
2668+
],
2669+
"registries": {
2670+
"af-south-1": "626614931356",
2671+
"ap-east-1": "871362719292",
2672+
"ap-northeast-1": "763104351884",
2673+
"ap-northeast-2": "763104351884",
2674+
"ap-northeast-3": "364406365360",
2675+
"ap-south-1": "763104351884",
2676+
"ap-southeast-1": "763104351884",
2677+
"ap-southeast-2": "763104351884",
2678+
"ca-central-1": "763104351884",
2679+
"cn-north-1": "727897471807",
2680+
"cn-northwest-1": "727897471807",
2681+
"eu-central-1": "763104351884",
2682+
"eu-north-1": "763104351884",
2683+
"eu-south-1": "692866216735",
2684+
"eu-west-1": "763104351884",
2685+
"eu-west-2": "763104351884",
2686+
"eu-west-3": "763104351884",
2687+
"me-south-1": "217643126080",
2688+
"sa-east-1": "763104351884",
2689+
"us-east-1": "763104351884",
2690+
"us-east-2": "763104351884",
2691+
"us-gov-west-1": "442386744353",
2692+
"us-iso-east-1": "886529160074",
2693+
"us-west-1": "763104351884",
2694+
"us-west-2": "763104351884"
2695+
},
2696+
"repository": "tensorflow-training"
26322697
}
26332698
}
26342699
}

tests/unit/test_fw_utils.py

+2
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,8 @@ def test_validate_smdataparallel_args_not_raises():
684684
("ml.p3.16xlarge", "tensorflow", "2.5", "py37", smdataparallel_enabled),
685685
("ml.p3.16xlarge", "tensorflow", "2.6.0", "py38", smdataparallel_enabled),
686686
("ml.p3.16xlarge", "tensorflow", "2.6", "py38", smdataparallel_enabled),
687+
("ml.p3.16xlarge", "tensorflow", "2.7.0", "py38", smdataparallel_enabled),
688+
("ml.p3.16xlarge", "tensorflow", "2.7", "py38", smdataparallel_enabled),
687689
("ml.p3.16xlarge", "pytorch", "1.6.0", "py3", smdataparallel_enabled),
688690
("ml.p3.16xlarge", "pytorch", "1.6", "py3", smdataparallel_enabled),
689691
("ml.p3.16xlarge", "pytorch", "1.7.1", "py3", smdataparallel_enabled),

0 commit comments

Comments
 (0)