unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#63656] [PATCH] gnu: llama-cpp: Update to commit 2e6cd4b
@ 2023-05-23  5:57 Andy Tai
  0 siblings, 0 replies; only message in thread
From: Andy Tai @ 2023-05-23  5:57 UTC (permalink / raw)
  To: 63656; +Cc: Andy Tai

* gnu/packages/machine-learning.scm (llama-cpp): Update to commit 2e6cd4b
---
 gnu/packages/machine-learning.scm | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 269bfd4459..b3d74bda48 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -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

base-commit: e3d3501f73333face5715383c925a9cba2f0772b
prerequisite-patch-id: 40c26bda63a766b003facd4969c98c45046cbf12
-- 
2.40.1





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-23  5:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-23  5:57 [bug#63656] [PATCH] gnu: llama-cpp: Update to commit 2e6cd4b Andy Tai

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).