me
/
guix
Archived
1
0
Fork 0
Commit Graph

242 Commits (c24ffc3aae0f163062988f406bc26e854585a9a7)

Author SHA1 Message Date
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
Ricardo Wurmus ab445eb4b7
gnu: python2-scikit-learn: Disable one more test.
* gnu/packages/machine-learning.scm (python2-scikit-learn)[arguments]: Do not
inherit; remove obsolete 'make-files-writable phase; disable one more failing
test in 'check phase.
2021-12-09 11:17:45 +01:00
Ricardo Wurmus 4fb363c906
gnu: libsvm: Install header and library.
* gnu/packages/machine-learning.scm (libsvm)[arguments]: Add build phase
'build-lib; also install header file and shared library in the 'install phase.
2021-12-09 11:17:45 +01:00
Ricardo Wurmus c8060055de
gnu: ocaml-mcl: Add -fcommon to compiler flags.
* gnu/packages/machine-learning.scm (ocaml-mcl)[arguments]: Add -fcommon.
2021-12-08 14:31:54 +01:00
Ricardo Wurmus c25a6d39f3
gnu: mcl: Add -fcommon to compiler flags.
* gnu/packages/machine-learning.scm (mcl)[arguments]: Set CFLAGS.
2021-12-07 12:34:34 +01:00
Ricardo Wurmus 9bc0f45df5
Merge remote-tracking branch 'origin/master' into core-updates-frozen 2021-12-05 19:17:41 +01:00
Ricardo Wurmus cd40978a4b
gnu: randomjungle: Fix compatibility errors.
* gnu/packages/machine-learning.scm (randomjungle)[arguments]: Add build phase
'fix-compatibility-errors to patch type errors.
2021-12-02 00:32:12 +01:00
Ricardo Wurmus b182e13638
gnu: python-scikit-learn: Update to 1.0.1.
* gnu/packages/machine-learning.scm (python-scikit-learn): Update to 1.0.1.
[arguments]: Disable one failing network test.
2021-11-20 16:22:53 +01:00
Ricardo Wurmus 3d56b8af90
gnu: python-scikit-learn: Run tests conditionally.
* gnu/packages/machine-learning.scm (python-scikit-learn)[arguments]: Respect
TESTS? in 'check phase.
2021-11-20 16:22:53 +01:00
Ricardo Wurmus 443f3e170a
gnu: python-pytorch: Warn of missing test inputs.
* gnu/packages/machine-learning.scm (python-pytorch): Add comment.
2021-11-20 12:02:19 +01:00
Ricardo Wurmus 9a3dffc851
gnu: python-pytorch: Add missing input.
* gnu/packages/machine-learning.scm (python-pytorch)[propagated-inputs]: Add
python-click.
2021-11-20 12:02:19 +01:00
Ricardo Wurmus 1e13f73605
gnu: python-pytorch: Use ADD-INSTALLED-PYTHONPATH.
* gnu/packages/machine-learning.scm (python-pytorch)[arguments]: Do not set
PYTHONPATH; use add-installed-pythonpath instead.
2021-11-20 12:02:19 +01:00
Ludovic Courtès 3a317f7476
Merge branch 'master' into core-updates-frozen 2021-11-17 23:43:14 +01:00
Ludovic Courtès 782e9975dc
gnu: python-pytorch: Update to 1.10.0.
* gnu/packages/machine-learning.scm (python-pytorch): Update to 1.10.0.
* gnu/packages/patches/python-pytorch-system-libraries.patch: Adjust.
2021-11-15 17:55:50 +01:00
Maxim Cournoyer 8b11b4a829
gnu: python-keras: Skip a flaky test.
* gnu/packages/machine-learning.scm (python-keras)
[phases]{check}: Also skip the test_stateful_metrics test.
2021-11-11 10:31:29 -05:00
Maxim Cournoyer 11e7a534f7
gnu: python-keras: Enable parallel tests.
* (python-keras)[phases]: Delete trailing #t.
{check}: Honor TESTS?.  Run the tests in parallel.  Disable PEP8 lint.
2021-11-11 10:31:28 -05:00
Maxim Cournoyer 92c3d1c3d0
gnu: tensorflow: Enable parallel build (at least partially).
There are still many parts of the build that happen sequentially, but at least
this hastens the long build somewhat.

