[PATCH] gnu: llama-cpp: mark as tunable per CPU architecture

  • Done
  • quality assurance status badge
Details
2 participants
  • John Fremlin
  • Ludovic Courtès
Owner
unassigned
Submitted by
John Fremlin
Severity
normal

Debbugs page

J
J
John Fremlin wrote on 24 Mar 14:05 -0700
(address . guix-patches@gnu.org)(name . John Fremlin)(address . john@fremlin.org)
e17975e8b72d1b2cc11554b5b177e3b7bd044701.1711314349.git.john@fremlin.org
* gnu/packages/machine-learning.scm (llama-cpp): add tunable property.

Otherwise llama-cpp will use FMA4 instructions leading to SIGILL on even
recent AMD chips, that do not support them.

Change-Id: Ie69086cb9c3ed609d6bf73b0abf0c6f9df7220b1
---
gnu/packages/machine-learning.scm | 1 +
1 file changed, 1 insertion(+)

Toggle diff (16 lines)
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 003be7e3c6..79fa425de3 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -538,6 +538,7 @@ (define-public llama-cpp
(file-name (git-file-name name version))
(sha256
(base32 "1ag1jash84hasz10h0piw72a8ginm8kzvhihbzzljz96gq2kjm88"))))
+ (properties '((tunable? . #true)))
(build-system cmake-build-system)
(arguments
(list

base-commit: 28bc0e870b4d48b8e3e773382bb0e999df2e3611
--
2.41.0
L
L
Ludovic Courtès wrote on 8 Apr 02:04 -0700
control message for bug #69990
(address . control@debbugs.gnu.org)
87msq4rzrl.fsf@gnu.org
close 69990
quit
?
Your comment

This issue is archived.

To comment on this conversation send an email to 69990@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 69990
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