Skip to content

Un-xfail test_sdpa_rewriter_14_cpu on ARM64 SVE256 - #184451

Closed
izaitsevfb wants to merge 4 commits into
mainfrom
remove-sve256-xfail-sdpa14
Closed

izaitsevfb wants to merge 4 commits into
mainfrom
remove-sve256-xfail-sdpa14

Conversation

@izaitsevfb

@izaitsevfb izaitsevfb commented May 19, 2026 •

Copy link
Copy Markdown
Contributor

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

The SDPAPatternRewriterCpuDynamicTests::test_sdpa_rewriter_14_cpu shard
on the new OSDC mt-l-arm64g3 aarch64 runner reports SVE256 capability
but no longer reproduces the numerical mismatch from #177244, so the
xfailIf decorator now flips to FAILED CONSISTENTLY via "Unexpected
success" whenever target determination pulls the file into the shard
(first observed at 0773444 on the test-osdc/aarch64 job).
@pytorch-bot

pytorch-bot Bot commented May 19, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/184451

Note: Links to docs will display an error until the docs builds have been completed.

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

❌ 1 Unclassified Failure

As of commit 6bec955 with merge base 77db6af (image):

UNCLASSIFIED FAILURE - DrCI could not classify the following job because the workflow did not run on the merge base. The failure may be pre-existing on trunk or introduced by this PR:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@izaitsevfb

Copy link
Copy Markdown
Contributor Author

cc @huydhn

Comment thread test/inductor/test_fused_attention.py Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is this line that need to be removed too. The trigger of the failure was pytorch/ci-infra#591. The change surfaced the right thing I guess as the test is now correctly run on g3 linux.arm64.m7g.4xlarge

@huydhn huydhn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Ty for the fix!

@huydhn huydhn added ciflow/trunk Trigger trunk jobs on your pull request and removed ciflow/inductor labels May 20, 2026
Removed unused imports and adjusted test variable assignments.
@huydhn

huydhn commented May 20, 2026

Copy link
Copy Markdown
Contributor

@pytorchbot merge -i

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged while ignoring the following 1 checks: inductor / inductor-test / test (inductor_huggingface, 1, 1, linux.g5.4xlarge.nvidia.gpu)

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

pytorchmergebot pushed a commit to weishi-deng/pytorch that referenced this pull request May 21, 2026
## 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 pytorch#183482) reports `IS_CPU_CAPABILITY_SVE256=True` but does not reproduce the numerical mismatch from pytorch#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 pytorch#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.

Pull Request resolved: pytorch#184451
Approved by: https://github.com/huydhn

Co-authored-by: Huy Do <[email protected]>
@github-actions
github-actions Bot deleted the remove-sve256-xfail-sdpa14 branch June 20, 2026 02:28
gplutop7 pushed a commit to gplutop7/pytorch that referenced this pull request Jul 15, 2026
## 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 pytorch#183482) reports `IS_CPU_CAPABILITY_SVE256=True` but does not reproduce the numerical mismatch from pytorch#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 pytorch#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.

Pull Request resolved: pytorch#184451
Approved by: https://github.com/huydhn

Co-authored-by: Huy Do <[email protected]>
aws-kingrj pushed a commit to amazon-contributing/upstream-to-pytorch that referenced this pull request Jul 29, 2026
## 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 pytorch#183482) reports `IS_CPU_CAPABILITY_SVE256=True` but does not reproduce the numerical mismatch from pytorch#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 pytorch#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.

Pull Request resolved: pytorch#184451
Approved by: https://github.com/huydhn

Co-authored-by: Huy Do <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AArch64 Unit Test Failure - Multiple failures in SDPAPatternRewriterCpuTests

3 participants