* gnu/packages/machine-learning.scm (tensorflow)[phases]: Remove trailing #t.
{build-pip-package}: Honor the PARALLEL-BUILD? argument.
2021-11-11 10:31:28 -05:00
Maxim Cournoyer f0ce5a6051
gnu: abseil-cpp: Update to 20210324.2.
But keep the older variant for Tensorflow.

* gnu/packages/cpp.scm (abseil-cpp-20200923.3): Renamed older variant.
(abseil-cpp): New variable.
* gnu/packages/machine-learning.scm (tensorflow-lite)
[inputs]: Adjust to use the older abseil-cpp-20200923.3.
* gnu/packages/rpc.scm (grpc-1.16.1)[native-inputs]: Likewise.

Co-authored-by: Greg Hogan <code@greghogan.com>
2021-11-11 10:31:25 -05:00
Mathieu Othacehe a1eca979fb
Merge remote-tracking branch 'origin/master' into core-updates-frozen. 2021-10-12 17:46:23 +00:00
Vinicius Monego 40a6d8eb7d
gnu: Add python-xgboost.
* gnu/packages/machine-learning.scm (python-xgboost): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-09-25 16:06:28 -04:00
Vinicius Monego 6e5e60a20c
gnu: Add xgboost.
* gnu/packages/machine-learning.scm (xgboost): New variable.
* gnu/packages/patches/xgboost-use-system-dmlc-core.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-09-25 16:06:28 -04:00
Vinicius Monego 7e73fc3bb9
gnu: Add dmlc-core.
* gnu/packages/machine-learning.scm (dmlc-core): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-09-25 16:06:23 -04:00
Ludovic Courtès d326dec811
gnu: python-pytorch: Unbundle NNPACK.
* gnu/packages/machine-learning.scm (python-pytorch)[source]: Delete
"third_party/NNPACK".
[inputs]: Add NNPACK.
[propagated-inputs]: Remove PYTHON-PEACHPY.
* gnu/packages/patches/python-pytorch-system-libraries.patch: Remove
hunk modifying NNPACK; add hunk to allow the use of our own NNPACK.
2021-09-24 13:48:50 +02:00
Ludovic Courtès 8df301d467
gnu: Add NNPACK.
* gnu/packages/machine-learning.scm (nnpack): New variable.
* gnu/packages/patches/nnpack-system-libraries.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2021-09-24 13:48:49 +02:00
Ludovic Courtès d9dfbf886d
Merge branch 'master' into core-updates-frozen 2021-09-07 14:19:08 +02:00
Marius Bakke c4133c43c7
Merge branch 'master' into core-updates-frozen
Conflicts:
	gnu/packages/algebra.scm
	gnu/packages/games.scm
	gnu/packages/golang.scm
	gnu/packages/kerberos.scm
	gnu/packages/mail.scm
	gnu/packages/python.scm
	gnu/packages/ruby.scm
	gnu/packages/scheme.scm
	gnu/packages/tex.scm
	gnu/packages/tls.scm
	gnu/packages/version-control.scm
2021-08-12 00:30:27 +02:00
Marius Bakke d2e102d4e4
Merge branch 'master' into core-updates-frozen 2021-08-01 23:23:32 +02:00
Marius Bakke b029be2ee0
Merge branch 'master' into core-updates-frozen
Conflicts:
	gnu/packages/bioinformatics.scm
	gnu/packages/cmake.scm
	gnu/packages/curl.scm
	gnu/packages/emacs-xyz.scm
	gnu/packages/gpodder.scm
	gnu/packages/music.scm
	gnu/packages/patches/glibc-bootstrap-system.patch
	gnu/packages/python-xyz.scm
	gnu/packages/shells.scm
	gnu/packages/statistics.scm
