@@ -63,6 +63,7 @@ def __init__(
63
63
estimator : EstimatorBase = None ,
64
64
model_data = None ,
65
65
depends_on : Union [List [str ], List [Step ]] = None ,
66
+ repack_output_path = None ,
66
67
repack_model_step_retry_policies : List [RetryPolicy ] = None ,
67
68
register_model_step_retry_policies : List [RetryPolicy ] = None ,
68
69
model_package_group_name = None ,
@@ -91,6 +92,9 @@ def __init__(
91
92
job can be run or on which an endpoint can be deployed (default: None).
92
93
depends_on (List[str] or List[Step]): The list of step names or step instances
93
94
the first step in the collection depends on
95
+ repack_output_path (str): The S3 prefix URI where the repacked model will be
96
+ uploaded (default: None) - don't include a trailing slash.
97
+ If not specified, the default location is s3://default-bucket/job-name.
94
98
repack_model_step_retry_policies (List[RetryPolicy]): The list of retry policies
95
99
for the repack model step
96
100
register_model_step_retry_policies (List[RetryPolicy]): The list of retry policies
@@ -151,6 +155,7 @@ def __init__(
151
155
security_group_ids = security_group_ids ,
152
156
description = description ,
153
157
display_name = display_name ,
158
+ repack_output_path = repack_output_path ,
154
159
** kwargs ,
155
160
)
156
161
steps .append (repack_model_step )
@@ -195,6 +200,7 @@ def __init__(
195
200
security_group_ids = security_group_ids ,
196
201
description = description ,
197
202
display_name = display_name ,
203
+ repack_output_path = repack_output_path ,
198
204
** kwargs ,
199
205
)
200
206
steps .append (repack_model_step )
@@ -256,6 +262,7 @@ def __init__(
256
262
image_uri = None ,
257
263
predictor_cls = None ,
258
264
env = None ,
265
+ repack_output_path = None ,
259
266
# transformer arguments
260
267
strategy = None ,
261
268
assemble_with = None ,
@@ -307,6 +314,9 @@ def __init__(
307
314
it will be the format of the batch transform output.
308
315
env (dict): The Environment variables to be set for use during the
309
316
transform job (default: None).
317
+ repack_output_path (str): The S3 prefix URI where the repacked model will be
318
+ uploaded (default: None) - don't include a trailing slash.
319
+ If not specified, the default location is s3://default-bucket/job-name.
310
320
depends_on (List[str] or List[Step]): The list of step names or step instances
311
321
the first step in the collection depends on
312
322
repack_model_step_retry_policies (List[RetryPolicy]): The list of retry policies
@@ -336,6 +346,7 @@ def __init__(
336
346
security_group_ids = estimator .security_group_ids ,
337
347
description = description ,
338
348
display_name = display_name ,
349
+ repack_output_path = repack_output_path ,
339
350
)
340
351
steps .append (repack_model_step )
341
352
model_data = repack_model_step .properties .ModelArtifacts .S3ModelArtifacts
0 commit comments