Search Criteria
Package Details: llama.cpp-cuda-git b9893.r0.6f8895feec-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/llama.cpp-cuda-git.git (read-only, click to copy) |
|---|---|
| Package Base: | llama.cpp-cuda-git |
| Description: | Port of Facebook's LLaMA model in C/C++ (with NVIDIA CUDA optimizations) |
| Upstream URL: | https://github.com/ggml-org/llama.cpp |
| Licenses: | MIT |
| Conflicts: | llama.cpp |
| Provides: | llama.cpp |
| Submitter: | Bink |
| Maintainer: | Bink |
| Last Packager: | Bink |
| Votes: | 6 |
| Popularity: | 2.03 |
| First Submitted: | 2026-01-08 09:17 (UTC) |
| Last Updated: | 2026-07-07 05:16 (UTC) |
Dependencies (17)
- curl (curl-gitAUR, curl-c-aresAUR)
- gcc-libs (gcc-libs-gitAUR, gcc-libs-fast-optimizedAUR, gccrs-libs-gitAUR, gcc-libs-snapshotAUR)
- ggml-cuda-gitAUR (ggml-cuda-gitAUR)
- glibc (glibc-gitAUR, glibc-git-native-pgoAUR, glibc-eacAUR)
- openssl (openssl-gitAUR, openssl-aegisAUR, openssl-staticAUR)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- cuda (cuda11.1AUR, cuda-12.2AUR, cuda12.0AUR, cuda11.4AUR, cuda-12.5AUR, cuda-12.8AUR, cuda-pascalAUR, cuda-12.9AUR) (make)
- git (git-gitAUR, git-glAUR, git-wd40AUR) (make)
- ninja (ninja-gitAUR, ninja-memAUR, ninja-noemacs-gitAUR, ninja-kitwareAUR, ninja-fuchsia-gitAUR, n2-gitAUR) (make)
- ccache (ccache-gitAUR) (optional) – greatly reduce package re-build time
- nccl (nccl-gitAUR, nccl-cuda12.9AUR) (optional) – needed for multi-GPU parallelism
- python-numpy (python-numpy-gitAUR, python-numpy-mkl-binAUR, python-numpy1AUR, python-numpy-mkl-tbbAUR, python-numpy-mklAUR) (optional) – needed for convert_hf_to_gguf.py
- python-pytorch (python-pytorch-cuda12.9AUR, python-pytorch-opt-cuda12.9AUR, python-pytorch-cuda, python-pytorch-opt, python-pytorch-opt-cuda, python-pytorch-opt-rocm, python-pytorch-opt-xpu, python-pytorch-rocm, python-pytorch-xpu) (optional) – needed for convert_hf_to_gguf.py
- python-safetensors (optional) – needed for convert_hf_to_gguf.py
- python-sentencepieceAUR (python-sentencepiece-gitAUR, python-sentencepiece-binAUR) (optional) – needed for convert_hf_to_gguf.py
- python-transformersAUR (python-transformers-gitAUR) (optional) – needed for convert_hf_to_gguf.py
- rdma-core (rdma-core-gitAUR) (optional) – RDMA transport for RPC backend
Required by (13)
- assistd (requires llama.cpp) (optional)
- assistd-git (requires llama.cpp) (optional)
- llamaman-bin (requires llama.cpp) (optional)
- llamastash (requires llama.cpp) (optional)
- llamastash-bin (requires llama.cpp) (optional)
- llamastash-git (requires llama.cpp) (optional)
- manboster (requires llama.cpp) (optional)
- manboster-bin (requires llama.cpp) (optional)
- manboster-git (requires llama.cpp) (optional)
- scmd-bin (requires llama.cpp)
- voxd (requires llama.cpp) (optional)
- voxd-bin (requires llama.cpp) (optional)
- voxd-git (requires llama.cpp) (optional)
Latest Comments
« First ‹ Previous 1 2 3 4 5 Next › Last »
siavoshkc commented on 2026-06-08 14:41 (UTC) (edited on 2026-06-08 14:42 (UTC) by siavoshkc)
The env was empty and it didn't work. But
-DGGML_CCACHE=OFFin PKGBUILD fixed it. @BinkBink commented on 2026-06-08 13:59 (UTC) (edited on 2026-06-08 14:03 (UTC) by Bink)
Perhaps a misunderstanding @siavoshkc, but what I was giving you was an entire command.
...etc.
I'm not sure if it'll fix it, it's not an issue I've replicated, it's just something to try. I'm not using
sccache.The output of this might be helpful:
If it's not outputting
sccachefor you, then the proposed fix above is unlikely to help.To try your way though, perhaps do this?
siavoshkc commented on 2026-06-08 13:47 (UTC) (edited on 2026-06-08 13:49 (UTC) by siavoshkc)
@Bink I did this:
But got this:
Besides, makepkg is what I run to build it like 'makepkg -Csi'. How telling cmake to use it as a compilation command can help?
Bink commented on 2026-06-08 12:43 (UTC) (edited on 2026-06-08 12:47 (UTC) by Bink)
@siavoshkc, if you're able to confirm if this is a viable workaround, I could potentially include
CMAKE_CUDA_COMPILER_LAUNCHERin thePKGBUILDas a cmake variable, to override any local conflicting setting, for this build.siavoshkc commented on 2026-06-08 07:45 (UTC)
@Bink.
sccacheseems to be the issue. I renamed its executive and built manually from source. Don't know anything about how or where it is.Bink commented on 2026-06-08 07:20 (UTC)
@siavoshkc, that looks like it might be an anomaly of your build environment. It's trying to use
sccache, and failing. ThePKGBUILDmakes no requirement ofsccache, but your environment has it defined for use.Look at the output of:
Does that report
sccache?If so, try building with:
(or a
yayorparucommand instead ofmakepkg -sriif that's being used)Alternatively, you could build it in a clean chroot environment where
sccacheisn't used, but that may miss some of the GPU architecture specific optimisations.siavoshkc commented on 2026-06-08 05:45 (UTC)
I see a bunch of these error: - FAILED: [code=254] ggml/src/ggml-cuda/CMakeFiles/ggml-cuda.dir/argsort.cu.o sccache /opt/cuda/bin/nvcc -forward-unknown-to-host-compiler -ccbin=/usr/bin/g++-15 -DGGML_BACKEND_BUILD -DGGML_BACKEND_SHARED -DGGML_CUDA_FA_ALL_QUANTS -DGGML_CUDA_PEER_MAX_BATCH_SIZE=128 -DGGML_CUDA_USE_GRAPHS -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -D_GNU_SOURCE -D_XOPEN_SOURCE=600 -Dggml_cuda_EXPORTS -I/home/siavoshk/.cache/paru/clone/llama.cpp-cuda-git/src/llama.cpp/ggml/src/ggml-cuda/.. -I/home/siavoshk/.cache/paru/clone/llama.cpp-cuda-git/src/llama.cpp/ggml/src/../include -isystem /opt/cuda/targets/x86_64-linux/include -isystem /opt/cuda/targets/x86_64-linux/include/cccl -O3 -DNDEBUG -std=c++17 "--generate-code=arch=compute_86,code=[sm_86]" -Xcompiler=-fPIC -use_fast_math -extended-lambda -compress-mode=speed -Xcompiler "-Wmissing-declarations -Wmissing-noreturn -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wno-array-bounds -Wextra-semi -Wno-pedantic" -MD -MT ggml/src/ggml-cuda/CMakeFiles/ggml-cuda.dir/argsort.cu.o -MF ggml/src/ggml-cuda/CMakeFiles/ggml-cuda.dir/argsort.cu.o.d -x cu -c /home/siavoshk/.cache/paru/clone/llama.cpp-cuda-git/src/llama.cpp/ggml/src/ggml-cuda/argsort.cu -o ggml/src/ggml-cuda/CMakeFiles/ggml-cuda.dir/argsort.cu.o fatbinary fatal : Could not open input file 'argsort.cubin'
Bink commented on 2026-05-25 03:33 (UTC) (edited on 2026-05-25 03:34 (UTC) by Bink)
@jamesb6626, you're right, upstream did fix that in the very next commit after I'd pushed the update. I've commented it out for now and will likely remove the line altogether later.
Thanks again!
jamesb6626 commented on 2026-05-22 11:18 (UTC) (edited on 2026-05-22 11:19 (UTC) by jamesb6626)
@Bink, awesome, thanks. By the way, I think the llama.cpp commit bbce619 fixes the install for impl libraries to be automatic. I think this makes the added
installline for helper libraries inpackage()redundant, though of course they should remain harmless probably.Bink commented on 2026-05-22 02:15 (UTC)
@jamesb6626, thanks for bringing my attention to that. I've now implemented the change you suggested, and it's now correctly reporting the version in
llama-server --version.« First ‹ Previous 1 2 3 4 5 Next › Last »