aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/machine-learning.scm
AgeCommit message (Expand)Author
2024-06-18gnu: 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. David Elsing
2024-06-18gnu: 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. David Elsing
2024-06-18gnu: Add oneapi-dnnl-for-r-torch....* gnu/packages/machine-learning.scm (oneapi-dnnl-for-r-torch): New variable. David Elsing
2024-06-18gnu: Add ideep-pytorch-for-r-torch....* gnu/packages/machine-learning.scm (ideep-pytorch-for-r-torch): New variable. David Elsing
2024-06-18gnu: 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. David Elsing
2024-06-18gnu: Add python-pytorch-avx....* gnu/packages/machine-learning.scm (python-pytorch-avx): New variable. David Elsing
2024-06-18gnu: 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. David Elsing
2024-06-18gnu: 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. David Elsing
2024-06-18gnu: 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. David Elsing
2024-06-18gnu: 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. David Elsing
2024-06-18gnu: Add ideep-pytorch....* gnu/packages/machine-learning.scm (ideep-pytorch): New variable. David Elsing
2024-06-18gnu: 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. David Elsing
2024-06-18gnu: Add qnnpack....* gnu/packages/machine-learning.scm (qnnpack): New variable. David Elsing
2024-06-18gnu: 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. David Elsing
2024-06-18gnu: Add tensorpipe....* gnu/packages/machine-learning.scm (tensorpipe): New variable. David Elsing
2024-06-18gnu: oneapi-dnnl: Update to 3.3.5....* gnu/packages/machine-learning.scm (oneapi-dnnl): Update to 3.3.5. [supported-systems]: New field. David Elsing
2024-06-18gnu: nnpack: Update to commit 70a77f4....* gnu/packages/machine-learning.scm (nnpack): Update to commit 70a77f4. [supported-systems]: New field. David Elsing
2024-06-18gnu: 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. David Elsing
2024-06-16gnu: Add python-autograd-gamma....* gnu/packages/machine-learning.scm (python-autograd-gamma): New variable. Change-Id: I2b73b247388c06774afbf09df322acdc1d327eaf Ricardo Wurmus
2024-06-10gnu: 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 Christopher Baines
2024-05-13gnu: 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> Andy Tai
2024-05-11gnu: Add python-botorch....* gnu/packages/machine-learning.scm (python-botorch): New variable. Change-Id: Iaa67584a3b72ff07bc8bbb92cfa60fde1d9d7647 Vinicius Monego
2024-05-05gnu: python-scikit-learn-extra: Disable a validation test....* gnu/packages/machine-learning.scm (python-scikit-learn-extra)[arguments]: Disable one test. Change-Id: I1309cb6a82dee1a714ddec59aa90692ccfcd885b Ricardo Wurmus
2024-05-05gnu: 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 Ricardo Wurmus
2024-05-05gnu: 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 Ricardo Wurmus
2024-05-05gnu: python-umap-learn: Disable failing test....* gnu/packages/machine-learning.scm (python-umap-learn)[arguments]: Disable one failing test. Change-Id: Ic8f5f60f7d7bea0c24b417932daab3d54813d5fd Ricardo Wurmus
2024-05-05gnu: python-umap-learn: Update to 0.5.6....* gnu/packages/machine-learning.scm (python-umap-learn): Update to 0.5.6. Change-Id: If05cf1a9c7ad1d9fd0439bc888983608d70aea75 Ricardo Wurmus
2024-05-05gnu: 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 Ricardo Wurmus
2024-04-06gnu: 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 Vinicius Monego
2024-04-05gnu: 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 Ludovic Courtès
2024-04-05gnu: 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> John Fremlin
2024-04-04gnu: 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> Romain GARBAGE
2024-04-04gnu: 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> Romain GARBAGE
2024-04-04gnu: 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> Romain GARBAGE
2024-04-04gnu: 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> Romain GARBAGE
2024-03-29gnu: python-cmaes: Update to 0.10.0....* gnu/packages/machine-learning.scm (python-cmaes): Update to 0.10.0. Change-Id: I90e6a3d5c64e48bba969b2eed7696200da29fffe Vinicius Monego
2024-03-23gnu: python-deepxde: Update to 1.11.0....* gnu/packages/machine-learning.scm (python-deepxde): Update to 1.11.0. Change-Id: Ifc58877d5ad1b7e485b7c05d1451f82371a62769 Vinicius Monego
2024-03-21gnu: Add python-pytorch2....* gnu/packages/machine-learning.scm (python-pytorch2): New variable. Change-Id: Ibb837b5765438e7b9ec298537e5009e91d218601 Ricardo Wurmus
2024-03-02gnu: 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> John Fremlin
2024-03-02gnu: Add python-mord....* gnu/packages/machine-learning.scm (python-mord): New variable. Change-Id: I1a495fece72a0b998a69cb518544ed8835b12a40 Signed-off-by: Ludovic Courtès <ludo@gnu.org> Spencer King
2024-02-16gnu: Add python-gymnasium....* gnu/packages/machine-learning.scm (python-gymnasium): New variable. Change-Id: I22564c63b24ae98896f2e7b7da679463bd6b8496 Signed-off-by: Ricardo Wurmus <rekado@elephly.net> Timothee Mathieu
2024-02-11gnu: Add python-gguf....* gnu/packages/machine-learning.scm (python-gguf): New variable. Change-Id: Icf6138486cccc5b4c3141424baccf17c4edb3449 Signed-off-by: Andreas Enge <andreas@enge.fr> David Pflug
2024-02-06gnu: Add openmm....* gnu/packages/machine-learning.scm (openmm): New variable. Change-Id: I2a296471881ffbd9356fcdd27d349aa4a7bb5132 Ricardo Wurmus
2024-01-29gnu: Add python-hdbscan....* 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 Kiran Shila
2024-01-25gnu: python-pyro-ppl: Skip one more test....* 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 Ricardo Wurmus
2024-01-24gnu: python-opentsne: Update to 1.0.1....* gnu/packages/machine-learning.scm (python-opentsne): Update to 1.0.1. Change-Id: Ic71c3622e9408a21c5bade00228a9af5320c6dce Vinicius Monego
2024-01-24gnu: python-pytorch-geometric: Disable one test....* gnu/packages/machine-learning.scm (python-pytorch-geometric)[arguments]: Disable test_gdc as it occasionally fails. Change-Id: I9d1dc1b68628801ea1bb5a8bdfa17063990748ea Ricardo Wurmus
2024-01-24gnu: python-xgboost: Fix build....* 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 Ricardo Wurmus
2024-01-24gnu: Add python-pytorch-geometric....* gnu/packages/machine-learning.scm (python-pytorch-geometric): New variable. Change-Id: I9a016cda7d167159437724a878e6512c37106fea Ricardo Wurmus
2024-01-24gnu: python-scikit-learn-extra: Update to 0.3.0-1.0f95d8d....* 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 Ricardo Wurmus