CUDAAccelerator¶
- class lightning.pytorch.accelerators.CUDAAccelerator[source]¶
Bases:
AcceleratorAccelerator for NVIDIA CUDA devices.
- classmethod register_accelerators(accelerator_registry)[source]¶
Register the accelerator with the registry.
- Return type:
- setup(trainer)[source]¶
Called by the Trainer to set up the accelerator before the model starts running on the device.