Class: Google::Cloud::LifeSciences::V2beta::Accelerator

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/lifesciences/v2beta/workflows.rb

Overview

Carries information about an accelerator that can be attached to a VM.

Instance Attribute Summary collapse

Instance Attribute Details

#count::Integer

Returns How many accelerators of this type to attach.

Returns:

  • (::Integer)

    How many accelerators of this type to attach.



497
498
499
500
# File 'proto_docs/google/cloud/lifesciences/v2beta/workflows.rb', line 497

class Accelerator
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#type::String

Returns 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.



497
498
499
500
# File 'proto_docs/google/cloud/lifesciences/v2beta/workflows.rb', line 497

class Accelerator
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end