GNU bug report logs - #69102
[PATCH] Update llama-cpp hashes to latest version and add new script names

Previous Next

Package: guix-patches;

Reported by: John Fremlin <john <at> fremlin.org>

Date: Tue, 13 Feb 2024 15:33:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#69102: closed ([PATCH] Update llama-cpp hashes to latest
 version and add new script names)
Date: Sat, 02 Mar 2024 16:10:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 02 Mar 2024 17:09:13 +0100
with message-id <87sf18d39y.fsf <at> gnu.org>
and subject line Re: [bug#69102] [PATCH] Update llama-cpp hashes to latest version and add new script names
has caused the debbugs.gnu.org bug report #69102,
regarding [PATCH] Update llama-cpp hashes to latest version and add new script names
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
69102: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=69102
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: John Fremlin <john <at> fremlin.org>
To: guix-patches <at> gnu.org
Cc: John Fremlin <john <at> fremlin.org>
Subject: [PATCH] Update llama-cpp hashes to latest version and add new script
 names
Date: Tue, 13 Feb 2024 10:32:12 -0500
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



[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: John Fremlin <john <at> fremlin.org>
Cc: 69102-done <at> debbugs.gnu.org
Subject: Re: [bug#69102] [PATCH] Update llama-cpp hashes to latest version
 and add new script names
Date: Sat, 02 Mar 2024 17:09:13 +0100
Hi,

John Fremlin <john <at> 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’.


This bug report was last modified 1 year and 82 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.