Skip to content

Commit 5ca8c57

Browse files
committed
lint
1 parent ea54793 commit 5ca8c57

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/sagemaker/model.py

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

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

0 commit comments

Comments
 (0)