Skip to content

Commit ea86e37

Browse files
Qingzi-Lanmufaddal-rohawala
authored andcommitted
feature: TF242 ioc support (aws#2982)
Co-authored-by: Mufaddal Rohawala <[email protected]>
1 parent 9a2a5be commit ea86e37

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/sagemaker/image_uri_config/neo-tensorflow.json

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
"1.12.0": "1.15.3",
1414
"1.13.0": "1.15.3",
1515
"1.14.0": "1.15.3",
16+
"2.4": "2.4.2",
17+
"2.4.0": "2.4.2",
18+
"2.4.1": "2.4.2",
1619
"2.4.2": "2.4.2"
1720
},
1821
"versions": {

src/sagemaker/model.py

+2
Original file line numberDiff line numberDiff line change
@@ -630,6 +630,8 @@ def _compilation_job_config(
630630

631631
if (
632632
framework.lower() == "pytorch"
633+
or framework.lower() == "tensorflow"
634+
and target_instance_type is not None
633635
and re.match("(?=^ml_)(?!ml_inf)", target_instance_type) is not None
634636
and framework_version is not None
635637
):

0 commit comments

Comments
 (0)