Accelerator¶
- class lightning.fabric.accelerators.Accelerator[source]¶
Bases:
ABCThe 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:
- classmethod register_accelerators(accelerator_registry)[source]¶
Register the accelerator with the registry.
- Return type: