View Source GoogleApi.Batch.V1.Model.Accelerator (google_api_batch v0.4.1)

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

Attributes

  • count (type: String.t, default: nil) - The number of accelerators of this type.
  • driverVersion (type: String.t, default: nil) - 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 (type: boolean(), default: nil) - Deprecated: please use instances[0].install_gpu_drivers instead.
  • type (type: String.t, default: nil) - The accelerator type. For example, "nvidia-tesla-t4". See gcloud compute accelerator-types list.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Batch.V1.Model.Accelerator{
  count: String.t() | nil,
  driverVersion: String.t() | nil,
  installGpuDrivers: boolean() | nil,
  type: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.