File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/sagemaker/modules/train Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ class ModelTrainer(BaseModel):
152
152
source_code (Optional[SourceCode]):
153
153
The source code configuration. This is used to configure the source code for
154
154
running the training job.
155
- distributed (Optional[Union[ DistributedConfig] ]):
155
+ distributed (Optional[DistributedConfig]):
156
156
The distributed runner for the training job. This is used to configure
157
157
a distributed training job. If specifed, ``source_code`` must also
158
158
be provided.
@@ -213,7 +213,7 @@ class ModelTrainer(BaseModel):
213
213
role : Optional [str ] = None
214
214
base_job_name : Optional [str ] = None
215
215
source_code : Optional [SourceCode ] = None
216
- distributed : Optional [Union [ DistributedConfig ] ] = None
216
+ distributed : Optional [DistributedConfig ] = None
217
217
compute : Optional [Compute ] = None
218
218
networking : Optional [Networking ] = None
219
219
stopping_condition : Optional [StoppingCondition ] = None
You can’t perform that action at this time.
0 commit comments