Skip to content

Commit 5888e81

Browse files
author
Ubuntu
committed
add TF 2.4.0 to fw_utils and test
1 parent 01c6ee3 commit 5888e81

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/sagemaker/fw_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"local_gpu",
5858
)
5959
SM_DATAPARALLEL_SUPPORTED_FRAMEWORK_VERSIONS = {
60-
"tensorflow": ["2.3.0", "2.3.1"],
60+
"tensorflow": ["2.3.0", "2.3.1", "2.4.0"],
6161
"pytorch": ["1.6.0"],
6262
}
6363
SMDISTRIBUTED_SUPPORTED_STRATEGIES = ["dataparallel", "modelparallel"]

tests/unit/test_fw_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,7 @@ def test_validate_smdataparallel_args_not_raises():
631631
good_args = [
632632
(None, None, None, None, smdataparallel_disabled),
633633
("ml.p3.16xlarge", "tensorflow", "2.3.1", "py3", smdataparallel_enabled),
634+
("ml.p3.16xlarge", "tensorflow", "2.4.0", "py3", smdataparallel_enabled),
634635
("ml.p3.16xlarge", "pytorch", "1.6.0", "py3", smdataparallel_enabled),
635636
]
636637
for instance_type, framework_name, framework_version, py_version, distribution in good_args:

0 commit comments

Comments
 (0)