pytorch - 💡(How to fix) Fix DISABLED test_max_pool2d_with_indices_backward5 [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
pytorch/pytorch#178124Fetched 2026-04-08 01:16:35
View on GitHub
Comments
1
Participants
2
Timeline
19
Reactions
0
Author
Timeline (top)
subscribed ×12mentioned ×2added_to_project_v2 ×1closed ×1

Root Cause

This test was disabled because it is failing on main branch recent examples

RAW_BUFFERClick to expand / collapse

Platforms: xpu

This test was disabled because it is failing on main branch recent examples

cc @seemethere @malfet @pytorch/pytorch-dev-infra

extent analysis

Fix Plan

Enable the disabled test on the main branch.

Steps to Fix

  • Re-enable the test by removing the disable flag
  • Update the test to handle any recent changes that may be causing the failure
  • Run the test locally to verify it passes before pushing to the main branch

Example Code

# Remove the disable flag
# @pytest.mark.skip(reason="Failing on main branch")
@pytest.mark.parametrize("device", ["xpu"])
def test_example(device):
    # Test code here
    pass

Verification

  • Run the test using pytest to verify it passes
  • Check the HUD dashboard to ensure the test is no longer failing

Extra Tips

  • Use pytest.mark.skip with a clear reason to disable tests, making it easier to re-enable them later
  • Regularly review and update disabled tests to prevent regressions

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

pytorch - 💡(How to fix) Fix DISABLED test_max_pool2d_with_indices_backward5 [1 comments, 2 participants]