This repository was archived by the owner on Aug 4, 2025. It is now read-only.

Description
🐛 Bug
HPUAccelerator().is_available() returns False on a Gaudi instance
To Reproduce
Run the code sample below on a Gaudi instance on Intel Tiber AI Cloud.
Code sample
from lightning_habana.pytorch.accelerator import HPUAccelerator
print(f"HPU accelerator available: {HPUAccelerator().is_available()}") # False
Expected behavior
The accelerator is indeed available as the command below shows.
returns
...
Firmware [FIT] Version : Linux gaudi2 5.10.18-hl-gaudi2-1.15.0-fw-48.2.1-sec-8 #1 SMP PREEMPT Sun Mar 3 13:30:54 IST 2024 aarch64 GNU/Linux
...
Environment
requires-python = ">=3.9"
dependencies = [
"lightning-habana>=1.6.0",
]
Additional context