aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/machine-learning.scm
Commit message (Collapse)AuthorAge
* gnu: llama-cpp: Update to b3907.Danny Milosavljevic2024-10-12
| | | | | | | | * gnu/packages/machine-learning.scm (llama-cpp): Update to b3907. [arguments]<#:phases>[install-python-scripts]: Update script names. [remove-tests]: New phase. Change-Id: I0a3444f10679279b4517f2a002fead4cd5f45498
* gnu: python-pytorch-lightning: Update to commit 2064887.David Elsing2024-09-06
| | | | | | | | * gnu/packages/machine-learning.scm (python-pytorch-lightning): Update to commit 2064887. [source]: Update URL. [arguments]<#:tests-flags>: Skip additional failing tests. <#:phases>: Adjust 'patch-version-detection' phase.
* gnu: python-torchmetrics: Update to 1.4.1.David Elsing2024-09-06
| | | | | | | | * gnu/packages/machine-learning.scm (python-torchmetrics): Update to 1.4.1. [source]: Switch to GitHub repository. [arguments]: New field. [propagated-inputs]: Add python-lightning-utilities. [home-page]: Update URL.
* gnu: python-lightning-utilities: Update to 0.11.6.David Elsing2024-09-06
| | | | | | | * gnu/packages/machine-learning.scm (python-lightning-utilities): Update to 0.11.6. [source] Adjust URI. [build-system]: Move to pyproject-build-system.
* gnu: python-torchvision: Update to 0.19.0.David Elsing2024-09-06
| | | | | | * gnu/packages/machine-learning.scm (python-torchvision): Update to 0.19.0. [arguments]: Add 'setenv' phase for finding libjpeg-turbo. [inputs]: Add ffmpeg.
* gnu: python-pytorch: Update to 2.4.0.David Elsing2024-09-06
| | | | | | | | | | | | | | | | | | | | | | This also updates the qnnpack-pytorch package. * gnu/packages/machine-learning.scm (%python-pytorch-version): Set to 2.4.0. (%python-pytorch-src): Adjust hash accordingly. [source]: Remove obsolete file deletions in snippet. (python-pytorch)[arguments]<#:phases>: Disable telemetry and set Python install directory. Remove obsolete USE_FFMPEG, USE_OPENCV and USE_PYTORCH_QNNPACK environment variables. [native-inputs]: Remove python-typing-extensions. [inputs]: Add brotli, cpp-httplib and zlib. Remove qnnpack. Use oneapi-dnnl, qnnpack-pytorch and xnnpack for all systems. [propagated-inputs]: Add onnx and python-typing-extensions. Use cpuinfo for all systems. [supported-systems]: New field. (python-pytorch-for-r-torch)[inputs]: Add qnnpack. * gnu/packages/patches/python-pytorch-fix-codegen.patch: Adjust patch. * gnu/packages/patches/python-pytorch-runpath.patch: Adjust patch. * gnu/packages/patches/python-pytorch-system-libraries.patch: Adjust patch. * gnu/packages/patches/python-pytorch-without-kineto.patch: Adjust patch.
* gnu: gloo: Update to commit 81925d1.David Elsing2024-09-06
| | | | | | * gnu/packages/machine-learning.scm (gloo): Update to commit 81925d1. [arguments]: Add -DCMAKE_CXX_STANDARD=17 to #:configure-flags. [supported-systems]: New field.
* gnu: onnx-optimizer: Update to 0.3.19.David Elsing2024-09-06
| | | | | | | * gnu/packages/machine-learning.scm (onnx-optimizer): Update to 0.3.19. * gnu/packages/patches/onnx-optimizer-system-library.patch: Adjust patch. Co-authored-by: Andy Tai <atai@atai.org>
* gnu: onnx: Update to 1.16.2.David Elsing2024-09-06
| | | | | | | | | | | | | | | | | | * gnu/packages/machine-learning.scm (onnx): Update to 1.16.2. [source]: Remove patch. [build-system]: Move to pyproject-build-system. [arguments]<#:tests?>: Disable for systems where python-nbval is not supported. <#:phases>: Remove 'relax-requirements' phase. Pass "-DONNX_BUILD_TESTS" to CMake depending on tests?. [native-inputs]: Add python-fb-re2 and python-parameterized-next. Remove python-nbval on unsupported systems. * gnu/packages/patches/onnx-shared-libraries.patch: Adjust patch. * gnu/packages/patches/onnx-skip-model-downloads.patch: Adjust patch. * gnu/packages/patches/onnx-use-system-googletest.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Remove it. Co-authored-by: Andy Tai <atai@atai.org>
* gnu: Remove onnx-for-torch2.David Elsing2024-09-06
| | | | * gnu/packages/machine-learning.scm (onnx-for-torch2): Delete variable.
* gnu: Remove onnx-optimizer-for-torch2.David Elsing2024-09-06
| | | | * gnu/packages/machine-learning.scm (onnx-optimizer-for-torch2): Delete variable.
* gnu: Add xnnpack-for-r-torch.David Elsing2024-09-06
| | | | | * gnu/packages/machine-learning.scm (xnnpack-for-r-torch): New variable. (xnnpack)[inputs]: Use xnnpack-for-r-torch instead of xnnpack.
* gnu: xnnpack: Update to commit 08f1489.David Elsing2024-09-06
| | | | | | | | | | | | | | | | More tests fail when building the shared library, so they are disabled. The scripts to generate the autogenerated files run all commands at once, so they are converted to Makefiles first. * gnu/packages/machine-learning.scm (xnnpack): Update to commit 08f1489. [source]: Remove patch. Adjust snippet. [arguments]<#:configure-flags>: Add "-DXNNPACK_BUILD_TESTS=OFF". <#:tests?>: Disable tests. <#:phases>: Adjust 'fix-cmake' phase. Convert code generation scripts to Makefiles and run them. Run different missing scripts. * gnu/packages/patches/xnnpack-remove-broken-tests.patch: Remove file. * gnu/packages/patches/xnnpack-system-libraries.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Remove them.
* gnu: fbgemm: Update to 0.7.0.David Elsing2024-09-06
| | | | * gnu/packages/machine-learning.scm (fbgemm): Update to 0.7.0.
* gnu: oneapi-dnnl: Update to 3.5.3.David Elsing2024-09-06
| | | | * gnu/packages/machine-learning.scm (oneapi-dnnl): Update to 3.5.3.
* gnu: nnpack: Depend on python-peachpy only for x86_64.David Elsing2024-09-06
| | | | | * gnu/packages/machine-learning.scm (nnpack)[native-inputs]: Provide python-peachpy only when 'target-x86-64?'.
* gnu: Remove python-typing-extensions-4.10.David Elsing2024-09-06
| | | | | | | * gnu/packages/machine-learning.scm (python-typing-extensions-4.10): Delete variable. * gnu/packages/machine-learning.scm (python-pytorch)[native-inputs] Replace python-typing-extensions-4.10 with python-typing-extensions.
* gnu: tensorflow-lite: Fix build.Andy Tai2024-09-03
| | | | | | | | | | * gnu/packages/machine-learning.scm (tensorflow-lite): Fix build. [inputs]: Change flatbuffers-next to flatbuffers-23.1. * gnu/packages/serialization.scm (flatbuffers-23.1): New variable. Change-Id: I257c3563cb91cbf8e0f0874367aafced248ab4dc Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: python-deepxde: Update to 1.12.1.Vinicius Monego2024-09-02
| | | | | | * gnu/packages/machine-learning.scm (python-deepxde): Update to 1.12.1. Change-Id: I7996c7686e1b6f97a4b54efc6153fe5adebd0b4b
* gnu: ghmm: Import the correct set of modules.Maxim Cournoyer2024-08-31
| | | | | | | * gnu/packages/machine-learning.scm (ghmm) [arguments] <modules>: Replace %default-gnu-imported-modules with %default-gnu-modules. Change-Id: I317b9eb60afd63eeb4643556e94cb26a1162abb4
* build-systems: gnu: Export %default-gnu-imported-modules and ↵Maxim Cournoyer2024-08-31
| | | | | | | | | | | | | | | | | | | | | %default-gnu-modules. Until now users would have to cargo cult or inspect the private %default-modules variable of (guix build-systems gnu) to discover which modules to include when extending the used modules via the #:modules argument. The renaming was automated via the command: $ git grep -l %gnu-build-system-modules | xargs sed 's/%gnu-build-system-modules/%default-gnu-imported-modules/' -i * guix/build-system/gnu.scm (%gnu-build-system-modules): Rename to... (%default-gnu-imported-modules): ... this. (%default-modules): Rename to... (%default-gnu-modules): ... this. Export. (dist-package, gnu-build, gnu-cross-build): Adjust accordingly. Change-Id: Idef307fff13cb76f3182d782b26e1cd3a5c757ee
* gnu: python-pyro-ppl: Simplify inputs.Vinicius Monego2024-07-28
| | | | | | | | | | | | | * 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
* gnu: python-pyro-ppl: Update to 1.9.1.Vinicius Monego2024-07-28
| | | | | | | * 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
* gnu: python-botorch: Update to 0.11.3.Vinicius Monego2024-07-28
| | | | | | | | * 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
* gnu: python-keras: Update home page url.jgart2024-07-19
| | | | | | | * gnu/packages/machine-learning.scm (python-keras) [home-page]: Update home page. Change-Id: I7e4bd1dc64dbbd042de5dc50036ae12ca7c76fc3
* gnu: liblantern: Update to 0.13.0.Ricardo Wurmus2024-07-17
| | | | | | * gnu/packages/machine-learning.scm (liblantern): Update to 0.13.0. Change-Id: I7725adf59e4506b2b5b301ca2f57c4f07e16f594
* gnu: xnnpack: Fix supported systems.Efraim Flashner2024-07-11
| | | | | | | * gnu/packages/machine-learning.scm (xnnpack)[supported-systems]: Fix typo in armhf-linux. Remove i686-mingw, x86_64-mingw. Change-Id: I2a7fe127af9825d71da7e3769d224a20db12d839
* gnu: qnnpack: Fix supported systems.Efraim Flashner2024-07-11
| | | | | | | * gnu/packages/machine-learning.scm (qnnpack)[supported-systems]: Fix typo in armhf-linux. Change-Id: I97e0b59af6e6dc63a40c2df69b920f532fb91d65
* gnu: llama-cpp: Update commit and configure flags for shared library build.Andy Tai2024-07-10
| | | | | | | | | | | | | * 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>
* gnu: python-cma: Update to 3.4.0.Vinicius Monego2024-07-05
| | | | | | * gnu/packages/machine-learning.scm (python-cma): Update to 3.4.0. Change-Id: Ida92761e12069a2e91e0e276c3b873c03bcfefdd
* gnu: python-gpytorch: Update to 1.12.Vinicius Monego2024-07-05
| | | | | | | | * 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
* gnu: python-deepxde: Update to 1.11.1.Vinicius Monego2024-07-05
| | | | | | | * gnu/packages/machine-learning.scm (python-deepxde): Update to 1.11.1. [source]: Update URI. Change-Id: I63c34558a9b55f9267652b88bf88f55614cc631f
* gnu: python-pytorch-for-r-torch: Adjust to new python-pytorch.David Elsing2024-06-18
| | | | | | | | | | | | | | | | * 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 Elsing2024-06-18
| | | | | | | * 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 Elsing2024-06-18
| | | | * gnu/packages/machine-learning.scm (oneapi-dnnl-for-r-torch): New variable.
* gnu: Add ideep-pytorch-for-r-torch.David Elsing2024-06-18
| | | | * gnu/packages/machine-learning.scm (ideep-pytorch-for-r-torch): New variable.
* gnu: python-torchvision: Update to 0.17.1.David Elsing2024-06-18
| | | | | * 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 Elsing2024-06-18
| | | | * gnu/packages/machine-learning.scm (python-pytorch-avx): New variable.
* gnu: python-pytorch: Update to 2.2.1 and unbundle dependencies.David Elsing2024-06-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Elsing2024-06-18
| | | | | | | | 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 Elsing2024-06-18
| | | | | | | * 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 Elsing2024-06-18
| | | | | | | | | | | | | | | 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 Elsing2024-06-18
| | | | * gnu/packages/machine-learning.scm (ideep-pytorch): New variable.
* gnu: Add foxi.David Elsing2024-06-18
| | | | | | * 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 Elsing2024-06-18
| | | | * gnu/packages/machine-learning.scm (qnnpack): New variable.
* gnu: Add fbgemm.David Elsing2024-06-18
| | | | | | * 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 Elsing2024-06-18
| | | | * gnu/packages/machine-learning.scm (tensorpipe): New variable.
* gnu: oneapi-dnnl: Update to 3.3.5.David Elsing2024-06-18
| | | | | * gnu/packages/machine-learning.scm (oneapi-dnnl): Update to 3.3.5. [supported-systems]: New field.
* gnu: nnpack: Update to commit 70a77f4.David Elsing2024-06-18
| | | | | * gnu/packages/machine-learning.scm (nnpack): Update to commit 70a77f4. [supported-systems]: New field.
* gnu: Remove flatbuffers-next-shared.David Elsing2024-06-18
| | | | | | * 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.