Class: Google::Cloud::Notebooks::V1::RuntimeAcceleratorConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Notebooks::V1::RuntimeAcceleratorConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/notebooks/v1/runtime.rb
Overview
Definition of the types of hardware accelerators that can be used. Definition of the types of hardware accelerators that can be used. See Compute Engine AcceleratorTypes. Examples:
nvidia-tesla-k80
nvidia-tesla-p100
nvidia-tesla-v100
nvidia-tesla-p4
nvidia-tesla-t4
nvidia-tesla-a100
Defined Under Namespace
Modules: AcceleratorType
Instance Attribute Summary collapse
-
#core_count ⇒ ::Integer
Count of cores of this accelerator.
-
#type ⇒ ::Google::Cloud::Notebooks::V1::RuntimeAcceleratorConfig::AcceleratorType
Accelerator model.
Instance Attribute Details
#core_count ⇒ ::Integer
Returns Count of cores of this accelerator.
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 |
# File 'proto_docs/google/cloud/notebooks/v1/runtime.rb', line 133 class RuntimeAcceleratorConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Type of this accelerator. module AcceleratorType # Accelerator type is not specified. ACCELERATOR_TYPE_UNSPECIFIED = 0 # Accelerator type is Nvidia Tesla K80. NVIDIA_TESLA_K80 = 1 # 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. NVIDIA_TESLA_A100 = 6 # (Coming soon) Accelerator type is TPU V2. TPU_V2 = 7 # (Coming soon) Accelerator type is TPU V3. TPU_V3 = 8 # Accelerator type is NVIDIA Tesla T4 Virtual Workstations. NVIDIA_TESLA_T4_VWS = 9 # Accelerator type is NVIDIA Tesla P100 Virtual Workstations. NVIDIA_TESLA_P100_VWS = 10 # Accelerator type is NVIDIA Tesla P4 Virtual Workstations. NVIDIA_TESLA_P4_VWS = 11 end end |
#type ⇒ ::Google::Cloud::Notebooks::V1::RuntimeAcceleratorConfig::AcceleratorType
Returns Accelerator model.
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 |
# File 'proto_docs/google/cloud/notebooks/v1/runtime.rb', line 133 class RuntimeAcceleratorConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Type of this accelerator. module AcceleratorType # Accelerator type is not specified. ACCELERATOR_TYPE_UNSPECIFIED = 0 # Accelerator type is Nvidia Tesla K80. NVIDIA_TESLA_K80 = 1 # 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. NVIDIA_TESLA_A100 = 6 # (Coming soon) Accelerator type is TPU V2. TPU_V2 = 7 # (Coming soon) Accelerator type is TPU V3. TPU_V3 = 8 # Accelerator type is NVIDIA Tesla T4 Virtual Workstations. NVIDIA_TESLA_T4_VWS = 9 # Accelerator type is NVIDIA Tesla P100 Virtual Workstations. NVIDIA_TESLA_P100_VWS = 10 # Accelerator type is NVIDIA Tesla P4 Virtual Workstations. NVIDIA_TESLA_P4_VWS = 11 end end |