Accelerator(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Accelerator describes Compute Engine accelerators to be attached to the VM.
Attributes |
|
---|---|
Name | Description |
type_ |
str
The accelerator type. For example, "nvidia-tesla-t4". See gcloud compute accelerator-types list .
|
count |
int
The number of accelerators of this type. |
install_gpu_drivers |
bool
Deprecated: please use instances[0].install_gpu_drivers instead. |
driver_version |
str
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. |