HPUPrecisionPlugin¶
- class pytorch_lightning.plugins.precision.HPUPrecisionPlugin(precision, opt_level='O2', bf16_file_path=None, fp32_file_path=None, verbose=False)[source]¶
Bases:
pytorch_lightning.plugins.precision.precision_plugin.PrecisionPlugin
Plugin that enables bfloat/half support on HPUs.