[GH-ISSUE #9455] Missing TensileLibrary_lazy_gfx1010.dat to support AMD RX5700 XT #68220

Open
opened 2026-05-04 12:54:16 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @moophlo on GitHub (Mar 2, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/9455

What is the issue?

I had to create a symlink to the rocm lib installation to have my RX 5700 XT recognized and working with ollama, I noticed that ollama during installation is installin g his own libraries and specifically :
/usr/local/lib/ollama/rocblas/library TensileLibrary_lazy_gfx1010.dat is missing

The only issue is that

Relevant log output


OS

No response

GPU

No response

CPU

No response

Ollama version

No response

Originally created by @moophlo on GitHub (Mar 2, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/9455 ### What is the issue? I had to create a symlink to the rocm lib installation to have my RX 5700 XT recognized and working with ollama, I noticed that ollama during installation is installin g his own libraries and specifically : /usr/local/lib/ollama/rocblas/library TensileLibrary_lazy_gfx1010.dat is missing The only issue is that ### Relevant log output ```shell ``` ### OS _No response_ ### GPU _No response_ ### CPU _No response_ ### Ollama version _No response_
GiteaMirror added the bug label 2026-05-04 12:54:16 -05:00
Author
Owner

@moophlo commented on GitHub (Mar 2, 2025):

In [v0.5.12] the lib path changed and seems like the link is not necessary anymore, RX 5700 XT is working OOTB

<!-- gh-comment-id:2692572754 --> @moophlo commented on GitHub (Mar 2, 2025): In [v0.5.12] the lib path changed and seems like the link is not necessary anymore, RX 5700 XT is working OOTB
Author
Owner

@moophlo commented on GitHub (Mar 2, 2025):

the link is still needed:
sudo ln -s /usr/local/lib/ollama/rocm/rocblas/library/TensileLibrary_lazy_gfx{1030,1010}.dat

error:

Mar 02 06:28:39 ubuntu ollama[1295]: "/usr/local/lib/ollama/rocm/rocblas/library/TensileLibrary_lazy_gfx1100.dat"
Mar 02 06:28:39 ubuntu ollama[1295]: "/usr/local/lib/ollama/rocm/rocblas/library/TensileLibrary_lazy_gfx1101.dat"
Mar 02 06:28:39 ubuntu ollama[1295]: "/usr/local/lib/ollama/rocm/rocblas/library/TensileLibrary_lazy_gfx1102.dat"
Mar 02 06:28:39 ubuntu ollama[1295]: "/usr/local/lib/ollama/rocm/rocblas/library/TensileLibrary_lazy_gfx1030.dat"
Mar 02 06:28:39 ubuntu ollama[1295]: time=2025-03-02T06:28:39.656Z level=ERROR source=server.go:421 msg="llama runner terminated" error="signal: aborted (core dumped)"
Mar 02 06:28:39 ubuntu ollama[1295]: time=2025-03-02T06:28:39.679Z level=ERROR source=sched.go:456 msg="error loading llama server" error="llama runner process has terminated: error:Cannot read /usr/local/lib/ollama/rocm/rocblas/library/TensileLibrary.dat: Illegal seek for GPU arch : gfx1010"

Would be a nice have to ship the library with the ollama install package: TensileLibrary_lazy_gfx1010.dat

<!-- gh-comment-id:2692584561 --> @moophlo commented on GitHub (Mar 2, 2025): the link is still needed: sudo ln -s /usr/local/lib/ollama/rocm/rocblas/library/TensileLibrary_lazy_gfx{1030,1010}.dat error: Mar 02 06:28:39 ubuntu ollama[1295]: "/usr/local/lib/ollama/rocm/rocblas/library/TensileLibrary_lazy_gfx1100.dat" Mar 02 06:28:39 ubuntu ollama[1295]: "/usr/local/lib/ollama/rocm/rocblas/library/TensileLibrary_lazy_gfx1101.dat" Mar 02 06:28:39 ubuntu ollama[1295]: "/usr/local/lib/ollama/rocm/rocblas/library/TensileLibrary_lazy_gfx1102.dat" Mar 02 06:28:39 ubuntu ollama[1295]: "/usr/local/lib/ollama/rocm/rocblas/library/TensileLibrary_lazy_gfx1030.dat" Mar 02 06:28:39 ubuntu ollama[1295]: time=2025-03-02T06:28:39.656Z level=ERROR source=server.go:421 msg="llama runner terminated" error="signal: aborted (core dumped)" Mar 02 06:28:39 ubuntu ollama[1295]: time=2025-03-02T06:28:39.679Z level=ERROR source=sched.go:456 msg="error loading llama server" error="llama runner process has terminated: error:Cannot read /usr/local/lib/ollama/rocm/rocblas/library/TensileLibrary.dat: Illegal seek for GPU arch : gfx1010" Would be a nice have to ship the library with the ollama install package: TensileLibrary_lazy_gfx1010.dat
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#68220