XLAAccelerator
- class lightning.pytorch.accelerators.XLAAccelerator(*args, **kwargs)
Bases:
Accelerator,XLAAcceleratorAccelerator for XLA devices, normally TPUs.
Warning
Use of this accelerator beyond import and instantiation is experimental.
- get_device_stats(device)
Gets stats for the given XLA device.
- static name()
The name of the accelerator.
- Return type:
- classmethod register_accelerators(accelerator_registry)
Register the accelerator with the registry.
- Return type:
Was this page helpful?
Thanks for the feedback.