# Class MachineSpec (0.5.1)

0.5.1 (latest) 0.5.0 0.4.0 0.3.0 0.2.0 0.1.10

    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` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_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. |