Class: Google::Cloud::Notebooks::V2::AcceleratorConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Notebooks::V2::AcceleratorConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/notebooks/v2/gce_setup.rb
Overview
An accelerator configuration for a VM instance
Definition of a hardware accelerator. Note that there is no check on type
and core_count
combinations. TPUs are not supported.
See GPUs on Compute
Engine to find a
valid combination.
Defined Under Namespace
Modules: AcceleratorType
Instance Attribute Summary collapse
-
#core_count ⇒ ::Integer
Optional.
-
#type ⇒ ::Google::Cloud::Notebooks::V2::AcceleratorConfig::AcceleratorType
Optional.
Instance Attribute Details
#core_count ⇒ ::Integer
Returns Optional. Count of cores of this accelerator.
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 |
# File 'proto_docs/google/cloud/notebooks/v2/gce_setup.rb', line 102 class AcceleratorConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Definition of the types of hardware accelerators that can be used on # this instance. module AcceleratorType # Accelerator type is not specified. ACCELERATOR_TYPE_UNSPECIFIED = 0 # Accelerator type is Nvidia Tesla P100. NVIDIA_TESLA_P100 = 2 # Accelerator type is Nvidia Tesla V100. NVIDIA_TESLA_V100 = 3 # Accelerator type is Nvidia Tesla P4. NVIDIA_TESLA_P4 = 4 # Accelerator type is Nvidia Tesla T4. NVIDIA_TESLA_T4 = 5 # Accelerator type is Nvidia Tesla A100 - 40GB. NVIDIA_TESLA_A100 = 11 # Accelerator type is Nvidia Tesla A100 - 80GB. NVIDIA_A100_80GB = 12 # Accelerator type is Nvidia Tesla L4. NVIDIA_L4 = 13 # Accelerator type is NVIDIA Tesla T4 Virtual Workstations. NVIDIA_TESLA_T4_VWS = 8 # Accelerator type is NVIDIA Tesla P100 Virtual Workstations. NVIDIA_TESLA_P100_VWS = 9 # Accelerator type is NVIDIA Tesla P4 Virtual Workstations. NVIDIA_TESLA_P4_VWS = 10 end end |
#type ⇒ ::Google::Cloud::Notebooks::V2::AcceleratorConfig::AcceleratorType
Returns Optional. Type of this accelerator.
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 |
# File 'proto_docs/google/cloud/notebooks/v2/gce_setup.rb', line 102 class AcceleratorConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Definition of the types of hardware accelerators that can be used on # this instance. module AcceleratorType # Accelerator type is not specified. ACCELERATOR_TYPE_UNSPECIFIED = 0 # Accelerator type is Nvidia Tesla P100. NVIDIA_TESLA_P100 = 2 # Accelerator type is Nvidia Tesla V100. NVIDIA_TESLA_V100 = 3 # Accelerator type is Nvidia Tesla P4. NVIDIA_TESLA_P4 = 4 # Accelerator type is Nvidia Tesla T4. NVIDIA_TESLA_T4 = 5 # Accelerator type is Nvidia Tesla A100 - 40GB. NVIDIA_TESLA_A100 = 11 # Accelerator type is Nvidia Tesla A100 - 80GB. NVIDIA_A100_80GB = 12 # Accelerator type is Nvidia Tesla L4. NVIDIA_L4 = 13 # Accelerator type is NVIDIA Tesla T4 Virtual Workstations. NVIDIA_TESLA_T4_VWS = 8 # Accelerator type is NVIDIA Tesla P100 Virtual Workstations. NVIDIA_TESLA_P100_VWS = 9 # Accelerator type is NVIDIA Tesla P4 Virtual Workstations. NVIDIA_TESLA_P4_VWS = 10 end end |