Class MachineSpec (0.8.0)

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

Specification of a single machine. .. attribute:: machine_type

Immutable. The type of the machine. For the machine types supported for prediction, see https://tinyurl.com/aip-docs/predictions/machine-types. For machine types supported for creating a custom training job, see https://tinyurl.com/aip-docs/training/configure-compute.

For DeployedModel this field is optional, and the default value is n1-standard-2. For BatchPredictionJob or as part of WorkerPoolSpec this field is required.

:type: str

Attributes

NameDescription
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.

Inheritance

builtins.object > proto.message.Message > MachineSpec