-
Notifications
You must be signed in to change notification settings - Fork 11
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
gfx90c not found in linux #33
Comments
It's not necessary to build a docker in linux for gfx90c. the upstream ollama official repo linux version would be fine . only need peroper env set eg, I hope this info can help you . otherwise , there is a complex steps , build linux version for gfx90c rocmlibs and installed in your docker rocm and use it as normal rocm supported gpu |
used HSA_OVERRIDE_GFX_VERSION=9.0.0, |
'verify rocm library: no suitable rocm found, falling back to CPU"' Try set 'HSA_OVERRIDE_GFX_VERSION=9.0.0' to others like '9.0.6'or others you currently rocm supported arches. Also there are some similar issue for your reference. |
Please add AMD Ryzen 7 4800H with |
thansk for sharing the info . added . |
@likelovewant First, I would like to express my gratitude to you for creating all the amazing ROCm libraries for lesser-known AMD GPUs architecture to provide GPU support for GPU-intensive application like Ollama. For the last few days I've dug quite a big rabbit hole to solve my problems: running Ollama Docker ROCm on APU Vega 8 using gfx90c. I've managed to solve the problem by allocating 4GB of RAM for UMA Frame Buffer and add NAME ID SIZE PROCESSOR UNTIL
hf.co/arcee-ai/Arcee-VyLinh-GGUF:latest a593a4782663 4.0 GB 45% CPU/55% GPU 3 minutes from now This is my best result until now. Unfortunately, it's still not perfect. Sometimes my whole Plasma Shell crashed (I'm using Fedora KDE 41 Wayland btw) after I run a model, luckily my machine didn't reboot. I've tried to download a pre-built ROCmlib for Windows that supports gfx90c: Could not load /usr/lib/ollama/rocblas/library/TensileLibrary_lazy_gfx90c.dat
...
rocBLAS error: Could not initialize Tensile library It must be because this ROCmlib gfx90c is built specifically for Windows and NOT for Linux. This is a potential solution, I didn't need to override
I would like to learn about "building Linux version for gfx 90c ROCmlibs and install in Docker Ollama ROCm", can you help me? There is a guide https://github.com/likelovewant/ROCmLibs-for-gfx1103-AMD780M-APU/wiki, but it is a little too advanced for me. |
This is an issue for ROCm build and it's not a good choice to build it for an old arches unless you want to learn how to build it . anyway , like windows version , linux version also require or build it . For linux build ,please follow the official guide https://rocm.docs.amd.com/projects/rocBLAS/en/latest/install/Linux_Install_Guide.html , except when you make everything ready as explain and also follow the guide has rocm available .make sure build by run
something like this . otherwise ,it will build a bunch of arches you never needed . A bit trick for gfx90c , you may need get some file from here . grab the logic file to place in During the process you may across a lot of issue , try get some help from ai or chatgpt based on the terminal error log ,they will help you to get it done . Note : rocblas and tensile version should compatible with your currently rocm version .otherwise , it's may not able to load the library also. |
Okay, I will try my luck with the symlinking technique first. Building the libs will be my last solution now. |
I've failed, miserably. I will stop digging my rabbit hole and leave this bug to someone else. Maybe it's better to buy a supported GPU with much more VRAM. |
sure ,it is . it's easy but seems complex for a starter .Had to wipe linux system away due to recent Windows11 24h2 update broken the dual boot system ,sorry cannot help with it . |
Tips for HSA_OVERRIDE_GFX_VERSION in linux might fix this issue . |
What is the issue?
I‘m using ollama:rocm docker,gpu gfx90c,
I build ollama-amd docker,but gpu not found
OS
Linux
GPU
AMD
CPU
AMD
Ollama version
0.46
The text was updated successfully, but these errors were encountered: