1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-10 07:00:37 +02:00
Commit Graph

283 Commits

Author SHA1 Message Date
Ricardo Wurmus
9b1a2dcd5b gnu: python-umap-learn: Disable unreliable test.
* gnu/packages/machine-learning.scm (python-umap-learn)[arguments]: Disable
test_densmap_trustworthiness_on_iris_supervised.
2022-08-01 12:46:19 +02:00
Ricardo Wurmus
a69f2cd076 gnu: python-umap-learn: Set NUMBA_CACHE_DIR.
* gnu/packages/machine-learning.scm (python-umap-learn)[arguments]: Add phase
to set NUMBA_CACHE_DIR.
2022-08-01 12:46:19 +02:00
Ricardo Wurmus
6416e77280 gnu: Add python-pyro-ppl.
* gnu/packages/machine-learning.scm (python-pyro-ppl): New variable.
2022-07-09 10:21:21 +02:00
Ricardo Wurmus
ff37afb288 gnu: Add python-visdom.
* gnu/packages/machine-learning.scm (python-visdom): New variable.
2022-07-09 10:21:21 +02:00
Ricardo Wurmus
2cf138db76 gnu: Add python-lap.
* gnu/packages/machine-learning.scm (python-lap): New variable.
2022-07-09 10:21:21 +02:00
Ricardo Wurmus
bafa7a00a1 gnu: Add python-pyro-api.
* gnu/packages/machine-learning.scm (python-pyro-api): New variable.
2022-07-08 18:41:35 +02:00
Ricardo Wurmus
c6136b48c2 gnu: Add python-torchfile.
* gnu/packages/machine-learning.scm (python-torchfile): New variable.
2022-07-08 18:41:35 +02:00
Ricardo Wurmus
ba86c7604d gnu: python-torchvision: Update to 0.13.0.
* gnu/packages/machine-learning.scm (python-torchvision): Update to 0.13.0.
2022-07-07 14:02:33 +02:00
Ricardo Wurmus
deae5d0df1 gnu: python-pytorch: Update to 1.12.0.
* gnu/packages/machine-learning.scm (python-pytorch): Update to 1.12.0.
[arguments]: Explicitly request the use of our pybind11 package.
2022-07-07 14:02:33 +02:00
Ricardo Wurmus
87b43ab562 gnu: xnnpack: Update to 0.0-2.ae108ef.
* gnu/packages/machine-learning.scm (xnnpack): Update to 0.0-2.ae108ef.
* gnu/packages/patches/xnnpack-system-libraries.patch: Update.
2022-07-07 14:02:33 +02:00
Ricardo Wurmus
c929619b36 gnu: python-pytorch-for-r-torch: Explicitly keep at 1.11.0.
* gnu/packages/machine-learning.scm (python-pytorch-for-r-torch): Separate
from python-pytorch by overriding version and source.
2022-07-07 14:02:33 +02:00
Ricardo Wurmus
563bb6eab1 gnu: Add python-torchvision.
* gnu/packages/machine-learning.scm (python-torchvision): New variable.
2022-07-06 17:16:15 +02:00
Ludovic Courtès
43cf8861b8 gnu: liblantern: Update to 0.8.0.
* gnu/packages/machine-learning.scm (liblantern): Update to 0.8.0.
2022-07-05 16:56:05 +02:00
Ludovic Courtès
20f55375dc gnu: python-pytorch: Update to 1.11.0.
* gnu/packages/machine-learning.scm (python-pytorch): Update to 1.11.0.
[source](snippet): Remove now unnecessary "caffe2/onnx/backend.cc"
substitution.
[arguments]: Add 'remove-caffe2-onnx-scripts' phase.
* gnu/packages/patches/python-pytorch-runpath.patch,
gnu/packages/patches/python-pytorch-system-libraries.patch: Update.
2022-07-05 16:56:04 +02:00
Ludovic Courtès
b211824f0a gnu: onnx: Update to 1.12.0.
* gnu/packages/machine-learning.scm (onnx): Update to 1.12.0.
2022-07-05 16:56:04 +02:00
Efraim Flashner
64c043e63a Merge remote-tracking branch 'origin/master' into staging 2022-06-01 12:42:04 +03:00
Maxim Cournoyer
9a550ba8c9 gnu: Remove python2-autograd.
* gnu/packages/machine-learning.scm (python2-autograd): Delete variable.
2022-05-31 14:52:31 -04:00
Maxim Cournoyer
0837d0aaf1 gnu: Remove python2-fastlmm.
* gnu/packages/machine-learning.scm (python2-fastlmm): Delete variable.
2022-05-31 14:52:25 -04:00
Maxim Cournoyer
1c865e8e1c gnu: Remove python2-scikit-learn.
* gnu/packages/machine-learning.scm (python2-scikit-learn): Delete variable.
(python-scikit-learn)[properties]: Remove the python2-variant property.
2022-05-31 14:52:24 -04:00
Efraim Flashner
e5e0e283ff Merge branch 'master' into staging 2022-05-16 11:14:42 +03:00
Aurora
7c204281ff gnu: openfst: Update to 1.8.2, enable ngram extension
This extension is required by some programs that depend on openfst that aren't
yet packaged.

