summaryrefslogtreecommitdiff
path: root/epistemia/packages
diff options
context:
space:
mode:
authorVineet Kumar <git@vineetk.net>2026-05-23 11:18:34 -0400
committerVineet Kumar <git@vineetk.net>2026-05-23 11:36:52 -0400
commitd736c8ec34b710a3fcc6da00da239593520e5af4 (patch)
tree294f23858775142b8aabe9d757b1c028d0e0b6b0 /epistemia/packages
parent7da120742ed958b14fe73864155a03c7077b5fc1 (diff)
packages/machine-learning: update llama-cpp-rocm to b9296
Diffstat (limited to 'epistemia/packages')
-rw-r--r--epistemia/packages/machine-learning.scm16
1 files changed, 13 insertions, 3 deletions
diff --git a/epistemia/packages/machine-learning.scm b/epistemia/packages/machine-learning.scm
index 9bfb515..4f3eafb 100644
--- a/epistemia/packages/machine-learning.scm
+++ b/epistemia/packages/machine-learning.scm
@@ -16,7 +16,7 @@
16 #:use-module (gnu packages rocm-libs)) 16 #:use-module (gnu packages rocm-libs))
17 17
18(define-public llama-cpp-rocm 18(define-public llama-cpp-rocm
19 (let ((tag "87589042cac2c390cec8d68fb2fad64e0a2a252a")) 19 (let ((tag "b9296"))
20 (package 20 (package
21 (inherit llama-cpp) 21 (inherit llama-cpp)
22 (name "llama-cpp-rocm") 22 (name "llama-cpp-rocm")
@@ -29,14 +29,14 @@
29 (commit tag))) 29 (commit tag)))
30 (file-name (git-file-name name tag)) 30 (file-name (git-file-name name tag))
31 (sha256 31 (sha256
32 (base32 "08q6k02rrrzizhlhfyw3bdqq03vrl6yaz8h91i5zach26ck01c3k")))) 32 (base32 "1j9icqkqaap00lhlns4j98yxd3x5h48n1izbal2i6s3vwbg0c2ib"))))
33 (arguments 33 (arguments
34 (substitute-keyword-arguments (package-arguments llama-cpp) 34 (substitute-keyword-arguments (package-arguments llama-cpp)
35 ((#:configure-flags flags #~'()) 35 ((#:configure-flags flags #~'())
36 #~(append #$flags 36 #~(append #$flags
37 '(;; CMAKE_HIP_FLAGS is to workaround regression in ROCm 7.2 37 '(;; CMAKE_HIP_FLAGS is to workaround regression in ROCm 7.2
38 "-DCMAKE_HIP_FLAGS=\"-mllvm --amdgpu-unroll-threshold-local=600\"" 38 "-DCMAKE_HIP_FLAGS=\"-mllvm --amdgpu-unroll-threshold-local=600\""
39 "-DGPU_TARGETS=gfx1100" 39 #$(string-append "-DGPU_TARGETS=" (current-amd-gpu-targets-string))
40 ;; temporarily disable webui building until I figure out how to add second source for hf bucket 40 ;; temporarily disable webui building until I figure out how to add second source for hf bucket
41 "-DLLAMA_USE_PREBUILT_UI=OFF" "-DLLAMA_BUILD_UI=OFF"))) 41 "-DLLAMA_USE_PREBUILT_UI=OFF" "-DLLAMA_BUILD_UI=OFF")))
42 ((#:phases phases) 42 ((#:phases phases)
@@ -45,9 +45,19 @@
45 (add-after 'fix-tests 'fix-tests-new 45 (add-after 'fix-tests 'fix-tests-new
46 (lambda _ 46 (lambda _
47 (substitute* "tests/CMakeLists.txt" 47 (substitute* "tests/CMakeLists.txt"
48 (("llama_build_and_test\\(test-state-restore-fragmented\\.cpp .*")
49 "")
50 (("set_tests_properties\\(test-state-restore-fragmented PROPERTIES.*")
51 ""))
52 (substitute* "tests/CMakeLists.txt"
48 (("llama_build_and_test\\(test-recurrent-state-rollback\\.cpp .*") 53 (("llama_build_and_test\\(test-recurrent-state-rollback\\.cpp .*")
49 "") 54 "")
50 (("set_tests_properties\\(test-recurrent-state-rollback PROPERTIES.*") 55 (("set_tests_properties\\(test-recurrent-state-rollback PROPERTIES.*")
56 ""))
57 (substitute* "tests/CMakeLists.txt"
58 (("llama_build_and_test\\(test-save-load-state\\.cpp .*")
59 "")
60 (("set_tests_properties\\(test-save-load-state PROPERTIES.*")
51 "")))) 61 ""))))
52 (delete 'fix-python-shebang))))) 62 (delete 'fix-python-shebang)))))
53 (inputs 63 (inputs