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.15 |
| 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
tixwho commented on 2026-04-23 03:30 (UTC)
Hi, I have a single Nvidia GPU on the device. I can build the package without issue until version
b8892.r0.0d0764dfd2-1, but now the package failed to build forllama-server. The error log is as follows:Installing the two optional dependencies
ncclandccachedidn't fix the issue. I wonder if it could be due to some recent build flag changes?TeddyHuang-00 commented on 2026-04-22 19:55 (UTC) (edited on 2026-04-22 19:55 (UTC) by TeddyHuang-00)
@dareme7 I am also using fish shell. The only two things cuda.sh does is 1. Add /opt/cuda/bin to path, and 2. set NVCC_CCBIN to /usr/bin/g++.
You can bypass the script by setting NVCC_CCBIN to the same /usr/bin/g++ (PKGBUILD will be happy with it set), and of course add /opt/cuda/bin to your path using fish_add_path to make sure nvcc is available.
I don't know if it is the best thing to do to put them into your config, but should definitely get the issues resolved for now.
dareme7 commented on 2026-04-21 20:52 (UTC)
This now crashes by saying
append_pathcommand in/etc/profile.d/cuda.shis not found.By googling I found a forum thread saying
PKGBUILDshould not be sourcing like this.For reference I'm using the fish shell, which might be relevant here.
Bink commented on 2026-04-20 01:25 (UTC) (edited on 2026-05-22 02:21 (UTC) by Bink)
The package now leverages ninja to ensure parallel builds regardless of
makepkg.confsettings.Builds
nativefor GGML and CUDA by default, for improved optimisation. Use theaur_llamacpp_build_universalvariable to produce a build for all CPU/CUDA-architecture variants, if needed. For example, to target universal architecture:If you have multiple Nvidia GPU's, be sure to install the optional dependency
nccl, for multi-GPU parallelism.To improve re-build times, install the optional dependency
ccache.Bink commented on 2026-02-23 22:29 (UTC) (edited on 2026-02-23 22:32 (UTC) by Bink)
Hi @zeroxoneafour. Thanks for the feedback! Suggestions are always welcome!
The
-j$(nproc)flag should be added to your/etc/makepkg.conffile, and you'll then enjoy the benefit of that optimisation for all applicable compile tasks.See here: https://wiki.archlinux.org/title/Makepkg#Parallel_compilation
The
Releasebuild is already specified in the PKGBUILD:zeroxoneafour commented on 2026-02-23 05:44 (UTC)
Should add --config Release -j $(nproc) to the cmake build to speed up build times.
Bink commented on 2026-01-30 01:16 (UTC)
Thanks for spotting and sharing that @ryant0000. I've now removed that flag.
ryant0000 commented on 2026-01-24 17:42 (UTC)
CMake Warning at CMakeLists.txt:121 (message): LLAMA_CURL option is deprecated and will be ignored
This can/should probably be removed.
« First ‹ Previous 1 2 3 4 5