Class MachineSpec (1.1.1)

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

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

Immutable. The type of the machine.

See the list of machine types supported for prediction <https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types>__

See the list of machine types supported for custom training <https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types>__.

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