Class: Google::Cloud::Batch::V1::AllocationPolicy::Accelerator
- Inherits:
-
Object
- Object
- Google::Cloud::Batch::V1::AllocationPolicy::Accelerator
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/batch/v1/job.rb
Overview
Accelerator describes Compute Engine accelerators to be attached to the VM.
Instance Attribute Summary collapse
-
#count ⇒ ::Integer
The number of accelerators of this type.
-
#driver_version ⇒ ::String
Optional.
-
#install_gpu_drivers ⇒ ::Boolean
Deprecated: please use instances[0].install_gpu_drivers instead.
-
#type ⇒ ::String
The accelerator type.
Instance Attribute Details
#count ⇒ ::Integer
Returns The number of accelerators of this type.
414 415 416 417 |
# File 'proto_docs/google/cloud/batch/v1/job.rb', line 414 class Accelerator include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#driver_version ⇒ ::String
Returns 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.
414 415 416 417 |
# File 'proto_docs/google/cloud/batch/v1/job.rb', line 414 class Accelerator include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#install_gpu_drivers ⇒ ::Boolean
Returns Deprecated: please use instances[0].install_gpu_drivers instead.
414 415 416 417 |
# File 'proto_docs/google/cloud/batch/v1/job.rb', line 414 class Accelerator include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#type ⇒ ::String
Returns The accelerator type. For example, "nvidia-tesla-t4".
See gcloud compute accelerator-types list
.
414 415 416 417 |
# File 'proto_docs/google/cloud/batch/v1/job.rb', line 414 class Accelerator include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |