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

pytorch_lightning Trainer doesn't recognize hpu #10

@jingkang99

Description

@jingkang99

gaudi2 system with fresh pytorch installation
pip list | grep -P "torch|torchvision|torchmetrics|protobuf"
image

Basic Pytorch training is fine - followed steps on https://docs.habana.ai/en/latest/PyTorch/Getting_Started_with_PyTorch_and_Gaudi/Getting_Started_with_PyTorch.html

from pytorch_lightning import LightningModule, Trainer

Try following pytorch-lightening hello world example, get some error
https://github.com/HabanaAI/Gaudi-tutorials/blob/main/Lightning/Introduction/mnist-hello-world.ipynb

but "hpu" not recognized
image

what should be installed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions