pytorch - ✅(Solved) Fix DISABLED test_sdpa_rewriter_14_cpu (__main__.SDPAPatternRewriterCpuDynamicTests) [1 pull requests, 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#184453Fetched 2026-05-20 03:38:36
View on GitHub
Comments
1
Participants
2
Timeline
53
Reactions
0
Timeline (top)
mentioned ×22subscribed ×22labeled ×8commented ×1

Root Cause

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

PR fix notes

PR #184451: Un-xfail test_sdpa_rewriter_14_cpu on ARM64 SVE256

Description (problem / solution / changelog)

Summary

Remove xfailIf(IS_ARM64 and IS_CPU_CAPABILITY_SVE256) from test_sdpa_rewriter_14_cpu in test/inductor/test_fused_attention.py.

The new OSDC aarch64 runner (mt-l-arm64g3-16-62, enabled trunk-wide via #183482) reports IS_CPU_CAPABILITY_SVE256=True but does not reproduce the numerical mismatch from #177244. The decorator now flips passing runs to FAILED CONSISTENTLY via "Unexpected success" whenever target determination pulls the file into the shard.

Failure first surfaced at 07734446eb on trunk / linux-jammy-aarch64-py3.10 / test-osdc (default, 4, 5, mt-l-arm64g3-16-62) and has been consistent across every subsequent main commit whose TD scope selected test_fused_attention.py.

Closes #177244 (if the issue still applies to the older m7g.4xlarge runner family, we can re-narrow the gate later).

Test plan

  • pull / trunk aarch64 OSDC test-osdc shard 4/5 turns green on this branch.
  • No regressions on x86 or other aarch64 shards.

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_fused_attention.py (modified, +1/-2)
RAW_BUFFERClick to expand / collapse

Platforms: linux

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

potential fix: https://github.com/pytorch/pytorch/pull/184451

cc @mruberry @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @kadeng @muchulee8 @amjames @aakhundov @coconutruben @jataylo @drisspg @liangel-02 @howardzhang-cv

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_sdpa_rewriter_14_cpu (__main__.SDPAPatternRewriterCpuDynamicTests) [1 pull requests, 1 comments, 2 participants]