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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 69102 in the body.
You can then email your comments to 69102 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#69102; Package guix-patches. (Tue, 13 Feb 2024 15:33:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to John Fremlin <john <at> fremlin.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 13 Feb 2024 15:33:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Sat, 02 Mar 2024 16:10:02 GMT) Full text and rfc822 format available.

Notification sent to John Fremlin <john <at> fremlin.org>:
bug acknowledged by developer. (Sat, 02 Mar 2024 16:10:02 GMT) Full text and rfc822 format available.

Message #10 received at 69102-done <at> debbugs.gnu.org (full text, mbox):

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’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 31 Mar 2024 11:24:05 GMT) Full text and rfc822 format available.

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

Previous Next


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