Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 26, 2024
1 parent f7fe623 commit 5c02def
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -459,6 +459,7 @@ def _check_strategy_and_fallback(self) -> None:
) and self._accelerator_flag not in ("cuda", "gpu"):
if _habana_available_and_importable():
from lightning_habana import HPUAccelerator

if isinstance(self._accelerator_flag, HPUAccelerator):
return
raise MisconfigurationException(
Expand Down

0 comments on commit 5c02def

Please sign in to comment.