Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::MachineSpec (v0.56.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

#reservation_affinity

def reservation_affinity() -> ::Google::Cloud::AIPlatform::V1::ReservationAffinity
Returns

#reservation_affinity=

def reservation_affinity=(value) -> ::Google::Cloud::AIPlatform::V1::ReservationAffinity
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").