aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/machine-learning.scm
Commit message (Collapse)AuthorAge
* gnu: python-pytorch-for-r-torch: Adjust to new python-pytorch.David Elsing5 days
| | | | | | | | | | | | | | | | * 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.
* gnu: Add qnnpack-pytorch-for-r-torch.David Elsing5 days
| | | | | | | * 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.
* gnu: Add oneapi-dnnl-for-r-torch.David Elsing5 days
| | | | * gnu/packages/machine-learning.scm (oneapi-dnnl-for-r-torch): New variable.
* gnu: Add ideep-pytorch-for-r-torch.David Elsing5 days
| | | | * gnu/packages/machine-learning.scm (ideep-pytorch-for-r-torch): New variable.
* gnu: python-torchvision: Update to 0.17.1.David Elsing5 days
| | | | | * gnu/packages/machine-learning.scm (python-torchvision): Update to 0.17.1. [source]: Add snippet to remove "android" and "ios" directories.
* gnu: Add python-pytorch-avx.David Elsing5 days
| | | | * gnu/packages/machine-learning.scm (python-pytorch-avx): New variable.
* gnu: python-pytorch: Update to 2.2.1 and unbundle dependencies.David Elsing5 days
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* gnu: Add qnnpack-pytorch.David Elsing5 days
| | | | | | | | 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.
* gnu: Remove xnnpack-for-torch2.David Elsing5 days
| | | | | | | * 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.
* gnu: xnnpack: Update to commit 51a9875.David Elsing5 days
| | | | | | | | | | | | | | | 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.
* gnu: Add ideep-pytorch.David Elsing5 days
| | | | * gnu/packages/machine-learning.scm (ideep-pytorch): New variable.
* gnu: Add foxi.David Elsing5 days
| | | | | | * 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.
* gnu: Add qnnpack.David Elsing5 days
| | | | * gnu/packages/machine-learning.scm (qnnpack): New variable.
* gnu: Add fbgemm.David Elsing5 days
| | | | | | * 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.
* gnu: Add tensorpipe.David Elsing5 days
| | | | * gnu/packages/machine-learning.scm (tensorpipe): New variable.
* gnu: oneapi-dnnl: Update to 3.3.5.David Elsing5 days
| | | | | * gnu/packages/machine-learning.scm (oneapi-dnnl): Update to 3.3.5. [supported-systems]: New field.
* gnu: nnpack: Update to commit 70a77f4.David Elsing5 days
| | | | | * gnu/packages/machine-learning.scm (nnpack): Update to commit 70a77f4. [supported-systems]: New field.
* gnu: Remove flatbuffers-next-shared.David Elsing5 days
| | | | | | * 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.
* gnu: Add python-autograd-gamma.Ricardo Wurmus7 days
| | | | | | * gnu/packages/machine-learning.scm (python-autograd-gamma): New variable. Change-Id: I2b73b247388c06774afbf09df322acdc1d327eaf
* gnu: onnx-optimizer-for-torch2: Hide package.Christopher Baines13 days
| | | | | | | | As it duplicates onnx-optimizer. * gnu/packages/machine-learning.scm (onnx-optimizer-for-torch2): Hide package. Change-Id: I8a53805c1fbe57fac38c9de25ccc0929bddda36a
* gnu: llama-cpp: Update to 0.0.0-2.fed0108.Andy Tai2024-05-13
| | | | | | | | | | | | | 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>
* gnu: Add python-botorch.Vinicius Monego2024-05-11
| | | | | | * gnu/packages/machine-learning.scm (python-botorch): New variable. Change-Id: Iaa67584a3b72ff07bc8bbb92cfa60fde1d9d7647
* gnu: python-scikit-learn-extra: Disable a validation test.Ricardo Wurmus2024-05-05
| | | | | | | * gnu/packages/machine-learning.scm (python-scikit-learn-extra)[arguments]: Disable one test. Change-Id: I1309cb6a82dee1a714ddec59aa90692ccfcd885b
* gnu: python-cleanlab: Update to 2.6.3.Ricardo Wurmus2024-05-05
| | | | | | | | * 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
* gnu: python-imbalanced-learn: Update to 0.12.2.Ricardo Wurmus2024-05-05
| | | | | | | | * gnu/packages/machine-learning.scm (python-imbalanced-learn): Update to 0.12.2. [native-inputs]: Remove python-numpydoc. Change-Id: I8af0017f76d5ab3a2d55a96c0ace6be22d57fb66
* gnu: python-umap-learn: Disable failing test.Ricardo Wurmus2024-05-05
| | | | | | | * gnu/packages/machine-learning.scm (python-umap-learn)[arguments]: Disable one failing test. Change-Id: Ic8f5f60f7d7bea0c24b417932daab3d54813d5fd
* gnu: python-umap-learn: Update to 0.5.6.Ricardo Wurmus2024-05-05
| | | | | | * gnu/packages/machine-learning.scm (python-umap-learn): Update to 0.5.6. Change-Id: If05cf1a9c7ad1d9fd0439bc888983608d70aea75
* gnu: python-scikit-learn: Update to 1.4.2.Ricardo Wurmus2024-05-05
| | | | | | | * 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
* gnu: xgboost: Update to 1.7.6.Vinicius Monego2024-04-06
| | | | | | | | | * 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
* gnu: llama-cpp: Produce a portable binary unless tuned.Ludovic Courtès2024-04-05
| | | | | | | | | * 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
* gnu: llama-cpp: Use OpenBLAS.John Fremlin2024-04-05
| | | | | | | | | | | | | 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>
* gnu: kaldi-for-vosk: Remove dependency on lapack.Romain GARBAGE2024-04-04
| | | | | | | | * gnu/packages/machine-learning.scm (kaldi-for-vosk): Remove dependency to lapack. Change-Id: I0f5f508288ccb2e7fd086aabeffb5b0b4d3f96b2 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: shogun: Switch to openblas.Romain GARBAGE2024-04-04
| | | | | | | | * gnu/packages/machine-learning.scm (shogun): Switch from lapack to openblas dependency. Change-Id: Ib8dde7d9ed9df4bda0eab945f3098a28d0e5927b Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: dlib: Remove dependency on lapack.Romain GARBAGE2024-04-04
| | | | | | | * gnu/packages/machine-learning.scm (dlib): Remove dependency on lapack. Change-Id: I1e230cef64f1a847bb44845ebf3f59e7f4704b7b Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: vosk-api: Remove dependency on lapack.Romain GARBAGE2024-04-04
| | | | | | | | * gnu/packages/machine-learning.scm (vosk-api): Remove input dependency on lapack. Change-Id: Id46b37f06bffde5f8a198c1ac913a3dff8ce63e6 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: python-cmaes: Update to 0.10.0.Vinicius Monego2024-03-29
| | | | | | * gnu/packages/machine-learning.scm (python-cmaes): Update to 0.10.0. Change-Id: I90e6a3d5c64e48bba969b2eed7696200da29fffe
* gnu: python-deepxde: Update to 1.11.0.Vinicius Monego2024-03-23
| | | | | | * gnu/packages/machine-learning.scm (python-deepxde): Update to 1.11.0. Change-Id: Ifc58877d5ad1b7e485b7c05d1451f82371a62769
* gnu: Add python-pytorch2.Ricardo Wurmus2024-03-21
| | | | | | * gnu/packages/machine-learning.scm (python-pytorch2): New variable. Change-Id: Ibb837b5765438e7b9ec298537e5009e91d218601
* gnu: llama-cpp: Update to 03bf16.John Fremlin2024-03-02
| | | | | | | | | * 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>
* gnu: Add python-mord.Spencer King2024-03-02
| | | | | | | * gnu/packages/machine-learning.scm (python-mord): New variable. Change-Id: I1a495fece72a0b998a69cb518544ed8835b12a40 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add python-gymnasium.Timothee Mathieu2024-02-16
| | | | | | | * gnu/packages/machine-learning.scm (python-gymnasium): New variable. Change-Id: I22564c63b24ae98896f2e7b7da679463bd6b8496 Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
* gnu: Add python-gguf.David Pflug2024-02-11
| | | | | | | * gnu/packages/machine-learning.scm (python-gguf): New variable. Change-Id: Icf6138486cccc5b4c3141424baccf17c4edb3449 Signed-off-by: Andreas Enge <andreas@enge.fr>
* gnu: Add openmm.Ricardo Wurmus2024-02-06
| | | | | | * gnu/packages/machine-learning.scm (openmm): New variable. Change-Id: I2a296471881ffbd9356fcdd27d349aa4a7bb5132
* gnu: Add python-hdbscan.Kiran Shila2024-01-29
| | | | | | | | * gnu/packages/machine-learning.scm (python-hdbscan): New variable. Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> Change-Id: I13a78dd795490e6d4a8486741e2d5281605b7bb9
* gnu: python-pyro-ppl: Skip one more test.Ricardo Wurmus2024-01-25
| | | | | | | | | * gnu/packages/machine-learning.scm (python-pyro-ppl)[build-system]: Use pyproject-build-system. [arguments]: Remove custom 'check phase and replace with #:test-flags; disable test_sample tests. Change-Id: I058892451b9e5c96b077fae426a6649ce16f54c5
* gnu: python-opentsne: Update to 1.0.1.Vinicius Monego2024-01-24
| | | | | | * gnu/packages/machine-learning.scm (python-opentsne): Update to 1.0.1. Change-Id: Ic71c3622e9408a21c5bade00228a9af5320c6dce
* gnu: python-pytorch-geometric: Disable one test.Ricardo Wurmus2024-01-24
| | | | | | | * gnu/packages/machine-learning.scm (python-pytorch-geometric)[arguments]: Disable test_gdc as it occasionally fails. Change-Id: I9d1dc1b68628801ea1bb5a8bdfa17063990748ea
* gnu: python-xgboost: Fix build.Ricardo Wurmus2024-01-24
| | | | | | | | | * gnu/packages/machine-learning.scm (python-xgboost)[build-system]: Use pyproject-build-system. [arguments]: Move test flags to #:test-flags; disable a few more tests, mostly to account for a removed dataset; use G-expression; remove custom 'check phase. Change-Id: I6841a8c159919df85acaa8558248a8775ec5be80
* gnu: Add python-pytorch-geometric.Ricardo Wurmus2024-01-24
| | | | | | * gnu/packages/machine-learning.scm (python-pytorch-geometric): New variable. Change-Id: I9a016cda7d167159437724a878e6512c37106fea
* gnu: python-scikit-learn-extra: Update to 0.3.0-1.0f95d8d.Ricardo Wurmus2024-01-24
| | | | | | | | | * gnu/packages/machine-learning.scm (python-scikit-learn-extra): Update to 0.3.0-1.0f95d8d. [arguments]: Move test flags out of 'check phase and to #:test-flags. [propagated-inputs]: Add python-packaging. Change-Id: I4081a9364a0646d0c6960a3d155315e8eff8af59