File tree 2 files changed +5
-5
lines changed
tests/unit/sagemaker/script_uris/jumpstart
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -292,12 +292,12 @@ def _retrieve_script_uri(
292
292
)
293
293
294
294
if script_scope == JumpStartScriptScope .INFERENCE :
295
- model_script_key = (
296
- getattr (model_specs , "training_prepacked_script_key" ) or model_specs .hosting_script_key
297
- )
295
+ model_script_key = model_specs .hosting_script_key
298
296
299
297
elif script_scope == JumpStartScriptScope .TRAINING :
300
- model_script_key = model_specs .training_script_key
298
+ model_script_key = (
299
+ getattr (model_specs , "training_prepacked_script_key" ) or model_specs .training_script_key
300
+ )
301
301
302
302
bucket = os .environ .get (
303
303
ENV_VARIABLE_JUMPSTART_SCRIPT_ARTIFACT_BUCKET_OVERRIDE
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def test_jumpstart_combined_artifacts(patched_get_model_specs):
28
28
29
29
uri = script_uris .retrieve (
30
30
region = "us-west-2" ,
31
- script_scope = "inference " ,
31
+ script_scope = "training " ,
32
32
model_id = model_id_combined_script_artifact ,
33
33
model_version = "*" ,
34
34
)
You can’t perform that action at this time.
0 commit comments