Accelerator¶
- class pytorch_lightning.accelerators.Accelerator[source]¶
Bases:
abc.ABC
The Accelerator Base Class. An Accelerator is meant to deal with one type of Hardware.
Currently there are accelerators for:
CPU
GPU
TPU
IPU
HPU
- abstract static get_parallel_devices(devices)[source]¶
Gets parallel devices for the Accelerator.
- Return type: