diff options
| author | Navid Afkhami <navid.afkhami@mdc-berlin.de> | 2024-02-07 22:53:40 +0100 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2024-02-07 22:54:39 +0100 |
| commit | d48730936be32a34d072f50f166f84c5fb2bbd3c (patch) | |
| tree | 25cc5478bf34d0f59965982ba30eda6f1bf252de | |
| parent | 0b3d4a2f6d72c24f169bd5bf663f920ede5a8ae9 (diff) | |
machine-learning: python-flax: Disable some more tests.
* guix-science/packages/machine-learning.scm (python-flax)[arguments]:
Disable tests that can might depend on CPU micro-architecture.
| -rw-r--r-- | guix-science/packages/machine-learning.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/guix-science/packages/machine-learning.scm b/guix-science/packages/machine-learning.scm index 96bc6ae..c3db3e5 100644 --- a/guix-science/packages/machine-learning.scm +++ b/guix-science/packages/machine-learning.scm | |||
| @@ -1,4 +1,5 @@ | |||
| 1 | ;;; Copyright © 2023, 2024 Ricardo Wurmus <rekado@elephly.net> | 1 | ;;; Copyright © 2023, 2024 Ricardo Wurmus <rekado@elephly.net> |
| 2 | ;;; Copyright © 2024 Navid Afkhami <navid.afkhami@mdc-berlin.de> | ||
| 2 | ;;; | 3 | ;;; |
| 3 | ;;; This program is free software; you can redistribute it and/or modify it | 4 | ;;; This program is free software; you can redistribute it and/or modify it |
| 4 | ;;; under the terms of the GNU General Public License as published by | 5 | ;;; under the terms of the GNU General Public License as published by |
| @@ -72,6 +73,12 @@ | |||
| 72 | '(list "--pyargs" "tests" | 73 | '(list "--pyargs" "tests" |
| 73 | ;; We don't have tensorboard | 74 | ;; We don't have tensorboard |
| 74 | "--ignore=tests/tensorboard_test.py" | 75 | "--ignore=tests/tensorboard_test.py" |
| 76 | ;; These tests are failing bacause flax might only work | ||
| 77 | ;; on CPUs that have AVX support. | ||
| 78 | "--ignore=tests/serialization_test.py" | ||
| 79 | "--ignore=tests/linen/linen_test.py" | ||
| 80 | "--ignore=tests/linen/linen_recurrent_test.py" | ||
| 81 | "--ignore=tests/linen/linen_dtypes_test.py" | ||
| 75 | ;; These tests try to use a fixed number of CPUs that may | 82 | ;; These tests try to use a fixed number of CPUs that may |
| 76 | ;; exceed the number of CPUs available at build time. | 83 | ;; exceed the number of CPUs available at build time. |
| 77 | "--ignore=tests/jax_utils_test.py") | 84 | "--ignore=tests/jax_utils_test.py") |
