We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 223d4de commit 5657fd4Copy full SHA for 5657fd4
src/sagemaker/model.py
@@ -622,7 +622,7 @@ def _compilation_job_config(
622
if (
623
framework.lower() == "pytorch"
624
or framework.lower() == "tensorflow"
625
- and re.match("(?=^ml_)(?!ml_inf)", str(target_instance_type)) is not None
+ and re.match("(?=^ml_)(?!ml_inf)", target_instance_type) is not None
626
and framework_version is not None
627
):
628
input_model_config["FrameworkVersion"] = utils.get_short_version(framework_version)
0 commit comments