File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 19
19
import sys
20
20
21
21
import pytest
22
+ from sagemaker import utils
22
23
from sagemaker .amazon .amazon_estimator import get_image_uri
23
24
from sagemaker .analytics import HyperparameterTuningJobAnalytics
24
25
from sagemaker .content_types import CONTENT_TYPE_JSON
@@ -140,11 +141,13 @@ def test_multi_estimator_tuning(
140
141
141
142
def _fit_tuner (sagemaker_session , tuner ):
142
143
training_inputs = _create_training_inputs (sagemaker_session )
144
+ job_name = utils .unique_name_from_base ("test-multi-algo-tuning" , max_length = 32 )
143
145
144
146
with timeout (minutes = TUNING_DEFAULT_TIMEOUT_MINUTES ):
145
147
tuner .fit (
146
148
inputs = {ESTIMATOR_FM : training_inputs , ESTIMATOR_KNN : training_inputs },
147
149
include_cls_metadata = {},
150
+ job_name = job_name ,
148
151
)
149
152
tuner .wait ()
150
153
You can’t perform that action at this time.
0 commit comments