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):
152152 source_code (Optional[SourceCode]):
153153 The source code configuration. This is used to configure the source code for
154154 running the training job.
155- distributed (Optional[Union[ DistributedConfig] ]):
155+ distributed (Optional[DistributedConfig]):
156156 The distributed runner for the training job. This is used to configure
157157 a distributed training job. If specifed, ``source_code`` must also
158158 be provided.
@@ -213,7 +213,7 @@ class ModelTrainer(BaseModel):
213213 role : Optional [str ] = None
214214 base_job_name : Optional [str ] = None
215215 source_code : Optional [SourceCode ] = None
216- distributed : Optional [Union [ DistributedConfig ] ] = None
216+ distributed : Optional [DistributedConfig ] = None
217217 compute : Optional [Compute ] = None
218218 networking : Optional [Networking ] = None
219219 stopping_condition : Optional [StoppingCondition ] = None
You can’t perform that action at this time.
0 commit comments