Skip to content

Commit 6911e4a

Browse files
Update src/sagemaker/model.py
Co-authored-by: icywang86rui <[email protected]>
1 parent 783908a commit 6911e4a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/sagemaker/model.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,10 @@ def _compilation_image_uri(self, region, target_instance_type, framework, framew
279279

280280
if framework == "xgboost":
281281
framework_suffix = "-neo"
282+
elif target_instance_typ.startswith("ml_inf"):
283+
framework_prefix = "inferentia-"
282284
else:
285+
framework_prefix = "neo-"
283286
if target_instance_type.startswith("ml_inf"):
284287
framework_prefix = "inferentia-"
285288
else:

0 commit comments

Comments
 (0)