aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/machine-learning.scm
AgeCommit message (Expand)Author
2024-10-12gnu: llama-cpp: Update to b3907....* 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 Danny Milosavljevic
2024-09-06gnu: python-pytorch-lightning: Update to commit 2064887....* 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. David Elsing
2024-09-06gnu: python-torchmetrics: Update to 1.4.1....* 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. David Elsing
2024-09-06gnu: python-lightning-utilities: Update to 0.11.6....* gnu/packages/machine-learning.scm (python-lightning-utilities): Update to 0.11.6. [source] Adjust URI. [build-system]: Move to pyproject-build-system. David Elsing
2024-09-06gnu: python-torchvision: Update to 0.19.0....* gnu/packages/machine-learning.scm (python-torchvision): Update to 0.19.0. [arguments]: Add 'setenv' phase for finding libjpeg-turbo. [inputs]: Add ffmpeg. David Elsing
2024-09-06gnu: python-pytorch: Update to 2.4.0....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. David Elsing
2024-09-06gnu: gloo: Update to commit 81925d1....* gnu/packages/machine-learning.scm (gloo): Update to commit 81925d1. [arguments]: Add -DCMAKE_CXX_STANDARD=17 to #:configure-flags. [supported-systems]: New field. David Elsing
2024-09-06gnu: onnx-optimizer: Update to 0.3.19....* 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> David Elsing
2024-09-06gnu: onnx: Update to 1.16.2....* 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> David Elsing
2024-09-06gnu: Remove onnx-for-torch2....* gnu/packages/machine-learning.scm (onnx-for-torch2): Delete variable. David Elsing
2024-09-06gnu: Remove onnx-optimizer-for-torch2....* gnu/packages/machine-learning.scm (onnx-optimizer-for-torch2): Delete variable. David Elsing
2024-09-06gnu: Add xnnpack-for-r-torch....* gnu/packages/machine-learning.scm (xnnpack-for-r-torch): New variable. (xnnpack)[inputs]: Use xnnpack-for-r-torch instead of xnnpack. David Elsing
2024-09-06gnu: xnnpack: Update to commit 08f1489....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. David Elsing
2024-09-06gnu: fbgemm: Update to 0.7.0....* gnu/packages/machine-learning.scm (fbgemm): Update to 0.7.0. David Elsing
2024-09-06gnu: oneapi-dnnl: Update to 3.5.3....* gnu/packages/machine-learning.scm (oneapi-dnnl): Update to 3.5.3. David Elsing
2024-09-06gnu: nnpack: Depend on python-peachpy only for x86_64....* gnu/packages/machine-learning.scm (nnpack)[native-inputs]: Provide python-peachpy only when 'target-x86-64?'. David Elsing
2024-09-06gnu: Remove python-typing-extensions-4.10....* 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. David Elsing
2024-09-03gnu: tensorflow-lite: Fix build....* 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> Andy Tai
2024-09-02gnu: python-deepxde: Update to 1.12.1....* gnu/packages/machine-learning.scm (python-deepxde): Update to 1.12.1. Change-Id: I7996c7686e1b6f97a4b54efc6153fe5adebd0b4b Vinicius Monego
2024-08-31gnu: ghmm: Import the correct set of modules....* gnu/packages/machine-learning.scm (ghmm) [arguments] <modules>: Replace %default-gnu-imported-modules with %default-gnu-modules. Change-Id: I317b9eb60afd63eeb4643556e94cb26a1162abb4 Maxim Cournoyer
2024-08-31build-systems: gnu: Export %default-gnu-imported-modules and %default-gnu-mod......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 Maxim Cournoyer
2024-07-28gnu: 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 Vinicius Monego
2024-07-28gnu: 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 Vinicius Monego
2024-07-28gnu: 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 Vinicius Monego
2024-07-19gnu: python-keras: Update home page url....* gnu/packages/machine-learning.scm (python-keras) [home-page]: Update home page. Change-Id: I7e4bd1dc64dbbd042de5dc50036ae12ca7c76fc3 jgart
2024-07-17gnu: liblantern: Update to 0.13.0....* gnu/packages/machine-learning.scm (liblantern): Update to 0.13.0. Change-Id: I7725adf59e4506b2b5b301ca2f57c4f07e16f594 Ricardo Wurmus
2024-07-11gnu: 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 Efraim Flashner
2024-07-11gnu: qnnpack: Fix supported systems....* gnu/packages/machine-learning.scm (qnnpack)[supported-systems]: Fix typo in armhf-linux. Change-Id: I97e0b59af6e6dc63a40c2df69b920f532fb91d65 Efraim Flashner
2024-07-10gnu: 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> Andy Tai
2024-07-05gnu: python-cma: Update to 3.4.0....* gnu/packages/machine-learning.scm (python-cma): Update to 3.4.0. Change-Id: Ida92761e12069a2e91e0e276c3b873c03bcfefdd Vinicius Monego
2024-07-05gnu: 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 Vinicius Monego
2024-07-05gnu: 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 Vinicius Monego
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