[PATCH] gnu: llama-cpp: Update to commit 2e6cd4b

  • Done
  • quality assurance status badge
Details
One participant
  • Andy Tai
Owner
unassigned
Submitted by
Andy Tai
Severity
normal

Debbugs page

Andy Tai wrote 2 years ago
(address . guix-patches@gnu.org)(name . Andy Tai)(address . atai@atai.org)
c2307f6902f531b5076a6cc5864cca7eb22b5e1d.1684821411.git.atai@atai.org
* gnu/packages/machine-learning.scm (llama-cpp): Update to commit 2e6cd4b
---
gnu/packages/machine-learning.scm | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)

Toggle diff (41 lines)
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
Andy Tai wrote 2 years ago
(name . GNU bug tracker automated control server)(address . control@debbugs.gnu.org)
CAJsg1E-K-f62NCpyTajpb6ydQWRNuLKuZapMM=CKT93b-18Ujw@mail.gmail.com
close 63656
thanks
obsolete
?
Your comment

This issue is archived.

To comment on this conversation send an email to 63656@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 63656
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help