File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ def __init__(
106
106
"""
107
107
steps : List [Step ] = []
108
108
repack_model = False
109
+ self .model_list = None
109
110
if "entry_point" in kwargs :
110
111
repack_model = True
111
112
entry_point = kwargs .pop ("entry_point" , None )
@@ -134,6 +135,7 @@ def __init__(
134
135
kwargs .pop ("output_kms_key" , None )
135
136
136
137
if pipeline_model is not None :
138
+ self .model_list = pipeline_model .models
137
139
for model in pipeline_model .models :
138
140
if estimator is not None :
139
141
sagemaker_session = estimator .sagemaker_session
@@ -175,7 +177,7 @@ def __init__(
175
177
compile_model_family = compile_model_family ,
176
178
description = description ,
177
179
tags = tags ,
178
- model_list = pipeline_model . models ,
180
+ model_list = self . model_list ,
179
181
** kwargs ,
180
182
)
181
183
if not repack_model :
You can’t perform that action at this time.
0 commit comments