Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Accelerator

import type { Accelerator } from "https://googleapis.deno.dev/v1/batch:v1.ts";

Accelerator describes Compute Engine accelerators to be attached to the VM.

interface Accelerator {
count?: bigint;
driverVersion?: string;
installGpuDrivers?: boolean;
type?: string;
}

§Properties

§
count?: bigint
[src]

The number of accelerators of this type.

§
driverVersion?: string
[src]

Optional. The NVIDIA GPU driver version that should be installed for this type. You can define the specific driver version such as "470.103.01", following the driver version requirements in https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver. Batch will install the specific accelerator driver if qualified.

§
installGpuDrivers?: boolean
[src]

Deprecated: please use instances[0].install_gpu_drivers instead.

§
type?: string
[src]

The accelerator type. For example, "nvidia-tesla-t4". See gcloud compute accelerator-types list.