Cloud Life Sciences V2beta API - Class Google::Cloud::LifeSciences::V2beta::Accelerator (v0.8.2)

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
Returns
  • (::Integer) — How many accelerators of this type to attach.

#count=

def count=(value) -> ::Integer
Parameter
  • value (::Integer) — How many accelerators of this type to attach.
Returns
  • (::Integer) — How many accelerators of this type to attach.

#type

def type() -> ::String
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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.