* [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/llama-cpp/
@ 2025-01-27 11:52 Sergey Alirzaev
0 siblings, 0 replies; 28+ messages in thread
From: Sergey Alirzaev @ 2025-01-27 11:52 UTC (permalink / raw
To: gentoo-commits
commit: e933540939add62cd4de6a464ddf73f912c423e6
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Mon Jan 27 11:52:32 2025 +0000
Commit: Sergey Alirzaev <zl29ah <AT> gmail <DOT> com>
CommitDate: Mon Jan 27 11:52:32 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e9335409
sci-misc/llama-cpp: new package, add 0_pre4564, 9999
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
sci-misc/llama-cpp/llama-cpp-0_pre4564.ebuild | 43 +++++++++++++++++++++++++++
sci-misc/llama-cpp/llama-cpp-9999.ebuild | 43 +++++++++++++++++++++++++++
2 files changed, 86 insertions(+)
diff --git a/sci-misc/llama-cpp/llama-cpp-0_pre4564.ebuild b/sci-misc/llama-cpp/llama-cpp-0_pre4564.ebuild
new file mode 100644
index 000000000..5d2ad01ea
--- /dev/null
+++ b/sci-misc/llama-cpp/llama-cpp-0_pre4564.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake llvm
+
+LLVM_MAX_SLOT=16
+
+EGIT_REPO_URI="https://github.com/ggerganov/llama.cpp.git"
+inherit git-r3
+
+if [[ "${PV}" != "9999" ]]; then
+ KEYWORDS="~amd64 ~arm64"
+ EGIT_COMMIT="b${PV#0_pre}"
+fi
+
+DESCRIPTION="Port of Facebook's LLaMA model in C/C++"
+HOMEPAGE="https://github.com/ggerganov/llama.cpp"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="cublas tests tools"
+CPU_FLAGS_X86=( avx avx2 f16c )
+
+DEPEND="
+ cublas? ( dev-util/nvidia-cuda-toolkit )"
+RDEPEND="${DEPEND}"
+BDEPEND="${DEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DLLAMA_CUBLAS="$(usex cublas)"
+ -DLLAMA_BUILD_TESTS="$(usex tests)"
+ -DLLAMA_BUILD_SERVER=OFF
+ -DCMAKE_SKIP_BUILD_RPATH=ON
+ -DBUILD_NUMBER="1"
+ )
+ if use cublas ; then
+ addpredict /dev/nvidiactl
+ fi
+ cmake_src_configure
+}
diff --git a/sci-misc/llama-cpp/llama-cpp-9999.ebuild b/sci-misc/llama-cpp/llama-cpp-9999.ebuild
new file mode 100644
index 000000000..5d2ad01ea
--- /dev/null
+++ b/sci-misc/llama-cpp/llama-cpp-9999.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake llvm
+
+LLVM_MAX_SLOT=16
+
+EGIT_REPO_URI="https://github.com/ggerganov/llama.cpp.git"
+inherit git-r3
+
+if [[ "${PV}" != "9999" ]]; then
+ KEYWORDS="~amd64 ~arm64"
+ EGIT_COMMIT="b${PV#0_pre}"
+fi
+
+DESCRIPTION="Port of Facebook's LLaMA model in C/C++"
+HOMEPAGE="https://github.com/ggerganov/llama.cpp"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="cublas tests tools"
+CPU_FLAGS_X86=( avx avx2 f16c )
+
+DEPEND="
+ cublas? ( dev-util/nvidia-cuda-toolkit )"
+RDEPEND="${DEPEND}"
+BDEPEND="${DEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DLLAMA_CUBLAS="$(usex cublas)"
+ -DLLAMA_BUILD_TESTS="$(usex tests)"
+ -DLLAMA_BUILD_SERVER=OFF
+ -DCMAKE_SKIP_BUILD_RPATH=ON
+ -DBUILD_NUMBER="1"
+ )
+ if use cublas ; then
+ addpredict /dev/nvidiactl
+ fi
+ cmake_src_configure
+}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/llama-cpp/
@ 2025-01-27 15:10 Takuya Wakazono
0 siblings, 0 replies; 28+ messages in thread
From: Takuya Wakazono @ 2025-01-27 15:10 UTC (permalink / raw
To: gentoo-commits
commit: db9e23974f8408184fce018d6d95643883bb8dab
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Mon Jan 27 15:06:01 2025 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Mon Jan 27 15:10:33 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=db9e2397
Revert "sci-misc/llama-cpp: new package, add 0_pre4564, 9999"
This reverts commit e933540939add62cd4de6a464ddf73f912c423e6.
This ebuild has too many issues.
- missing manifest
- use of deprecated eclass
- broken dependency
- undescribed USE flags
- visible keyword for vcs version
Please get advice on a GitHub PR or IRC before committing
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
sci-misc/llama-cpp/llama-cpp-0_pre4564.ebuild | 43 ---------------------------
sci-misc/llama-cpp/llama-cpp-9999.ebuild | 43 ---------------------------
2 files changed, 86 deletions(-)
diff --git a/sci-misc/llama-cpp/llama-cpp-0_pre4564.ebuild b/sci-misc/llama-cpp/llama-cpp-0_pre4564.ebuild
deleted file mode 100644
index 5d2ad01ea..000000000
--- a/sci-misc/llama-cpp/llama-cpp-0_pre4564.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake llvm
-
-LLVM_MAX_SLOT=16
-
-EGIT_REPO_URI="https://github.com/ggerganov/llama.cpp.git"
-inherit git-r3
-
-if [[ "${PV}" != "9999" ]]; then
- KEYWORDS="~amd64 ~arm64"
- EGIT_COMMIT="b${PV#0_pre}"
-fi
-
-DESCRIPTION="Port of Facebook's LLaMA model in C/C++"
-HOMEPAGE="https://github.com/ggerganov/llama.cpp"
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="cublas tests tools"
-CPU_FLAGS_X86=( avx avx2 f16c )
-
-DEPEND="
- cublas? ( dev-util/nvidia-cuda-toolkit )"
-RDEPEND="${DEPEND}"
-BDEPEND="${DEPEND}"
-
-src_configure() {
- local mycmakeargs=(
- -DLLAMA_CUBLAS="$(usex cublas)"
- -DLLAMA_BUILD_TESTS="$(usex tests)"
- -DLLAMA_BUILD_SERVER=OFF
- -DCMAKE_SKIP_BUILD_RPATH=ON
- -DBUILD_NUMBER="1"
- )
- if use cublas ; then
- addpredict /dev/nvidiactl
- fi
- cmake_src_configure
-}
diff --git a/sci-misc/llama-cpp/llama-cpp-9999.ebuild b/sci-misc/llama-cpp/llama-cpp-9999.ebuild
deleted file mode 100644
index 5d2ad01ea..000000000
--- a/sci-misc/llama-cpp/llama-cpp-9999.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake llvm
-
-LLVM_MAX_SLOT=16
-
-EGIT_REPO_URI="https://github.com/ggerganov/llama.cpp.git"
-inherit git-r3
-
-if [[ "${PV}" != "9999" ]]; then
- KEYWORDS="~amd64 ~arm64"
- EGIT_COMMIT="b${PV#0_pre}"
-fi
-
-DESCRIPTION="Port of Facebook's LLaMA model in C/C++"
-HOMEPAGE="https://github.com/ggerganov/llama.cpp"
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="cublas tests tools"
-CPU_FLAGS_X86=( avx avx2 f16c )
-
-DEPEND="
- cublas? ( dev-util/nvidia-cuda-toolkit )"
-RDEPEND="${DEPEND}"
-BDEPEND="${DEPEND}"
-
-src_configure() {
- local mycmakeargs=(
- -DLLAMA_CUBLAS="$(usex cublas)"
- -DLLAMA_BUILD_TESTS="$(usex tests)"
- -DLLAMA_BUILD_SERVER=OFF
- -DCMAKE_SKIP_BUILD_RPATH=ON
- -DBUILD_NUMBER="1"
- )
- if use cublas ; then
- addpredict /dev/nvidiactl
- fi
- cmake_src_configure
-}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/llama-cpp/
@ 2025-01-29 0:11 Sergey Alirzaev
0 siblings, 0 replies; 28+ messages in thread
From: Sergey Alirzaev @ 2025-01-29 0:11 UTC (permalink / raw
To: gentoo-commits
commit: ab2a79180fb2b2d9bbe7531d0280d7099c773937
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Wed Jan 29 00:11:11 2025 +0000
Commit: Sergey Alirzaev <zl29ah <AT> gmail <DOT> com>
CommitDate: Wed Jan 29 00:11:11 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ab2a7918
sci-misc/llama-cpp: new package, add 0_pre4576, 9999
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
sci-misc/llama-cpp/Manifest | 1 +
sci-misc/llama-cpp/llama-cpp-0_pre4576.ebuild | 33 +++++++++++++++++++++++++++
sci-misc/llama-cpp/llama-cpp-9999.ebuild | 33 +++++++++++++++++++++++++++
sci-misc/llama-cpp/metadata.xml | 11 +++++++++
4 files changed, 78 insertions(+)
diff --git a/sci-misc/llama-cpp/Manifest b/sci-misc/llama-cpp/Manifest
new file mode 100644
index 000000000..b7c2a37bb
--- /dev/null
+++ b/sci-misc/llama-cpp/Manifest
@@ -0,0 +1 @@
+DIST llama-cpp-0_pre4576.tar.gz 20506059 BLAKE2B 8f011811e4df1f8d0c26b19f96a709980e078dc7e769b33cbbb03a852a29b489f80c8a1e298fecea53997068f6b7897e4536ba5db289aa445a1a6f16f98adce3 SHA512 21150721524283454ab53e370fdaf4e766f89fbb8d4b43072b10657d8c8b686630616cddbae7954147a2ba0360ad20c4643761f3774481e13a7b180812935c4e
diff --git a/sci-misc/llama-cpp/llama-cpp-0_pre4576.ebuild b/sci-misc/llama-cpp/llama-cpp-0_pre4576.ebuild
new file mode 100644
index 000000000..18a0a72d9
--- /dev/null
+++ b/sci-misc/llama-cpp/llama-cpp-0_pre4576.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+if [[ "${PV}" != "9999" ]]; then
+ KEYWORDS="~amd64"
+ MY_PV="b${PV#0_pre}"
+ S="${WORKDIR}/llama.cpp-${MY_PV}"
+ SRC_URI="https://github.com/ggerganov/llama.cpp/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
+else
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/ggerganov/llama.cpp.git"
+fi
+
+DESCRIPTION="Port of Facebook's LLaMA model in C/C++"
+HOMEPAGE="https://github.com/ggerganov/llama.cpp"
+
+LICENSE="MIT"
+SLOT="0"
+CPU_FLAGS_X86=( avx avx2 f16c )
+
+src_configure() {
+ local mycmakeargs=(
+ -DLLAMA_BUILD_TESTS=OFF
+ -DLLAMA_BUILD_SERVER=ON
+ -DCMAKE_SKIP_BUILD_RPATH=ON
+ -DBUILD_NUMBER="1"
+ )
+ cmake_src_configure
+}
diff --git a/sci-misc/llama-cpp/llama-cpp-9999.ebuild b/sci-misc/llama-cpp/llama-cpp-9999.ebuild
new file mode 100644
index 000000000..18a0a72d9
--- /dev/null
+++ b/sci-misc/llama-cpp/llama-cpp-9999.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+if [[ "${PV}" != "9999" ]]; then
+ KEYWORDS="~amd64"
+ MY_PV="b${PV#0_pre}"
+ S="${WORKDIR}/llama.cpp-${MY_PV}"
+ SRC_URI="https://github.com/ggerganov/llama.cpp/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
+else
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/ggerganov/llama.cpp.git"
+fi
+
+DESCRIPTION="Port of Facebook's LLaMA model in C/C++"
+HOMEPAGE="https://github.com/ggerganov/llama.cpp"
+
+LICENSE="MIT"
+SLOT="0"
+CPU_FLAGS_X86=( avx avx2 f16c )
+
+src_configure() {
+ local mycmakeargs=(
+ -DLLAMA_BUILD_TESTS=OFF
+ -DLLAMA_BUILD_SERVER=ON
+ -DCMAKE_SKIP_BUILD_RPATH=ON
+ -DBUILD_NUMBER="1"
+ )
+ cmake_src_configure
+}
diff --git a/sci-misc/llama-cpp/metadata.xml b/sci-misc/llama-cpp/metadata.xml
new file mode 100644
index 000000000..af5a5e03e
--- /dev/null
+++ b/sci-misc/llama-cpp/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="github">ggerganov/llama.cpp</remote-id>
+ </upstream>
+ <maintainer type="person">
+ <email>l29ah@riseup.net</email>
+ <name>Sergey Alirzaev</name>
+ </maintainer>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/llama-cpp/
@ 2025-01-29 0:14 Sergey Alirzaev
0 siblings, 0 replies; 28+ messages in thread
From: Sergey Alirzaev @ 2025-01-29 0:14 UTC (permalink / raw
To: gentoo-commits
commit: 76de14abfe565eb3b06b1925f1995436f1dc322d
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Wed Jan 29 00:14:22 2025 +0000
Commit: Sergey Alirzaev <zl29ah <AT> gmail <DOT> com>
CommitDate: Wed Jan 29 00:14:22 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=76de14ab
sci-misc/llama-cpp: hopefully satisfy email-checker.py
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
sci-misc/llama-cpp/metadata.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-misc/llama-cpp/metadata.xml b/sci-misc/llama-cpp/metadata.xml
index af5a5e03e..53f72119c 100644
--- a/sci-misc/llama-cpp/metadata.xml
+++ b/sci-misc/llama-cpp/metadata.xml
@@ -5,7 +5,7 @@
<remote-id type="github">ggerganov/llama.cpp</remote-id>
</upstream>
<maintainer type="person">
- <email>l29ah@riseup.net</email>
+ <email>zl29ah@gmail.com</email>
<name>Sergey Alirzaev</name>
</maintainer>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/llama-cpp/
@ 2025-02-01 11:21 Sergey Alirzaev
0 siblings, 0 replies; 28+ messages in thread
From: Sergey Alirzaev @ 2025-02-01 11:21 UTC (permalink / raw
To: gentoo-commits
commit: b228272c6c4d9a2d51f473a6357c7341c1531396
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Sat Feb 1 11:19:51 2025 +0000
Commit: Sergey Alirzaev <zl29ah <AT> gmail <DOT> com>
CommitDate: Sat Feb 1 11:19:51 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b228272c
sci-misc/llama-cpp: strip march=native
Closes: https://bugs.gentoo.org/949130
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
sci-misc/llama-cpp/llama-cpp-0_pre4576.ebuild | 1 +
sci-misc/llama-cpp/llama-cpp-9999.ebuild | 1 +
2 files changed, 2 insertions(+)
diff --git a/sci-misc/llama-cpp/llama-cpp-0_pre4576.ebuild b/sci-misc/llama-cpp/llama-cpp-0_pre4576.ebuild
index 18a0a72d9..39210dddf 100644
--- a/sci-misc/llama-cpp/llama-cpp-0_pre4576.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-0_pre4576.ebuild
@@ -27,6 +27,7 @@ src_configure() {
-DLLAMA_BUILD_TESTS=OFF
-DLLAMA_BUILD_SERVER=ON
-DCMAKE_SKIP_BUILD_RPATH=ON
+ -DGGML_NATIVE=0 # don't set march
-DBUILD_NUMBER="1"
)
cmake_src_configure
diff --git a/sci-misc/llama-cpp/llama-cpp-9999.ebuild b/sci-misc/llama-cpp/llama-cpp-9999.ebuild
index 18a0a72d9..39210dddf 100644
--- a/sci-misc/llama-cpp/llama-cpp-9999.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-9999.ebuild
@@ -27,6 +27,7 @@ src_configure() {
-DLLAMA_BUILD_TESTS=OFF
-DLLAMA_BUILD_SERVER=ON
-DCMAKE_SKIP_BUILD_RPATH=ON
+ -DGGML_NATIVE=0 # don't set march
-DBUILD_NUMBER="1"
)
cmake_src_configure
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/llama-cpp/
@ 2025-02-08 16:59 Alexey Korepanov
0 siblings, 0 replies; 28+ messages in thread
From: Alexey Korepanov @ 2025-02-08 16:59 UTC (permalink / raw
To: gentoo-commits
commit: fb105c916a2ee882686351f01f149e71594261cf
Author: Alexey Korepanov <kaikaikai <AT> yandex <DOT> ru>
AuthorDate: Sat Feb 8 16:49:15 2025 +0000
Commit: Alexey Korepanov <kaikaikai <AT> yandex <DOT> ru>
CommitDate: Sat Feb 8 16:49:15 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fb105c91
sci-misc/llama-cpp: add dependencies on curl and numpy
Signed-off-by: Alexey Korepanov <kaikaikai <AT> yandex.ru>
sci-misc/llama-cpp/llama-cpp-0_pre4576.ebuild | 9 +++++++++
sci-misc/llama-cpp/llama-cpp-9999.ebuild | 9 +++++++++
2 files changed, 18 insertions(+)
diff --git a/sci-misc/llama-cpp/llama-cpp-0_pre4576.ebuild b/sci-misc/llama-cpp/llama-cpp-0_pre4576.ebuild
index 39210dddf..8b9c1438d 100644
--- a/sci-misc/llama-cpp/llama-cpp-0_pre4576.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-0_pre4576.ebuild
@@ -21,6 +21,14 @@ HOMEPAGE="https://github.com/ggerganov/llama.cpp"
LICENSE="MIT"
SLOT="0"
CPU_FLAGS_X86=( avx avx2 f16c )
+IUSE="curl"
+
+# curl is needed for pulling models from huggingface
+# numpy is used by convert_hf_to_gguf.py
+DEPEND="curl? ( net-misc/curl:= )"
+RDEPEND="${DEPEND}
+ dev-python/numpy
+"
src_configure() {
local mycmakeargs=(
@@ -28,6 +36,7 @@ src_configure() {
-DLLAMA_BUILD_SERVER=ON
-DCMAKE_SKIP_BUILD_RPATH=ON
-DGGML_NATIVE=0 # don't set march
+ -DLLAMA_CURL=$(usex curl ON OFF)
-DBUILD_NUMBER="1"
)
cmake_src_configure
diff --git a/sci-misc/llama-cpp/llama-cpp-9999.ebuild b/sci-misc/llama-cpp/llama-cpp-9999.ebuild
index 39210dddf..8b9c1438d 100644
--- a/sci-misc/llama-cpp/llama-cpp-9999.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-9999.ebuild
@@ -21,6 +21,14 @@ HOMEPAGE="https://github.com/ggerganov/llama.cpp"
LICENSE="MIT"
SLOT="0"
CPU_FLAGS_X86=( avx avx2 f16c )
+IUSE="curl"
+
+# curl is needed for pulling models from huggingface
+# numpy is used by convert_hf_to_gguf.py
+DEPEND="curl? ( net-misc/curl:= )"
+RDEPEND="${DEPEND}
+ dev-python/numpy
+"
src_configure() {
local mycmakeargs=(
@@ -28,6 +36,7 @@ src_configure() {
-DLLAMA_BUILD_SERVER=ON
-DCMAKE_SKIP_BUILD_RPATH=ON
-DGGML_NATIVE=0 # don't set march
+ -DLLAMA_CURL=$(usex curl ON OFF)
-DBUILD_NUMBER="1"
)
cmake_src_configure
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/llama-cpp/
@ 2025-02-20 14:58 Sergey Alirzaev
0 siblings, 0 replies; 28+ messages in thread
From: Sergey Alirzaev @ 2025-02-20 14:58 UTC (permalink / raw
To: gentoo-commits
commit: e01288b79918003e5e4a26936c4ce46aa746e5b3
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Thu Feb 20 14:57:54 2025 +0000
Commit: Sergey Alirzaev <zl29ah <AT> gmail <DOT> com>
CommitDate: Thu Feb 20 14:57:54 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e01288b7
sci-misc/llama-cpp: Add ROCm 6.3 HIP support
Closes: https://bugs.gentoo.org/949856
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
sci-misc/llama-cpp/llama-cpp-0_pre4576.ebuild | 35 +++++++++++++++++++++++++--
sci-misc/llama-cpp/llama-cpp-9999.ebuild | 35 +++++++++++++++++++++++++--
sci-misc/llama-cpp/metadata.xml | 1 +
3 files changed, 67 insertions(+), 4 deletions(-)
diff --git a/sci-misc/llama-cpp/llama-cpp-0_pre4576.ebuild b/sci-misc/llama-cpp/llama-cpp-0_pre4576.ebuild
index 1e6b82c0d..b4db64b49 100644
--- a/sci-misc/llama-cpp/llama-cpp-0_pre4576.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-0_pre4576.ebuild
@@ -3,7 +3,9 @@
EAPI=8
-inherit cmake
+ROCM_VERSION="6.3"
+
+inherit cmake rocm
if [[ "${PV}" != "9999" ]]; then
KEYWORDS="~amd64"
@@ -21,15 +23,37 @@ HOMEPAGE="https://github.com/ggerganov/llama.cpp"
LICENSE="MIT"
SLOT="0"
CPU_FLAGS_X86=( avx avx2 f16c )
-IUSE="curl openblas blis"
+IUSE="curl openblas blis hip"
REQUIRED_USE="?? ( openblas blis )"
+AMDGPU_TARGETS_COMPAT=(
+ gfx900
+ gfx90c
+ gfx902
+ gfx1010
+ gfx1011
+ gfx1012
+ gfx1030
+ gfx1031
+ gfx1032
+ gfx1034
+ gfx1035
+ gfx1036
+ gfx1100
+ gfx1101
+ gfx1102
+ gfx1103
+ gfx1150
+ gfx1151
+)
+
# curl is needed for pulling models from huggingface
# numpy is used by convert_hf_to_gguf.py
DEPEND="
curl? ( net-misc/curl:= )
openblas? ( sci-libs/openblas:= )
blis? ( sci-libs/blis:= )
+ hip? ( >=dev-util/hip-6.3:= )
"
RDEPEND="${DEPEND}
dev-python/numpy
@@ -58,5 +82,12 @@ src_configure() {
)
fi
+ if use hip; then
+ rocm_use_hipcc
+ mycmakeargs+=(
+ -DGGML_HIP=ON -DAMDGPU_TARGETS=$(get_amdgpu_flags)
+ )
+ fi
+
cmake_src_configure
}
diff --git a/sci-misc/llama-cpp/llama-cpp-9999.ebuild b/sci-misc/llama-cpp/llama-cpp-9999.ebuild
index 1e6b82c0d..b4db64b49 100644
--- a/sci-misc/llama-cpp/llama-cpp-9999.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-9999.ebuild
@@ -3,7 +3,9 @@
EAPI=8
-inherit cmake
+ROCM_VERSION="6.3"
+
+inherit cmake rocm
if [[ "${PV}" != "9999" ]]; then
KEYWORDS="~amd64"
@@ -21,15 +23,37 @@ HOMEPAGE="https://github.com/ggerganov/llama.cpp"
LICENSE="MIT"
SLOT="0"
CPU_FLAGS_X86=( avx avx2 f16c )
-IUSE="curl openblas blis"
+IUSE="curl openblas blis hip"
REQUIRED_USE="?? ( openblas blis )"
+AMDGPU_TARGETS_COMPAT=(
+ gfx900
+ gfx90c
+ gfx902
+ gfx1010
+ gfx1011
+ gfx1012
+ gfx1030
+ gfx1031
+ gfx1032
+ gfx1034
+ gfx1035
+ gfx1036
+ gfx1100
+ gfx1101
+ gfx1102
+ gfx1103
+ gfx1150
+ gfx1151
+)
+
# curl is needed for pulling models from huggingface
# numpy is used by convert_hf_to_gguf.py
DEPEND="
curl? ( net-misc/curl:= )
openblas? ( sci-libs/openblas:= )
blis? ( sci-libs/blis:= )
+ hip? ( >=dev-util/hip-6.3:= )
"
RDEPEND="${DEPEND}
dev-python/numpy
@@ -58,5 +82,12 @@ src_configure() {
)
fi
+ if use hip; then
+ rocm_use_hipcc
+ mycmakeargs+=(
+ -DGGML_HIP=ON -DAMDGPU_TARGETS=$(get_amdgpu_flags)
+ )
+ fi
+
cmake_src_configure
}
diff --git a/sci-misc/llama-cpp/metadata.xml b/sci-misc/llama-cpp/metadata.xml
index c93fd3afb..70af1186d 100644
--- a/sci-misc/llama-cpp/metadata.xml
+++ b/sci-misc/llama-cpp/metadata.xml
@@ -6,6 +6,7 @@
</upstream>
<use>
<flag name="blis">Build a BLIS backend</flag>
+ <flag name="hip">Build a HIP (ROCm) backend</flag>
<flag name="openblas">Build an OpenBLAS backend</flag>
</use>
<maintainer type="person">
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/llama-cpp/
@ 2025-02-23 17:54 Sergey Alirzaev
0 siblings, 0 replies; 28+ messages in thread
From: Sergey Alirzaev @ 2025-02-23 17:54 UTC (permalink / raw
To: gentoo-commits
commit: dba4c2b3be4988d53c662f849e3785bf45488ddf
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Sun Feb 23 17:54:20 2025 +0000
Commit: Sergey Alirzaev <zl29ah <AT> gmail <DOT> com>
CommitDate: Sun Feb 23 17:54:20 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dba4c2b3
sci-misc/llama-cpp: add 0_pre4763
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
sci-misc/llama-cpp/Manifest | 1 +
sci-misc/llama-cpp/llama-cpp-0_pre4763.ebuild | 93 +++++++++++++++++++++++++++
2 files changed, 94 insertions(+)
diff --git a/sci-misc/llama-cpp/Manifest b/sci-misc/llama-cpp/Manifest
index b7c2a37bb..3085f9c75 100644
--- a/sci-misc/llama-cpp/Manifest
+++ b/sci-misc/llama-cpp/Manifest
@@ -1 +1,2 @@
DIST llama-cpp-0_pre4576.tar.gz 20506059 BLAKE2B 8f011811e4df1f8d0c26b19f96a709980e078dc7e769b33cbbb03a852a29b489f80c8a1e298fecea53997068f6b7897e4536ba5db289aa445a1a6f16f98adce3 SHA512 21150721524283454ab53e370fdaf4e766f89fbb8d4b43072b10657d8c8b686630616cddbae7954147a2ba0360ad20c4643761f3774481e13a7b180812935c4e
+DIST llama-cpp-0_pre4763.tar.gz 20737582 BLAKE2B f6cb6885465e144c19698ac65410f59a6cc2b78d511968bc26c521ba90be87d102eb413e3ef903da30dae3336780e80a4c20cbbea30cc67375f790567e0e6e7a SHA512 c48923286e717d734a3414ae12182c869dd0a99fde722b46d48822a9cbcc5fc16ec5ade4108bd463990a3c9880ea58b559ba0a6975d04c348b474893df566bc9
diff --git a/sci-misc/llama-cpp/llama-cpp-0_pre4763.ebuild b/sci-misc/llama-cpp/llama-cpp-0_pre4763.ebuild
new file mode 100644
index 000000000..b4db64b49
--- /dev/null
+++ b/sci-misc/llama-cpp/llama-cpp-0_pre4763.ebuild
@@ -0,0 +1,93 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ROCM_VERSION="6.3"
+
+inherit cmake rocm
+
+if [[ "${PV}" != "9999" ]]; then
+ KEYWORDS="~amd64"
+ MY_PV="b${PV#0_pre}"
+ S="${WORKDIR}/llama.cpp-${MY_PV}"
+ SRC_URI="https://github.com/ggerganov/llama.cpp/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
+else
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/ggerganov/llama.cpp.git"
+fi
+
+DESCRIPTION="Port of Facebook's LLaMA model in C/C++"
+HOMEPAGE="https://github.com/ggerganov/llama.cpp"
+
+LICENSE="MIT"
+SLOT="0"
+CPU_FLAGS_X86=( avx avx2 f16c )
+IUSE="curl openblas blis hip"
+REQUIRED_USE="?? ( openblas blis )"
+
+AMDGPU_TARGETS_COMPAT=(
+ gfx900
+ gfx90c
+ gfx902
+ gfx1010
+ gfx1011
+ gfx1012
+ gfx1030
+ gfx1031
+ gfx1032
+ gfx1034
+ gfx1035
+ gfx1036
+ gfx1100
+ gfx1101
+ gfx1102
+ gfx1103
+ gfx1150
+ gfx1151
+)
+
+# curl is needed for pulling models from huggingface
+# numpy is used by convert_hf_to_gguf.py
+DEPEND="
+ curl? ( net-misc/curl:= )
+ openblas? ( sci-libs/openblas:= )
+ blis? ( sci-libs/blis:= )
+ hip? ( >=dev-util/hip-6.3:= )
+"
+RDEPEND="${DEPEND}
+ dev-python/numpy
+"
+PATCHES=( "${FILESDIR}/blas-ld.diff" )
+
+src_configure() {
+ local mycmakeargs=(
+ -DLLAMA_BUILD_TESTS=OFF
+ -DLLAMA_BUILD_SERVER=ON
+ -DCMAKE_SKIP_BUILD_RPATH=ON
+ -DGGML_NATIVE=0 # don't set march
+ -DLLAMA_CURL=$(usex curl ON OFF)
+ -DBUILD_NUMBER="1"
+ )
+
+ if use openblas ; then
+ mycmakeargs+=(
+ -DGGML_BLAS=ON -DGGML_BLAS_VENDOR=OpenBLAS
+ )
+ fi
+
+ if use blis ; then
+ mycmakeargs+=(
+ -DGGML_BLAS=ON -DGGML_BLAS_VENDOR=FLAME
+ )
+ fi
+
+ if use hip; then
+ rocm_use_hipcc
+ mycmakeargs+=(
+ -DGGML_HIP=ON -DAMDGPU_TARGETS=$(get_amdgpu_flags)
+ )
+ fi
+
+ cmake_src_configure
+}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/llama-cpp/
@ 2025-03-07 11:16 Sergey Alirzaev
0 siblings, 0 replies; 28+ messages in thread
From: Sergey Alirzaev @ 2025-03-07 11:16 UTC (permalink / raw
To: gentoo-commits
commit: 19e74ee6a141256e081b6f4d7749ece9af97b307
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Fri Mar 7 11:16:01 2025 +0000
Commit: Sergey Alirzaev <zl29ah <AT> gmail <DOT> com>
CommitDate: Fri Mar 7 11:16:18 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=19e74ee6
sci-misc/llama-cpp: add 0_pre4848
for QwQ-32B --jinja support
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
sci-misc/llama-cpp/Manifest | 1 +
sci-misc/llama-cpp/llama-cpp-0_pre4848.ebuild | 93 +++++++++++++++++++++++++++
2 files changed, 94 insertions(+)
diff --git a/sci-misc/llama-cpp/Manifest b/sci-misc/llama-cpp/Manifest
index 3085f9c75..aa174fbbd 100644
--- a/sci-misc/llama-cpp/Manifest
+++ b/sci-misc/llama-cpp/Manifest
@@ -1,2 +1,3 @@
DIST llama-cpp-0_pre4576.tar.gz 20506059 BLAKE2B 8f011811e4df1f8d0c26b19f96a709980e078dc7e769b33cbbb03a852a29b489f80c8a1e298fecea53997068f6b7897e4536ba5db289aa445a1a6f16f98adce3 SHA512 21150721524283454ab53e370fdaf4e766f89fbb8d4b43072b10657d8c8b686630616cddbae7954147a2ba0360ad20c4643761f3774481e13a7b180812935c4e
DIST llama-cpp-0_pre4763.tar.gz 20737582 BLAKE2B f6cb6885465e144c19698ac65410f59a6cc2b78d511968bc26c521ba90be87d102eb413e3ef903da30dae3336780e80a4c20cbbea30cc67375f790567e0e6e7a SHA512 c48923286e717d734a3414ae12182c869dd0a99fde722b46d48822a9cbcc5fc16ec5ade4108bd463990a3c9880ea58b559ba0a6975d04c348b474893df566bc9
+DIST llama-cpp-0_pre4848.tar.gz 20799416 BLAKE2B 6731dd8ab01f66fca24ad385c2611bc4a11df8beda692e88d79e1d6ab931c908d5a5d304d9c423d43c09d89e80c0b8dd1d57be23cb1a3bb522dbeac112ded604 SHA512 4e08cd24a96ad7c96abdc834d4b5d2d74ce01dd8774d81b693c25b890a0982ca9135cfb743b02f886277d2d0fc92c4e4b330e9acf0977fe00b2f1d4df70243d3
diff --git a/sci-misc/llama-cpp/llama-cpp-0_pre4848.ebuild b/sci-misc/llama-cpp/llama-cpp-0_pre4848.ebuild
new file mode 100644
index 000000000..b4db64b49
--- /dev/null
+++ b/sci-misc/llama-cpp/llama-cpp-0_pre4848.ebuild
@@ -0,0 +1,93 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ROCM_VERSION="6.3"
+
+inherit cmake rocm
+
+if [[ "${PV}" != "9999" ]]; then
+ KEYWORDS="~amd64"
+ MY_PV="b${PV#0_pre}"
+ S="${WORKDIR}/llama.cpp-${MY_PV}"
+ SRC_URI="https://github.com/ggerganov/llama.cpp/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
+else
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/ggerganov/llama.cpp.git"
+fi
+
+DESCRIPTION="Port of Facebook's LLaMA model in C/C++"
+HOMEPAGE="https://github.com/ggerganov/llama.cpp"
+
+LICENSE="MIT"
+SLOT="0"
+CPU_FLAGS_X86=( avx avx2 f16c )
+IUSE="curl openblas blis hip"
+REQUIRED_USE="?? ( openblas blis )"
+
+AMDGPU_TARGETS_COMPAT=(
+ gfx900
+ gfx90c
+ gfx902
+ gfx1010
+ gfx1011
+ gfx1012
+ gfx1030
+ gfx1031
+ gfx1032
+ gfx1034
+ gfx1035
+ gfx1036
+ gfx1100
+ gfx1101
+ gfx1102
+ gfx1103
+ gfx1150
+ gfx1151
+)
+
+# curl is needed for pulling models from huggingface
+# numpy is used by convert_hf_to_gguf.py
+DEPEND="
+ curl? ( net-misc/curl:= )
+ openblas? ( sci-libs/openblas:= )
+ blis? ( sci-libs/blis:= )
+ hip? ( >=dev-util/hip-6.3:= )
+"
+RDEPEND="${DEPEND}
+ dev-python/numpy
+"
+PATCHES=( "${FILESDIR}/blas-ld.diff" )
+
+src_configure() {
+ local mycmakeargs=(
+ -DLLAMA_BUILD_TESTS=OFF
+ -DLLAMA_BUILD_SERVER=ON
+ -DCMAKE_SKIP_BUILD_RPATH=ON
+ -DGGML_NATIVE=0 # don't set march
+ -DLLAMA_CURL=$(usex curl ON OFF)
+ -DBUILD_NUMBER="1"
+ )
+
+ if use openblas ; then
+ mycmakeargs+=(
+ -DGGML_BLAS=ON -DGGML_BLAS_VENDOR=OpenBLAS
+ )
+ fi
+
+ if use blis ; then
+ mycmakeargs+=(
+ -DGGML_BLAS=ON -DGGML_BLAS_VENDOR=FLAME
+ )
+ fi
+
+ if use hip; then
+ rocm_use_hipcc
+ mycmakeargs+=(
+ -DGGML_HIP=ON -DAMDGPU_TARGETS=$(get_amdgpu_flags)
+ )
+ fi
+
+ cmake_src_configure
+}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/llama-cpp/
@ 2025-04-10 19:52 Sergey Alirzaev
0 siblings, 0 replies; 28+ messages in thread
From: Sergey Alirzaev @ 2025-04-10 19:52 UTC (permalink / raw
To: gentoo-commits
commit: edf82b33406c122f0cc42d8d7773c68e67fd986d
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Thu Apr 10 19:52:02 2025 +0000
Commit: Sergey Alirzaev <zl29ah <AT> gmail <DOT> com>
CommitDate: Thu Apr 10 19:52:02 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=edf82b33
sci-misc/llama-cpp: add 0_pre5097
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
sci-misc/llama-cpp/Manifest | 1 +
sci-misc/llama-cpp/llama-cpp-0_pre5097.ebuild | 93 +++++++++++++++++++++++++++
2 files changed, 94 insertions(+)
diff --git a/sci-misc/llama-cpp/Manifest b/sci-misc/llama-cpp/Manifest
index aa174fbbd..cb8fe7c8a 100644
--- a/sci-misc/llama-cpp/Manifest
+++ b/sci-misc/llama-cpp/Manifest
@@ -1,3 +1,4 @@
DIST llama-cpp-0_pre4576.tar.gz 20506059 BLAKE2B 8f011811e4df1f8d0c26b19f96a709980e078dc7e769b33cbbb03a852a29b489f80c8a1e298fecea53997068f6b7897e4536ba5db289aa445a1a6f16f98adce3 SHA512 21150721524283454ab53e370fdaf4e766f89fbb8d4b43072b10657d8c8b686630616cddbae7954147a2ba0360ad20c4643761f3774481e13a7b180812935c4e
DIST llama-cpp-0_pre4763.tar.gz 20737582 BLAKE2B f6cb6885465e144c19698ac65410f59a6cc2b78d511968bc26c521ba90be87d102eb413e3ef903da30dae3336780e80a4c20cbbea30cc67375f790567e0e6e7a SHA512 c48923286e717d734a3414ae12182c869dd0a99fde722b46d48822a9cbcc5fc16ec5ade4108bd463990a3c9880ea58b559ba0a6975d04c348b474893df566bc9
DIST llama-cpp-0_pre4848.tar.gz 20799416 BLAKE2B 6731dd8ab01f66fca24ad385c2611bc4a11df8beda692e88d79e1d6ab931c908d5a5d304d9c423d43c09d89e80c0b8dd1d57be23cb1a3bb522dbeac112ded604 SHA512 4e08cd24a96ad7c96abdc834d4b5d2d74ce01dd8774d81b693c25b890a0982ca9135cfb743b02f886277d2d0fc92c4e4b330e9acf0977fe00b2f1d4df70243d3
+DIST llama-cpp-0_pre5097.tar.gz 21018571 BLAKE2B 001241580964aa6874a3aa4dbfa0a8cda58a144578992f6a6df7c5c7887cda847503f47c7f3be7b19bb3758ab6ce8de60435e29129cac71672160b29b1cab340 SHA512 86543cd001014fa4fee01a37d46e1794c2ffac7c25c7ed328aa4afd3d615b7f42b617ca5d8a0a78b5a41e31cb81184fc6f55f58ffd9433acb3f36cb947a620a5
diff --git a/sci-misc/llama-cpp/llama-cpp-0_pre5097.ebuild b/sci-misc/llama-cpp/llama-cpp-0_pre5097.ebuild
new file mode 100644
index 000000000..b4db64b49
--- /dev/null
+++ b/sci-misc/llama-cpp/llama-cpp-0_pre5097.ebuild
@@ -0,0 +1,93 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ROCM_VERSION="6.3"
+
+inherit cmake rocm
+
+if [[ "${PV}" != "9999" ]]; then
+ KEYWORDS="~amd64"
+ MY_PV="b${PV#0_pre}"
+ S="${WORKDIR}/llama.cpp-${MY_PV}"
+ SRC_URI="https://github.com/ggerganov/llama.cpp/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
+else
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/ggerganov/llama.cpp.git"
+fi
+
+DESCRIPTION="Port of Facebook's LLaMA model in C/C++"
+HOMEPAGE="https://github.com/ggerganov/llama.cpp"
+
+LICENSE="MIT"
+SLOT="0"
+CPU_FLAGS_X86=( avx avx2 f16c )
+IUSE="curl openblas blis hip"
+REQUIRED_USE="?? ( openblas blis )"
+
+AMDGPU_TARGETS_COMPAT=(
+ gfx900
+ gfx90c
+ gfx902
+ gfx1010
+ gfx1011
+ gfx1012
+ gfx1030
+ gfx1031
+ gfx1032
+ gfx1034
+ gfx1035
+ gfx1036
+ gfx1100
+ gfx1101
+ gfx1102
+ gfx1103
+ gfx1150
+ gfx1151
+)
+
+# curl is needed for pulling models from huggingface
+# numpy is used by convert_hf_to_gguf.py
+DEPEND="
+ curl? ( net-misc/curl:= )
+ openblas? ( sci-libs/openblas:= )
+ blis? ( sci-libs/blis:= )
+ hip? ( >=dev-util/hip-6.3:= )
+"
+RDEPEND="${DEPEND}
+ dev-python/numpy
+"
+PATCHES=( "${FILESDIR}/blas-ld.diff" )
+
+src_configure() {
+ local mycmakeargs=(
+ -DLLAMA_BUILD_TESTS=OFF
+ -DLLAMA_BUILD_SERVER=ON
+ -DCMAKE_SKIP_BUILD_RPATH=ON
+ -DGGML_NATIVE=0 # don't set march
+ -DLLAMA_CURL=$(usex curl ON OFF)
+ -DBUILD_NUMBER="1"
+ )
+
+ if use openblas ; then
+ mycmakeargs+=(
+ -DGGML_BLAS=ON -DGGML_BLAS_VENDOR=OpenBLAS
+ )
+ fi
+
+ if use blis ; then
+ mycmakeargs+=(
+ -DGGML_BLAS=ON -DGGML_BLAS_VENDOR=FLAME
+ )
+ fi
+
+ if use hip; then
+ rocm_use_hipcc
+ mycmakeargs+=(
+ -DGGML_HIP=ON -DAMDGPU_TARGETS=$(get_amdgpu_flags)
+ )
+ fi
+
+ cmake_src_configure
+}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/llama-cpp/
@ 2025-05-09 23:39 Sergey Alirzaev
0 siblings, 0 replies; 28+ messages in thread
From: Sergey Alirzaev @ 2025-05-09 23:39 UTC (permalink / raw
To: gentoo-commits
commit: ea094d31a2643de0fec13f7f25b5870d40b8f4e9
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Fri May 9 23:38:54 2025 +0000
Commit: Sergey Alirzaev <zl29ah <AT> gmail <DOT> com>
CommitDate: Fri May 9 23:39:42 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ea094d31
sci-misc/llama-cpp: add 0_pre5332
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
sci-misc/llama-cpp/Manifest | 1 +
sci-misc/llama-cpp/llama-cpp-0_pre5332.ebuild | 93 +++++++++++++++++++++++++++
2 files changed, 94 insertions(+)
diff --git a/sci-misc/llama-cpp/Manifest b/sci-misc/llama-cpp/Manifest
index cb8fe7c8a..0943b142c 100644
--- a/sci-misc/llama-cpp/Manifest
+++ b/sci-misc/llama-cpp/Manifest
@@ -2,3 +2,4 @@ DIST llama-cpp-0_pre4576.tar.gz 20506059 BLAKE2B 8f011811e4df1f8d0c26b19f96a7099
DIST llama-cpp-0_pre4763.tar.gz 20737582 BLAKE2B f6cb6885465e144c19698ac65410f59a6cc2b78d511968bc26c521ba90be87d102eb413e3ef903da30dae3336780e80a4c20cbbea30cc67375f790567e0e6e7a SHA512 c48923286e717d734a3414ae12182c869dd0a99fde722b46d48822a9cbcc5fc16ec5ade4108bd463990a3c9880ea58b559ba0a6975d04c348b474893df566bc9
DIST llama-cpp-0_pre4848.tar.gz 20799416 BLAKE2B 6731dd8ab01f66fca24ad385c2611bc4a11df8beda692e88d79e1d6ab931c908d5a5d304d9c423d43c09d89e80c0b8dd1d57be23cb1a3bb522dbeac112ded604 SHA512 4e08cd24a96ad7c96abdc834d4b5d2d74ce01dd8774d81b693c25b890a0982ca9135cfb743b02f886277d2d0fc92c4e4b330e9acf0977fe00b2f1d4df70243d3
DIST llama-cpp-0_pre5097.tar.gz 21018571 BLAKE2B 001241580964aa6874a3aa4dbfa0a8cda58a144578992f6a6df7c5c7887cda847503f47c7f3be7b19bb3758ab6ce8de60435e29129cac71672160b29b1cab340 SHA512 86543cd001014fa4fee01a37d46e1794c2ffac7c25c7ed328aa4afd3d615b7f42b617ca5d8a0a78b5a41e31cb81184fc6f55f58ffd9433acb3f36cb947a620a5
+DIST llama-cpp-0_pre5332.tar.gz 21140774 BLAKE2B a390d4c1c6902d90d1e779291e1fcbe69ab57eb35a5df0be6fb3d9edc88b086a18bcf48983b3c0b2e88d0cfaaddbfdeee74fb126b8a758547836f5b83dd4bc33 SHA512 c19c3a6b47684f9466e2872aa67d8516add69028c4fdc7d1abb7a0ff7d87b92adfdaf773cda87461be8e891285c6de34a4edca70244936e8efaf10cc02126a8d
diff --git a/sci-misc/llama-cpp/llama-cpp-0_pre5332.ebuild b/sci-misc/llama-cpp/llama-cpp-0_pre5332.ebuild
new file mode 100644
index 000000000..b4db64b49
--- /dev/null
+++ b/sci-misc/llama-cpp/llama-cpp-0_pre5332.ebuild
@@ -0,0 +1,93 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ROCM_VERSION="6.3"
+
+inherit cmake rocm
+
+if [[ "${PV}" != "9999" ]]; then
+ KEYWORDS="~amd64"
+ MY_PV="b${PV#0_pre}"
+ S="${WORKDIR}/llama.cpp-${MY_PV}"
+ SRC_URI="https://github.com/ggerganov/llama.cpp/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
+else
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/ggerganov/llama.cpp.git"
+fi
+
+DESCRIPTION="Port of Facebook's LLaMA model in C/C++"
+HOMEPAGE="https://github.com/ggerganov/llama.cpp"
+
+LICENSE="MIT"
+SLOT="0"
+CPU_FLAGS_X86=( avx avx2 f16c )
+IUSE="curl openblas blis hip"
+REQUIRED_USE="?? ( openblas blis )"
+
+AMDGPU_TARGETS_COMPAT=(
+ gfx900
+ gfx90c
+ gfx902
+ gfx1010
+ gfx1011
+ gfx1012
+ gfx1030
+ gfx1031
+ gfx1032
+ gfx1034
+ gfx1035
+ gfx1036
+ gfx1100
+ gfx1101
+ gfx1102
+ gfx1103
+ gfx1150
+ gfx1151
+)
+
+# curl is needed for pulling models from huggingface
+# numpy is used by convert_hf_to_gguf.py
+DEPEND="
+ curl? ( net-misc/curl:= )
+ openblas? ( sci-libs/openblas:= )
+ blis? ( sci-libs/blis:= )
+ hip? ( >=dev-util/hip-6.3:= )
+"
+RDEPEND="${DEPEND}
+ dev-python/numpy
+"
+PATCHES=( "${FILESDIR}/blas-ld.diff" )
+
+src_configure() {
+ local mycmakeargs=(
+ -DLLAMA_BUILD_TESTS=OFF
+ -DLLAMA_BUILD_SERVER=ON
+ -DCMAKE_SKIP_BUILD_RPATH=ON
+ -DGGML_NATIVE=0 # don't set march
+ -DLLAMA_CURL=$(usex curl ON OFF)
+ -DBUILD_NUMBER="1"
+ )
+
+ if use openblas ; then
+ mycmakeargs+=(
+ -DGGML_BLAS=ON -DGGML_BLAS_VENDOR=OpenBLAS
+ )
+ fi
+
+ if use blis ; then
+ mycmakeargs+=(
+ -DGGML_BLAS=ON -DGGML_BLAS_VENDOR=FLAME
+ )
+ fi
+
+ if use hip; then
+ rocm_use_hipcc
+ mycmakeargs+=(
+ -DGGML_HIP=ON -DAMDGPU_TARGETS=$(get_amdgpu_flags)
+ )
+ fi
+
+ cmake_src_configure
+}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/llama-cpp/
@ 2025-05-17 12:57 Sergey Alirzaev
0 siblings, 0 replies; 28+ messages in thread
From: Sergey Alirzaev @ 2025-05-17 12:57 UTC (permalink / raw
To: gentoo-commits
commit: 1b3ace659df434818b1aeeda7f2f70f3e07f9ea9
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Sat May 17 12:57:10 2025 +0000
Commit: Sergey Alirzaev <zl29ah <AT> gmail <DOT> com>
CommitDate: Sat May 17 12:57:34 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1b3ace65
sci-misc/llama-cpp: enable rpc
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
sci-misc/llama-cpp/llama-cpp-0_pre5332.ebuild | 6 ++++++
sci-misc/llama-cpp/llama-cpp-9999.ebuild | 6 ++++++
2 files changed, 12 insertions(+)
diff --git a/sci-misc/llama-cpp/llama-cpp-0_pre5332.ebuild b/sci-misc/llama-cpp/llama-cpp-0_pre5332.ebuild
index b4db64b49..eb94fdfb0 100644
--- a/sci-misc/llama-cpp/llama-cpp-0_pre5332.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-0_pre5332.ebuild
@@ -66,6 +66,7 @@ src_configure() {
-DLLAMA_BUILD_SERVER=ON
-DCMAKE_SKIP_BUILD_RPATH=ON
-DGGML_NATIVE=0 # don't set march
+ -DGGML_RPC=ON
-DLLAMA_CURL=$(usex curl ON OFF)
-DBUILD_NUMBER="1"
)
@@ -91,3 +92,8 @@ src_configure() {
cmake_src_configure
}
+
+src_install() {
+ cmake_src_install
+ dobin "${BUILD_DIR}/bin/rpc-server"
+}
diff --git a/sci-misc/llama-cpp/llama-cpp-9999.ebuild b/sci-misc/llama-cpp/llama-cpp-9999.ebuild
index b4db64b49..eb94fdfb0 100644
--- a/sci-misc/llama-cpp/llama-cpp-9999.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-9999.ebuild
@@ -66,6 +66,7 @@ src_configure() {
-DLLAMA_BUILD_SERVER=ON
-DCMAKE_SKIP_BUILD_RPATH=ON
-DGGML_NATIVE=0 # don't set march
+ -DGGML_RPC=ON
-DLLAMA_CURL=$(usex curl ON OFF)
-DBUILD_NUMBER="1"
)
@@ -91,3 +92,8 @@ src_configure() {
cmake_src_configure
}
+
+src_install() {
+ cmake_src_install
+ dobin "${BUILD_DIR}/bin/rpc-server"
+}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/llama-cpp/
@ 2025-06-11 12:53 Sergey Alirzaev
0 siblings, 0 replies; 28+ messages in thread
From: Sergey Alirzaev @ 2025-06-11 12:53 UTC (permalink / raw
To: gentoo-commits
commit: 9343efb98748669fe5078b18c349fc28bd778ef2
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Wed Jun 11 12:52:57 2025 +0000
Commit: Sergey Alirzaev <zl29ah <AT> gmail <DOT> com>
CommitDate: Wed Jun 11 12:52:57 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9343efb9
sci-misc/llama-cpp: add 0_pre5633, drop 0_pre4763
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
sci-misc/llama-cpp/Manifest | 2 +-
.../{llama-cpp-0_pre4763.ebuild => llama-cpp-0_pre5633.ebuild} | 6 ++++++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/sci-misc/llama-cpp/Manifest b/sci-misc/llama-cpp/Manifest
index 0943b142ce..2c1322d57c 100644
--- a/sci-misc/llama-cpp/Manifest
+++ b/sci-misc/llama-cpp/Manifest
@@ -1,5 +1,5 @@
DIST llama-cpp-0_pre4576.tar.gz 20506059 BLAKE2B 8f011811e4df1f8d0c26b19f96a709980e078dc7e769b33cbbb03a852a29b489f80c8a1e298fecea53997068f6b7897e4536ba5db289aa445a1a6f16f98adce3 SHA512 21150721524283454ab53e370fdaf4e766f89fbb8d4b43072b10657d8c8b686630616cddbae7954147a2ba0360ad20c4643761f3774481e13a7b180812935c4e
-DIST llama-cpp-0_pre4763.tar.gz 20737582 BLAKE2B f6cb6885465e144c19698ac65410f59a6cc2b78d511968bc26c521ba90be87d102eb413e3ef903da30dae3336780e80a4c20cbbea30cc67375f790567e0e6e7a SHA512 c48923286e717d734a3414ae12182c869dd0a99fde722b46d48822a9cbcc5fc16ec5ade4108bd463990a3c9880ea58b559ba0a6975d04c348b474893df566bc9
DIST llama-cpp-0_pre4848.tar.gz 20799416 BLAKE2B 6731dd8ab01f66fca24ad385c2611bc4a11df8beda692e88d79e1d6ab931c908d5a5d304d9c423d43c09d89e80c0b8dd1d57be23cb1a3bb522dbeac112ded604 SHA512 4e08cd24a96ad7c96abdc834d4b5d2d74ce01dd8774d81b693c25b890a0982ca9135cfb743b02f886277d2d0fc92c4e4b330e9acf0977fe00b2f1d4df70243d3
DIST llama-cpp-0_pre5097.tar.gz 21018571 BLAKE2B 001241580964aa6874a3aa4dbfa0a8cda58a144578992f6a6df7c5c7887cda847503f47c7f3be7b19bb3758ab6ce8de60435e29129cac71672160b29b1cab340 SHA512 86543cd001014fa4fee01a37d46e1794c2ffac7c25c7ed328aa4afd3d615b7f42b617ca5d8a0a78b5a41e31cb81184fc6f55f58ffd9433acb3f36cb947a620a5
DIST llama-cpp-0_pre5332.tar.gz 21140774 BLAKE2B a390d4c1c6902d90d1e779291e1fcbe69ab57eb35a5df0be6fb3d9edc88b086a18bcf48983b3c0b2e88d0cfaaddbfdeee74fb126b8a758547836f5b83dd4bc33 SHA512 c19c3a6b47684f9466e2872aa67d8516add69028c4fdc7d1abb7a0ff7d87b92adfdaf773cda87461be8e891285c6de34a4edca70244936e8efaf10cc02126a8d
+DIST llama-cpp-0_pre5633.tar.gz 24986657 BLAKE2B 6215dbfea54cb23a57419cc5a530be5622ec834c6d005337bcf92c50e152979375592088e215845e8f07c6b3f7eec15132cd15ebf9b0725adabe499951ae4735 SHA512 11a1917eb86c7065ea901cb62bdc7a25d8d7b962358570c2c7ae0c2d7abce6d19ebc6af74512593ebafbb4ee23546128cf8bfee5ba769c4f3cd2e254cdc1a1a4
diff --git a/sci-misc/llama-cpp/llama-cpp-0_pre4763.ebuild b/sci-misc/llama-cpp/llama-cpp-0_pre5633.ebuild
similarity index 94%
rename from sci-misc/llama-cpp/llama-cpp-0_pre4763.ebuild
rename to sci-misc/llama-cpp/llama-cpp-0_pre5633.ebuild
index b4db64b49d..eb94fdfb0a 100644
--- a/sci-misc/llama-cpp/llama-cpp-0_pre4763.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-0_pre5633.ebuild
@@ -66,6 +66,7 @@ src_configure() {
-DLLAMA_BUILD_SERVER=ON
-DCMAKE_SKIP_BUILD_RPATH=ON
-DGGML_NATIVE=0 # don't set march
+ -DGGML_RPC=ON
-DLLAMA_CURL=$(usex curl ON OFF)
-DBUILD_NUMBER="1"
)
@@ -91,3 +92,8 @@ src_configure() {
cmake_src_configure
}
+
+src_install() {
+ cmake_src_install
+ dobin "${BUILD_DIR}/bin/rpc-server"
+}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/llama-cpp/
@ 2025-07-03 19:33 Sergey Alirzaev
0 siblings, 0 replies; 28+ messages in thread
From: Sergey Alirzaev @ 2025-07-03 19:33 UTC (permalink / raw
To: gentoo-commits
commit: 36a39a0a8040d36ff378936b335447b7d9f315a7
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Thu Jul 3 19:32:59 2025 +0000
Commit: Sergey Alirzaev <zl29ah <AT> gmail <DOT> com>
CommitDate: Thu Jul 3 19:32:59 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=36a39a0a
sci-misc/llama-cpp: avoid clashing with whisper.cpp
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
sci-misc/llama-cpp/Manifest | 1 +
.../{llama-cpp-9999.ebuild => llama-cpp-0_pre5821.ebuild} | 7 +++++++
sci-misc/llama-cpp/llama-cpp-9999.ebuild | 7 +++++++
3 files changed, 15 insertions(+)
diff --git a/sci-misc/llama-cpp/Manifest b/sci-misc/llama-cpp/Manifest
index 2c1322d57c..5ac03312f7 100644
--- a/sci-misc/llama-cpp/Manifest
+++ b/sci-misc/llama-cpp/Manifest
@@ -3,3 +3,4 @@ DIST llama-cpp-0_pre4848.tar.gz 20799416 BLAKE2B 6731dd8ab01f66fca24ad385c2611bc
DIST llama-cpp-0_pre5097.tar.gz 21018571 BLAKE2B 001241580964aa6874a3aa4dbfa0a8cda58a144578992f6a6df7c5c7887cda847503f47c7f3be7b19bb3758ab6ce8de60435e29129cac71672160b29b1cab340 SHA512 86543cd001014fa4fee01a37d46e1794c2ffac7c25c7ed328aa4afd3d615b7f42b617ca5d8a0a78b5a41e31cb81184fc6f55f58ffd9433acb3f36cb947a620a5
DIST llama-cpp-0_pre5332.tar.gz 21140774 BLAKE2B a390d4c1c6902d90d1e779291e1fcbe69ab57eb35a5df0be6fb3d9edc88b086a18bcf48983b3c0b2e88d0cfaaddbfdeee74fb126b8a758547836f5b83dd4bc33 SHA512 c19c3a6b47684f9466e2872aa67d8516add69028c4fdc7d1abb7a0ff7d87b92adfdaf773cda87461be8e891285c6de34a4edca70244936e8efaf10cc02126a8d
DIST llama-cpp-0_pre5633.tar.gz 24986657 BLAKE2B 6215dbfea54cb23a57419cc5a530be5622ec834c6d005337bcf92c50e152979375592088e215845e8f07c6b3f7eec15132cd15ebf9b0725adabe499951ae4735 SHA512 11a1917eb86c7065ea901cb62bdc7a25d8d7b962358570c2c7ae0c2d7abce6d19ebc6af74512593ebafbb4ee23546128cf8bfee5ba769c4f3cd2e254cdc1a1a4
+DIST llama-cpp-0_pre5821.tar.gz 25019017 BLAKE2B 5bf7e168a690ac02aee17dd72469481db3b7c61db990407596a99f814eef1737e9c83aae18ef27d3cd3cca01159104e702ed114cd28c1291aea03422a0b5c0f2 SHA512 7aed0a1a29bb4096d67f781299bf48718021f5a0916451a9bdaada2ac1181cc84cbaeab43811e12c13a10beb0d23f0897cfb5f2f26929a166dfd50d90d026d37
diff --git a/sci-misc/llama-cpp/llama-cpp-9999.ebuild b/sci-misc/llama-cpp/llama-cpp-0_pre5821.ebuild
similarity index 89%
copy from sci-misc/llama-cpp/llama-cpp-9999.ebuild
copy to sci-misc/llama-cpp/llama-cpp-0_pre5821.ebuild
index e85f09260c..333c68cfd2 100644
--- a/sci-misc/llama-cpp/llama-cpp-9999.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-0_pre5821.ebuild
@@ -77,6 +77,10 @@ src_configure() {
-DBUILD_NUMBER="1"
-DGENTOO_REMOVE_CMAKE_BLAS_HACK=ON
-DGGML_CUDA=$(usex cuda ON OFF)
+
+ # avoid clashing with whisper.cpp
+ -DCMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)/llama.cpp"
+ -DCMAKE_INSTALL_RPATH="${EPREFIX}/usr/$(get_libdir)/llama.cpp"
)
if use openblas ; then
@@ -104,4 +108,7 @@ src_configure() {
src_install() {
cmake_src_install
dobin "${BUILD_DIR}/bin/rpc-server"
+
+ # avoid clashing with whisper.cpp
+ rm -rf "${ED}/usr/include"
}
diff --git a/sci-misc/llama-cpp/llama-cpp-9999.ebuild b/sci-misc/llama-cpp/llama-cpp-9999.ebuild
index e85f09260c..333c68cfd2 100644
--- a/sci-misc/llama-cpp/llama-cpp-9999.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-9999.ebuild
@@ -77,6 +77,10 @@ src_configure() {
-DBUILD_NUMBER="1"
-DGENTOO_REMOVE_CMAKE_BLAS_HACK=ON
-DGGML_CUDA=$(usex cuda ON OFF)
+
+ # avoid clashing with whisper.cpp
+ -DCMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)/llama.cpp"
+ -DCMAKE_INSTALL_RPATH="${EPREFIX}/usr/$(get_libdir)/llama.cpp"
)
if use openblas ; then
@@ -104,4 +108,7 @@ src_configure() {
src_install() {
cmake_src_install
dobin "${BUILD_DIR}/bin/rpc-server"
+
+ # avoid clashing with whisper.cpp
+ rm -rf "${ED}/usr/include"
}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/llama-cpp/
@ 2025-07-03 22:22 Sergey Alirzaev
0 siblings, 0 replies; 28+ messages in thread
From: Sergey Alirzaev @ 2025-07-03 22:22 UTC (permalink / raw
To: gentoo-commits
commit: 37f4b2ddc87bc6d56eea5298374186838a39f1b4
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Thu Jul 3 22:22:34 2025 +0000
Commit: Sergey Alirzaev <zl29ah <AT> gmail <DOT> com>
CommitDate: Thu Jul 3 22:22:34 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=37f4b2dd
sci-misc/llama-cpp: vulkan support
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
sci-misc/llama-cpp/llama-cpp-0_pre5821.ebuild | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/sci-misc/llama-cpp/llama-cpp-0_pre5821.ebuild b/sci-misc/llama-cpp/llama-cpp-0_pre5821.ebuild
index 333c68cfd2..297952fc97 100644
--- a/sci-misc/llama-cpp/llama-cpp-0_pre5821.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-0_pre5821.ebuild
@@ -23,7 +23,7 @@ HOMEPAGE="https://github.com/ggml-org/llama.cpp"
LICENSE="MIT"
SLOT="0"
CPU_FLAGS_X86=( avx avx2 f16c )
-IUSE="curl openblas blis hip cuda"
+IUSE="curl openblas blis hip cuda vulkan"
REQUIRED_USE="?? ( openblas blis )"
AMDGPU_TARGETS_COMPAT=(
@@ -49,15 +49,19 @@ AMDGPU_TARGETS_COMPAT=(
# curl is needed for pulling models from huggingface
# numpy is used by convert_hf_to_gguf.py
-DEPEND="
+CDEPEND="
curl? ( net-misc/curl:= )
openblas? ( sci-libs/openblas:= )
blis? ( sci-libs/blis:= )
hip? ( >=dev-util/hip-6.3:= )
cuda? ( dev-util/nvidia-cuda-toolkit:= )
"
-RDEPEND="${DEPEND}
+DEPEND="${CDEPEND}
+ vulkan? ( dev-util/vulkan-headers )
+"
+RDEPEND="${CDEPEND}
dev-python/numpy
+ vulkan? ( media-libs/vulkan-loader )
"
src_prepare() {
@@ -77,6 +81,7 @@ src_configure() {
-DBUILD_NUMBER="1"
-DGENTOO_REMOVE_CMAKE_BLAS_HACK=ON
-DGGML_CUDA=$(usex cuda ON OFF)
+ -DGGML_VULKAN=$(usex vulkan ON OFF)
# avoid clashing with whisper.cpp
-DCMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)/llama.cpp"
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/llama-cpp/
@ 2025-07-04 2:17 Sergey Alirzaev
0 siblings, 0 replies; 28+ messages in thread
From: Sergey Alirzaev @ 2025-07-04 2:17 UTC (permalink / raw
To: gentoo-commits
commit: 1ac2399f369cbb94c1e3fd9e94e4bbbb4da0f8ce
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Fri Jul 4 02:17:10 2025 +0000
Commit: Sergey Alirzaev <zl29ah <AT> gmail <DOT> com>
CommitDate: Fri Jul 4 02:17:10 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1ac2399f
sci-misc/llama-cpp: sync live
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
sci-misc/llama-cpp/llama-cpp-9999.ebuild | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/sci-misc/llama-cpp/llama-cpp-9999.ebuild b/sci-misc/llama-cpp/llama-cpp-9999.ebuild
index 333c68cfd2..297952fc97 100644
--- a/sci-misc/llama-cpp/llama-cpp-9999.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-9999.ebuild
@@ -23,7 +23,7 @@ HOMEPAGE="https://github.com/ggml-org/llama.cpp"
LICENSE="MIT"
SLOT="0"
CPU_FLAGS_X86=( avx avx2 f16c )
-IUSE="curl openblas blis hip cuda"
+IUSE="curl openblas blis hip cuda vulkan"
REQUIRED_USE="?? ( openblas blis )"
AMDGPU_TARGETS_COMPAT=(
@@ -49,15 +49,19 @@ AMDGPU_TARGETS_COMPAT=(
# curl is needed for pulling models from huggingface
# numpy is used by convert_hf_to_gguf.py
-DEPEND="
+CDEPEND="
curl? ( net-misc/curl:= )
openblas? ( sci-libs/openblas:= )
blis? ( sci-libs/blis:= )
hip? ( >=dev-util/hip-6.3:= )
cuda? ( dev-util/nvidia-cuda-toolkit:= )
"
-RDEPEND="${DEPEND}
+DEPEND="${CDEPEND}
+ vulkan? ( dev-util/vulkan-headers )
+"
+RDEPEND="${CDEPEND}
dev-python/numpy
+ vulkan? ( media-libs/vulkan-loader )
"
src_prepare() {
@@ -77,6 +81,7 @@ src_configure() {
-DBUILD_NUMBER="1"
-DGENTOO_REMOVE_CMAKE_BLAS_HACK=ON
-DGGML_CUDA=$(usex cuda ON OFF)
+ -DGGML_VULKAN=$(usex vulkan ON OFF)
# avoid clashing with whisper.cpp
-DCMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)/llama.cpp"
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/llama-cpp/
@ 2025-07-10 0:16 Sergey Alirzaev
0 siblings, 0 replies; 28+ messages in thread
From: Sergey Alirzaev @ 2025-07-10 0:16 UTC (permalink / raw
To: gentoo-commits
commit: bd53f5db4fd7a23956623e81ce0058505609928b
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Thu Jul 10 00:16:05 2025 +0000
Commit: Sergey Alirzaev <zl29ah <AT> gmail <DOT> com>
CommitDate: Thu Jul 10 00:16:05 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bd53f5db
sci-misc/llama-cpp: fix hip/rocm, remove old
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
sci-misc/llama-cpp/Manifest | 2 +-
sci-misc/llama-cpp/llama-cpp-0_pre4848.ebuild | 93 ----------------------
...-cpp-9999.ebuild => llama-cpp-0_pre5857.ebuild} | 39 ++++-----
sci-misc/llama-cpp/llama-cpp-9999.ebuild | 39 ++++-----
4 files changed, 33 insertions(+), 140 deletions(-)
diff --git a/sci-misc/llama-cpp/Manifest b/sci-misc/llama-cpp/Manifest
index 5ac03312f7..6f878fb6e4 100644
--- a/sci-misc/llama-cpp/Manifest
+++ b/sci-misc/llama-cpp/Manifest
@@ -1,6 +1,6 @@
DIST llama-cpp-0_pre4576.tar.gz 20506059 BLAKE2B 8f011811e4df1f8d0c26b19f96a709980e078dc7e769b33cbbb03a852a29b489f80c8a1e298fecea53997068f6b7897e4536ba5db289aa445a1a6f16f98adce3 SHA512 21150721524283454ab53e370fdaf4e766f89fbb8d4b43072b10657d8c8b686630616cddbae7954147a2ba0360ad20c4643761f3774481e13a7b180812935c4e
-DIST llama-cpp-0_pre4848.tar.gz 20799416 BLAKE2B 6731dd8ab01f66fca24ad385c2611bc4a11df8beda692e88d79e1d6ab931c908d5a5d304d9c423d43c09d89e80c0b8dd1d57be23cb1a3bb522dbeac112ded604 SHA512 4e08cd24a96ad7c96abdc834d4b5d2d74ce01dd8774d81b693c25b890a0982ca9135cfb743b02f886277d2d0fc92c4e4b330e9acf0977fe00b2f1d4df70243d3
DIST llama-cpp-0_pre5097.tar.gz 21018571 BLAKE2B 001241580964aa6874a3aa4dbfa0a8cda58a144578992f6a6df7c5c7887cda847503f47c7f3be7b19bb3758ab6ce8de60435e29129cac71672160b29b1cab340 SHA512 86543cd001014fa4fee01a37d46e1794c2ffac7c25c7ed328aa4afd3d615b7f42b617ca5d8a0a78b5a41e31cb81184fc6f55f58ffd9433acb3f36cb947a620a5
DIST llama-cpp-0_pre5332.tar.gz 21140774 BLAKE2B a390d4c1c6902d90d1e779291e1fcbe69ab57eb35a5df0be6fb3d9edc88b086a18bcf48983b3c0b2e88d0cfaaddbfdeee74fb126b8a758547836f5b83dd4bc33 SHA512 c19c3a6b47684f9466e2872aa67d8516add69028c4fdc7d1abb7a0ff7d87b92adfdaf773cda87461be8e891285c6de34a4edca70244936e8efaf10cc02126a8d
DIST llama-cpp-0_pre5633.tar.gz 24986657 BLAKE2B 6215dbfea54cb23a57419cc5a530be5622ec834c6d005337bcf92c50e152979375592088e215845e8f07c6b3f7eec15132cd15ebf9b0725adabe499951ae4735 SHA512 11a1917eb86c7065ea901cb62bdc7a25d8d7b962358570c2c7ae0c2d7abce6d19ebc6af74512593ebafbb4ee23546128cf8bfee5ba769c4f3cd2e254cdc1a1a4
DIST llama-cpp-0_pre5821.tar.gz 25019017 BLAKE2B 5bf7e168a690ac02aee17dd72469481db3b7c61db990407596a99f814eef1737e9c83aae18ef27d3cd3cca01159104e702ed114cd28c1291aea03422a0b5c0f2 SHA512 7aed0a1a29bb4096d67f781299bf48718021f5a0916451a9bdaada2ac1181cc84cbaeab43811e12c13a10beb0d23f0897cfb5f2f26929a166dfd50d90d026d37
+DIST llama-cpp-0_pre5857.tar.gz 25037397 BLAKE2B c5b9105ace7b66341b9dff32d3246f38e056097f2024df1919be2f7ac516ba37caa534aa521e5eb7717963b2df8a5fbe72663d829e0e67a0883edcbdb1b124d7 SHA512 1f91c4b11091a3ede785d5df1a0ab22360bafb36a0b7ee19ce70331bc36bae862ea52f2f0a5c8a4494022c37c8f363e850eb98d74ba910276267a7b5b4f927ed
diff --git a/sci-misc/llama-cpp/llama-cpp-0_pre4848.ebuild b/sci-misc/llama-cpp/llama-cpp-0_pre4848.ebuild
deleted file mode 100644
index b4db64b49d..0000000000
--- a/sci-misc/llama-cpp/llama-cpp-0_pre4848.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ROCM_VERSION="6.3"
-
-inherit cmake rocm
-
-if [[ "${PV}" != "9999" ]]; then
- KEYWORDS="~amd64"
- MY_PV="b${PV#0_pre}"
- S="${WORKDIR}/llama.cpp-${MY_PV}"
- SRC_URI="https://github.com/ggerganov/llama.cpp/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
-else
- inherit git-r3
- EGIT_REPO_URI="https://github.com/ggerganov/llama.cpp.git"
-fi
-
-DESCRIPTION="Port of Facebook's LLaMA model in C/C++"
-HOMEPAGE="https://github.com/ggerganov/llama.cpp"
-
-LICENSE="MIT"
-SLOT="0"
-CPU_FLAGS_X86=( avx avx2 f16c )
-IUSE="curl openblas blis hip"
-REQUIRED_USE="?? ( openblas blis )"
-
-AMDGPU_TARGETS_COMPAT=(
- gfx900
- gfx90c
- gfx902
- gfx1010
- gfx1011
- gfx1012
- gfx1030
- gfx1031
- gfx1032
- gfx1034
- gfx1035
- gfx1036
- gfx1100
- gfx1101
- gfx1102
- gfx1103
- gfx1150
- gfx1151
-)
-
-# curl is needed for pulling models from huggingface
-# numpy is used by convert_hf_to_gguf.py
-DEPEND="
- curl? ( net-misc/curl:= )
- openblas? ( sci-libs/openblas:= )
- blis? ( sci-libs/blis:= )
- hip? ( >=dev-util/hip-6.3:= )
-"
-RDEPEND="${DEPEND}
- dev-python/numpy
-"
-PATCHES=( "${FILESDIR}/blas-ld.diff" )
-
-src_configure() {
- local mycmakeargs=(
- -DLLAMA_BUILD_TESTS=OFF
- -DLLAMA_BUILD_SERVER=ON
- -DCMAKE_SKIP_BUILD_RPATH=ON
- -DGGML_NATIVE=0 # don't set march
- -DLLAMA_CURL=$(usex curl ON OFF)
- -DBUILD_NUMBER="1"
- )
-
- if use openblas ; then
- mycmakeargs+=(
- -DGGML_BLAS=ON -DGGML_BLAS_VENDOR=OpenBLAS
- )
- fi
-
- if use blis ; then
- mycmakeargs+=(
- -DGGML_BLAS=ON -DGGML_BLAS_VENDOR=FLAME
- )
- fi
-
- if use hip; then
- rocm_use_hipcc
- mycmakeargs+=(
- -DGGML_HIP=ON -DAMDGPU_TARGETS=$(get_amdgpu_flags)
- )
- fi
-
- cmake_src_configure
-}
diff --git a/sci-misc/llama-cpp/llama-cpp-9999.ebuild b/sci-misc/llama-cpp/llama-cpp-0_pre5857.ebuild
similarity index 84%
copy from sci-misc/llama-cpp/llama-cpp-9999.ebuild
copy to sci-misc/llama-cpp/llama-cpp-0_pre5857.ebuild
index 297952fc97..3c299357c9 100644
--- a/sci-misc/llama-cpp/llama-cpp-9999.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-0_pre5857.ebuild
@@ -5,7 +5,7 @@ EAPI=8
ROCM_VERSION="6.3"
-inherit cmake cuda rocm
+inherit cmake cuda rocm linux-info
if [[ "${PV}" != "9999" ]]; then
KEYWORDS="~amd64"
@@ -26,34 +26,15 @@ CPU_FLAGS_X86=( avx avx2 f16c )
IUSE="curl openblas blis hip cuda vulkan"
REQUIRED_USE="?? ( openblas blis )"
-AMDGPU_TARGETS_COMPAT=(
- gfx900
- gfx90c
- gfx902
- gfx1010
- gfx1011
- gfx1012
- gfx1030
- gfx1031
- gfx1032
- gfx1034
- gfx1035
- gfx1036
- gfx1100
- gfx1101
- gfx1102
- gfx1103
- gfx1150
- gfx1151
-)
-
# curl is needed for pulling models from huggingface
# numpy is used by convert_hf_to_gguf.py
CDEPEND="
curl? ( net-misc/curl:= )
openblas? ( sci-libs/openblas:= )
blis? ( sci-libs/blis:= )
- hip? ( >=dev-util/hip-6.3:= )
+ hip? ( >=dev-util/hip-6.3:=
+ >=sci-libs/hipBLAS-6.3:=
+ )
cuda? ( dev-util/nvidia-cuda-toolkit:= )
"
DEPEND="${CDEPEND}
@@ -64,6 +45,18 @@ RDEPEND="${CDEPEND}
vulkan? ( media-libs/vulkan-loader )
"
+pkg_setup() {
+ if use hip; then
+ linux-info_pkg_setup
+ if linux-info_get_any_version && linux_config_exists; then
+ if ! linux_chkconfig_present HSA_AMD_SVM; then
+ ewarn "To use ROCm/HIP, you need to have HSA_AMD_SVM option enabled in your kernel."
+ fi
+ fi
+
+ fi
+}
+
src_prepare() {
use cuda && cuda_src_prepare
diff --git a/sci-misc/llama-cpp/llama-cpp-9999.ebuild b/sci-misc/llama-cpp/llama-cpp-9999.ebuild
index 297952fc97..3c299357c9 100644
--- a/sci-misc/llama-cpp/llama-cpp-9999.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=8
ROCM_VERSION="6.3"
-inherit cmake cuda rocm
+inherit cmake cuda rocm linux-info
if [[ "${PV}" != "9999" ]]; then
KEYWORDS="~amd64"
@@ -26,34 +26,15 @@ CPU_FLAGS_X86=( avx avx2 f16c )
IUSE="curl openblas blis hip cuda vulkan"
REQUIRED_USE="?? ( openblas blis )"
-AMDGPU_TARGETS_COMPAT=(
- gfx900
- gfx90c
- gfx902
- gfx1010
- gfx1011
- gfx1012
- gfx1030
- gfx1031
- gfx1032
- gfx1034
- gfx1035
- gfx1036
- gfx1100
- gfx1101
- gfx1102
- gfx1103
- gfx1150
- gfx1151
-)
-
# curl is needed for pulling models from huggingface
# numpy is used by convert_hf_to_gguf.py
CDEPEND="
curl? ( net-misc/curl:= )
openblas? ( sci-libs/openblas:= )
blis? ( sci-libs/blis:= )
- hip? ( >=dev-util/hip-6.3:= )
+ hip? ( >=dev-util/hip-6.3:=
+ >=sci-libs/hipBLAS-6.3:=
+ )
cuda? ( dev-util/nvidia-cuda-toolkit:= )
"
DEPEND="${CDEPEND}
@@ -64,6 +45,18 @@ RDEPEND="${CDEPEND}
vulkan? ( media-libs/vulkan-loader )
"
+pkg_setup() {
+ if use hip; then
+ linux-info_pkg_setup
+ if linux-info_get_any_version && linux_config_exists; then
+ if ! linux_chkconfig_present HSA_AMD_SVM; then
+ ewarn "To use ROCm/HIP, you need to have HSA_AMD_SVM option enabled in your kernel."
+ fi
+ fi
+
+ fi
+}
+
src_prepare() {
use cuda && cuda_src_prepare
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/llama-cpp/
@ 2025-07-22 18:44 Paul Zander
0 siblings, 0 replies; 28+ messages in thread
From: Paul Zander @ 2025-07-22 18:44 UTC (permalink / raw
To: gentoo-commits
commit: 451623c534e7e4fa47a2793c85f5f4fbabc518c6
Author: Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Tue Jul 22 17:55:49 2025 +0000
Commit: Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
CommitDate: Tue Jul 22 18:25:30 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=451623c5
sci-misc/llama-cpp: set CUDAHOSTCXX via cuda.eclass
Closes: https://bugs.gentoo.org/960549
Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
sci-misc/llama-cpp/llama-cpp-0_pre5857.ebuild | 7 +++++++
sci-misc/llama-cpp/llama-cpp-9999.ebuild | 7 +++++++
2 files changed, 14 insertions(+)
diff --git a/sci-misc/llama-cpp/llama-cpp-0_pre5857.ebuild b/sci-misc/llama-cpp/llama-cpp-0_pre5857.ebuild
index 3c299357c9..3f39aebf74 100644
--- a/sci-misc/llama-cpp/llama-cpp-0_pre5857.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-0_pre5857.ebuild
@@ -93,6 +93,13 @@ src_configure() {
)
fi
+ if use cuda; then
+ local -x CUDAHOSTCXX="$(cuda_gccdir)"
+ # tries to recreate dev symlinks
+ cuda_add_sandbox
+ addpredict "/dev/char/"
+ fi
+
if use hip; then
rocm_use_hipcc
mycmakeargs+=(
diff --git a/sci-misc/llama-cpp/llama-cpp-9999.ebuild b/sci-misc/llama-cpp/llama-cpp-9999.ebuild
index 3c299357c9..3f39aebf74 100644
--- a/sci-misc/llama-cpp/llama-cpp-9999.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-9999.ebuild
@@ -93,6 +93,13 @@ src_configure() {
)
fi
+ if use cuda; then
+ local -x CUDAHOSTCXX="$(cuda_gccdir)"
+ # tries to recreate dev symlinks
+ cuda_add_sandbox
+ addpredict "/dev/char/"
+ fi
+
if use hip; then
rocm_use_hipcc
mycmakeargs+=(
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/llama-cpp/
@ 2025-07-23 12:49 Piotr Kubaj
0 siblings, 0 replies; 28+ messages in thread
From: Piotr Kubaj @ 2025-07-23 12:49 UTC (permalink / raw
To: gentoo-commits
commit: cec394f5db5e12b2b2da45109f52d0f3a2a68d15
Author: Piotr Kubaj <pkubaj <AT> anongoth <DOT> pl>
AuthorDate: Wed Jul 23 12:48:45 2025 +0000
Commit: Piotr Kubaj <pkubaj <AT> anongoth <DOT> pl>
CommitDate: Wed Jul 23 12:48:45 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cec394f5
sci-misc/llama-cpp: keyword 0_pre5857 for ~ppc64
Signed-off-by: Piotr Kubaj <pkubaj <AT> anongoth.pl>
sci-misc/llama-cpp/llama-cpp-0_pre5857.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-misc/llama-cpp/llama-cpp-0_pre5857.ebuild b/sci-misc/llama-cpp/llama-cpp-0_pre5857.ebuild
index 3f39aebf74..a21df45e66 100644
--- a/sci-misc/llama-cpp/llama-cpp-0_pre5857.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-0_pre5857.ebuild
@@ -8,7 +8,7 @@ ROCM_VERSION="6.3"
inherit cmake cuda rocm linux-info
if [[ "${PV}" != "9999" ]]; then
- KEYWORDS="~amd64"
+ KEYWORDS="~amd64 ~ppc64"
MY_PV="b${PV#0_pre}"
S="${WORKDIR}/llama.cpp-${MY_PV}"
SRC_URI="https://github.com/ggml-org/llama.cpp/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/llama-cpp/
@ 2025-07-23 23:36 David Roman
0 siblings, 0 replies; 28+ messages in thread
From: David Roman @ 2025-07-23 23:36 UTC (permalink / raw
To: gentoo-commits
commit: 9531e4e2766665251f392baac69c3e752439c265
Author: David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Wed Jul 23 23:35:43 2025 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Jul 23 23:35:43 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9531e4e2
Revert "sci-misc/llama-cpp: keyword 0_pre5857 for ~ppc64"
This reverts commit cec394f5db5e12b2b2da45109f52d0f3a2a68d15.
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>
sci-misc/llama-cpp/llama-cpp-0_pre5857.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-misc/llama-cpp/llama-cpp-0_pre5857.ebuild b/sci-misc/llama-cpp/llama-cpp-0_pre5857.ebuild
index a21df45e66..3f39aebf74 100644
--- a/sci-misc/llama-cpp/llama-cpp-0_pre5857.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-0_pre5857.ebuild
@@ -8,7 +8,7 @@ ROCM_VERSION="6.3"
inherit cmake cuda rocm linux-info
if [[ "${PV}" != "9999" ]]; then
- KEYWORDS="~amd64 ~ppc64"
+ KEYWORDS="~amd64"
MY_PV="b${PV#0_pre}"
S="${WORKDIR}/llama.cpp-${MY_PV}"
SRC_URI="https://github.com/ggml-org/llama.cpp/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/llama-cpp/
@ 2025-07-27 22:59 Sergey Alirzaev
0 siblings, 0 replies; 28+ messages in thread
From: Sergey Alirzaev @ 2025-07-27 22:59 UTC (permalink / raw
To: gentoo-commits
commit: bf6fdb43eb7155c0ca1e4b40f2d0e0a4a0732adf
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Sun Jul 27 22:59:07 2025 +0000
Commit: Sergey Alirzaev <zl29ah <AT> gmail <DOT> com>
CommitDate: Sun Jul 27 22:59:07 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bf6fdb43
sci-misc/llama-cpp: + opencl backend, bump
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
sci-misc/llama-cpp/Manifest | 2 +-
sci-misc/llama-cpp/llama-cpp-0_pre5857.ebuild | 5 ++-
...0_pre5821.ebuild => llama-cpp-0_pre6002.ebuild} | 51 ++++++++++++----------
sci-misc/llama-cpp/llama-cpp-9999.ebuild | 5 ++-
4 files changed, 36 insertions(+), 27 deletions(-)
diff --git a/sci-misc/llama-cpp/Manifest b/sci-misc/llama-cpp/Manifest
index 6f878fb6e4..dc5a4e2df1 100644
--- a/sci-misc/llama-cpp/Manifest
+++ b/sci-misc/llama-cpp/Manifest
@@ -2,5 +2,5 @@ DIST llama-cpp-0_pre4576.tar.gz 20506059 BLAKE2B 8f011811e4df1f8d0c26b19f96a7099
DIST llama-cpp-0_pre5097.tar.gz 21018571 BLAKE2B 001241580964aa6874a3aa4dbfa0a8cda58a144578992f6a6df7c5c7887cda847503f47c7f3be7b19bb3758ab6ce8de60435e29129cac71672160b29b1cab340 SHA512 86543cd001014fa4fee01a37d46e1794c2ffac7c25c7ed328aa4afd3d615b7f42b617ca5d8a0a78b5a41e31cb81184fc6f55f58ffd9433acb3f36cb947a620a5
DIST llama-cpp-0_pre5332.tar.gz 21140774 BLAKE2B a390d4c1c6902d90d1e779291e1fcbe69ab57eb35a5df0be6fb3d9edc88b086a18bcf48983b3c0b2e88d0cfaaddbfdeee74fb126b8a758547836f5b83dd4bc33 SHA512 c19c3a6b47684f9466e2872aa67d8516add69028c4fdc7d1abb7a0ff7d87b92adfdaf773cda87461be8e891285c6de34a4edca70244936e8efaf10cc02126a8d
DIST llama-cpp-0_pre5633.tar.gz 24986657 BLAKE2B 6215dbfea54cb23a57419cc5a530be5622ec834c6d005337bcf92c50e152979375592088e215845e8f07c6b3f7eec15132cd15ebf9b0725adabe499951ae4735 SHA512 11a1917eb86c7065ea901cb62bdc7a25d8d7b962358570c2c7ae0c2d7abce6d19ebc6af74512593ebafbb4ee23546128cf8bfee5ba769c4f3cd2e254cdc1a1a4
-DIST llama-cpp-0_pre5821.tar.gz 25019017 BLAKE2B 5bf7e168a690ac02aee17dd72469481db3b7c61db990407596a99f814eef1737e9c83aae18ef27d3cd3cca01159104e702ed114cd28c1291aea03422a0b5c0f2 SHA512 7aed0a1a29bb4096d67f781299bf48718021f5a0916451a9bdaada2ac1181cc84cbaeab43811e12c13a10beb0d23f0897cfb5f2f26929a166dfd50d90d026d37
DIST llama-cpp-0_pre5857.tar.gz 25037397 BLAKE2B c5b9105ace7b66341b9dff32d3246f38e056097f2024df1919be2f7ac516ba37caa534aa521e5eb7717963b2df8a5fbe72663d829e0e67a0883edcbdb1b124d7 SHA512 1f91c4b11091a3ede785d5df1a0ab22360bafb36a0b7ee19ce70331bc36bae862ea52f2f0a5c8a4494022c37c8f363e850eb98d74ba910276267a7b5b4f927ed
+DIST llama-cpp-0_pre6002.tar.gz 25253850 BLAKE2B 0767feea94598bbe6ea4a27b20dfda9c3423a9a6c6e4fc66f464c58fda2b13becdd703789604f7a2b424e335ddbe7eef3ee9ee33415ce135ed6eda2456578cca SHA512 57777dc0bfc7386daac6d0ea677d9c56e0db2feac7fa83f2468a057fca5d5ba829bb332ee64ba6049c969cdd7c2eca7501fe401f1bd5f4e8728ce453b160511f
diff --git a/sci-misc/llama-cpp/llama-cpp-0_pre5857.ebuild b/sci-misc/llama-cpp/llama-cpp-0_pre5857.ebuild
index 3f39aebf74..99dc17ab50 100644
--- a/sci-misc/llama-cpp/llama-cpp-0_pre5857.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-0_pre5857.ebuild
@@ -23,7 +23,7 @@ HOMEPAGE="https://github.com/ggml-org/llama.cpp"
LICENSE="MIT"
SLOT="0"
CPU_FLAGS_X86=( avx avx2 f16c )
-IUSE="curl openblas blis hip cuda vulkan"
+IUSE="curl openblas blis hip cuda opencl vulkan"
REQUIRED_USE="?? ( openblas blis )"
# curl is needed for pulling models from huggingface
@@ -38,10 +38,12 @@ CDEPEND="
cuda? ( dev-util/nvidia-cuda-toolkit:= )
"
DEPEND="${CDEPEND}
+ opencl? ( dev-util/opencl-headers )
vulkan? ( dev-util/vulkan-headers )
"
RDEPEND="${CDEPEND}
dev-python/numpy
+ opencl? ( dev-libs/opencl-icd-loader )
vulkan? ( media-libs/vulkan-loader )
"
@@ -74,6 +76,7 @@ src_configure() {
-DBUILD_NUMBER="1"
-DGENTOO_REMOVE_CMAKE_BLAS_HACK=ON
-DGGML_CUDA=$(usex cuda ON OFF)
+ -DGGML_OPENCL=$(usex opencl ON OFF)
-DGGML_VULKAN=$(usex vulkan ON OFF)
# avoid clashing with whisper.cpp
diff --git a/sci-misc/llama-cpp/llama-cpp-0_pre5821.ebuild b/sci-misc/llama-cpp/llama-cpp-0_pre6002.ebuild
similarity index 75%
rename from sci-misc/llama-cpp/llama-cpp-0_pre5821.ebuild
rename to sci-misc/llama-cpp/llama-cpp-0_pre6002.ebuild
index 297952fc97..99dc17ab50 100644
--- a/sci-misc/llama-cpp/llama-cpp-0_pre5821.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-0_pre6002.ebuild
@@ -5,7 +5,7 @@ EAPI=8
ROCM_VERSION="6.3"
-inherit cmake cuda rocm
+inherit cmake cuda rocm linux-info
if [[ "${PV}" != "9999" ]]; then
KEYWORDS="~amd64"
@@ -23,47 +23,42 @@ HOMEPAGE="https://github.com/ggml-org/llama.cpp"
LICENSE="MIT"
SLOT="0"
CPU_FLAGS_X86=( avx avx2 f16c )
-IUSE="curl openblas blis hip cuda vulkan"
+IUSE="curl openblas blis hip cuda opencl vulkan"
REQUIRED_USE="?? ( openblas blis )"
-AMDGPU_TARGETS_COMPAT=(
- gfx900
- gfx90c
- gfx902
- gfx1010
- gfx1011
- gfx1012
- gfx1030
- gfx1031
- gfx1032
- gfx1034
- gfx1035
- gfx1036
- gfx1100
- gfx1101
- gfx1102
- gfx1103
- gfx1150
- gfx1151
-)
-
# curl is needed for pulling models from huggingface
# numpy is used by convert_hf_to_gguf.py
CDEPEND="
curl? ( net-misc/curl:= )
openblas? ( sci-libs/openblas:= )
blis? ( sci-libs/blis:= )
- hip? ( >=dev-util/hip-6.3:= )
+ hip? ( >=dev-util/hip-6.3:=
+ >=sci-libs/hipBLAS-6.3:=
+ )
cuda? ( dev-util/nvidia-cuda-toolkit:= )
"
DEPEND="${CDEPEND}
+ opencl? ( dev-util/opencl-headers )
vulkan? ( dev-util/vulkan-headers )
"
RDEPEND="${CDEPEND}
dev-python/numpy
+ opencl? ( dev-libs/opencl-icd-loader )
vulkan? ( media-libs/vulkan-loader )
"
+pkg_setup() {
+ if use hip; then
+ linux-info_pkg_setup
+ if linux-info_get_any_version && linux_config_exists; then
+ if ! linux_chkconfig_present HSA_AMD_SVM; then
+ ewarn "To use ROCm/HIP, you need to have HSA_AMD_SVM option enabled in your kernel."
+ fi
+ fi
+
+ fi
+}
+
src_prepare() {
use cuda && cuda_src_prepare
@@ -81,6 +76,7 @@ src_configure() {
-DBUILD_NUMBER="1"
-DGENTOO_REMOVE_CMAKE_BLAS_HACK=ON
-DGGML_CUDA=$(usex cuda ON OFF)
+ -DGGML_OPENCL=$(usex opencl ON OFF)
-DGGML_VULKAN=$(usex vulkan ON OFF)
# avoid clashing with whisper.cpp
@@ -100,6 +96,13 @@ src_configure() {
)
fi
+ if use cuda; then
+ local -x CUDAHOSTCXX="$(cuda_gccdir)"
+ # tries to recreate dev symlinks
+ cuda_add_sandbox
+ addpredict "/dev/char/"
+ fi
+
if use hip; then
rocm_use_hipcc
mycmakeargs+=(
diff --git a/sci-misc/llama-cpp/llama-cpp-9999.ebuild b/sci-misc/llama-cpp/llama-cpp-9999.ebuild
index 3f39aebf74..99dc17ab50 100644
--- a/sci-misc/llama-cpp/llama-cpp-9999.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-9999.ebuild
@@ -23,7 +23,7 @@ HOMEPAGE="https://github.com/ggml-org/llama.cpp"
LICENSE="MIT"
SLOT="0"
CPU_FLAGS_X86=( avx avx2 f16c )
-IUSE="curl openblas blis hip cuda vulkan"
+IUSE="curl openblas blis hip cuda opencl vulkan"
REQUIRED_USE="?? ( openblas blis )"
# curl is needed for pulling models from huggingface
@@ -38,10 +38,12 @@ CDEPEND="
cuda? ( dev-util/nvidia-cuda-toolkit:= )
"
DEPEND="${CDEPEND}
+ opencl? ( dev-util/opencl-headers )
vulkan? ( dev-util/vulkan-headers )
"
RDEPEND="${CDEPEND}
dev-python/numpy
+ opencl? ( dev-libs/opencl-icd-loader )
vulkan? ( media-libs/vulkan-loader )
"
@@ -74,6 +76,7 @@ src_configure() {
-DBUILD_NUMBER="1"
-DGENTOO_REMOVE_CMAKE_BLAS_HACK=ON
-DGGML_CUDA=$(usex cuda ON OFF)
+ -DGGML_OPENCL=$(usex opencl ON OFF)
-DGGML_VULKAN=$(usex vulkan ON OFF)
# avoid clashing with whisper.cpp
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/llama-cpp/
@ 2025-07-31 15:04 Sergey Alirzaev
0 siblings, 0 replies; 28+ messages in thread
From: Sergey Alirzaev @ 2025-07-31 15:04 UTC (permalink / raw
To: gentoo-commits
commit: dd6553618adb7bb29489c08843bac9618b42ee27
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Thu Jul 31 15:03:55 2025 +0000
Commit: Sergey Alirzaev <zl29ah <AT> gmail <DOT> com>
CommitDate: Thu Jul 31 15:03:55 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dd655361
sci-misc/llama-cpp: describe opencl USE
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
sci-misc/llama-cpp/metadata.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/sci-misc/llama-cpp/metadata.xml b/sci-misc/llama-cpp/metadata.xml
index ee98b16235..bd33ace1c0 100644
--- a/sci-misc/llama-cpp/metadata.xml
+++ b/sci-misc/llama-cpp/metadata.xml
@@ -8,6 +8,7 @@
<flag name="blis">Build a BLIS backend</flag>
<flag name="hip">Build a HIP (ROCm) backend</flag>
<flag name="openblas">Build an OpenBLAS backend</flag>
+ <flag name="opencl">Build an OpenCL backend, so far only works on Adreno and Intel GPUs</flag>
</use>
<maintainer type="person">
<email>zl29ah@gmail.com</email>
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/llama-cpp/
@ 2025-08-05 20:26 Sergey Alirzaev
0 siblings, 0 replies; 28+ messages in thread
From: Sergey Alirzaev @ 2025-08-05 20:26 UTC (permalink / raw
To: gentoo-commits
commit: d34ca91c8f27f4b06f5ea95f165a680c87172f19
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Tue Aug 5 20:25:44 2025 +0000
Commit: Sergey Alirzaev <zl29ah <AT> gmail <DOT> com>
CommitDate: Tue Aug 5 20:25:44 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d34ca91c
sci-misc/llama-cpp: add 0_pre6092, drop 0_pre5857
for glm4moe support
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
sci-misc/llama-cpp/Manifest | 2 +-
.../{llama-cpp-0_pre5857.ebuild => llama-cpp-0_pre6092.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-misc/llama-cpp/Manifest b/sci-misc/llama-cpp/Manifest
index dc5a4e2df1..13fbae4c70 100644
--- a/sci-misc/llama-cpp/Manifest
+++ b/sci-misc/llama-cpp/Manifest
@@ -2,5 +2,5 @@ DIST llama-cpp-0_pre4576.tar.gz 20506059 BLAKE2B 8f011811e4df1f8d0c26b19f96a7099
DIST llama-cpp-0_pre5097.tar.gz 21018571 BLAKE2B 001241580964aa6874a3aa4dbfa0a8cda58a144578992f6a6df7c5c7887cda847503f47c7f3be7b19bb3758ab6ce8de60435e29129cac71672160b29b1cab340 SHA512 86543cd001014fa4fee01a37d46e1794c2ffac7c25c7ed328aa4afd3d615b7f42b617ca5d8a0a78b5a41e31cb81184fc6f55f58ffd9433acb3f36cb947a620a5
DIST llama-cpp-0_pre5332.tar.gz 21140774 BLAKE2B a390d4c1c6902d90d1e779291e1fcbe69ab57eb35a5df0be6fb3d9edc88b086a18bcf48983b3c0b2e88d0cfaaddbfdeee74fb126b8a758547836f5b83dd4bc33 SHA512 c19c3a6b47684f9466e2872aa67d8516add69028c4fdc7d1abb7a0ff7d87b92adfdaf773cda87461be8e891285c6de34a4edca70244936e8efaf10cc02126a8d
DIST llama-cpp-0_pre5633.tar.gz 24986657 BLAKE2B 6215dbfea54cb23a57419cc5a530be5622ec834c6d005337bcf92c50e152979375592088e215845e8f07c6b3f7eec15132cd15ebf9b0725adabe499951ae4735 SHA512 11a1917eb86c7065ea901cb62bdc7a25d8d7b962358570c2c7ae0c2d7abce6d19ebc6af74512593ebafbb4ee23546128cf8bfee5ba769c4f3cd2e254cdc1a1a4
-DIST llama-cpp-0_pre5857.tar.gz 25037397 BLAKE2B c5b9105ace7b66341b9dff32d3246f38e056097f2024df1919be2f7ac516ba37caa534aa521e5eb7717963b2df8a5fbe72663d829e0e67a0883edcbdb1b124d7 SHA512 1f91c4b11091a3ede785d5df1a0ab22360bafb36a0b7ee19ce70331bc36bae862ea52f2f0a5c8a4494022c37c8f363e850eb98d74ba910276267a7b5b4f927ed
DIST llama-cpp-0_pre6002.tar.gz 25253850 BLAKE2B 0767feea94598bbe6ea4a27b20dfda9c3423a9a6c6e4fc66f464c58fda2b13becdd703789604f7a2b424e335ddbe7eef3ee9ee33415ce135ed6eda2456578cca SHA512 57777dc0bfc7386daac6d0ea677d9c56e0db2feac7fa83f2468a057fca5d5ba829bb332ee64ba6049c969cdd7c2eca7501fe401f1bd5f4e8728ce453b160511f
+DIST llama-cpp-0_pre6092.tar.gz 25460137 BLAKE2B 0860e6a6e469765d2a81202713e635eb9c3b269d6f6b57c09fe2c8d462b2c03e65858195ff89ce685fae14fa1c25bfe1fc4ce0fa40bfeabf85ce566867848be3 SHA512 3975d176316cc9f3fdfa2183581ca4c57b30f3fc9c15d7eb94144be2de323d5fd2cd82fc345965cc1b8334059657a7666331efdb4fa7adf74114282ecb2abbec
diff --git a/sci-misc/llama-cpp/llama-cpp-0_pre5857.ebuild b/sci-misc/llama-cpp/llama-cpp-0_pre6092.ebuild
similarity index 100%
rename from sci-misc/llama-cpp/llama-cpp-0_pre5857.ebuild
rename to sci-misc/llama-cpp/llama-cpp-0_pre6092.ebuild
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/llama-cpp/
@ 2025-08-10 0:37 Sergey Alirzaev
0 siblings, 0 replies; 28+ messages in thread
From: Sergey Alirzaev @ 2025-08-10 0:37 UTC (permalink / raw
To: gentoo-commits
commit: 3733474f9c1d366432ae59570970b06833cebb5e
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Sun Aug 10 00:35:22 2025 +0000
Commit: Sergey Alirzaev <zl29ah <AT> gmail <DOT> com>
CommitDate: Sun Aug 10 00:35:22 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3733474f
sci-misc/llama-cpp: handle automagic openmp dep
enabled by default as otherwise results in severe performance hit
see https://github.com/ggml-org/llama.cpp/issues/12171
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
sci-misc/llama-cpp/llama-cpp-0_pre6092.ebuild | 4 +++-
sci-misc/llama-cpp/llama-cpp-9999.ebuild | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/sci-misc/llama-cpp/llama-cpp-0_pre6092.ebuild b/sci-misc/llama-cpp/llama-cpp-0_pre6092.ebuild
index 99dc17ab50..8b6d1fecff 100644
--- a/sci-misc/llama-cpp/llama-cpp-0_pre6092.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-0_pre6092.ebuild
@@ -23,7 +23,7 @@ HOMEPAGE="https://github.com/ggml-org/llama.cpp"
LICENSE="MIT"
SLOT="0"
CPU_FLAGS_X86=( avx avx2 f16c )
-IUSE="curl openblas blis hip cuda opencl vulkan"
+IUSE="curl openblas +openmp blis hip cuda opencl vulkan"
REQUIRED_USE="?? ( openblas blis )"
# curl is needed for pulling models from huggingface
@@ -31,6 +31,7 @@ REQUIRED_USE="?? ( openblas blis )"
CDEPEND="
curl? ( net-misc/curl:= )
openblas? ( sci-libs/openblas:= )
+ openmp? ( llvm-runtimes/openmp:= )
blis? ( sci-libs/blis:= )
hip? ( >=dev-util/hip-6.3:=
>=sci-libs/hipBLAS-6.3:=
@@ -77,6 +78,7 @@ src_configure() {
-DGENTOO_REMOVE_CMAKE_BLAS_HACK=ON
-DGGML_CUDA=$(usex cuda ON OFF)
-DGGML_OPENCL=$(usex opencl ON OFF)
+ -DGGML_OPENMP=$(usex openmp ON OFF)
-DGGML_VULKAN=$(usex vulkan ON OFF)
# avoid clashing with whisper.cpp
diff --git a/sci-misc/llama-cpp/llama-cpp-9999.ebuild b/sci-misc/llama-cpp/llama-cpp-9999.ebuild
index 99dc17ab50..8b6d1fecff 100644
--- a/sci-misc/llama-cpp/llama-cpp-9999.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-9999.ebuild
@@ -23,7 +23,7 @@ HOMEPAGE="https://github.com/ggml-org/llama.cpp"
LICENSE="MIT"
SLOT="0"
CPU_FLAGS_X86=( avx avx2 f16c )
-IUSE="curl openblas blis hip cuda opencl vulkan"
+IUSE="curl openblas +openmp blis hip cuda opencl vulkan"
REQUIRED_USE="?? ( openblas blis )"
# curl is needed for pulling models from huggingface
@@ -31,6 +31,7 @@ REQUIRED_USE="?? ( openblas blis )"
CDEPEND="
curl? ( net-misc/curl:= )
openblas? ( sci-libs/openblas:= )
+ openmp? ( llvm-runtimes/openmp:= )
blis? ( sci-libs/blis:= )
hip? ( >=dev-util/hip-6.3:=
>=sci-libs/hipBLAS-6.3:=
@@ -77,6 +78,7 @@ src_configure() {
-DGENTOO_REMOVE_CMAKE_BLAS_HACK=ON
-DGGML_CUDA=$(usex cuda ON OFF)
-DGGML_OPENCL=$(usex opencl ON OFF)
+ -DGGML_OPENMP=$(usex openmp ON OFF)
-DGGML_VULKAN=$(usex vulkan ON OFF)
# avoid clashing with whisper.cpp
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/llama-cpp/
@ 2025-08-12 21:39 Sergey Alirzaev
0 siblings, 0 replies; 28+ messages in thread
From: Sergey Alirzaev @ 2025-08-12 21:39 UTC (permalink / raw
To: gentoo-commits
commit: a16045671d92d0f8e5b9949eadd44af61e9653e1
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Tue Aug 12 21:38:33 2025 +0000
Commit: Sergey Alirzaev <zl29ah <AT> gmail <DOT> com>
CommitDate: Tue Aug 12 21:38:33 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a1604567
sci-misc/llama-cpp: add 0_pre6140, drop 0_pre6002
for gpt-oss support
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
sci-misc/llama-cpp/Manifest | 2 +-
.../{llama-cpp-0_pre6002.ebuild => llama-cpp-0_pre6140.ebuild} | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/sci-misc/llama-cpp/Manifest b/sci-misc/llama-cpp/Manifest
index 13fbae4c70..643be0d0c0 100644
--- a/sci-misc/llama-cpp/Manifest
+++ b/sci-misc/llama-cpp/Manifest
@@ -2,5 +2,5 @@ DIST llama-cpp-0_pre4576.tar.gz 20506059 BLAKE2B 8f011811e4df1f8d0c26b19f96a7099
DIST llama-cpp-0_pre5097.tar.gz 21018571 BLAKE2B 001241580964aa6874a3aa4dbfa0a8cda58a144578992f6a6df7c5c7887cda847503f47c7f3be7b19bb3758ab6ce8de60435e29129cac71672160b29b1cab340 SHA512 86543cd001014fa4fee01a37d46e1794c2ffac7c25c7ed328aa4afd3d615b7f42b617ca5d8a0a78b5a41e31cb81184fc6f55f58ffd9433acb3f36cb947a620a5
DIST llama-cpp-0_pre5332.tar.gz 21140774 BLAKE2B a390d4c1c6902d90d1e779291e1fcbe69ab57eb35a5df0be6fb3d9edc88b086a18bcf48983b3c0b2e88d0cfaaddbfdeee74fb126b8a758547836f5b83dd4bc33 SHA512 c19c3a6b47684f9466e2872aa67d8516add69028c4fdc7d1abb7a0ff7d87b92adfdaf773cda87461be8e891285c6de34a4edca70244936e8efaf10cc02126a8d
DIST llama-cpp-0_pre5633.tar.gz 24986657 BLAKE2B 6215dbfea54cb23a57419cc5a530be5622ec834c6d005337bcf92c50e152979375592088e215845e8f07c6b3f7eec15132cd15ebf9b0725adabe499951ae4735 SHA512 11a1917eb86c7065ea901cb62bdc7a25d8d7b962358570c2c7ae0c2d7abce6d19ebc6af74512593ebafbb4ee23546128cf8bfee5ba769c4f3cd2e254cdc1a1a4
-DIST llama-cpp-0_pre6002.tar.gz 25253850 BLAKE2B 0767feea94598bbe6ea4a27b20dfda9c3423a9a6c6e4fc66f464c58fda2b13becdd703789604f7a2b424e335ddbe7eef3ee9ee33415ce135ed6eda2456578cca SHA512 57777dc0bfc7386daac6d0ea677d9c56e0db2feac7fa83f2468a057fca5d5ba829bb332ee64ba6049c969cdd7c2eca7501fe401f1bd5f4e8728ce453b160511f
DIST llama-cpp-0_pre6092.tar.gz 25460137 BLAKE2B 0860e6a6e469765d2a81202713e635eb9c3b269d6f6b57c09fe2c8d462b2c03e65858195ff89ce685fae14fa1c25bfe1fc4ce0fa40bfeabf85ce566867848be3 SHA512 3975d176316cc9f3fdfa2183581ca4c57b30f3fc9c15d7eb94144be2de323d5fd2cd82fc345965cc1b8334059657a7666331efdb4fa7adf74114282ecb2abbec
+DIST llama-cpp-0_pre6140.tar.gz 25487270 BLAKE2B 48b809c860437a8eb8b886e417299c2135dcd3c74aa2782b0380b0785b4e8c383c6061bd7ac43e9eddb1e31769ccceb48811a5433d45ac41adb00ece0e6af93d SHA512 d8e904ddd6b935f84230ee163414922f572e71e2dd05d639a5b1a4a36c6841ac476f81be8e39f087712766e88564d8a499cdff4d717a5f910caf9f799a2b998d
diff --git a/sci-misc/llama-cpp/llama-cpp-0_pre6002.ebuild b/sci-misc/llama-cpp/llama-cpp-0_pre6140.ebuild
similarity index 95%
rename from sci-misc/llama-cpp/llama-cpp-0_pre6002.ebuild
rename to sci-misc/llama-cpp/llama-cpp-0_pre6140.ebuild
index 99dc17ab50..8b6d1fecff 100644
--- a/sci-misc/llama-cpp/llama-cpp-0_pre6002.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-0_pre6140.ebuild
@@ -23,7 +23,7 @@ HOMEPAGE="https://github.com/ggml-org/llama.cpp"
LICENSE="MIT"
SLOT="0"
CPU_FLAGS_X86=( avx avx2 f16c )
-IUSE="curl openblas blis hip cuda opencl vulkan"
+IUSE="curl openblas +openmp blis hip cuda opencl vulkan"
REQUIRED_USE="?? ( openblas blis )"
# curl is needed for pulling models from huggingface
@@ -31,6 +31,7 @@ REQUIRED_USE="?? ( openblas blis )"
CDEPEND="
curl? ( net-misc/curl:= )
openblas? ( sci-libs/openblas:= )
+ openmp? ( llvm-runtimes/openmp:= )
blis? ( sci-libs/blis:= )
hip? ( >=dev-util/hip-6.3:=
>=sci-libs/hipBLAS-6.3:=
@@ -77,6 +78,7 @@ src_configure() {
-DGENTOO_REMOVE_CMAKE_BLAS_HACK=ON
-DGGML_CUDA=$(usex cuda ON OFF)
-DGGML_OPENCL=$(usex opencl ON OFF)
+ -DGGML_OPENMP=$(usex openmp ON OFF)
-DGGML_VULKAN=$(usex vulkan ON OFF)
# avoid clashing with whisper.cpp
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/llama-cpp/
@ 2025-08-29 16:25 Sergey Alirzaev
0 siblings, 0 replies; 28+ messages in thread
From: Sergey Alirzaev @ 2025-08-29 16:25 UTC (permalink / raw
To: gentoo-commits
commit: 894d171ba3a079365d5e2a73de290cf14cd71595
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Fri Aug 29 16:25:30 2025 +0000
Commit: Sergey Alirzaev <zl29ah <AT> gmail <DOT> com>
CommitDate: Fri Aug 29 16:25:30 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=894d171b
sci-misc/llama-cpp: add 0_pre6318, drop 0_pre6092
lots of bugfixes and new model architectures
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
sci-misc/llama-cpp/Manifest | 2 +-
.../{llama-cpp-0_pre6092.ebuild => llama-cpp-0_pre6318.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-misc/llama-cpp/Manifest b/sci-misc/llama-cpp/Manifest
index 643be0d0c0..dc9de598e4 100644
--- a/sci-misc/llama-cpp/Manifest
+++ b/sci-misc/llama-cpp/Manifest
@@ -2,5 +2,5 @@ DIST llama-cpp-0_pre4576.tar.gz 20506059 BLAKE2B 8f011811e4df1f8d0c26b19f96a7099
DIST llama-cpp-0_pre5097.tar.gz 21018571 BLAKE2B 001241580964aa6874a3aa4dbfa0a8cda58a144578992f6a6df7c5c7887cda847503f47c7f3be7b19bb3758ab6ce8de60435e29129cac71672160b29b1cab340 SHA512 86543cd001014fa4fee01a37d46e1794c2ffac7c25c7ed328aa4afd3d615b7f42b617ca5d8a0a78b5a41e31cb81184fc6f55f58ffd9433acb3f36cb947a620a5
DIST llama-cpp-0_pre5332.tar.gz 21140774 BLAKE2B a390d4c1c6902d90d1e779291e1fcbe69ab57eb35a5df0be6fb3d9edc88b086a18bcf48983b3c0b2e88d0cfaaddbfdeee74fb126b8a758547836f5b83dd4bc33 SHA512 c19c3a6b47684f9466e2872aa67d8516add69028c4fdc7d1abb7a0ff7d87b92adfdaf773cda87461be8e891285c6de34a4edca70244936e8efaf10cc02126a8d
DIST llama-cpp-0_pre5633.tar.gz 24986657 BLAKE2B 6215dbfea54cb23a57419cc5a530be5622ec834c6d005337bcf92c50e152979375592088e215845e8f07c6b3f7eec15132cd15ebf9b0725adabe499951ae4735 SHA512 11a1917eb86c7065ea901cb62bdc7a25d8d7b962358570c2c7ae0c2d7abce6d19ebc6af74512593ebafbb4ee23546128cf8bfee5ba769c4f3cd2e254cdc1a1a4
-DIST llama-cpp-0_pre6092.tar.gz 25460137 BLAKE2B 0860e6a6e469765d2a81202713e635eb9c3b269d6f6b57c09fe2c8d462b2c03e65858195ff89ce685fae14fa1c25bfe1fc4ce0fa40bfeabf85ce566867848be3 SHA512 3975d176316cc9f3fdfa2183581ca4c57b30f3fc9c15d7eb94144be2de323d5fd2cd82fc345965cc1b8334059657a7666331efdb4fa7adf74114282ecb2abbec
DIST llama-cpp-0_pre6140.tar.gz 25487270 BLAKE2B 48b809c860437a8eb8b886e417299c2135dcd3c74aa2782b0380b0785b4e8c383c6061bd7ac43e9eddb1e31769ccceb48811a5433d45ac41adb00ece0e6af93d SHA512 d8e904ddd6b935f84230ee163414922f572e71e2dd05d639a5b1a4a36c6841ac476f81be8e39f087712766e88564d8a499cdff4d717a5f910caf9f799a2b998d
+DIST llama-cpp-0_pre6318.tar.gz 25626090 BLAKE2B b95826a5fd4ab27927d390cdc091648d1ffe281d5d9946fdfa4e6c8c59fb7461dd1e2b83751c86c575b4f00207bbd0cfbe467a0ae9dfdb3b192356bc77e0f808 SHA512 f3b5655123919a76fa27f1be05ffb2a7f681d7793d4d9e24106739a21846a2918ffdf9ef326ac99a55f6b4943059e4f76de754da894ff6fdd7e2d56a41edc56b
diff --git a/sci-misc/llama-cpp/llama-cpp-0_pre6092.ebuild b/sci-misc/llama-cpp/llama-cpp-0_pre6318.ebuild
similarity index 100%
rename from sci-misc/llama-cpp/llama-cpp-0_pre6092.ebuild
rename to sci-misc/llama-cpp/llama-cpp-0_pre6318.ebuild
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/llama-cpp/
@ 2025-09-12 0:41 Sergey Alirzaev
0 siblings, 0 replies; 28+ messages in thread
From: Sergey Alirzaev @ 2025-09-12 0:41 UTC (permalink / raw
To: gentoo-commits
commit: 8e62615b17434f76bac0392acc51942f41b0ebe9
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Fri Sep 12 00:40:18 2025 +0000
Commit: Sergey Alirzaev <zl29ah <AT> gmail <DOT> com>
CommitDate: Fri Sep 12 00:40:18 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8e62615b
sci-misc/llama-cpp: depend on shaderc for glslc
Closes: https://bugs.gentoo.org/962755
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
sci-misc/llama-cpp/llama-cpp-0_pre6318.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/sci-misc/llama-cpp/llama-cpp-0_pre6318.ebuild b/sci-misc/llama-cpp/llama-cpp-0_pre6318.ebuild
index 8b6d1fecff..acbdfc0735 100644
--- a/sci-misc/llama-cpp/llama-cpp-0_pre6318.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-0_pre6318.ebuild
@@ -47,6 +47,7 @@ RDEPEND="${CDEPEND}
opencl? ( dev-libs/opencl-icd-loader )
vulkan? ( media-libs/vulkan-loader )
"
+BDEPEND="media-libs/shaderc"
pkg_setup() {
if use hip; then
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/llama-cpp/
@ 2025-10-08 2:12 Sergey Alirzaev
0 siblings, 0 replies; 28+ messages in thread
From: Sergey Alirzaev @ 2025-10-08 2:12 UTC (permalink / raw
To: gentoo-commits
commit: acfe4100ae65b6aeff208b50529bd8b132ded8f3
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Wed Oct 8 02:10:18 2025 +0000
Commit: Sergey Alirzaev <zl29ah <AT> gmail <DOT> com>
CommitDate: Wed Oct 8 02:10:18 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=acfe4100
sci-misc/llama-cpp: bump up to 6710, rm old
LFM2-MoE support and fixes
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
sci-misc/llama-cpp/Manifest | 2 +-
sci-misc/llama-cpp/llama-cpp-0_pre5097.ebuild | 93 -------------------
sci-misc/llama-cpp/llama-cpp-0_pre6710.ebuild | 125 ++++++++++++++++++++++++++
3 files changed, 126 insertions(+), 94 deletions(-)
diff --git a/sci-misc/llama-cpp/Manifest b/sci-misc/llama-cpp/Manifest
index dc9de598e4..1947f949f6 100644
--- a/sci-misc/llama-cpp/Manifest
+++ b/sci-misc/llama-cpp/Manifest
@@ -1,6 +1,6 @@
DIST llama-cpp-0_pre4576.tar.gz 20506059 BLAKE2B 8f011811e4df1f8d0c26b19f96a709980e078dc7e769b33cbbb03a852a29b489f80c8a1e298fecea53997068f6b7897e4536ba5db289aa445a1a6f16f98adce3 SHA512 21150721524283454ab53e370fdaf4e766f89fbb8d4b43072b10657d8c8b686630616cddbae7954147a2ba0360ad20c4643761f3774481e13a7b180812935c4e
-DIST llama-cpp-0_pre5097.tar.gz 21018571 BLAKE2B 001241580964aa6874a3aa4dbfa0a8cda58a144578992f6a6df7c5c7887cda847503f47c7f3be7b19bb3758ab6ce8de60435e29129cac71672160b29b1cab340 SHA512 86543cd001014fa4fee01a37d46e1794c2ffac7c25c7ed328aa4afd3d615b7f42b617ca5d8a0a78b5a41e31cb81184fc6f55f58ffd9433acb3f36cb947a620a5
DIST llama-cpp-0_pre5332.tar.gz 21140774 BLAKE2B a390d4c1c6902d90d1e779291e1fcbe69ab57eb35a5df0be6fb3d9edc88b086a18bcf48983b3c0b2e88d0cfaaddbfdeee74fb126b8a758547836f5b83dd4bc33 SHA512 c19c3a6b47684f9466e2872aa67d8516add69028c4fdc7d1abb7a0ff7d87b92adfdaf773cda87461be8e891285c6de34a4edca70244936e8efaf10cc02126a8d
DIST llama-cpp-0_pre5633.tar.gz 24986657 BLAKE2B 6215dbfea54cb23a57419cc5a530be5622ec834c6d005337bcf92c50e152979375592088e215845e8f07c6b3f7eec15132cd15ebf9b0725adabe499951ae4735 SHA512 11a1917eb86c7065ea901cb62bdc7a25d8d7b962358570c2c7ae0c2d7abce6d19ebc6af74512593ebafbb4ee23546128cf8bfee5ba769c4f3cd2e254cdc1a1a4
DIST llama-cpp-0_pre6140.tar.gz 25487270 BLAKE2B 48b809c860437a8eb8b886e417299c2135dcd3c74aa2782b0380b0785b4e8c383c6061bd7ac43e9eddb1e31769ccceb48811a5433d45ac41adb00ece0e6af93d SHA512 d8e904ddd6b935f84230ee163414922f572e71e2dd05d639a5b1a4a36c6841ac476f81be8e39f087712766e88564d8a499cdff4d717a5f910caf9f799a2b998d
DIST llama-cpp-0_pre6318.tar.gz 25626090 BLAKE2B b95826a5fd4ab27927d390cdc091648d1ffe281d5d9946fdfa4e6c8c59fb7461dd1e2b83751c86c575b4f00207bbd0cfbe467a0ae9dfdb3b192356bc77e0f808 SHA512 f3b5655123919a76fa27f1be05ffb2a7f681d7793d4d9e24106739a21846a2918ffdf9ef326ac99a55f6b4943059e4f76de754da894ff6fdd7e2d56a41edc56b
+DIST llama-cpp-0_pre6710.tar.gz 25894417 BLAKE2B 147f30d76fd49bf18fa0ab9e3e75d0ad337dcd87a73f1dbce43f180488ea06b40b1a2a93b4686a88b5a442dd4dd6a8e45bf848ceb549bdc0ad0078427336c56e SHA512 75c5918713256cb11f704b94d6e249a9f3ac2dde1107a6f4506134ba9c772e1c42d991915b571887207003f4b0679a183cd0787ffd742a08d2283fdfb86695eb
diff --git a/sci-misc/llama-cpp/llama-cpp-0_pre5097.ebuild b/sci-misc/llama-cpp/llama-cpp-0_pre5097.ebuild
deleted file mode 100644
index b4db64b49d..0000000000
--- a/sci-misc/llama-cpp/llama-cpp-0_pre5097.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ROCM_VERSION="6.3"
-
-inherit cmake rocm
-
-if [[ "${PV}" != "9999" ]]; then
- KEYWORDS="~amd64"
- MY_PV="b${PV#0_pre}"
- S="${WORKDIR}/llama.cpp-${MY_PV}"
- SRC_URI="https://github.com/ggerganov/llama.cpp/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
-else
- inherit git-r3
- EGIT_REPO_URI="https://github.com/ggerganov/llama.cpp.git"
-fi
-
-DESCRIPTION="Port of Facebook's LLaMA model in C/C++"
-HOMEPAGE="https://github.com/ggerganov/llama.cpp"
-
-LICENSE="MIT"
-SLOT="0"
-CPU_FLAGS_X86=( avx avx2 f16c )
-IUSE="curl openblas blis hip"
-REQUIRED_USE="?? ( openblas blis )"
-
-AMDGPU_TARGETS_COMPAT=(
- gfx900
- gfx90c
- gfx902
- gfx1010
- gfx1011
- gfx1012
- gfx1030
- gfx1031
- gfx1032
- gfx1034
- gfx1035
- gfx1036
- gfx1100
- gfx1101
- gfx1102
- gfx1103
- gfx1150
- gfx1151
-)
-
-# curl is needed for pulling models from huggingface
-# numpy is used by convert_hf_to_gguf.py
-DEPEND="
- curl? ( net-misc/curl:= )
- openblas? ( sci-libs/openblas:= )
- blis? ( sci-libs/blis:= )
- hip? ( >=dev-util/hip-6.3:= )
-"
-RDEPEND="${DEPEND}
- dev-python/numpy
-"
-PATCHES=( "${FILESDIR}/blas-ld.diff" )
-
-src_configure() {
- local mycmakeargs=(
- -DLLAMA_BUILD_TESTS=OFF
- -DLLAMA_BUILD_SERVER=ON
- -DCMAKE_SKIP_BUILD_RPATH=ON
- -DGGML_NATIVE=0 # don't set march
- -DLLAMA_CURL=$(usex curl ON OFF)
- -DBUILD_NUMBER="1"
- )
-
- if use openblas ; then
- mycmakeargs+=(
- -DGGML_BLAS=ON -DGGML_BLAS_VENDOR=OpenBLAS
- )
- fi
-
- if use blis ; then
- mycmakeargs+=(
- -DGGML_BLAS=ON -DGGML_BLAS_VENDOR=FLAME
- )
- fi
-
- if use hip; then
- rocm_use_hipcc
- mycmakeargs+=(
- -DGGML_HIP=ON -DAMDGPU_TARGETS=$(get_amdgpu_flags)
- )
- fi
-
- cmake_src_configure
-}
diff --git a/sci-misc/llama-cpp/llama-cpp-0_pre6710.ebuild b/sci-misc/llama-cpp/llama-cpp-0_pre6710.ebuild
new file mode 100644
index 0000000000..acbdfc0735
--- /dev/null
+++ b/sci-misc/llama-cpp/llama-cpp-0_pre6710.ebuild
@@ -0,0 +1,125 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ROCM_VERSION="6.3"
+
+inherit cmake cuda rocm linux-info
+
+if [[ "${PV}" != "9999" ]]; then
+ KEYWORDS="~amd64"
+ MY_PV="b${PV#0_pre}"
+ S="${WORKDIR}/llama.cpp-${MY_PV}"
+ SRC_URI="https://github.com/ggml-org/llama.cpp/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
+else
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/ggml-org/llama.cpp.git"
+fi
+
+DESCRIPTION="Port of Facebook's LLaMA model in C/C++"
+HOMEPAGE="https://github.com/ggml-org/llama.cpp"
+
+LICENSE="MIT"
+SLOT="0"
+CPU_FLAGS_X86=( avx avx2 f16c )
+IUSE="curl openblas +openmp blis hip cuda opencl vulkan"
+REQUIRED_USE="?? ( openblas blis )"
+
+# curl is needed for pulling models from huggingface
+# numpy is used by convert_hf_to_gguf.py
+CDEPEND="
+ curl? ( net-misc/curl:= )
+ openblas? ( sci-libs/openblas:= )
+ openmp? ( llvm-runtimes/openmp:= )
+ blis? ( sci-libs/blis:= )
+ hip? ( >=dev-util/hip-6.3:=
+ >=sci-libs/hipBLAS-6.3:=
+ )
+ cuda? ( dev-util/nvidia-cuda-toolkit:= )
+"
+DEPEND="${CDEPEND}
+ opencl? ( dev-util/opencl-headers )
+ vulkan? ( dev-util/vulkan-headers )
+"
+RDEPEND="${CDEPEND}
+ dev-python/numpy
+ opencl? ( dev-libs/opencl-icd-loader )
+ vulkan? ( media-libs/vulkan-loader )
+"
+BDEPEND="media-libs/shaderc"
+
+pkg_setup() {
+ if use hip; then
+ linux-info_pkg_setup
+ if linux-info_get_any_version && linux_config_exists; then
+ if ! linux_chkconfig_present HSA_AMD_SVM; then
+ ewarn "To use ROCm/HIP, you need to have HSA_AMD_SVM option enabled in your kernel."
+ fi
+ fi
+
+ fi
+}
+
+src_prepare() {
+ use cuda && cuda_src_prepare
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DLLAMA_BUILD_TESTS=OFF
+ -DLLAMA_BUILD_SERVER=ON
+ -DCMAKE_SKIP_BUILD_RPATH=ON
+ -DGGML_NATIVE=0 # don't set march
+ -DGGML_RPC=ON
+ -DLLAMA_CURL=$(usex curl ON OFF)
+ -DBUILD_NUMBER="1"
+ -DGENTOO_REMOVE_CMAKE_BLAS_HACK=ON
+ -DGGML_CUDA=$(usex cuda ON OFF)
+ -DGGML_OPENCL=$(usex opencl ON OFF)
+ -DGGML_OPENMP=$(usex openmp ON OFF)
+ -DGGML_VULKAN=$(usex vulkan ON OFF)
+
+ # avoid clashing with whisper.cpp
+ -DCMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)/llama.cpp"
+ -DCMAKE_INSTALL_RPATH="${EPREFIX}/usr/$(get_libdir)/llama.cpp"
+ )
+
+ if use openblas ; then
+ mycmakeargs+=(
+ -DGGML_BLAS=ON -DGGML_BLAS_VENDOR=OpenBLAS
+ )
+ fi
+
+ if use blis ; then
+ mycmakeargs+=(
+ -DGGML_BLAS=ON -DGGML_BLAS_VENDOR=FLAME
+ )
+ fi
+
+ if use cuda; then
+ local -x CUDAHOSTCXX="$(cuda_gccdir)"
+ # tries to recreate dev symlinks
+ cuda_add_sandbox
+ addpredict "/dev/char/"
+ fi
+
+ if use hip; then
+ rocm_use_hipcc
+ mycmakeargs+=(
+ -DGGML_HIP=ON -DAMDGPU_TARGETS=$(get_amdgpu_flags)
+ )
+ fi
+
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ dobin "${BUILD_DIR}/bin/rpc-server"
+
+ # avoid clashing with whisper.cpp
+ rm -rf "${ED}/usr/include"
+}
^ permalink raw reply related [flat|nested] 28+ messages in thread
end of thread, other threads:[~2025-10-08 2:12 UTC | newest]
Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-17 12:57 [gentoo-commits] repo/proj/guru:dev commit in: sci-misc/llama-cpp/ Sergey Alirzaev
-- strict thread matches above, loose matches on Subject: below --
2025-10-08 2:12 Sergey Alirzaev
2025-09-12 0:41 Sergey Alirzaev
2025-08-29 16:25 Sergey Alirzaev
2025-08-12 21:39 Sergey Alirzaev
2025-08-10 0:37 Sergey Alirzaev
2025-08-05 20:26 Sergey Alirzaev
2025-07-31 15:04 Sergey Alirzaev
2025-07-27 22:59 Sergey Alirzaev
2025-07-23 23:36 David Roman
2025-07-23 12:49 Piotr Kubaj
2025-07-22 18:44 Paul Zander
2025-07-10 0:16 Sergey Alirzaev
2025-07-04 2:17 Sergey Alirzaev
2025-07-03 22:22 Sergey Alirzaev
2025-07-03 19:33 Sergey Alirzaev
2025-06-11 12:53 Sergey Alirzaev
2025-05-09 23:39 Sergey Alirzaev
2025-04-10 19:52 Sergey Alirzaev
2025-03-07 11:16 Sergey Alirzaev
2025-02-23 17:54 Sergey Alirzaev
2025-02-20 14:58 Sergey Alirzaev
2025-02-08 16:59 Alexey Korepanov
2025-02-01 11:21 Sergey Alirzaev
2025-01-29 0:14 Sergey Alirzaev
2025-01-29 0:11 Sergey Alirzaev
2025-01-27 15:10 Takuya Wakazono
2025-01-27 11:52 Sergey Alirzaev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox