Skip to content

test: Add xfail_if_cuda marker#431

Merged
ValerianRey merged 3 commits intomainfrom
add-xfail-if-cuda
Sep 29, 2025
Merged

test: Add xfail_if_cuda marker#431
ValerianRey merged 3 commits intomainfrom
add-xfail-if-cuda

Conversation

@ValerianRey
Copy link
Copy Markdown
Contributor

This marker allows us to mark some tests as expected failure if they're run on CUDA. Currently, the only example that fails on CUDA but works on CPU is RNN. I thus marked it as xfail_if_cuda. Before this PR, these tests would fail on CUDA on my machine.

  • Add possibility to mark test as xfail_if_cuda
  • Mark WithRNN as xfail_if_cuda

@ValerianRey ValerianRey added the cc: test Conventional commit type for changes to tests. label Sep 29, 2025
@ValerianRey ValerianRey self-assigned this Sep 29, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Sep 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ValerianRey ValerianRey merged commit f28d5fc into main Sep 29, 2025
17 checks passed
@PierreQuinton PierreQuinton deleted the add-xfail-if-cuda branch October 2, 2025 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cc: test Conventional commit type for changes to tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants