[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69990] [PATCH] gnu: llama-cpp: mark as tunable per CPU architecture
From: |
John Fremlin |
Subject: |
[bug#69990] [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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug#69990] [PATCH] gnu: llama-cpp: mark as tunable per CPU architecture,
John Fremlin <=