pytorch - ✅(Solved) Fix DISABLED test_additive_rnumel (__main__.MixOrderReductionTest) [1 pull requests, 2 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#177218Fetched 2026-04-08 00:21:50
View on GitHub
Comments
2
Participants
2
Timeline
22
Reactions
0
Author
Assignees
Timeline (top)
referenced ×5mentioned ×4subscribed ×4labeled ×3

Root Cause

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

Fix Action

Fixed

PR fix notes

PR #177724: [xpu][fix] Fix xpu CI failures.

Description (problem / solution / changelog)

Stack from ghstack (oldest at bottom):

  • -> #177724

Fixes #177218, Fixes #176406, Fixes #176134, Fixes #175950, Fixes #176139, Fixes #175949, Fixes #176138, Fixes #176147

cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben @jataylo

Changed files

  • test/inductor/test_custom_op_autotune.py (modified, +2/-0)
  • test/inductor/test_mix_order_reduction.py (modified, +2/-0)
  • test/inductor/test_torchinductor.py (modified, +1/-0)
  • test/test_fake_tensor.py (modified, +1/-0)
RAW_BUFFERClick to expand / collapse

Platforms: xpu

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

cc @gujinghui @EikanWang @fengyuan14 @guangyey

extent analysis

Fix Plan

Fix Name: Update Test Case to Handle RNUMEL Edge Case

Step-by-Step Solution Plan

  1. Identify the failing test case: Locate the test_additive_rnumel test case in test_mix_order_reduction.py file.
  2. Update test case to handle RNUMEL edge case: Modify the test case to correctly handle the RNUMEL edge case. Here's an example code snippet:
import torch

class MixOrderReductionTest(unittest.TestCase):
    def test_additive_rnumel(self):
        # Create a tensor with RNUMEL edge case
        tensor = torch.randn(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,

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 - ✅(Solved) Fix DISABLED test_additive_rnumel (__main__.MixOrderReductionTest) [1 pull requests, 2 comments, 2 participants]