all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#69102] [PATCH] Update llama-cpp hashes to latest version and add new script names
@ 2024-02-13 15:32 John Fremlin via Guix-patches via
  2024-03-02 16:09 ` bug#69102: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: John Fremlin via Guix-patches via @ 2024-02-13 15:32 UTC (permalink / raw)
  To: 69102; +Cc: John Fremlin

Change-Id: I9f5474606dd01be73fbc50813250991e9d248d85
---
 gnu/packages/machine-learning.scm | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 2e20872555..53e152a88f 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -522,7 +522,7 @@ (define-public guile-aiscm-next
   (deprecated-package "guile-aiscm-next" guile-aiscm))
 
 (define-public llama-cpp
-  (let ((commit "f31b5397143009d682db90fd2a6cde83f1ef00eb")
+  (let ((commit "03bf161eb6dea6400ee49c6dc6b69bdcfa9fd3fc")
         (revision "0"))
     (package
       (name "llama-cpp")
@@ -532,10 +532,10 @@ (define-public llama-cpp
          (method git-fetch)
          (uri (git-reference
                (url "https://github.com/ggerganov/llama.cpp")
-               (commit (string-append "master-" (string-take commit 7)))))
+               (commit commit)))
          (file-name (git-file-name name version))
          (sha256
-          (base32 "0ys6n53n032zq1ll9f3vgxk8sw0qq7x3fi7awsyy13adzp3hn08p"))))
+          (base32 "1ag1jash84hasz10h0piw72a8ginm8kzvhihbzzljz96gq2kjm88"))))
       (build-system cmake-build-system)
       (arguments
        (list
@@ -562,8 +562,10 @@ (define-public llama-cpp
                                       (get-string-all input))))))
                       (chmod (string-append bin script) #o555)))
                   (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-persimmon-to-gguf")
                   (make-script "convert"))))
             (add-after 'install-python-scripts 'wrap-python-scripts
               (assoc-ref python:%standard-phases 'wrap))

base-commit: ffc7650c11fd7c4b9f7b4894f8e0a451e0e49063
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#69102: [PATCH] Update llama-cpp hashes to latest version and add new script names
  2024-02-13 15:32 [bug#69102] [PATCH] Update llama-cpp hashes to latest version and add new script names John Fremlin via Guix-patches via
@ 2024-03-02 16:09 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2024-03-02 16:09 UTC (permalink / raw)
  To: John Fremlin; +Cc: 69102-done

Hi,

John Fremlin <john@fremlin.org> skribis:

>  (define-public llama-cpp
> -  (let ((commit "f31b5397143009d682db90fd2a6cde83f1ef00eb")
> +  (let ((commit "03bf161eb6dea6400ee49c6dc6b69bdcfa9fd3fc")
>          (revision "0"))

I bumped ‘revision’, tweaked the commit log according to our
conventions, and applied.

Thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-02 16:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-13 15:32 [bug#69102] [PATCH] Update llama-cpp hashes to latest version and add new script names John Fremlin via Guix-patches via
2024-03-02 16:09 ` bug#69102: " Ludovic Courtès

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.