Skip to content

Commit

Permalink
Update utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ClowDragon authored May 29, 2024
1 parent 190d9fd commit fc30dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmengine/device/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
IS_NPU_AVAILABLE = False

try:
import torch_mlu
import torch_mlu # noqa: F401
IS_MLU_AVAILABLE = True
except Exception:
IS_MLU_AVAILABLE = False
Expand Down

0 comments on commit fc30dba

Please sign in to comment.