# Class Accelerator (0.12.1)

0.12.1 (latest) 0.12.0 0.11.0 0.10.0 0.9.18 0.8.0 0.7.2 0.6.2 0.5.2 0.4.1 0.3.0 0.2.3 0.1.0

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

Carries information about an accelerator that can be attached
to a VM.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `type_` | `str` The accelerator type string (for example, "nvidia-tesla-t4"). Only NVIDIA GPU accelerators are currently supported. If an NVIDIA GPU is attached, the required runtime libraries will be made available to all containers under `/usr/local/nvidia`. The driver version to install must be specified using the NVIDIA driver version parameter on the virtual machine specification. Note that attaching a GPU increases the worker VM startup time by a few minutes. |
| `count` | `int` How many accelerators of this type to attach. |