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

HPUAccelerator().is_available() returns False on a Gaudi instance #266

@ekintel

Description

@ekintel

🐛 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.

hl-smi -L

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is neededwon't fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions