update_training_job
¶
update_training_job(
*,
config_overrides: Optional[SageMakerClientConfig] = 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/sage_maker.py
35035 35036 35037 35038 35039 35040 35041 35042 35043 35044 35045 35046 35047 35048 35049 35050 35051 35052 35053 35054 35055 35056 35057 35058 35059 35060 35061 35062 35063 35064 35065 35066 35067 35068 35069 35070 35071 35072 35073 35074 35075 35076 35077 35078 35079 35080 35081 35082 35083 35084 35085 35086 35087 35088 35089 35090 35091 35092 35093 35094 35095 35096 35097 35098 35099 35100 35101 35102 35103 35104 35105 | |