~ruther/guix-local

da9b9208a337eed6a839f03f7a3ccc6a10975c99 — Cayetano Santos 10 months ago 997905b
gnu: llama-cpp: Adjust inputs.

* gnu/packages/machine-learning.scm (llama-cpp)[inputs]: Sort; add
openblas, spirv-headers, spirv-tools, python-minimal; remove python.
[native-inputs]: Sort.
[propagated-inputs]: Remove openblas.

Change-Id: Idf103eee418565507ab9899bac52a776b9f697be
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
1 files changed, 6 insertions(+), 4 deletions(-)

M gnu/packages/machine-learning.scm
M gnu/packages/machine-learning.scm => gnu/packages/machine-learning.scm +6 -4
@@ 763,11 763,13 @@ Performance is achieved by using the LLVM JIT compiler.")
                                       (string-append (assoc-ref outputs "out")
                                                      "/bin")
                                       "^test-")))))))
      (inputs (list curl glslang python python-gguf
                    vulkan-headers vulkan-loader))
      (native-inputs (list pkg-config shaderc bash-minimal))
      (inputs
       (list curl glslang python-gguf python-minimal openblas spirv-headers
             spirv-tools vulkan-headers vulkan-loader))
      (native-inputs
       (list bash-minimal pkg-config shaderc))
      (propagated-inputs
       (list python-numpy python-pytorch python-sentencepiece openblas))
       (list python-numpy python-pytorch 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++")