Vinicius Monego
ed882ad668
gnu: python-pyro-ppl: Simplify inputs.
...
* gnu/packages/machine-learning.scm (python-pyro-ppl)[native-inputs]: Remove
ninja, jupyter, python-black, python-flake8, python-graphviz, python-isort,
python-lap, python-matplotlib, python-mypy, python-nbformat, python-nbsphinx,
python-nbstripout, python-nbval, python-pandas, python-pillow,
python-pypandoc, python-pytest, python-pytest-cov, python-pytest-xdist,
python-scikit-learn, python-scipy, python-seaborn, python-sphinx,
python-sphinx-rtd-theme, python-torchvision, python-visdom, python-wget,
python-yapf.
Change-Id: Id7a413fdbdd8a808dffb4804c8a7f04bf2c31bbc
2024-07-28 10:59:48 -03:00
Vinicius Monego
22e8880ae2
gnu: python-pyro-ppl: Update to 1.9.1.
...
* gnu/packages/machine-learning.scm (python-pyro-ppl): Update to 1.9.1.
[arguments]: Remove #:test-flags and skip all tests in #:tests?.
Change-Id: If90024d904bb830df2868423a5947ecaf45b46fc
2024-07-28 10:59:04 -03:00
Vinicius Monego
2b40c6985a
gnu: python-botorch: Update to 0.11.3.
...
* gnu/packages/machine-learning.scm (python-botorch): Update to 0.11.3.
[arguments]<#:test-flags>: Skip a failing test.
<#:phases>: Delete the 'lo-version phase.
Change-Id: I110631da8c5e442eaf00daa1b42caff29d61b36b
2024-07-28 10:49:17 -03:00
jgart
6617da6f30
gnu: python-keras: Update home page url.
...
* gnu/packages/machine-learning.scm (python-keras) [home-page]: Update home
page.
Change-Id: I7e4bd1dc64dbbd042de5dc50036ae12ca7c76fc3
2024-07-19 16:40:54 -05:00
Ricardo Wurmus
5e48571f8c
gnu: liblantern: Update to 0.13.0.
...
* gnu/packages/machine-learning.scm (liblantern): Update to 0.13.0.
Change-Id: I7725adf59e4506b2b5b301ca2f57c4f07e16f594
2024-07-17 22:38:23 +02:00
Efraim Flashner
8504aa6f46
gnu: xnnpack: Fix supported systems.
...
* gnu/packages/machine-learning.scm (xnnpack)[supported-systems]: Fix
typo in armhf-linux. Remove i686-mingw, x86_64-mingw.
Change-Id: I2a7fe127af9825d71da7e3769d224a20db12d839
2024-07-11 17:03:20 +03:00
Efraim Flashner
b7201c7c37
gnu: qnnpack: Fix supported systems.
...
* gnu/packages/machine-learning.scm (qnnpack)[supported-systems]: Fix
typo in armhf-linux.
Change-Id: I97e0b59af6e6dc63a40c2df69b920f532fb91d65
2024-07-11 17:03:03 +03:00
Andy Tai
85f1bfac0b
gnu: llama-cpp: Update commit and configure flags for shared library build.
...
* gnu/packages/machine-learning.scm (lama-cpp): Update to commit a5735e with
pkg-config support.
[arguments](configure-flags): Add cmake configure flag
for shared library build and adjust arguments to make openblas
found by cmake.
(phases) 'install-python-scripts: Remove references to deleted scripts
and add new ones upsteeam.
Change-Id: I7c4bc219a22aa9a949e811b340c7cf745b176d14
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-07-10 15:49:35 +02:00
Vinicius Monego
95dd0ed736
gnu: python-cma: Update to 3.4.0.
...
* gnu/packages/machine-learning.scm (python-cma): Update to 3.4.0.
Change-Id: Ida92761e12069a2e91e0e276c3b873c03bcfefdd
2024-07-05 23:05:53 -03:00
Vinicius Monego
f336eb30b1
gnu: python-gpytorch: Update to 1.12.
...
* gnu/packages/machine-learning.scm (python-gpytorch): Update to 1.12.
[arguments]: Enable previously failing test.
[propagated-inputs]: Add python-mpmath, python-scipy.
Change-Id: I50b9787b2abee2438adaf486d842f4af0d32d162
2024-07-05 23:05:39 -03:00
Vinicius Monego
11db11f193
gnu: python-deepxde: Update to 1.11.1.
...
* gnu/packages/machine-learning.scm (python-deepxde): Update to 1.11.1.
[source]: Update URI.
Change-Id: I63c34558a9b55f9267652b88bf88f55614cc631f
2024-07-05 23:04:15 -03:00
David Elsing
2aeb37def2
gnu: python-pytorch-for-r-torch: Adjust to new python-pytorch.
...
* gnu/packages/machine-learning.scm (%python-pytorch-for-r-torch-src): Add
patches.
(python-pytorch-for-r-torch)[version]: Use
%python-pytorch-for-r-torch-version.
[source]: Use %python-pytorch-for-r-torch-src.
[native-inputs]: Use 'modify-inputs'.
[inputs]: Don't replace xnnpack. Replace qnnpack-pytorch with
qnnpack-pytorch-for-r-torch and oneapi-dnnl with oneapi-dnnl-for-r-torch.
[propagated-inputs]: Don't replace onnx and onnx-optimizer.
* gnu/packages/patches/python-pytorch-for-r-torch-fix-codegen: New file.
* gnu/packages/patches/python-pytorch-for-r-torch-system-libraries.patch: New file.
* gnu/packages/patches/python-pytorch2-system-libraries.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Register them.
2024-06-18 11:45:51 +02:00
David Elsing
085551a40f
gnu: Add qnnpack-pytorch-for-r-torch.
...
* gnu/packages/machine-learning.scm (%python-pytorch-for-r-torch-version): New
variable.
(%python-pytorch-for-r-torch-src): New variable.
(qnnpack-pytorch-for-r-torch): New variable.
2024-06-18 11:45:46 +02:00
David Elsing
e587d8fb69
gnu: Add oneapi-dnnl-for-r-torch.
...
* gnu/packages/machine-learning.scm (oneapi-dnnl-for-r-torch): New variable.
2024-06-18 11:45:39 +02:00
David Elsing
b38045190a
gnu: Add ideep-pytorch-for-r-torch.
...
* gnu/packages/machine-learning.scm (ideep-pytorch-for-r-torch): New variable.
2024-06-18 11:45:35 +02:00
David Elsing
4f50f86e41
gnu: python-torchvision: Update to 0.17.1.
...
* gnu/packages/machine-learning.scm (python-torchvision): Update to 0.17.1.
[source]: Add snippet to remove "android" and "ios" directories.
2024-06-18 11:45:15 +02:00
David Elsing
d218d024ed
gnu: Add python-pytorch-avx.
...
* gnu/packages/machine-learning.scm (python-pytorch-avx): New variable.
2024-06-18 11:45:07 +02:00
David Elsing
7b62d614e7
gnu: python-pytorch: Update to 2.2.1 and unbundle dependencies.
...
Autogenerated files are also regenerated. The tests can be run, but are
disabled, as they require a long time.
* gnu/packages/machine-learning.scm (python-pytorch): Update to 2.2.1.
[version]: Use %python-pytorch-version.
[source]: Use %python-pytorch-src.
[arguments]: Remove 'make-things-writable phase. Add 'cmake-patches,
'disable-avx-dependencies, 'set-max-jobs, 'codegen1, 'codegen2, 'build2,
'install2 phases. Adjust 'use-system-libraries and 'check phases.
[native-inputs]: Add doxygen, ideep-pytorch, pocketfft-cpp, python-expecttest,
python-pytest-flakefinder, python-pytest-rerunfailures-13,
python-pytest-shard, python-pytest-xdist, python-hypothesis,
python-types-dataclasses, python-typing-extensions-4.10 and valgrind.
[inputs]: Add asmjit, clog, flatbuffers-next, foxi, fxdiv, libuv,
miniz-for-pytorch, qnnpack, qnnpack-pytorch and oneapi-dnnl. Use nnpack,
oneapi-dnnl, qnnpack, qnnpack-pytorch and xnnpack only for supported systems.
[propagated-inputs]: Add python-filelock, python-fsspec, python-jinja2,
python-networkx, python-opt-einsum, python-optree, python-packaging,
python-psutil and python-sympy. Remove python-cffi and python-six. Use cpuinfo
only for supported systems.
(%python-pytorch-src)[source]: Add patches.
(python-pytorch2): Remove variable.
* gnu/packages/patches/python-pytorch-runpath.patch: Adjust patch.
* gnu/packages/patches/python-pytorch-system-libraries.patch: Adjust patch.
* gnu/packages/patches/python-pytorch-1.9.0-system-libraries.patch: Remove file.
* gnu/packages/patches/python-pytorch-fix-codegen.patch: New file.
* gnu/packages/patches/python-pytorch-without-kineto: New file.
* gnu/local.mk (dist_patch_DATA): Register them.
2024-06-18 11:44:56 +02:00
David Elsing
b77c772a3e
gnu: Add qnnpack-pytorch.
...
This is an internal fork of QNNPACK in the PyTorch source tree.
* gnu/packages/machine-learning.scm (%python-pytorch-version): New variable.
(%python-pytorch-src): New variable.
(qnnpack-pytorch): New variable.
2024-06-18 11:44:48 +02:00
David Elsing
0c313244e0
gnu: Remove xnnpack-for-torch2.
...
* gnu/packages/machine-learning.scm (xnnpack-for-torch2): Delete variable.
(python-pytorch-for-r-torch)[inputs]: Remove field.
* gnu/packages/patches/xnnpack-for-torch2-system-libraries.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2024-06-18 11:44:40 +02:00
David Elsing
048e5a0692
gnu: xnnpack: Update to commit 51a9875.
...
The tests which fail to build if building the shared library are removed by a
patch. Autogenerated files are removed by a snippet and generated in a
separate build phase.
* gnu/packages/machine-learning.scm (xnnpack): Update to commit 51a9875.
[source]: Add patch for tests. Add snippet to remove autogenerated files.
[arguments]: New modules and phase arguments.
[inputs]: Add clog and cpuinfo.
[native-inputs]: New field.
* gnu/packages/patches/xnnpack-remove-broken-tests.patch: Add file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/patches/xnnpack-system-libraries.patch: Update patch.
2024-06-18 11:44:31 +02:00
David Elsing
b032109b5c
gnu: Add ideep-pytorch.
...
* gnu/packages/machine-learning.scm (ideep-pytorch): New variable.
2024-06-18 11:44:25 +02:00
David Elsing
3ef0b4e402
gnu: Add foxi.
...
* gnu/packages/machine-learning.scm (foxi): New variable.
* gnu/packages/patches/foxi-fix-build.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2024-06-18 11:44:17 +02:00
David Elsing
35f4f33138
gnu: Add qnnpack.
...
* gnu/packages/machine-learning.scm (qnnpack): New variable.
2024-06-18 11:44:09 +02:00
David Elsing
ca63ef4f5b
gnu: Add fbgemm.
...
* gnu/packages/machine-learning.scm (fbgemm): New variable.
* gnu/packages/patches/fbgemm-use-system-libraries.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2024-06-18 11:43:46 +02:00
David Elsing
c45b370385
gnu: Add tensorpipe.
...
* gnu/packages/machine-learning.scm (tensorpipe): New variable.
2024-06-18 11:42:32 +02:00
David Elsing
a039f0fc59
gnu: oneapi-dnnl: Update to 3.3.5.
...
* gnu/packages/machine-learning.scm (oneapi-dnnl): Update to 3.3.5.
[supported-systems]: New field.
2024-06-18 11:42:28 +02:00
David Elsing
e8c3fb3f7e
gnu: nnpack: Update to commit 70a77f4.
...
* gnu/packages/machine-learning.scm (nnpack): Update to commit 70a77f4.
[supported-systems]: New field.
2024-06-18 11:42:19 +02:00
David Elsing
207174b69e
gnu: Remove flatbuffers-next-shared.
...
* gnu/packages/serialization.scm (flatbuffers-next-shared): Delete variable.
* gnu/packages/machine-learning.scm (tensorflow-lite)[arguments]: Use
flatbuffers-next instead of flatbuffers-next-shared.
2024-06-18 11:38:14 +02:00
Ricardo Wurmus
75ebca9e8f
gnu: Add python-autograd-gamma.
...
* gnu/packages/machine-learning.scm (python-autograd-gamma): New variable.
Change-Id: I2b73b247388c06774afbf09df322acdc1d327eaf
2024-06-16 22:54:56 +02:00
Christopher Baines
6ea32ab702
gnu: onnx-optimizer-for-torch2: Hide package.
...
As it duplicates onnx-optimizer.
* gnu/packages/machine-learning.scm (onnx-optimizer-for-torch2): Hide package.
Change-Id: I8a53805c1fbe57fac38c9de25ccc0929bddda36a
2024-06-10 11:07:55 +01:00
Andy Tai
0b3f2f28c6
gnu: llama-cpp: Update to 0.0.0-2.fed0108.
...
As last update was in February and new changes for new models and memory leaks
fixes since then.
* gnu/packages/machine-learning.scm (llama-cpp): Update to 0.0.0-2.fed0108.
[arguments]<#:phases>: Add 'disable-unrunable-tests' phase. Change
replacement of 'install to be a post-install 'install-main' phase so libraries
and header files are normally installed.
Change-Id: Ia6532945f588747c4d58fdb7611d6a9c3c596705
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-05-13 09:11:06 +01:00
Vinicius Monego
6f595eca59
gnu: Add python-botorch.
...
* gnu/packages/machine-learning.scm (python-botorch): New variable.
Change-Id: Iaa67584a3b72ff07bc8bbb92cfa60fde1d9d7647
2024-05-11 15:35:36 -03:00
Ricardo Wurmus
c226d12856
gnu: python-scikit-learn-extra: Disable a validation test.
...
* gnu/packages/machine-learning.scm (python-scikit-learn-extra)[arguments]:
Disable one test.
Change-Id: I1309cb6a82dee1a714ddec59aa90692ccfcd885b
2024-05-05 22:38:18 +02:00
Ricardo Wurmus
360f9ea421
gnu: python-cleanlab: Update to 2.6.3.
...
* gnu/packages/machine-learning.scm (python-cleanlab): Update to 2.6.3.
[arguments]: Disable tests that require "datasets" package; add phase
'remove-datasets.
Change-Id: I6af99e3e749a10515328db4874974a3504658352
2024-05-05 22:38:17 +02:00
Ricardo Wurmus
d5424b12af
gnu: python-imbalanced-learn: Update to 0.12.2.
...
* gnu/packages/machine-learning.scm (python-imbalanced-learn): Update to
0.12.2.
[native-inputs]: Remove python-numpydoc.
Change-Id: I8af0017f76d5ab3a2d55a96c0ace6be22d57fb66
2024-05-05 22:38:17 +02:00
Ricardo Wurmus
a237ba5378
gnu: python-umap-learn: Disable failing test.
...
* gnu/packages/machine-learning.scm (python-umap-learn)[arguments]: Disable
one failing test.
Change-Id: Ic8f5f60f7d7bea0c24b417932daab3d54813d5fd
2024-05-05 22:38:17 +02:00
Ricardo Wurmus
ba92122e53
gnu: python-umap-learn: Update to 0.5.6.
...
* gnu/packages/machine-learning.scm (python-umap-learn): Update to 0.5.6.
Change-Id: If05cf1a9c7ad1d9fd0439bc888983608d70aea75
2024-05-05 22:38:17 +02:00
Ricardo Wurmus
b343aef5aa
gnu: python-scikit-learn: Update to 1.4.2.
...
* gnu/packages/machine-learning.scm (python-scikit-learn): Update to 1.4.2.
[native-inputs]: Replace python-cython-0.29.35 with python-cython-3.
Change-Id: Id8be08f931bf250a8ecb8bc46b44d7148b4c4a2f
2024-05-05 22:38:16 +02:00
Vinicius Monego
35afdc3b5c
gnu: xgboost: Update to 1.7.6.
...
* gnu/packages/machine-learning.scm (xgboost, python-xgboost): Update to
1.7.6.
(python-xgboost)[arguments]: Remove #:test-flags and disable tests.
* gnu/packages/patches/xgboost-use-system-dmlc-core.patch: Update patch.
Change-Id: Ib0eb015f72150ef82ce386eda26749e25f816e95
2024-04-06 08:00:58 -03:00
Ludovic Courtès
560d5c6692
gnu: llama-cpp: Produce a portable binary unless tuned.
...
* gnu/packages/machine-learning.scm (llama-cpp)[arguments]:
Augment #:configure-flags.
[properties]: New field.
Co-authored-by: John Fremlin <john@fremlin.org>
Change-Id: I9b3d72849107a6988fec94dc4a22614443338cb2
2024-04-05 18:23:34 +02:00
John Fremlin
d8a63bbcee
gnu: llama-cpp: Use OpenBLAS.
...
For faster prompt processing, OpenBLAS is recommended by
https://github.com/ggerganov/llama.cpp
* gnu/packages/machine-learning.scm (llama-cpp)[arguments]: Add
#:configure-flags.
[native-inputs]: Add pkg-config.
[propagated-inputs]: Add openblas.
Change-Id: Iaf6f22252da13e2d6f503992878b35b0da7de0aa
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-05 12:04:31 +01:00
Romain GARBAGE
8a52fef20f
gnu: kaldi-for-vosk: Remove dependency on lapack.
...
* gnu/packages/machine-learning.scm (kaldi-for-vosk): Remove dependency
to lapack.
Change-Id: I0f5f508288ccb2e7fd086aabeffb5b0b4d3f96b2
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-04-04 16:19:47 +02:00
Romain GARBAGE
9511a0da7a
gnu: shogun: Switch to openblas.
...
* gnu/packages/machine-learning.scm (shogun): Switch from lapack to
openblas dependency.
Change-Id: Ib8dde7d9ed9df4bda0eab945f3098a28d0e5927b
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-04-04 16:19:44 +02:00
Romain GARBAGE
8eeef890f3
gnu: dlib: Remove dependency on lapack.
...
* gnu/packages/machine-learning.scm (dlib): Remove dependency on lapack.
Change-Id: I1e230cef64f1a847bb44845ebf3f59e7f4704b7b
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-04-04 16:19:17 +02:00
Romain GARBAGE
d400d88eb6
gnu: vosk-api: Remove dependency on lapack.
...
* gnu/packages/machine-learning.scm (vosk-api): Remove input
dependency on lapack.
Change-Id: Id46b37f06bffde5f8a198c1ac913a3dff8ce63e6
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-04-04 16:17:20 +02:00
Vinicius Monego
73c5dee29b
gnu: python-cmaes: Update to 0.10.0.
...
* gnu/packages/machine-learning.scm (python-cmaes): Update to 0.10.0.
Change-Id: I90e6a3d5c64e48bba969b2eed7696200da29fffe
2024-03-29 16:45:31 -03:00
Vinicius Monego
7ef2959085
gnu: python-deepxde: Update to 1.11.0.
...
* gnu/packages/machine-learning.scm (python-deepxde): Update to 1.11.0.
Change-Id: Ifc58877d5ad1b7e485b7c05d1451f82371a62769
2024-03-23 09:30:45 -03:00
Ricardo Wurmus
8429f25ecd
gnu: Add python-pytorch2.
...
* gnu/packages/machine-learning.scm (python-pytorch2): New variable.
Change-Id: Ibb837b5765438e7b9ec298537e5009e91d218601
2024-03-21 23:29:35 +01:00
John Fremlin
6e7484808f
gnu: llama-cpp: Update to 03bf16.
...
* gnu/packages/machine-learning.scm (llama-cpp): Update to
03bf161eb6dea6400ee49c6dc6b69bdcfa9fd3fc.
[arguments]: Adjust program names.
Change-Id: I9f5474606dd01be73fbc50813250991e9d248d85
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-03-02 17:09:28 +01:00