@@ -405,7 +405,7 @@ (define-public guile-aiscm-next
(deprecated-package "guile-aiscm-next" guile-aiscm))
(define-public llama-cpp
- (let ((commit "3cd8dde0d1357b7f11bdd25c45d5bf5e97e284a0")
+ (let ((commit "2e6cd4b02549e343bef3768e6b946f999c82e823")
(revision "0"))
(package
(name "llama-cpp")
@@ -418,7 +418,7 @@ (define-public llama-cpp
(commit (string-append "master-" (string-take commit 7)))))
(file-name (git-file-name name version))
(sha256
- (base32 "0i7c92cxqs31xklrn688978kk29agivgxjgvsb45wzm65gc6hm5c"))))
+ (base32 "0pyia26czpqdyncgx18j639xjxx02m1c5x4iwzqv5y09y5xkfdjp"))))
(build-system cmake-build-system)
(arguments
(list
@@ -446,11 +446,8 @@ (define-public llama-cpp
(chmod (string-append bin script) #o555)))
(mkdir-p bin)
(make-script "convert-pth-to-ggml")
- (make-script "convert-gptq-to-ggml")
- (make-script "quantize.py")
- (substitute* (string-append bin "quantize.py")
- (("os\\.getcwd\\(\\), quantize_script_binary")
- (string-append "\"" bin "\", quantize_script_binary"))))))
+ (make-script "convert-lora-to-ggml")
+ (make-script "convert"))))
(add-after 'install-python-scripts 'wrap-python-scripts
(assoc-ref python:%standard-phases 'wrap))
(replace 'install