update_training_job
async
¶
update_training_job(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
training_job_name: Optional[TrainingJobName] = None,
profiler_config: Optional[ProfilerConfigForUpdate] = None,
profiler_rule_configurations: Optional[ProfilerRuleConfigurations] = None,
resource_config: Optional[ResourceConfigForUpdate] = None,
remote_debug_config: Optional[RemoteDebugConfigForUpdate] = None,
) -> UpdateTrainingJobResponse
Update a model training job to request a new Debugger profiling configuration or to change warm pool retention length.
Parameters:
-
training_job_name(Optional[TrainingJobName], default:None) –The name of a training job to update the Debugger profiling configuration.
-
profiler_config(Optional[ProfilerConfigForUpdate], default:None) –Configuration information for Amazon SageMaker Debugger system monitoring, framework profiling, and storage paths.
-
profiler_rule_configurations(Optional[ProfilerRuleConfigurations], default:None) –Configuration information for Amazon SageMaker Debugger rules for profiling system and framework metrics.
-
resource_config(Optional[ResourceConfigForUpdate], default:None) –The training job
ResourceConfigto update warm pool retention length. -
remote_debug_config(Optional[RemoteDebugConfigForUpdate], default:None) –Configuration for remote debugging while the training job is running. You can update the remote debugging configuration when the
SecondaryStatusof the job isDownloadingorTraining.To learn more about the remote debugging functionality of SageMaker, see Access a training container through Amazon Web Services Systems Manager (SSM) for remote debugging.
Raises:
-
ResourceLimitExceeded–You have exceeded an SageMaker resource limit. For example, you might have too many training jobs created.
-
ResourceNotFound–Resource being access is not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/async_sage_maker.py
32142 32143 32144 32145 32146 32147 32148 32149 32150 32151 32152 32153 32154 32155 32156 32157 32158 32159 32160 32161 32162 32163 32164 32165 32166 32167 32168 32169 32170 32171 32172 32173 32174 32175 32176 32177 32178 32179 32180 32181 32182 32183 32184 32185 32186 32187 32188 32189 32190 32191 32192 32193 32194 32195 32196 32197 32198 32199 32200 32201 32202 32203 32204 32205 32206 32207 32208 32209 32210 32211 32212 32213 | |