mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-captum: Fix tests for PyTorch 2.7.0.
* 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@riseup.net> Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
f058c9e825
commit
1f1b65ddbc
1 changed files with 8 additions and 5 deletions
|
@ -5611,11 +5611,14 @@ Actions for the Lightning suite of libraries.")
|
|||
(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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue