commit eaf10d0d48203b48d472ec009d6756d185ec7cfe
parent 65612e30ae71678df9e62aacf3f8c11cad34dd4c
Author: Vineet Kumar <git@vineetk.net>
Date: Wed, 18 Mar 2026 15:58:57 -0400
demiurge: keep a locally-updated llama.cpp via transformations
Diffstat:
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/epistemia/systems/demiurge.scm b/epistemia/systems/demiurge.scm
@@ -23,6 +23,7 @@
#:use-module (gnu system accounts)
#:use-module (guix)
#:use-module (guix gexp)
+ #:use-module (guix transformations)
#:use-module (guix utils)
#:use-module (nongnu packages linux)
#:use-module (nongnu system linux-initrd)
@@ -45,6 +46,13 @@
(uri "/")
(body (list (string-append "proxy_pass http://127.0.0.1:" (number->string proxy-port) ";"))))))))
+;; upstream guix updates slowly
+(define update-llama-cpp
+ (options->transformation
+ '((without-tests . "llama-cpp")
+ (with-commit . "ggml=v0.9.8")
+ (with-commit . "llama-cpp=b8411"))))
+
(operating-system
(inherit base-system)
(host-name "demiurge.epistemia")
@@ -105,7 +113,7 @@
(packages (append (list emacs-no-x
git
- llama-cpp ; TODO make rocm version (upstream is only cpu and vulkan)
+ (update-llama-cpp llama-cpp)
zfs-linux)
%base-packages))