gnu: python-captum: Update to 0.8.0. * gnu/packages/machine-learning.scm (python-captum): Update to 0.8.0. [aguments]: Use G-Expressions. <test-flags>: Add "tests" option parameter. [native-inputs]: Remove jupyter, python-annoy, python-black, python-flake8, python-ipython, python-ipywidgets, python-mypy, python-pytest, and python-pytest-cov. Change-Id: I1df3c97e8fd5f0075888420a9f9b4a6411bd58bb Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 22 insertions(+), 25 deletions(-) M gnu/packages/machine-learning.scm
M gnu/packages/machine-learning.scm => gnu/packages/machine-learning.scm +22 -25
@@ 5546,7 5546,7 @@ Actions for the Lightning suite of libraries.") (define-public python-captum (package (name "python-captum") (version "0.7.0") (version "0.8.0") (source (origin (method git-fetch) (uri (git-reference @@ 5555,35 5555,32 @@ Actions for the Lightning suite of libraries.") (file-name (git-file-name name version)) (sha256 (base32 "0bgfwnlsi50hbmknn7qljiy93fi6ggwz3k7yk9kj7s37mhzaylym")))) "066sal7hzpk9gsb6pk61sa9x01ckjbjb2mc8c69nc7aghqqrpqjs")))) (build-system pyproject-build-system) (arguments (list #:test-flags '(list "-k" (string-append ;; These two tests (out of more than 1000 tests) fail because of ;; accuracy problems. "not test_softmax_classification_batch_multi_target" " and not test_softmax_classification_batch_zero_baseline" ;; This test fails with PyTorch 2.7.0 due to stricter ;; torch.load weights_only behavior. " and not test_exp_sets_with_diffent_lengths")))) #~(list "-k" (string-append ;; These two tests (out of more than 1000 tests) fail ;; because of accuracy problems. "not test_softmax_classification_batch_multi_target" " and not test_softmax_classification_batch_zero_baseline" ;; This test fails with PyTorch 2.7.0 due to stricter ;; torch.load weights_only behavior. " and not test_exp_sets_with_diffent_lengths") "tests"))) (native-inputs (list python-flask python-pytest python-flask-compress python-parameterized python-scikit-learn python-setuptools)) (propagated-inputs (list python-matplotlib python-numpy python-pytorch python-tqdm)) (native-inputs (list jupyter python-annoy python-black python-flake8 python-flask python-flask-compress python-ipython python-ipywidgets python-mypy python-parameterized python-pytest python-pytest-cov python-scikit-learn python-setuptools)) (list python-matplotlib python-numpy python-pytorch python-tqdm)) (home-page "https://captum.ai") (synopsis "Model interpretability for PyTorch") (description "Captum is a model interpretability and understanding library