Replies: 2 comments
|
Setting |
|
The Linux ROCm zip ships Check what's missing from the folder you unzipped: cd sd-Linux-Ubuntu-24.04-x86_64-rocm-7.14.0
ldd ./libggml-hip.so | grep "not found"Whatever shows up there needs to come from a ROCm install that matches the build (the release is built against ROCm 7.14.0, see the python3 -m venv ~/rocm714 && source ~/rocm714/bin/activate
# replace gfx1100 with your GPU target (rocminfo | grep gfx)
pip install --index-url https://repo.amd.com/rocm/whl-multi-arch/ "rocm[libraries,devel,device-gfx1100]==7.14.0"
rocm-sdk init
export LD_LIBRARY_PATH="$(rocm-sdk path --root)/lib:$LD_LIBRARY_PATH"
ldd ./libggml-hip.so | grep "not found" # should print nothing now
./sd-cli ...(The Once it loads you should see |
Uh oh!
There was an error while loading. Please reload this page.
I have ROCm installed but when I start SD, it use the CPU only : load_backend: loaded CPU backend from /home/tupo2/sd-Linux-Ubuntu-24.04-x86_64-rocm-7.14.0/libggml-cpu-haswell.so
All reactions