summaryrefslogtreecommitdiff
path: root/gnu/packages/machine-learning.scm
AgeCommit message (Collapse)Author
2025-11-04gnu: python-gpytorch: Update to 1.14.2.Ayan Das
* gnu/packages/machine-learning.scm (python-gpytorch): Update to 1.14.2. [source]: Update hash. [native-inputs]: Drop python-wheel. Change-Id: Icd6ef2b964e17b918bbe92179e0803d4e001ec13 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-11-04gnu: python-pot: Update to 0.9.6.Ayan Das
* gnu/packages/machine-learning.scm (python-pot): Update to 0.9.6. [source]: Switch to git-fetch (upstream tag). Update hash. Remove snippet for deleting 'ot/lp/emd_wrap.cpp'—not present in VCS source. [arguments]: Add test-flags to skip 'test_entropic_semirelaxed_gromov' (TypeError). [native-inputs]: Drop python-wheel; add python-pytest and python-pytest-cov. Change-Id: I8932a58ad9b83fd9c82c21fbb7db23fb06336a64 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-11-04gnu: onnxruntime: Skip exporter-dependent tests needing onnxscript.Ayan Das
* gnu/packages/machine-learning.scm (onnxruntime): Skip exporter-dependent tests needing onnxscript. [arguments]: Extend pytest ignore list to exclude exporter tests that require python-onnxscript (test_pytorch_export_contrib_ops.py and transformers parity/phi_vision tests). Change-Id: I7fe48815fcbd53121049a3b61d43af636df2bffe Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-11-04gnu: python-torchaudio: Skip additional TorchScript consistency tests.Ayan Das
* gnu/packages/machine-learning.scm (python-torchaudio): Extend pytest -k filter to exclude FrequencyMasking/TimeMasking/deemphasis/RNNTLoss TorchScript tests that fail with PyTorch 2.9.0. [native-inputs]: Drop python-wheel. Change-Id: I87e4360cd3ebe433f5e5e508028872b8fdc294b7 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-11-04gnu: python-pytorch: Update to 2.9.0.Ayan Das
* gnu/packages/machine-learning.scm (python-pytorch): Update to 2.9.0. [source]: Update hash. [arguments]: Add 'skip-pip-redirect' phase to avoid pip redirect in setup.py. Extend concurrentqueue include fix to cover nativert. [native-inputs]: Add python-setuptools. * gnu/packages/patches/python-pytorch-system-libraries.patch: Update for 2.9.0. Change-Id: I26606949da3c36fe8d7b6933ec54cb2c347a1bb9 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-11-04gnu: gloo: Update to 0.0.0-4.54cbae0.Ayan Das
* gnu/packages/machine-learning.scm (gloo): Update to commit 54cbae0d3a67fa890b4c3d9ee162b7860315e341. [source]: Switch upstream URL to https://github.com/pytorch/gloo and update hash. Change-Id: Ibbea0a6739dc658f9ae147641fe128650f1370b9 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-11-03gnu: python-torchvision: Build with FFMPEG 6.Liliana Marie Prikler
* gnu/packages/machine-learning.scm (python-torchvision)[inputs]: Replace ffmpeg with ffmpeg-6.
2025-11-03gnu: tensorflow-lite: Update to 2.15.1.Nicolas Graves
* gnu/packages/machine-learning.scm (tensorflow-lite): Update to 2.15.1. Change-Id: Ideb7605cb2cb6ddae7f53f5f6841522969ffbe83
2025-11-03gnu: tensorflow-lite: Adjust style.Hilton Chain
* gnu/packages/machine-learning.scm (tensorflow-lite): Tweak whitespaces. [native-inputs]: Remove labels. Replace auto-generated git repository tarballs to git-fetch. Change-Id: I5993c5accffff5b5831643ac2e221f26c899e0eb
2025-11-03gnu: tensorflow-lite: Fix package.Nicolas Graves
Fixes some breakages since the last python-team merge. * gnu/packages/machine-learning.scm (tensorflow-lite) [arguments] <#:configure-flags>: Access OpenCL headers through mesa-headers. <#:phases>: Adapt phase 'build-python to process <#:configure-flags> properly, in particular -DCMAKE_C_FLAGS and -DCMAKE_CXX_FLAGS. [native-inputs]: Add python-setuptools and python-wrapper. Remove python-wheel. [inputs]: Replace python-wrapper by python. Remove opencl-clhpp and opencl-headers, their content is already provided through mesa-headers. Change-Id: I77c287141238081e4df0c8df48f374d8d6aa5a82 Signed-off-by: Hilton Chain <hako@ultrarare.space>
2025-11-01gnu: python-ml-collections: Fix build.Janneke Nieuwenhuizen
* gnu/packages/machine-learning.scm (python-ml-collections) [propagated-inputs]: Add python-six. Change-Id: I171afef3f31d792f2016cf6a8dee0a6add3308e0
2025-10-31gnu: python-ml-dtypes: Update to 0.5.3.Cayetano Santos
* gnu/packages/machine-learning.scm (python-ml-dtypes): Update to 0.5.3. [native-inputs]: Remove python-wheel. [source]: Add snippet. Change-Id: I33988d41ab5967346921c054c5c4f4040e5427df Signed-off-by: jgart <jgart@dismail.de>
2025-10-30gnu: python-jaxtyping: Update to 0.3.3.Cayetano Santos
* gnu/packages/machine-learning.scm (python-jaxtyping): Update to 0.3.3. Change-Id: I448742521e56cb4e8799f67b632f3939746e52ed Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-28gnu: python-spacy: Update to 3.8.7.Sharlatan Hellseher
* gnu/packages/machine-learning.scm (python-spacy): Update to 3.8.7. [arguments] <test-flags>: Skip 2 more tests. <phases>: Remove 'build-ext; add 'remove-local-thinc - less rebuild is better. [native-inputs]: Remove python-wheel. [propagated-inputs]: Remove python-numpy, python-pathy, python-setuptools, python-smart-open, and python-typing-extensions; add python-numpy-2, and python-weasel. Change-Id: Ie0bd20cbc7da9c6a89cea56118df504661f99a6e
2025-10-28gnu: python-thinc: Update to 8.3.4.Sharlatan Hellseher
* gnu/packages/machine-learning.scm (python-thinc): Update to 8.3.4. [arguments] <phases>: Remove 'build-ext; add 'remove-local-thinc - less rebuild is better. [propagated-inputs]: Remove python-blis-for-thinc and python-numpy; add python-blis and python-numpy-2. [native-inputs]: Remove python-cython and python-wheel; add python-cython-0. * gnu/packages/maths.scm (python-blis-for-thinc): Remove variable. Change-Id: I5b3b624819772cd1b601ff2a7ef516af065a94dc
2025-10-24gnu: python-cython-3: Mark as deprecated.Sharlatan Hellseher
This is a followup to 941b6ff1c11be3ba73e4e67bc661bd0eed3e9d58 commit. Replace all python-cython-3 occurrences with python-cython. * gnu/packages/python-xyz.scm (python-cython-3): Deprecate variable. * gnu/packages/algebra.scm (python-fpylll, python-flint)[native-inputs]: Remove python-cython-3; add python-cython. * gnu/packages/astronomy.scm (python-astropy, python-astroscrappy, python-halotools, python-healpy, python-libstempo, python-lofar-h5plot, python-losoto, python-photutils, python-pyxsim, python-regions, python-reproject, python-sncosmo, python-sndata, python-stcal, python-yt)[native-inputs]: Remove python-cython-3; add python-cython. * gnu/packages/bioinformatics.scm (macs-3, python-pyrodigal): [native-inputs]: Remove python-cython-3; add python-cython. * gnu/packages/build-tools.scm (meson-python)[propagated-inputs]: Remove python-cython-3; add python-cython. [native-inputs]: Remove python-cython-3; add python-cython. * gnu/packages/databases.scm: (python-adbc-driver-manager, python-psycopg, python-pyarrow)[native-inputs]: Remove python-cython-3; add python-cython. * gnu/packages/finance.scm (python-ta-lib)[native-inputs]: Remove python-cython-3; add python-cython. * gnu/packages/game-development.scm (python-pygame-ce)[native-inputs]: Remove python-cython-3; add python-cython. * gnu/packages/geo.scm (python-pyogrio, python-cf-units)[native-inputs]: Remove python-cython-3; add python-cython. * gnu/packages/machine-learning.scm: (python-scikit-learn, python-opentsne)[native-inputs]: Remove python-cython-3; add python-cython. * gnu/packages/maths.scm: (python-cylp, python-petsc4py, python-primecountpy, python-slepc4py)[native-inputs]: Remove python-cython-3; add python-cython. * gnu/packages/python-check.scm (python-line-profiler)[native-inputs]: Remove python-cython-3; add python-cython. * gnu/packages/python-compression.scm (python-blosc2)[native-inputs]: Remove python-cython-3; add python-cython. * gnu/packages/python-graphics.scm (python-vispy)[native-inputs]: Remove python-cython-3; add python-cython. * gnu/packages/python-science.scm: (python-pykdtree, python-qutip, python-scikit-misc, python-scikit-surprise, python-pandas-2, python-vaex-core)[native-inputs]: Remove python-cython-3; add python-cython. * gnu/packages/python-web.scm: (python-aiohttp, python-falcon, python-yarl, python-uvloop)[native-inputs]: Remove python-cython-3; add python-cython. * gnu/packages/python-xyz.scm: (python-logbook, python-netcdf4, python-pyyaml, python-propcache, python-pywavelets, python-symengine, python-cysignals, python-pyemd, python-rbfly)[native-inputs]: Remove python-cython-3; add python-cython. * gnu/packages/sagemath.scm: (python-cypari2, python-pplpy, sage) [native-inputs]: Remove python-cython-3; add python-cython. * gnu/packages/sphinx.scm (python-sphinx)[native-inputs]: Remove python-cython-3; add python-cython. * gnu/packages/statistics.scm: (python-statsmodels, python-pyreadstat): [native-inputs]: Remove python-cython-3; add python-cython. * gnu/packages/tor.scm (onionshare-cli)[native-inputs]: Remove python-cython-3; add python-cython. * gnu/packages/xorg.scm (xpra)[native-inputs]: Remove python-cython-3; add python-cython. Change-Id: I38038d2ab18e6a7b549070083d6e4c5beb8b0293
2025-10-23gnu: Use ‘define-deprecated-package’ for deprecated packages.Ludovic Courtès
Use ‘define-deprecated-package’ instead of (define x (deprecated-package …)) throughout gnu/packages/*.scm. Change-Id: I4e176da9ac660327489dab256ca4d12c4e78fe8d
2025-10-23gnu: Remove python-scikit-learn-extra.Andreas Enge
* gnu/packages/machine-learning.scm (python-scikit-learn-extra): Delete variable. Fixes: guix/guix#2920 Change-Id: I4d45c6c459f438c3f266a445f2ded07f00652d77
2025-10-19gnu: python-pytorch-geometric: Update to 2.7.0.Andreas Enge
* gnu/packages/machine-learning.scm (python-pytorch-geometric): Update to 2.7.0. Change-Id: I8fcfa4485c96fb5a2981e3998c97433f5dfdef1f
2025-10-19gnu: python-pytorch-lightning: Update to 2.5.5.Andreas Enge
* gnu/packages/machine-learning.scm (python-pytorch-lightning): Update to 2.5.5. Change-Id: I0a2acc5c41525ec76044dbede67da6d2206f0d4b
2025-10-19gnu: python-torchvision: Remove input.Andreas Enge
python-pillow-simd has a CVE, is poorly maintained and appears to be optional. * gnu/packages/machine-learning.scm (python-torchvision)[inputs]: Remove python-pillow-simd. Change-Id: I198d543bc017bcb4f79597ac3ef5b7559e44e1a6
2025-10-19gnu: python-torchvision: Update to 0.24.0.Andreas Enge
* gnu/packages/machine-learning.scm (python-torchvision): Update to 0.24.0. Change-Id: I3ea845f9a3ad1817a6a8671f4169b53ad9abbe74
2025-10-16gnu: Add python-scikit-learn-1.6.Sharlatan Hellseher
* gnu/packages/machine-learning.scm (python-scikit-learn-1.6): New variable. Change-Id: Ife1120b602163bd2ab316f0047d458480dabb947
2025-10-01gnu: python-murmurhash: Move to pyhton-crypto.Sharlatan Hellseher
* gnu/packages/python-xyz.scm (python-murmurhash): Move from here ... * gnu/packages/python-crypto.scm: ... to here. * gnu/packages/machine-learning.scm: Add python-crypto module. Change-Id: I59a26e82622112736b5a331dd948d9aa91255207
2025-09-30gnu: python-flit-core-next: Mark as deprecated.Nguyễn Gia Phong
This is a followup to a34d8e427875e0538a81e4414e92cc41c91fd0cf. Replace all python-flit-core-next occurrences with python-flit-core. * gnu/packages/python-build.scm (python-flit-core-next): Mark as a deprecated public alias. * gnu/packages/machine-learning.scm (python-pytorch-geometric) [propagated-inputs]: Replace python-flit-core-next with python-flit-core. * gnu/packages/pdf.scm (python-pypdf) [propagated-inputs]: Replace python-flit-core-next with python-flit-core. * gnu/packages/python-check.scm (python-stestr) [propagated-inputs]: Replace python-flit-core-next with python-flit-core. * gnu/packages/python-xyz.scm (python-asyncclick) [propagated-inputs]: Replace python-flit-core-next with python-flit-core. Change-Id: I3a25290f6fd97995b773332addefe33afd016e67 Reviwed-by: Ludovic Courtès <ludo@gnu.org> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-26gnu: nerd-dictation: Fix tests.Sharlatan Hellseher
* gnu/packages/machine-learning.scm (nerd-dictation)[arguments] <test-backend>: Use 'custom. <test-flags>: Provide the path to test file. [native-inputs]: Remove python-wheel. Change-Id: Ia6e2c497ffe9315a87dc20b4d845fea111a144c9
2025-09-25gnu: fasttext: Fix build.Nicolas Graves
* gnu/packages/machine-learning.scm (fasttext): [arguments]<#:phases>: Add phase 'gcc-14-fix. Change-Id: Ib3f4a49b65e84f75f182637764fb54e24f3a5b5b Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-25gnu: python-dlib: Fix tests.Nicolas Graves
* gnu/packages/machine-learning.scm (python-dlib): [arguments]: Improve style. [native-inputs]: Sort them. Add python-pytest. Change-Id: Ie6223d3d635d96e813897431e2389cbdf9776b75 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-25gnu: python-hdbscan: Update to 0.8.40.Sharlatan Hellseher
* gnu/packages/machine-learning.scm (python-hdbscan): Update to 0.8.40. [arguments] <test-flags>: Ignore 3 test files. <phases>: Add 'pre-check. [native-inputs]: Remove python-nose, python-pandas, python-networkx, and python-wheel; add python-numpy. Change-Id: I38813d1cc16d4e90b5f0875dc93728bb42f4fa5d
2025-09-25gnu: python-lightning-utilities: Disable tests.Sharlatan Hellseher
* gnu/packages/machine-learning.scm (python-lightning-utilities)[arguments] <tests?>: Most tests are broken. [native-inputs]: Remove python-wheel. Change-Id: I73e90cadff07d662e43dfced6227f0023382b76c
2025-09-25gnu: python-gpy: Fix tests.Sharlatan Hellseher
* gnu/packages/machine-learning.scm (python-gpy)[arguments] <test-flags>: Ignore 2 test files. Change-Id: Ic529f0e913aaa7977503476f812c1d1293f5d2fc
2025-09-25gnu: python-hopcroftkarp: Fix tests.Nicolas Graves
* gnu/packages/machine-learning.scm (python-hopcroftkarp)[arguments] <#:test-backend>: Set it. Change-Id: I024ae8e72e7cecb2088eed1002ab0b2428ca732d Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-25gnu: python-setuptools-next: Set to python-setuptools.Sharlatan Hellseher
Replace all python-setuptools-next occurrences with python-setuptools. * gnu/packages/python-build.scm (python-setuptools-next): Set to python-setuptools. Change-Id: I9e5e0881310d160ec56be785f2dd2140364fa8e5
2025-09-25gnu: python-pytorch: Adjust inputs.Sharlatan Hellseher
* gnu/packages/machine-learning.scm (python-pytorch) [native-inputs]: Remove python-pytest-rerunfailures-13; add python-pytest-rerunfailures. Change-Id: I5c259c9c787e101aaca514055856097aa9de5449
2025-09-25gnu: python-scikit-learn: Update to 1.7.0.Sharlatan Hellseher
* gnu/packages/machine-learning.scm (python-scikit-learn): Update to 1.7.0. Change-Id: Ic269673b9a7d6d190edfd98ad9744f9f4955241a
2025-09-20gnu: Add python-tflite-runtime.Nicolas Graves
Add this dummy package for future pypi imports. * gnu/packages/machine-learning.scm (python-tflite-runtime): New variable. Change-Id: Ia9719eb5aabb897c29bef6861f219db664947185 Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-09-20gnu: tensorflow-lite: Add python output.Nicolas Graves
This output corresponds to the pypi "tflite-runtime" package. * gnu/packages/machine-learning.scm (tensorflow-lite): [outputs]: Add "python". [arguments]<#:imported-modules, #:modules>: Add pyproject modules. <#:phases>: Add 'build-python, 'install-python, 'add-install-to-pythonpath and 'python-sanity-check phases. [inputs]: Replace python by python-wrapper. Add zlib. [propagated-inputs]: Add python-numpy. [native-inputs]: Add pybind11, python-wheel, swig. Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-09-20gnu: tensorflow-lite: Update to 2.14.0.Nicolas Graves
* gnu/packages/patches/tensorflow-lite-unbundle.patch: Remove it. * gnu/local.mk: De-register patch. * gnu/packages/machine-learning.scm (tensorflow-lite): Update to 2.14.0. [source]: De-register patch. [inputs]: Improve style. Add python-ml-dtypes. Replace flatbuffers-23.1 by flatbuffers-23.5. [arguments]<#:configure-flags>: Refresh them. <#:phases>: Add phases 'unbundle and 'gemmlowp-fix. Refresh phases 'install-extra and 'copy-sources. * gnu/packages/serialization.scm (flatbuffers-23.5): Update comment. Change-Id: Ifeadfaa9173df4e0be08ce4f0dc13a4cd5297c0e Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-09-20gnu: Add python-ml-dtypes.Nicolas Graves
* gnu/packages/machine-learning.scm (python-ml-dtypes): New variable. Change-Id: I127edac9317d6380d22c41b6c6d578e183ab6b9f Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-09-20gnu: gemmlowp: Improve style.Nicolas Graves
* gnu/packages/machine-learning.scm (gemmlowp) [source, arguments, home-page]: Improve style. Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-09-20gnu: gemmlowp: Update to commit 16e8662.Andy Tai
* gnu/packages/machine-learning.scm (gemmlowp): Update to commit 16e8662. Change-Id: Iaa23a7cf5196f1c825c4330b1c7262f434565745 Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-09-18Reapply "Update Maxim's email address."Maxim Cournoyer
This reverts commit a7db92d9b389cbe565395523882c34c6eff2c21a, this time with the more careful command, to avoid a world rebuild: grep -rl --exclude-dir=build --exclude-dir=patches --exclude=ld-wrapper.in \ --exclude=sitecustomize.py --exclude=guix-emacs.el maxim.cournoyer@gmail.com | xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g' Change-Id: I0871f5cf9ace79e34e78e24154d0da6ea95a3a91
2025-09-18Revert "Update Maxim's email address."Maxim Cournoyer
This reverts commit d0d87a744d724b7e7d5ac013c586039652087bb3. Oops! This caused a world rebuild. Change-Id: I25fff644b2b61d0ee93d69b457b04c72b5b74d15
2025-09-18Update Maxim's email address.Maxim Cournoyer
The change was automated via: git grep -l maxim.cournoyer@gmail.com | xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g' * .mailmap: New entry. Change-Id: Iaa88b1e51c94159c49138fb43910badb990eb169
2025-09-15gnu: Remove gemmlowp-for-tensorflow.Andreas Enge
* gnu/packages/machine-learning.scm (gemmlowp-for-tensorflow): Delete variable. Change-Id: I034392fcb7b9ef327253e260aa88db57f7b4a9ac
2025-09-14gnu: Remove tensorflow.Andreas Enge
* gnu/packages/machine-learning.scm (tensorflow): Delete variable. Change-Id: I1db4876ebe71407e883b970342f5f1a13ef1d28d
2025-09-14gnu: Remove guile-aiscm.Andreas Enge
* gnu/packages/machine-learning.scm (guile-aiscm): Delete variable. Change-Id: I0f21c21aa4bc651a507d452099bc7cc603e3821d
2025-09-14gnu: Remove guile-aiscm-next.Andreas Enge
* gnu/packages/machine-learning.scm (guile-aiscm-next): Delete variable. Change-Id: I209c1efa45c938ef95241b7073f8154156d5d16d
2025-09-10gnu: python-scikit-rebate: Switch to pyproject.Cayetano Santos
* gnu/packages/machine-learning.scm (python-scikit-rebate)[build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools-next. Change-Id: I9b4767dd3593aadb43195ac6589db4ad3c7e6a30 Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-09gnu: python-sentencepiece: Switch to pyproject.Cayetano Santos
* gnu/packages/machine-learning.scm (python-sentencepiece)[build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-pytest and python-setuptools-next. Change-Id: Ib675129d61eb960f45b0f34e30fa1ecd768f9cab Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>