diff options
| author | Morgan Smith <Morgan.J.Smith@outlook.com> | 2025-04-07 19:19:38 -0400 |
|---|---|---|
| committer | Danny Milosavljevic <dannym@friendly-machines.com> | 2025-04-25 11:33:54 +0200 |
| commit | 55d9b6ff118e777d3e56e5544e51d1c998619727 (patch) | |
| tree | 656906934d16ab4b4d931be83b7044be65cbdcb2 /gnu | |
| parent | f22424d4fddb6f6c3b1158dc6267cfa8b3423600 (diff) | |
gnu: python-gguf: Update to 0.16.0.
* gnu/packages/machine-learning.scm (python-gguf): Update to 0.16.0.
Change origin to git repository. Run tests.
Change-Id: I1c1b5f5956e3acb380b56816d180f53243b741fa
Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/machine-learning.scm | 47 |
1 files changed, 29 insertions, 18 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index a88dfa7567d..c2e1e46a457 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm | |||
| @@ -7084,24 +7084,35 @@ performance library of basic building blocks for deep learning applications.") | |||
| 7084 | (base32 "1zyw5rd8x346bb7gac9a7x3saviw3zvp6aqz2z1l9sv163vmjfz6")))))) | 7084 | (base32 "1zyw5rd8x346bb7gac9a7x3saviw3zvp6aqz2z1l9sv163vmjfz6")))))) |
| 7085 | 7085 | ||
| 7086 | (define-public python-gguf | 7086 | (define-public python-gguf |
| 7087 | (package | 7087 | ;; They didn't tag the commit |
| 7088 | (name "python-gguf") | 7088 | (let ((commit "69050a11be0ae3e01329f11371ecb6850bdaded5")) |
| 7089 | (version "0.6.0") | 7089 | (package |
| 7090 | (source | 7090 | (name "python-gguf") |
| 7091 | (origin | 7091 | (version "0.16.0") |
| 7092 | (method url-fetch) | 7092 | (source |
| 7093 | (uri (pypi-uri "gguf" version)) | 7093 | (origin |
| 7094 | (sha256 | 7094 | (method git-fetch) |
| 7095 | (base32 "0rbyc2h3kpqnrvbyjvv8a69l577jv55a31l12jnw21m1lamjxqmj")))) | 7095 | (uri (git-reference |
| 7096 | (build-system pyproject-build-system) | 7096 | (url "https://github.com/ggml-org/llama.cpp") |
| 7097 | (arguments | 7097 | (commit commit))) |
| 7098 | (list #:tests? #false)) | 7098 | (file-name (git-file-name name commit)) |
| 7099 | (inputs (list poetry python-pytest)) | 7099 | (sha256 |
| 7100 | (propagated-inputs (list python-numpy)) | 7100 | (base32 "1563mbrjykwpsbhghhzi4h1qv9qy74gq5vq4xhs58zk0jp20c7zz")))) |
| 7101 | (home-page "https://ggml.ai") | 7101 | (build-system pyproject-build-system) |
| 7102 | (synopsis "Read and write ML models in GGUF for GGML") | 7102 | (arguments |
| 7103 | (description "A Python library for reading and writing GGUF & GGML format ML models.") | 7103 | (list |
| 7104 | (license license:expat))) | 7104 | #:phases |
| 7105 | #~(modify-phases %standard-phases | ||
| 7106 | (add-after 'unpack 'chdir | ||
| 7107 | (lambda _ | ||
| 7108 | (chdir "gguf-py")))))) | ||
| 7109 | (propagated-inputs (list python-numpy python-pyyaml python-sentencepiece | ||
| 7110 | python-tqdm)) | ||
| 7111 | (native-inputs (list python-poetry-core python-pytest)) | ||
| 7112 | (home-page "https://ggml.ai") | ||
| 7113 | (synopsis "Read and write ML models in GGUF for GGML") | ||
| 7114 | (description "A Python library for reading and writing GGUF & GGML format ML models.") | ||
| 7115 | (license license:expat)))) | ||
| 7105 | 7116 | ||
| 7106 | (define-public python-gymnasium | 7117 | (define-public python-gymnasium |
| 7107 | (package | 7118 | (package |
