GoogleCloudAiplatformV1Scheduling
import type { GoogleCloudAiplatformV1Scheduling } from "https://googleapis.deno.dev/v1/aiplatform:v1.ts";
All parameters related to queuing and scheduling of custom jobs.
interface GoogleCloudAiplatformV1Scheduling {
disableRetries?: boolean;
maxWaitDuration?: number;
restartJobOnWorkerRestart?: boolean;
strategy?:
| "STRATEGY_UNSPECIFIED"
| "ON_DEMAND"
| "LOW_COST"
| "STANDARD"
| "SPOT"
| "FLEX_START";
timeout?: number;
}§Properties
§
disableRetries?: boolean
[src]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?: number
[src]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?: boolean
[src]Optional. 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.