summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCayetano Santos <csantosb@inventati.org>2025-07-30 21:30:44 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-31 22:27:27 +0100
commit694acea7935915fe0abd4053fcb7110150570496 (patch)
treed370c33e8698f3946777ba335f2413dc0990b281
parent9a40b61de9b5852f8dfd45a86b271a011d95e339 (diff)
gnu: python-gguf: Update to 0.17.1.
* gnu/packages/machine-learning.scm (python-gguf): Update to 0.17.1. [propagated-inputs]: Add python-pyside-6. Change-Id: Ic564c2d8a5773b51d65374674e1b7eaa4ffe6f4a Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/machine-learning.scm57
1 files changed, 28 insertions, 29 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 6a24986701..3d29913703 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -128,6 +128,7 @@
#:use-module (gnu packages python-science)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
+ #:use-module (gnu packages qt)
#:use-module (gnu packages rdf)
#:use-module (gnu packages regex)
#:use-module (gnu packages rocm)
@@ -7121,35 +7122,33 @@ performance library of basic building blocks for deep learning applications.")
(base32 "1zyw5rd8x346bb7gac9a7x3saviw3zvp6aqz2z1l9sv163vmjfz6"))))))
(define-public python-gguf
- ;; They didn't tag the commit
- (let ((commit "69050a11be0ae3e01329f11371ecb6850bdaded5"))
- (package
- (name "python-gguf")
- (version "0.16.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/ggml-org/llama.cpp")
- (commit commit)))
- (file-name (git-file-name name commit))
- (sha256
- (base32 "1563mbrjykwpsbhghhzi4h1qv9qy74gq5vq4xhs58zk0jp20c7zz"))))
- (build-system pyproject-build-system)
- (arguments
- (list
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'chdir
- (lambda _
- (chdir "gguf-py"))))))
- (propagated-inputs (list python-numpy python-pyyaml python-sentencepiece
- python-tqdm))
- (native-inputs (list python-poetry-core python-pytest))
- (home-page "https://ggml.ai")
- (synopsis "Read and write ML models in GGUF for GGML")
- (description "A Python library for reading and writing GGUF & GGML format ML models.")
- (license license:expat))))
+ (package
+ (name "python-gguf")
+ (version "0.17.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ggml-org/llama.cpp")
+ (commit (string-append "gguf-v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0lrvj0ahhyj5paxfzk0brps2m8j7fy47n7k4v4xjg9xqqq6wqc2y"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda _
+ (chdir "gguf-py"))))))
+ (propagated-inputs (list python-numpy python-pyyaml python-pyside-6
+ python-sentencepiece python-tqdm))
+ (native-inputs (list python-poetry-core python-pytest))
+ (home-page "https://ggml.ai")
+ (synopsis "Read and write ML models in GGUF for GGML")
+ (description "A Python library for reading and writing GGUF & GGML format ML models.")
+ (license license:expat)))
(define-public python-gymnasium
(package