* gnu/packages/machine-learning.scm (openfst): Update to 1.8.2.
[arguments]: New field.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-15 22:49:50 +02:00
Aurora
d60b9f8d0f gnu: openfst-1.7.3: Enable ngram-fst extension & C++14 build
The extension doesn't build in old versions of openfst such as 1.7.3 without
manually setting CXXFLAGS.

This package definition, including this workaround to build extensions
successfully, will need to be removed once kaldi is fixed upstream and can be
used with up-to-date versions of openfst.

* gnu/packages/machine-learning.scm (openfst-1.7.3)[arguments]: New field.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-15 22:49:50 +02:00
Aurora
d57a2c2b33 gnu: kaldi: Update to dd107fd, bypass tests
Either kaldi's tests are broken or openblas has reintroduced a bug:
- https://github.com/kaldi-asr/kaldi/pull/4421

More testing & fixes required upstream to re-enable the tests later. For now
they'll just have to be ignored.

* gnu/packages/machine-learning.scm (kaldi): Update to dd107fd.
[arguments]: In 'configure' phase, modify "matrix/Makefile".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-15 22:49:50 +02:00
Aurora
8c7e4a9698 gnu: openfst: Add 1.7.3 for kaldi
Kaldi is currently broken with openfst versions newer than 1.7.3 as it changed
some of its function signatures.

Once Kaldi is patched/fixed, this should be removed.

Reference Issues:
- https://github.com/kaldi-asr/kaldi/issues/4131
- https://github.com/kaldi-asr/kaldi/issues/4393

* gnu/packages/machine-learning.scm (openfst-1.7.3): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-15 22:49:50 +02:00
Maxim Cournoyer
34106c85d8 gnu: python-umap-learn: Update to 0.5.3.
* gnu/packages/machine-learning.scm (python-umap-learn): Update to 0.5.3.
[source]: Use git.
[arguments]: New field.
[native-inputs]: Delete python-joblib and python-nose.  Add python-pytest.
[propagated-inputs]: Add python-pynndescent and python-tqdm.
[synopsis]: Fix indentation.
[description]: Fix typo and re-indent.
2022-05-12 12:45:55 -04:00
Maxim Cournoyer
06b0512260 gnu: python-pynndescent: Update to 0.5.6.
* gnu/packages/machine-learning.scm (python-pynndescent): Update to 0.5.6.
[phases]{check}: Skip the test_weighted_minkowski test.
[native-inputs, propagated-inputs]: Re-indent.
2022-05-12 12:45:55 -04:00
Maxim Cournoyer
1d1f44b709 gnu: python-scikit-learn: Parallelize build and test suite.
* gnu/packages/machine-learning.scm (python-scikit-learn)
[phases]{configure}: New phase.
{build-ext}: Add '-j' option.
{check}: Add '-n' option.
[native-inputs]: Add python-pytest-xdist.
2022-05-12 12:45:55 -04:00
Efraim Flashner
53a8e8fd6c gnu: python-hmmlearn: Remove cythonized file.
* gnu/packages/machine-learning.scm (python-hmmlearn)[source]: Add
snippet to remove cythonized file.
2022-04-15 02:11:03 +03:00
Ricardo Wurmus
e378e7a855 gnu: liblantern: Update to 0.7.2.
* gnu/packages/machine-learning.scm (liblantern): Update to 0.7.2.
2022-03-15 22:14:39 +01:00
Ricardo Wurmus
95f9c44362 gnu: liblantern: Update to 0.7.0.
* gnu/packages/machine-learning.scm (liblantern): Update to 0.7.0.
2022-03-15 20:18:42 +01:00
Ricardo Wurmus
d7636c8bb7 gnu: python-pytorch-for-r-torch: Reuse python-pytorch.
* gnu/packages/machine-learning.scm (python-pytorch-for-r-torch): Use
definition on python-pytorch, thereby updating to 1.10.2.
2022-03-15 20:18:42 +01:00
Ricardo Wurmus
7146e553b9 gnu: Add liblantern.
* gnu/packages/machine-learning.scm (liblantern): New variable.
2022-02-11 15:44:42 +01:00
Ricardo Wurmus
7b676317b3 gnu: Add python-pytorch-for-r-torch.
* gnu/packages/patches/python-pytorch-1.9.0-system-libraries.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/machine-learning.scm (python-pytorch-for-r-torch): New variable.
2022-02-11 15:44:42 +01:00
Ricardo Wurmus
8b787eb929 gnu: python-pytorch: Update to 1.10.2.
* gnu/packages/machine-learning.scm (python-pytorch): Update to 1.10.2.
2022-02-11 15:44:42 +01:00
Vinicius Monego
c30fa177f3 gnu: xgboost: Update to 1.5.2.
* gnu/packages/machine-learning.scm (xgboost, python-xgboost): Update to
1.5.2.
(python-xgboost)[arguments]: Enable previously failing test.
* gnu/packages/patches/xgboost-use-system-dmlc-core.patch: Update patch.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2022-01-24 12:15:29 +01:00
Marius Bakke
af36848fb3 gnu: python-scikit-learn: Update to 1.0.2.
* gnu/packages/machine-learning.scm (python-scikit-learn): Update to 1.0.2.
2022-01-19 21:41:13 +01:00
Maxim Cournoyer
276f40fdc3 Merge branch 'version-1.4.0'
With resolved conflicts in:
	gnu/packages/gnome.scm
	gnu/packages/openstack.scm
	gnu/packages/python-xyz.scm
