GNU bug report logs -
#78726
[PATCH 0/5] Update PyTorch to 2.7.0 with dependencies
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/machine-learning.scm (python-captum)[arguments]: Skip
test_exp_sets_with_diffent_lengths which fails with PyTorch 2.7.0's
stricter torch.load weights_only behavior.
Signed-off-by: Ayan Das <bvits <at> riseup.net>
---
gnu/packages/machine-learning.scm | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 9636e2cd19..c1621d1e0b 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -5611,11 +5611,14 @@ (define-public python-captum
(arguments
(list
#:test-flags
- '(list "-k"
- ;; 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")))
+ '(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"))))
(propagated-inputs
(list python-matplotlib python-numpy python-pytorch python-tqdm))
(native-inputs (list jupyter
--
2.49.0
This bug report was last modified 2 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.