Is there any reason to not switch to upstream LostRuins/koboldcpp since it now supports hipblas build?
Search Criteria
Package Details: koboldcpp-hipblas 1.113-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/koboldcpp-hipblas.git (read-only, click to copy) |
|---|---|
| Package Base: | koboldcpp-hipblas |
| Description: | An easy-to-use AI text-generation software for GGML and GGUF models (with HIPBLAS, for ROCM) |
| Upstream URL: | https://github.com/LostRuins/koboldcpp |
| Licenses: | AGPL-3.0-only |
| Conflicts: | koboldcpp |
| Provides: | koboldcpp, koboldcpp-rocm |
| Submitter: | alpindale |
| Maintainer: | TheBill2001 |
| Last Packager: | TheBill2001 |
| Votes: | 8 |
| Popularity: | 0.001523 |
| First Submitted: | 2023-10-23 18:05 (UTC) |
| Last Updated: | 2026-05-16 13:53 (UTC) |
Dependencies (9)
- hipblas (opencl-amd-devAUR, rocm-binAUR, rocm-gfx101x-binAUR, rocm-gfx103x-binAUR, rocm-gfx110x-binAUR, rocm-gfx120x-binAUR, rocm-gfx1150-binAUR, rocm-gfx1151-binAUR, rocm-gfx1152-binAUR, rocm-nightly-gfx120x-all-binAUR, rocm-nightly-gfx1151-binAUR, rocm-nightly-gfx110x-binAUR)
- python
- vulkan-icd-loader (vulkan-icd-loader-gitAUR)
- python-customtkinterAUR (python-customtkinter-gitAUR, python-customtkinterAUR) (optional) – for GUI launcher
- python-darkdetect (optional) – for GUI launcher
- python-jinja (optional) – jinja2 templates
- python-psutil (optional) – increasing the process CPU priority
- yad (yad-gtk2AUR, yad-gitAUR, yad-lightAUR) (optional) – native file picker dialogs
- zenity (zenity-gtk3AUR, zenity-gitAUR, qarma-gitAUR, zenity-rs-binAUR) (optional) – native file picker dialogs
Required by (0)
Sources (3)
astrella commented on 2025-07-04 03:22 (UTC)
TheBill2001 commented on 2025-06-03 12:55 (UTC)
Portable/NoAVX2 build has been separated to koboldcpp-hipblas-portable.
TheBill2001 commented on 2024-12-12 12:05 (UTC) (edited on 2024-12-12 12:05 (UTC) by TheBill2001)
@random_click KoboldCpp does not use tk directly, but via customtkinter to display the GUI Launcher. It is optional as you can just use KoboldCpp directly from the terminal without ever touching the launcher.
If you install either python-customtkinter or python-customtkinter-git, tk should be automatically install with it. If it isn't, please report to those packages' maintainers.
random_click commented on 2024-12-12 11:00 (UTC)
Isn't this package missing dependecy to tk? I couldn't start the app without it
DarkThoughts commented on 2024-10-13 19:11 (UTC) (edited on 2024-10-13 19:12 (UTC) by DarkThoughts)
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.
TheBill2001 commented on 2024-08-06 18:05 (UTC) (edited on 2024-08-06 18:06 (UTC) by TheBill2001)
@Smae Also check if the beginning of the console has these lines:
Initializing dynamic library: koboldcpp_hipblas.so
It should be koboldcpp_hipblas.so.
TheBill2001 commented on 2024-08-06 17:55 (UTC) (edited on 2024-08-06 17:57 (UTC) by TheBill2001)
@Smae Yes, counterintuitively, you have to use --usecublas flag to enable hipblas with this fork. However, looking through the source code here, it will only use hipblas if and only if:
/usr/share/koboldcpp/koboldcpp_cublas.sodoes not exist.- And
/usr/share/koboldcpp/koboldcpp_hipblas.soexists.
Could check if you some how has the straggler koboldcpp_cublas.so file? And what is the output of ldd /usr/share/koboldcpp/koboldcpp_hipblas.so?
Smae commented on 2024-08-06 15:57 (UTC) (edited on 2024-08-06 16:17 (UTC) by Smae)
@TheBill2001 Pretty much the moment after launch, in all fairness I'm after the hipblas as I do have an AMD GPU, but it's not showing up. From a screenshot on YellowRose's github (which admittedly is just copypasta) it seems to imply to select 'cuBlas' but I'm assuming this is incorrect and where my confusion is stemming from.
Thus my real problem is more, 'why isn't the hipblas backend showing up'.
If i just launch koboldcpp from the command line, it comes up with the GUI, so I alter my preferences accordingly and set it to cuBlas, then click launch. Within around 1-5 milliseconds it exits out as it can't find the nvidia stuff. But lemme wind back a second.
As per previous the back ends I have available (despite having installed koboldcpp-hipblas) are 'OpenBlas, CLBlas, cuBlas, Vulkan, NoBlas....' no hipblas present.
Additional info AMD RX 590 series.
TheBill2001 commented on 2024-08-06 02:42 (UTC) (edited on 2024-08-06 02:43 (UTC) by TheBill2001)
@Smae That should not be the case. libcuda.so.1 belongs to CUDA in the nvidia-utils package and this fork does not use really use anything from NVIDIA. I have just tested building the package in a clean chroot and none of the libraries in koboldcpp is linked against it. However, I cannot test further as I don't have AMD GPU. Where and when in the execution of koboldcpp did you encounter this error message?
Smae commented on 2024-08-05 22:39 (UTC) (edited on 2024-08-06 00:55 (UTC) by Smae)
I can't seem to get this to work? I've installed it but I get
'libcuda.so.1 cannot open shared object file: no such file or directory' . What else do I need to install?
cblas is 3.12.0-5 rocblas is 6.0.2-1 clbast is 1.6.3 hipblas 6.0.2-1 (koboldcpp-hipblas 1.71.1.yr0-1) openblas 0.3.27-1
The options I have are: OpenBLAS, CLBlas, cuBlas, Vulkan, NoBlas, CLBlas NoAVX2 (old cpu) NoAVX2 mode (old cup) Failsafe mode
There is no hipblas option surprisingly, if I hover over, it does say that it's not available, but as far as I'm aware I've installed all the dependencies.
Pinned Comments
TheBill2001 commented on 2025-07-17 23:41 (UTC) (edited on 2025-07-20 09:30 (UTC) by TheBill2001)
Since 1.95.1, I have switched over to using upstream KobloldCpp rather than YellowRoseCx's fork.
TheBill2001 commented on 2025-06-03 12:55 (UTC)
Portable/NoAVX2 build has been separated to koboldcpp-hipblas-portable.
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 installcustomtkinterfor it.