2022-01-17 11:47:09 -05:00
Sarah Morgensen
18e872b805 gnu: python-scikit-learn: Remove obsolete phase.
* gnu/packages/machine-learning.scm (python-scikit-learn)[arguments]
<#:phases>: Remove 'make-files-writable phase.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-01-10 11:44:49 -05:00
Vinicius Monego
2522ea38a3 gnu: python-opentsne: Update to 0.6.1.
* gnu/packages/machine-learning.scm (python-opentsne): Update to 0.6.1.
[source]<file-name>: Use git-file-name.
[arguments]<#:phases>: Don't return #t. Add 'skip-test phase after 'unpack to
skip a failing test.
2022-01-14 21:29:59 +01:00
Vinicius Monego
0848b5595c gnu: python-pynndescent: Update to 0.5.5.
* gnu/packages/machine-learning.scm (python-pynndescent): Update to 0.5.5.
[arguments]<#:phases>: Override 'check phase.
[native-inputs]: Remove python-nose. Add python-pytest.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-01-14 21:29:58 +01:00
Marius Bakke
c7ef428a18 gnu: python-scikit-rebate: Update to 0.62.
* gnu/packages/machine-learning.scm (python-scikit-rebate): Update to 0.62.
[arguments]: Disable tests.
[native-inputs]: Remove.
2022-01-11 18:36:39 +01:00
Ricardo Wurmus
06b51c68de gnu: Add guile-aiscm-next.
* gnu/packages/machine-learning.scm (guile-aiscm-next): New variable.
2021-12-28 19:05:32 +01:00
Ricardo Wurmus
f44305bc13 gnu: guile-aiscm: Remove opencv and tensorflow.
* gnu/packages/machine-learning.scm (guile-aiscm)[inputs]: Remove opencv and
tensorflow.
2021-12-28 19:05:32 +01:00
Ricardo Wurmus
50bd2b331c gnu: guile-aiscm: Remove timestamp from documentation.
* gnu/packages/machine-learning.scm (guile-aiscm)[arguments]: Add phase
'build-reproducibly.
2021-12-28 19:05:32 +01:00
Ricardo Wurmus
9e644d979d gnu: tensorflow: Install C headers.
* gnu/packages/machine-learning.scm (tensorflow)[arguments]: Add build phase
'patch-cmake-file-to-install-c-headers; move setting of LDFLAGS from
'build-pip-package to 'unpack-third-party-sources; move 'build-pip-package
after 'install phase.
[source]: Add patch.
* gnu/packages/patches/tensorflow-c-api-fix.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2021-12-28 19:05:32 +01:00
Ricardo Wurmus
f9d3f74ad2 gnu: Add guile-aiscm.
* gnu/packages/machine-learning.scm (guile-aiscm): New variable.
2021-12-27 13:21:05 +01:00
Ricardo Wurmus
e1c91aae23 gnu: tensorflow: Fix build with newer numpy.
* gnu/packages/machine-learning.scm (tensorflow)[arguments]: Rename
'python3.7-compatibility to 'python3.9-compatibility and patch file to allow
building with newer numpy.
2021-12-15 08:31:50 +01:00
Ricardo Wurmus
76ab15a7c9 gnu: tensorflow: Do not unpack directory.
* gnu/packages/machine-learning.scm (tensorflow)[arguments]: Copy Eigen source
code instead of trying to unpack it.
2021-12-14 15:34:44 +01:00
Ludovic Courtès
e3196755e6 gnu: Further simplify package inputs.
This is the result of running:

  ./pre-inst-env guix style --input-simplification=safe

and manually undoing changes on a dozen of packages to reduce
rebuilds (derivations for emacs, icecat, and libreoffice are unchanged.)
2021-12-13 22:15:07 +01:00
Ludovic Courtès
8394619bac gnu: Simplify package inputs.
This commit was obtained by running:

  ./pre-inst-env guix style

without any additional argument.
2021-12-13 17:48:25 +01:00