Skip to content

Commit a5a72ba

Browse files
committed
format
1 parent bea2b83 commit a5a72ba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/sagemaker/model.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -629,8 +629,7 @@ def _compilation_job_config(
629629
}
630630

631631
if (
632-
(framework.lower() == "pytorch"
633-
or framework.lower() == "tensorflow")
632+
(framework.lower() == "pytorch" or framework.lower() == "tensorflow")
634633
and target_instance_type is not None
635634
and re.match("(?=^ml_)(?!ml_inf)", target_instance_type) is not None
636635
and framework_version is not None

0 commit comments

Comments
 (0)