View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Scheduling (google_api_ai_platform v0.13.0)

All parameters related to queuing and scheduling of custom jobs.

Attributes

  • disableRetries (type: boolean(), default: nil) - 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.
  • maxWaitDuration (type: String.t, default: nil) - Optional. This is the maximum duration that a job will wait for the requested resources to be provisioned if the scheduling strategy is set to [Strategy.DWS_FLEX_START]. If set to 0, the job will wait indefinitely. The default is 24 hours.
  • restartJobOnWorkerRestart (type: boolean(), default: nil) - 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 (type: String.t, default: nil) - Optional. This determines which type of scheduling strategy to use.
  • timeout (type: String.t, default: nil) - The maximum job running time. The default is 7 days.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Scheduling{
  disableRetries: boolean() | nil,
  maxWaitDuration: String.t() | nil,
  restartJobOnWorkerRestart: boolean() | nil,
  strategy: String.t() | nil,
  timeout: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.