Class Scheduling (1.62.0)

Scheduling(mapping=None, *, ignore_unknown_fields=False, **kwargs)

All parameters related to queuing and scheduling of custom jobs.

Attributes

Name Description
timeout google.protobuf.duration_pb2.Duration
The maximum job running time. The default is 7 days.
restart_job_on_worker_restart bool
Restarts the entire CustomJob if a worker gets restarted. This feature can be used by distributed training jobs that are not resilient to workers leaving and joining a job.
strategy google.cloud.aiplatform_v1beta1.types.Scheduling.Strategy
Optional. This determines which type of scheduling strategy to use.
disable_retries bool
Optional. Indicates if the job should retry for internal errors after the job starts running. If true, overrides Scheduling.restart_job_on_worker_restart to false.

Classes

Strategy

Strategy(value)

Optional. This determines which type of scheduling strategy to use. Right now users have two options such as STANDARD which will use regular on demand resources to schedule the job, the other is SPOT which would leverage spot resources alongwith regular resources to schedule the job.

Methods

Scheduling

Scheduling(mapping=None, *, ignore_unknown_fields=False, **kwargs)

All parameters related to queuing and scheduling of custom jobs.