I try to run this through Distrobox and I do see the hipblas (ROCm) option, but it crashes with a Cuda error:
ggml_cuda_compute_forward: ADD failed
CUDA error: shared object initialization failed
current device: 0, in function ggml_cuda_compute_forward at ggml/src/ggml-cuda.cu:2365
err
ggml/src/ggml-cuda.cu:107: CUDA error
Vulkan seems to work though, not sure if that's effectively the same? I really wish ROCm would not be such a mess to get running. It's the one thing I really hate when it comes to AMD gpus on Linux.
Pinned Comments
TheBill2001 commented on 2024-07-25 10:07 (UTC) (edited on 2024-11-06 03:49 (UTC) by TheBill2001)
NOTE: This package is a fork of koboldcpp by YellowRoseCx, which has slower releases. Please check first before flagging this package as out-of-date. https://github.com/YellowRoseCx/koboldcpp-rocm/releases
DISCLAIMER: I only maintain this package. Since I don't have an AMD GPU, I can only test the build process in a clean chroot. I cannot test if the result build would actually run. If this is not working for you, you can install
koboldcpp
and use Vulkan instead. It's faster to build and smaller to install.Build configuration could be changed with environment variables. Or set via
KEY=VALUE
in${XDG_CONFIG_HOME}/koboldcpp_build.conf
file (default is~/.config/koboldcpp_build.conf
):KOBOLDCPP_NO_PORTABLE
- Disabling portable build (includingfailsafe
andnoavx2
):TheBill2001 commented on 2024-07-03 14:09 (UTC)
As of
1.69.yr0-3
, I have added a desktop entry for GUI launcher, and you'll need to installcustomtkinter
for it.