SingleHPUStrategy¶
- class pytorch_lightning.strategies.SingleHPUStrategy(device='hpu', accelerator=None, checkpoint_io=None, precision_plugin=None)[source]¶
Bases:
pytorch_lightning.strategies.single_device.SingleDeviceStrategy
Strategy for training on single HPU device.
- optimizer_step(optimizer, opt_idx, closure, model=None, **kwargs)[source]¶
Performs the actual optimizer step.