From d48730936be32a34d072f50f166f84c5fb2bbd3c Mon Sep 17 00:00:00 2001 From: Navid Afkhami Date: Wed, 7 Feb 2024 22:53:40 +0100 Subject: 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. --- guix-science/packages/machine-learning.scm | 7 +++++++ 1 file changed, 7 insertions(+) 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 @@ ;;; Copyright © 2023, 2024 Ricardo Wurmus +;;; Copyright © 2024 Navid Afkhami ;;; ;;; This program is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by @@ -72,6 +73,12 @@ '(list "--pyargs" "tests" ;; We don't have tensorboard "--ignore=tests/tensorboard_test.py" + ;; These tests are failing bacause flax might only work + ;; on CPUs that have AVX support. + "--ignore=tests/serialization_test.py" + "--ignore=tests/linen/linen_test.py" + "--ignore=tests/linen/linen_recurrent_test.py" + "--ignore=tests/linen/linen_dtypes_test.py" ;; These tests try to use a fixed number of CPUs that may ;; exceed the number of CPUs available at build time. "--ignore=tests/jax_utils_test.py") -- cgit v1.2.3