Accelerator
- class lightning.fabric.accelerators.Accelerator[source]
Bases:
ABC
The Accelerator base class.
An Accelerator is meant to deal with one type of hardware.
Warning
Writing your own accelerator is an experimental feature.
- abstract static get_parallel_devices(devices)[source]
Gets parallel devices for the Accelerator.
- Return type:
- abstract setup_device(device)[source]
Create and prepare the device for the current process.
- Return type: