mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add python-gguf-llama-cpp.
* gnu/packages/machine-learning.scm (python-gguf-llama-cpp): New variable. Change-Id: I1c1b5f5956e3acb380b56816d180f53243b741fa Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
This commit is contained in:
parent
171c62a96d
commit
0a2521e3ed
1 changed files with 15 additions and 0 deletions
|
@ -7116,6 +7116,21 @@ performance library of basic building blocks for deep learning applications.")
|
||||||
(description "A Python library for reading and writing GGUF & GGML format ML models.")
|
(description "A Python library for reading and writing GGUF & GGML format ML models.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public python-gguf-llama-cpp
|
||||||
|
(package/inherit python-gguf
|
||||||
|
(version "0.16.0")
|
||||||
|
(source (package-source llama-cpp))
|
||||||
|
(propagated-inputs (list python-numpy python-pyyaml python-sentencepiece
|
||||||
|
python-tqdm))
|
||||||
|
(native-inputs (list python-poetry-core))
|
||||||
|
(arguments
|
||||||
|
(substitute-keyword-arguments (package-arguments python-gguf)
|
||||||
|
((#:phases phases #~%standard-phases)
|
||||||
|
#~(modify-phases #$phases
|
||||||
|
(add-after 'unpack 'chdir
|
||||||
|
(lambda _
|
||||||
|
(chdir "gguf-py")))))))))
|
||||||
|
|
||||||
(define-public python-gymnasium
|
(define-public python-gymnasium
|
||||||
(package
|
(package
|
||||||
(name "python-gymnasium")
|
(name "python-gymnasium")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue