Reference documentation and code samples for the Google Cloud Life Sciences V2beta Client class Accelerator.
Carries information about an accelerator that can be attached to a VM.
Generated from protobuf message google.cloud.lifesciences.v2beta.Accelerator
Namespace
Google \ Cloud \ LifeSciences \ V2betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ type
string
The accelerator type string (for example, "nvidia-tesla-t4"). Only NVIDIA GPU accelerators are currently supported. If an NVIDIA GPU is attached, the required runtime libraries will be made available to all containers under /usr/local/nvidia
. The driver version to install must be specified using the NVIDIA driver version parameter on the virtual machine specification. Note that attaching a GPU increases the worker VM startup time by a few minutes.
↳ count
int|string
How many accelerators of this type to attach.
getType
The accelerator type string (for example, "nvidia-tesla-t4").
Only NVIDIA GPU accelerators are currently supported. If an NVIDIA GPU is
attached, the required runtime libraries will be made available to all
containers under /usr/local/nvidia
. The driver version to install must
be specified using the NVIDIA driver version parameter on the virtual
machine specification. Note that attaching a GPU increases the worker VM
startup time by a few minutes.
string
setType
The accelerator type string (for example, "nvidia-tesla-t4").
Only NVIDIA GPU accelerators are currently supported. If an NVIDIA GPU is
attached, the required runtime libraries will be made available to all
containers under /usr/local/nvidia
. The driver version to install must
be specified using the NVIDIA driver version parameter on the virtual
machine specification. Note that attaching a GPU increases the worker VM
startup time by a few minutes.
var
string
$this
getCount
How many accelerators of this type to attach.
int|string
setCount
How many accelerators of this type to attach.
var
int|string
$this