GNU bug report logs - #69990
[PATCH] gnu: llama-cpp: mark as tunable per CPU architecture

Previous Next

Package: guix-patches;

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

Date: Sun, 24 Mar 2024 21:08: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 69990 in the body.
You can then email your comments to 69990 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#69990; Package guix-patches. (Sun, 24 Mar 2024 21:08: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. (Sun, 24 Mar 2024 21:08: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] gnu: llama-cpp: mark as tunable per CPU architecture
Date: Sun, 24 Mar 2024 17:05:49 -0400
* 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(+)

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





bug closed, send any further explanations to 69990 <at> debbugs.gnu.org and John Fremlin <john <at> fremlin.org> Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 08 Apr 2024 09:06:02 GMT) Full text and rfc822 format available.

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

This bug report was last modified 10 days ago.

Previous Next


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