Reference documentation and code samples for the Cloud Life Sciences V2beta API class Google::Cloud::LifeSciences::V2beta::Accelerator.
Carries information about an accelerator that can be attached to a VM.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#count
def count() -> ::Integer
- (::Integer) — How many accelerators of this type to attach.
#count=
def count=(value) -> ::Integer
- value (::Integer) — How many accelerators of this type to attach.
- (::Integer) — How many accelerators of this type to attach.
#type
def type() -> ::String
-
(::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.
#type=
def type=(value) -> ::String
-
value (::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.
-
(::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.