File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/sagemaker/jumpstart/artifacts Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -128,8 +128,8 @@ def _retrieve_image_uri(
128
128
ecr_specs = model_specs .hosting_ecr_specs
129
129
if ecr_specs is None :
130
130
raise ValueError (
131
- f"No hosting ECR specs found for JumpStart model ID '{ model_id } ' with "
132
- f"{ instance_type } instance type in { region } . "
131
+ f"No inference ECR configuration found for JumpStart model ID '{ model_id } ' "
132
+ f"with { instance_type } instance type in { region } . "
133
133
"Please try another instance type or region."
134
134
)
135
135
elif image_scope == JumpStartScriptScope .TRAINING :
@@ -143,8 +143,8 @@ def _retrieve_image_uri(
143
143
ecr_specs = model_specs .training_ecr_specs
144
144
if ecr_specs is None :
145
145
raise ValueError (
146
- f"No training ECR specs found for JumpStart model ID '{ model_id } ' with "
147
- f"{ instance_type } instance type in { region } . "
146
+ f"No training ECR configuration found for JumpStart model ID '{ model_id } ' "
147
+ f"with { instance_type } instance type in { region } . "
148
148
"Please try another instance type or region."
149
149
)
150
150
if framework is not None and framework != ecr_specs .framework :
You can’t perform that action at this time.
0 commit comments