pytorch - 💡(How to fix) Fix DISABLED test_sdpa_rewriter_14_cpu (__main__.SDPAPatternRewriterCpuTests) [2 pull requests]

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…

Root Cause

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

Fix Action

Fix / Workaround

https://github.com/pytorch/pytorch/pull/176256 - SVE128 dispatch merged but this shouldn't have affected Neoverse-V1 for which we are seeing flaky behaviour. https://github.com/pytorch/pytorch/pull/182974 - This was merged which may have triggered flakiness

Code Example

SDPAPatternRewriterCpuDynamicTests - test_sdpa_rewriter_14_cpu
SDPAPatternRewriterCpuTests - test_sdpa_rewriter_5_cpu
SDPAPatternRewriterCpuTests - test_sdpa_rewriter_14_cpu
SDPAPatternRewriterCpuDynamicTests - test_sdpa_rewriter_5_cpu
RAW_BUFFERClick to expand / collapse

Platforms: linux

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

Failing ( not consistently ) on AArch64 m7g in trunk, m8g in pull seems to be fine

Could be related to one of these

https://github.com/pytorch/pytorch/pull/176256 - SVE128 dispatch merged but this shouldn't have affected Neoverse-V1 for which we are seeing flaky behaviour. https://github.com/pytorch/pytorch/pull/182974 - This was merged which may have triggered flakiness

Yet to be merged ( possible fix ) https://github.com/pytorch/pytorch/pull/183697 - This is the fix we want to merge to fix the issue properly, however at the time of creation it was consistant not flakey.

Affected tests, relates to https://github.com/pytorch/pytorch/issues/177244

SDPAPatternRewriterCpuDynamicTests - test_sdpa_rewriter_14_cpu
SDPAPatternRewriterCpuTests - test_sdpa_rewriter_5_cpu
SDPAPatternRewriterCpuTests - test_sdpa_rewriter_14_cpu
SDPAPatternRewriterCpuDynamicTests - test_sdpa_rewriter_5_cpu

cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @jerryzh168 @aditew01 @mruberry @snadampal @milpuz01 @nikhil-arm @fadara01 @nWEIdia @chauhang @penguinwu @voznesenskym @EikanWang @Guobing-Chen @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 - 💡(How to fix) Fix DISABLED test_sdpa_rewriter_14_cpu (__main__.SDPAPatternRewriterCpuTests) [2 pull requests]