otx.algorithms.anomaly.adapters.anomalib.strategies#
Lightning strategy for single XPU device.
Classes
|
Strategy for training on single XPU device. |
- class otx.algorithms.anomaly.adapters.anomalib.strategies.SingleXPUStrategy(device: device | str | int = 'xpu:0', accelerator: Accelerator | None = None, checkpoint_io: CheckpointIO | None = None, precision_plugin: PrecisionPlugin | None = None)[source]#
Bases:
SingleDeviceStrategy
Strategy for training on single XPU device.