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 999fb22 commit 3fc4cd6Copy full SHA for 3fc4cd6
src/sagemaker/model.py
@@ -651,7 +651,9 @@ def compile(
651
job_status = self.sagemaker_session.wait_for_compilation_job(job_name)
652
self.model_data = job_status["ModelArtifacts"]["S3ModelArtifacts"]
653
if target_instance_family is not None:
654
- if target_instance_family.startswith("ml_"):
+ if target_instance_family == "ml_eia2":
655
+ LOGGER.info("You are using target device ml_eia2...")
656
+ elif (target_instance_family != "ml_eia2") and target_instance_family.startswith("ml_"):
657
self.image_uri = self._compilation_image_uri(
658
self.sagemaker_session.boto_region_name,
659
target_instance_family,
0 commit comments