You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ollama-rocm: Ollama-rocm 0.5.4 is broken (at least for me on RX 7900 XTX), while 0.5.1 still works #375359
The ollama 0.5.4 from unstable is currently broken from be7b92e, while 0.5.1 still works (01cda5c).
I strongly suspect that this commit broke it: be7b92e (0.5.1 -> 0.5.4 bump), as it contains changes beyond simple version bump. And this revision is broken.
In particular, ollama ps show that it is 100% loaded to GPU:
$ ollama ps
NAME ID SIZE PROCESSOR UNTIL
phi4:14b-q8_0 310d366232f4 19 GB 100% GPU 4 minutes from now
But nvtop shows that video memory usage is low.
Because inference is being done on my CPU:
Steps to reproduce
Just install ollama from the latest unstable (e.g. 5df4362) ant try to use ollama with any model. GPU will not be used.
Expected behaviour
Inference is running on GPU, just like for older versions of the package
changed the title [-]ollama-rocm: Ollama-rocm 0.5.4 is broken (at least for me on RX 7900 XTX)[/-][+]ollama-rocm: Ollama-rocm 0.5.4 is broken (at least for me on RX 7900 XTX)m while 0.5.1 still works[/+]on Jan 20, 2025
changed the title [-]ollama-rocm: Ollama-rocm 0.5.4 is broken (at least for me on RX 7900 XTX)m while 0.5.1 still works[/-][+]ollama-rocm: Ollama-rocm 0.5.4 is broken (at least for me on RX 7900 XTX), while 0.5.1 still works[/+]on Jan 20, 2025
Hmm. I still have the issue even with a module from master. How it was on stable 24.11:
Jan 22 17:20:52 desktop ollama[160537]: time=2025-01-22T17:20:52.170+03:00 level=WARN source=amd_linux.go:445 msg="amdgpu detected, but no compatible rocm library found. Either install rocm v6, or follow manual install instructions at https://github.com/ollama/ollama/blob/main/docs/linux.md#manual-install"
How it is on master module:
Jan 22 17:52:59 desktop ollama[196524]: time=2025-01-22T17:52:59.580+03:00 level=WARN source=amd_linux.go:349 msg="unable to verify rocm library: no suitable rocm found, falling back to CPU"
GPU is RX 6900 XT, rocm works in Blender just fine.
$ ollama --version
Warning: could not connect to a running Ollama instance
Warning: client version is 0.5.7
Activity
arbv commentedon Jan 20, 2025
That might be a wild guess, but I suspect that the extra runners are not copied into the package. That is, this might be the culprit:
[-]ollama-rocm: Ollama-rocm 0.5.4 is broken (at least for me on RX 7900 XTX)[/-][+]ollama-rocm: Ollama-rocm 0.5.4 is broken (at least for me on RX 7900 XTX)m while 0.5.1 still works[/+][-]ollama-rocm: Ollama-rocm 0.5.4 is broken (at least for me on RX 7900 XTX)m while 0.5.1 still works[/-][+]ollama-rocm: Ollama-rocm 0.5.4 is broken (at least for me on RX 7900 XTX), while 0.5.1 still works[/+]LunNova commentedon Jan 20, 2025
Think this was already fixed in #373234
PR tracker: https://nixpk.gs/pr-tracker.html?pr=373234
arbv commentedon Jan 21, 2025
Thanks! Glad yo hear that!
Waiting for it to arrive to unstable.
voronind-com commentedon Jan 22, 2025
Hmm. I still have the issue even with a module from master. How it was on stable 24.11:
How it is on master module:
GPU is RX 6900 XT, rocm works in Blender just fine.
arbv commentedon Jan 22, 2025
Can confirm that it is fixed with version bump to 0.5.7 (d016996).
Closing the issue.