Skip to content

[Qualcomm] Re-enable FP MHA test skipped since QNN 2.26 - #22872

Open
psiddh wants to merge 1 commit into
pytorch:mainfrom
psiddh:unskip-fp-qnn-mha
Open

psiddh wants to merge 1 commit into
pytorch:mainfrom
psiddh:unskip-fp-qnn-mha

Conversation

@psiddh

@psiddh psiddh commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Remove the stale @unittest.skip decorator on TestQNNFloatingPointOperator.test_qnn_backend_mha (backends/qualcomm/tests/test_qnn_delegate.py). The skip dates to Sep 2024 ('failed to lower in QNN 2.26'); the quantized twin has no skip, MHA lowering support has since landed, and the rework framework covers MHA.

This un-skips mha across test_qnn_delegate_x86, the fb simulator, and the recipe-session simulator.

Fixes SKIPPING bucket rows for ai_infra_mobile_platform (executorch/backends/qualcomm): test_qnn_backend_mha x4.

cc @cbilgin

Summary:
Remove the stale @unittest.skip decorator on TestQNNFloatingPointOperator.test_qnn_backend_mha. The skip dates to Sep 2024 ('failed to lower in QNN 2.26'); the quantized twin has no skip, MHA lowering support has since landed, and the rework framework covers MHA. This un-skips mha across test_qnn_delegate_x86, the fb simulator, and the recipe-session simulator.

Test Plan:
ast.parse passes on the edited file. Needs CI run of test_qnn_delegate_x86 and fb:test_qnn_delegate_simulator mha tests to confirm pass.
Copilot AI lite review requested due to automatic review settings September 16, 2026 08:20
@pytorch-bot

pytorch-bot Bot commented Sep 16, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ 1 New Failure

As of commit 39d67ba with merge base 13ec99a (image):

NEW FAILURE - The following job has failed:

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

@psiddh psiddh added the module: qnn Issues related to Qualcomm's QNN delegate and code under backends/qualcomm/ label Sep 16, 2026
@github-actions

Copy link
Copy Markdown

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 16, 2026

Copilot AI 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.

🟢 Approval recommended

The change is focused and has no unresolved review issues.

Pull request overview

Re-enables the floating-point MHA QNN delegate test by removing its obsolete skip.

Changes:

  • Removes the stale unittest.skip decorator.
  • Restores existing FP MHA test coverage.
File summaries
File Description
backends/qualcomm/tests/test_qnn_delegate.py Re-enables the floating-point MHA test.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@winskuo-quic winskuo-quic left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. module: qnn Issues related to Qualcomm's QNN delegate and code under backends/qualcomm/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants