Class MachineSpec (1.37.0)

  MachineSpec 
 ( 
 mapping 
 = 
 None 
 , 
 * 
 , 
 ignore_unknown_fields 
 = 
 False 
 , 
 ** 
 kwargs 
 ) 
 

Specification of a single machine.

Attributes

Name
Description
machine_type
str
Immutable. The type of the machine. See the `list of machine types supported for prediction
accelerator_type
google.cloud.aiplatform_v1beta1.types.AcceleratorType
Immutable. The type of accelerator(s) that may be attached to the machine as per accelerator_count .
accelerator_count
int
The number of accelerators to attach to the machine.
tpu_topology
str
Immutable. The topology of the TPUs. Corresponds to the TPU topologies available from GKE. (Example: tpu_topology: "2x2x1").

Methods

MachineSpec

  MachineSpec 
 ( 
 mapping 
 = 
 None 
 , 
 * 
 , 
 ignore_unknown_fields 
 = 
 False 
 , 
 ** 
 kwargs 
 ) 
 

Specification of a single machine.