Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::MachineSpec (v0.42.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::MachineSpec.

Specification of a single machine.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#accelerator_count

def accelerator_count() -> ::Integer
Returns
  • (::Integer) — The number of accelerators to attach to the machine.

#accelerator_count=

def accelerator_count=(value) -> ::Integer
Parameter
  • value (::Integer) — The number of accelerators to attach to the machine.
Returns
  • (::Integer) — The number of accelerators to attach to the machine.

#accelerator_type

def accelerator_type() -> ::Google::Cloud::AIPlatform::V1::AcceleratorType
Returns

#accelerator_type=

def accelerator_type=(value) -> ::Google::Cloud::AIPlatform::V1::AcceleratorType
Parameter
Returns

#machine_type

def machine_type() -> ::String
Returns

#machine_type=

def machine_type=(value) -> ::String
Parameter
Returns

#tpu_topology

def tpu_topology() -> ::String
Returns
  • (::String) — Immutable. The topology of the TPUs. Corresponds to the TPU topologies available from GKE. (Example: tpu_topology: "2x2x1").

#tpu_topology=

def tpu_topology=(value) -> ::String
Parameter
  • value (::String) — Immutable. The topology of the TPUs. Corresponds to the TPU topologies available from GKE. (Example: tpu_topology: "2x2x1").
Returns
  • (::String) — Immutable. The topology of the TPUs. Corresponds to the TPU topologies available from GKE. (Example: tpu_topology: "2x2x1").