Skip to content

Commit ea54793

Browse files
committed
update TF242 ioc support
1 parent a30c7b5 commit ea54793

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/sagemaker/image_uri_config/neo-tensorflow.json

Lines changed: 3 additions & 0 deletions
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ def _compilation_job_config(
620620
}
621621

622622
if (
623-
framework.lower() == "pytorch"
623+
framework.lower() == "pytorch" or framework.lower() == "tensorflow"
624624
and re.match("(?=^ml_)(?!ml_inf)", target_instance_type) is not None
625625
and framework_version is not None
626626
):

0 commit comments

Comments
 (0)