summaryrefslogtreecommitdiff
path: root/gnu/packages/machine-learning.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/machine-learning.scm')
-rw-r--r--gnu/packages/machine-learning.scm12
1 files changed, 4 insertions, 8 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index f9b3778c4f7..d9f4a921804 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -2222,7 +2222,6 @@ with a single function call.")
2222 ;; XXX: Fixes build with gcc@14. 2222 ;; XXX: Fixes build with gcc@14.
2223 "-DCMAKE_CXX_FLAGS=-Wl,-z,noexecstack") 2223 "-DCMAKE_CXX_FLAGS=-Wl,-z,noexecstack")
2224 #:phases 2224 #:phases
2225 (with-extensions (list (pyproject-guile-json))
2226 #~(modify-phases %standard-phases 2225 #~(modify-phases %standard-phases
2227 (add-after 'unpack 'chdir 2226 (add-after 'unpack 'chdir
2228 (lambda _ 2227 (lambda _
@@ -2285,7 +2284,7 @@ with a single function call.")
2285 ((assoc-ref py:%standard-phases 'sanity-check) 2284 ((assoc-ref py:%standard-phases 'sanity-check)
2286 #:inputs `(("sanity-check.py" . ,#$(default-sanity-check.py)) 2285 #:inputs `(("sanity-check.py" . ,#$(default-sanity-check.py))
2287 ,@inputs) 2286 ,@inputs)
2288 #:outputs `(("out" . ,#$output:python))))))))) 2287 #:outputs `(("out" . ,#$output:python))))))))
2289 (outputs (list "out" "python")) 2288 (outputs (list "out" "python"))
2290 (inputs 2289 (inputs
2291 (list abseil-cpp-20250127 2290 (list abseil-cpp-20250127
@@ -3682,7 +3681,6 @@ Python.")
3682 "-DFARMHASH_SOURCE_DIR=/tmp/farmhash" 3681 "-DFARMHASH_SOURCE_DIR=/tmp/farmhash"
3683 (string-append "-Dgemmlowp_ROOT=" #$(this-package-input "gemmlowp"))) 3682 (string-append "-Dgemmlowp_ROOT=" #$(this-package-input "gemmlowp")))
3684 #:phases 3683 #:phases
3685 (with-extensions (list (pyproject-guile-json))
3686 #~(modify-phases %standard-phases 3684 #~(modify-phases %standard-phases
3687 (add-after 'unpack 'chdir 3685 (add-after 'unpack 'chdir
3688 (lambda _ 3686 (lambda _
@@ -3808,7 +3806,7 @@ find_library(ML_DTYPES_LIBRARIES
3808 ((assoc-ref py:%standard-phases 'sanity-check) 3806 ((assoc-ref py:%standard-phases 'sanity-check)
3809 #:inputs `(("sanity-check.py" . ,#$(default-sanity-check.py)) 3807 #:inputs `(("sanity-check.py" . ,#$(default-sanity-check.py))
3810 ,@inputs) 3808 ,@inputs)
3811 #:outputs `(("out" . ,#$output:python))))))))) 3809 #:outputs `(("out" . ,#$output:python))))))))
3812 (inputs 3810 (inputs
3813 (list abseil-cpp 3811 (list abseil-cpp
3814 cpuinfo 3812 cpuinfo
@@ -4714,7 +4712,6 @@ different backends")
4714 "LLAMA_PORTABLE=1" 4712 "LLAMA_PORTABLE=1"
4715 "LLAMA_USE_BUNDLED_GLSLC=0") ;; TODO: add CLBLAS 4713 "LLAMA_USE_BUNDLED_GLSLC=0") ;; TODO: add CLBLAS
4716 #:phases 4714 #:phases
4717 (with-extensions (list (pyproject-guile-json))
4718 #~(modify-phases %standard-phases 4715 #~(modify-phases %standard-phases
4719 (delete 'configure) 4716 (delete 'configure)
4720 (replace 'install 4717 (replace 'install
@@ -4733,7 +4730,7 @@ different backends")
4733 (wrap-program (search-input-file outputs "bin/koboldcpp.py") 4730 (wrap-program (search-input-file outputs "bin/koboldcpp.py")
4734 `("GUIX_PYTHONPATH" = 4731 `("GUIX_PYTHONPATH" =
4735 (,(getenv "GUIX_PYTHONPATH") 4732 (,(getenv "GUIX_PYTHONPATH")
4736 ,(python:site-packages inputs outputs)))))))))) 4733 ,(python:site-packages inputs outputs)))))))))
4737 (inputs 4734 (inputs
4738 (list bash-minimal 4735 (list bash-minimal
4739 openblas 4736 openblas
@@ -6033,7 +6030,6 @@ definite approximations of Optimal Transport (Wasserstein) distances.
6033 ((guix build pyproject-build-system) #:prefix py:) 6030 ((guix build pyproject-build-system) #:prefix py:)
6034 (guix build utils)) 6031 (guix build utils))
6035 #:phases 6032 #:phases
6036 (with-extensions (list (pyproject-guile-json))
6037 #~(modify-phases %standard-phases 6033 #~(modify-phases %standard-phases
6038 (add-after 'check 'python-check 6034 (add-after 'check 'python-check
6039 (lambda _ 6035 (lambda _
@@ -6057,7 +6053,7 @@ definite approximations of Optimal Transport (Wasserstein) distances.
6057 (copy-file "PKG-INFO" (string-append info "/METADATA")) 6053 (copy-file "PKG-INFO" (string-append info "/METADATA"))
6058 (copy-recursively 6054 (copy-recursively
6059 "py_src/tokenizers" 6055 "py_src/tokenizers"
6060 (string-append lib "tokenizers"))))))))) 6056 (string-append lib "tokenizers"))))))))
6061 (native-inputs 6057 (native-inputs
6062 (list pkg-config python-minimal python-pytest)) 6058 (list pkg-config python-minimal python-pytest))
6063 (inputs 6059 (inputs