~ruther/guix-local

9e2dd1012fc6a44a31e37d4b5dac5e828524577f — Ayan Das 5 months ago 720d2b5
gnu: python-torchaudio: Skip additional TorchScript consistency tests.

* gnu/packages/machine-learning.scm (python-torchaudio): Extend pytest -k
  filter to exclude FrequencyMasking/TimeMasking/deemphasis/RNNTLoss
  TorchScript tests that fail with PyTorch 2.9.0.
  [native-inputs]: Drop python-wheel.

Change-Id: I87e4360cd3ebe433f5e5e508028872b8fdc294b7
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 10 insertions(+), 4 deletions(-)

M gnu/packages/machine-learning.scm
M gnu/packages/machine-learning.scm => gnu/packages/machine-learning.scm +10 -4
@@ 4759,7 4759,7 @@ Note: currently this package does not provide GPU support.")
              (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0snrn6bhc7hcfzs5y4h61dl4dmwxymkf46dygjq6c09nc1jvmxj8"))))
        (base32 "0g55nsjs3n66i462cc0fba14qs6w9nk519hrac6rsf5anp8dx551"))))
    (build-system pyproject-build-system)
    (arguments
     (list


@@ 4782,9 4782,15 @@ test/torchaudio_unittest/prototype/hifi_gan/hifi_gan_gpu_test.py"
         "--ignore-glob=test/torchaudio_unittest/models"
         "--ignore=test/torchaudio_unittest/models/models_test.py"
         "--ignore=test/torchaudio_unittest/transforms/autograd_cpu_test.py"
         "-k" (string-append "not test_torchscript_fails"  ; requires BUILD_SOX=1
                             ;; XXX: Unmatching harmless warning message.
                             " and not test_unknown_subtype_warning"))
         "-k" (string-append
               "not test_torchscript_fails"  ; requires BUILD_SOX=1
               ;; XXX: Unmatching harmless warning message.
               " and not test_unknown_subtype_warning"
               ;; Skip TorchScript consistency tests that fail with 2.9.0
               " and not test_FrequencyMasking"
               " and not test_TimeMasking"
               " and not test_deemphasis"
               " and not test_rnnt_loss"))
      #:phases
      #~(modify-phases %standard-phases
          (add-before 'build 'configure