2021-07-29 22:34:57 +02:00
Ludovic Courtès 630c39d8df
gnu: onnx: Change source to 'git-fetch'.
* gnu/packages/machine-learning.scm (onnx)[source]: Change to
'git-fetch'.  Add "onnx-skip-model-downloads.patch".
[arguments]: Add 'make-test-directory-writable' phase.
* gnu/packages/patches/onnx-skip-model-downloads.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2021-07-31 01:03:24 +02:00
Ludovic Courtès fa2d94b5e3
gnu: python-onnx: Rename to "onnx".
* gnu/packages/machine-learning.scm (python-onnx): Rename to...
(onnx): ... this, and change 'name' field accordingly.
(python-onnx): New variable.
* gnu/packages/patches/python-onnx-shared-libraries.patch: Rename to...
* gnu/packages/patches/onnx-shared-libraries.patch: ... this.
* gnu/packages/patches/python-onnx-use-system-googletest.patch: Rename
to...
* gnu/packages/patches/onnx-use-system-googletest.patch: ... this.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2021-07-31 01:03:24 +02:00
Ludovic Courtès 2b55f914c3
gnu: python-onnx: Install libonnx.so and libonnx_proto.so.
* gnu/packages/patches/python-onnx-shared-libraries.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/machine-learning.scm (python-onnx)[source]: Use it.
[arguments]: New field.
2021-07-31 01:03:23 +02:00
Ludovic Courtès bb5b6b09dc
gnu: python-onnx: Delete bundled software.
* gnu/packages/machine-learning.scm (python-onnx)[source]: Delete
the 'third_party' directory.
2021-07-31 01:03:23 +02:00
Ludovic Courtès 3ac3ca367a
gnu: python-onnx: Move comment to the patch header.
* gnu/packages/machine-learning.scm (python-onnx): Move patch comment to...
* gnu/packages/patches/python-onnx-use-system-googletest.patch: ... here.
2021-07-31 01:03:23 +02:00
Ludovic Courtès 5f9dc326d9
gnu: python-onnx: Update to 1.9.0.
* gnu/packages/machine-learning.scm (python-onnx): Update to 1.9.0.
2021-07-31 01:03:23 +02:00
Ludovic Courtès b402a3ec86
gnu: Add XNNPACK.
* gnu/packages/machine-learning.scm (xnnpack): New variable.
* gnu/packages/patches/xnnpack-system-libraries.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2021-07-29 21:54:55 +02:00
Ricardo Wurmus c9aee89abf
gnu: python-scikit-learn: Update to 0.24.2.
* gnu/packages/machine-learning.scm (python-scikit-learn): Update to 0.24.2.
[arguments]: Remove trailing #t.
2021-08-30 18:29:57 +02:00
Ricardo Wurmus 5795fbbd0f
gnu: Add python-hmmlearn.
* gnu/packages/machine-learning.scm (python-hmmlearn): New variable.
2021-08-27 13:37:30 +02:00
Ludovic Courtès a537ef5e0c
gnu: python-pytorch: Remove leftover comment.
* gnu/packages/machine-learning.scm (python-pytorch)[arguments]: Remove
leftover comment.
2021-08-04 18:03:28 +02:00
Ludovic Courtès dd55ad7ff8
gnu: Add python-pytorch.
* gnu/packages/machine-learning.scm (python-pytorch): New variable.
* gnu/packages/patches/python-pytorch-runpath.patch,
gnu/packages/patches/python-pytorch-system-libraries.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
2021-08-04 17:22:19 +02:00
Ludovic Courtès 38d319d38a
gnu: gemmlowp: Add "generic" variant.
* gnu/packages/machine-learning.scm (gemmlowp): New variable, based on
'gemmlowp-for-tensorflow'.
(gemmlowp-for-tensorflow): Rewrite to inherit from GEMMLOWP.
[properties]: New field.
2021-08-04 17:22:19 +02:00
Ludovic Courtès c83d7d68f3
gnu: gloo: Honor #:tests? in 'check' phase.
* gnu/packages/machine-learning.scm (gloo)[arguments]: In 'check' phase,
honor #:tests?.
2021-08-04 17:22:19 +02:00
Ludovic Courtès 36f7e1d783
gnu: gloo: Update to c22a5cf.
* gnu/packages/machine-learning.scm (gloo): Update to c22a5cf.
[inputs]: New field.
2021-08-04 17:22:19 +02:00