1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-29 13:31:16 +02:00

gnu: llama-cpp: Reduce closure size.

* gnu/packages/machine-learning.scm (llama-cpp)[inputs]: Remove
python-gguf.
[propagated-inputs]: Remove python-pytorch; add python-jinja2.

Fixes guix/guix#7263
Merges guix/guix!7266

Change-Id: Ide6ef7e02beadc50c412e3a766d11203c497827e
This commit is contained in:
Cayetano Santos
2026-03-18 11:43:05 +01:00
parent 10f6052962
commit 34fc68cb2c

View File

@@ -920,12 +920,12 @@ NumPy @code{dtype} extensions used in machine learning libraries, including:
(find-files (string-append #$output "/bin")
"^test-")))))))
(inputs
(list curl ggml glslang python-gguf python-minimal spirv-headers
(list curl ggml glslang python-minimal spirv-headers
spirv-tools vulkan-headers vulkan-loader openssl))
(native-inputs
(list bash-minimal pkg-config python-minimal-wrapper shaderc))
(propagated-inputs
(list python-numpy python-pytorch python-sentencepiece))
(list python-numpy python-jinja2 python-sentencepiece))
(properties '((tunable? . #true))) ;use AVX512, FMA, etc. when available
(home-page "https://github.com/ggml-org/llama.cpp")
(synopsis "Port of Facebook's LLaMA model in C/C++")