gnu: llama-cpp: Update to 03bf16.
* gnu/packages/machine-learning.scm (llama-cpp): Update to 03bf161eb6dea6400ee49c6dc6b69bdcfa9fd3fc. [arguments]: Adjust program names. Change-Id: I9f5474606dd01be73fbc50813250991e9d248d85 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
ef788ee2dc
commit
6e7484808f
@ -524,8 +524,8 @@ Performance is achieved by using the LLVM JIT compiler.")
|
|||||||
(deprecated-package "guile-aiscm-next" guile-aiscm))
|
(deprecated-package "guile-aiscm-next" guile-aiscm))
|
||||||
|
|
||||||
(define-public llama-cpp
|
(define-public llama-cpp
|
||||||
(let ((commit "f31b5397143009d682db90fd2a6cde83f1ef00eb")
|
(let ((commit "03bf161eb6dea6400ee49c6dc6b69bdcfa9fd3fc")
|
||||||
(revision "0"))
|
(revision "1"))
|
||||||
(package
|
(package
|
||||||
(name "llama-cpp")
|
(name "llama-cpp")
|
||||||
(version (git-version "0.0.0" revision commit))
|
(version (git-version "0.0.0" revision commit))
|
||||||
@ -534,10 +534,10 @@ Performance is achieved by using the LLVM JIT compiler.")
|
|||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/ggerganov/llama.cpp")
|
(url "https://github.com/ggerganov/llama.cpp")
|
||||||
(commit (string-append "master-" (string-take commit 7)))))
|
(commit commit)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0ys6n53n032zq1ll9f3vgxk8sw0qq7x3fi7awsyy13adzp3hn08p"))))
|
(base32 "1ag1jash84hasz10h0piw72a8ginm8kzvhihbzzljz96gq2kjm88"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
@ -564,8 +564,10 @@ Performance is achieved by using the LLVM JIT compiler.")
|
|||||||
(get-string-all input))))))
|
(get-string-all input))))))
|
||||||
(chmod (string-append bin script) #o555)))
|
(chmod (string-append bin script) #o555)))
|
||||||
(mkdir-p bin)
|
(mkdir-p bin)
|
||||||
(make-script "convert-pth-to-ggml")
|
(make-script "convert-hf-to-gguf")
|
||||||
|
(make-script "convert-llama-ggml-to-gguf")
|
||||||
(make-script "convert-lora-to-ggml")
|
(make-script "convert-lora-to-ggml")
|
||||||
|
(make-script "convert-persimmon-to-gguf")
|
||||||
(make-script "convert"))))
|
(make-script "convert"))))
|
||||||
(add-after 'install-python-scripts 'wrap-python-scripts
|
(add-after 'install-python-scripts 'wrap-python-scripts
|
||||||
(assoc-ref python:%standard-phases 'wrap))
|
(assoc-ref python:%standard-phases 'wrap))
|
||||||
|
Loading…
Reference in New Issue
Block a user