Skip to content

Commit

Permalink
Merge pull request #10 from kaixuanliu/ipex
Browse files Browse the repository at this point in the history
fix bug
  • Loading branch information
yuanwu2017 authored Sep 20, 2024
2 parents c70252c + 978c1fe commit c6aba0d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def is_hpu() -> bool:
is_hpu_available = True
try:
subprocess.run(["hl-smi"], capture_output=True, check=True)
except subprocess.CalledProcessError:
except:
is_hpu_available = False
return is_hpu_available

Expand Down

0 comments on commit c6aba0d

Please sign in to comment.