Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"amdgpu devices detected but permission problems block access" error="kfd driver not loaded" #3608

Open
VenominousX opened this issue Oct 2, 2024 · 0 comments
Labels

Comments

@VenominousX
Copy link

VenominousX commented Oct 2, 2024

Describe the issue you are experiencing

Hi,

i'm currently playing around with the ollama addon and running gemma2:27b on my home assistant computer. So far it works without any problems. The only thing I would like to optimize is the inferrence time. The execution runs on the CPU. Currently the inferrence time is between 5 and 30 seconds, depending on the size of the response. I use this llm to get detailed answers, e.g. “What do you know about the moon”.

Running the ollama addon will give some hints:

time=2024-10-02T08:34:23.714Z level=INFO source=gpu.go:199 msg="looking for compatible GPUs"
time=2024-10-02T08:34:23.718Z level=WARN source=amd_linux.go:60 msg="ollama recommends running the https://www.amd.com/en/support/linux-drivers" error="amdgpu version file missing: /sys/module/amdgpu/version stat /sys/module/amdgpu/version: no such file or directory"
time=2024-10-02T08:34:23.718Z level=INFO source=amd_linux.go:361 msg="no compatible amdgpu devices detected"
time=2024-10-02T08:34:23.718Z level=ERROR source=amd_linux.go:364 msg="amdgpu devices detected but permission problems block access" error="kfd driver not loaded".

Are there any plans to implement these drivers? One of the next kernels should also support NPUs. Are there any plans for Home Assistant?

Best regards
Marcus

What operating system image do you use?

generic-x86-64 (Generic UEFI capable x86-64 systems)

What version of Home Assistant Operating System is installed?

13.1

Did the problem occur after upgrading the Operating System?

No

Hardware details

Mini PC with:
AMD Ryzen 8845HS (Radeon 780M 4 - 16 GB, NPU)
64GB DDR5 RAM
1TB m2 SSD

Steps to reproduce the issue

Starting Ollama AddOn

Anything in the Supervisor logs that might be useful for us?

-

Anything in the Host logs that might be useful for us?

-

System information

No response

Additional information

No response

@VenominousX VenominousX added the bug label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant