Skip to content

Qualcomm AI Engine Direct - QAIRT Visualizer Engagement #10873

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DannyYuyang-quic
Copy link
Collaborator

Summary:

  • Add QAIRT Visualizer e2e example script.
  • Add README for QAIRT Visualizer.
  • Integrate QAIRT Visualizer into CI.
  • Remove redundant context size log in QnnDlcManager to avoid duplicate log message.
  • Remove DLC test case from context extraction, as it has already been covered in the generate optrace test case.

Test plan

python -m backends.qualcomm.tests.test_qnn_delegate TestQNNFloatingPointUtils.test_qnn_backend_generate_optrace -s ${device_id} -H ${host_id} -m ${soc} -b build-android

@DannyYuyang-quic DannyYuyang-quic requested a review from cccclai as a code owner May 14, 2025 13:08
Copy link

pytorch-bot bot commented May 14, 2025

🔗 Helpful Links

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

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

❌ 18 New Failures, 2 Unrelated Failures

As of commit 9c27273 with merge base 05383fe (image):

NEW FAILURES - The following jobs have failed:

BROKEN TRUNK - The following jobs failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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

@facebook-github-bot facebook-github-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 May 14, 2025
@DannyYuyang-quic
Copy link
Collaborator Author

@pytorchbot label "release notes: qualcomm"

@pytorch-bot pytorch-bot bot added the release notes: qualcomm Changes to the Qualcomm backend delegate label May 14, 2025
@DannyYuyang-quic
Copy link
Collaborator Author

DannyYuyang-quic commented May 14, 2025

Hi @cccclai,

This PR integrates with the QAIRT Visualizer
With this PR, users can more easily analyze performance bottlenecks from op-trace data through a visualized timeline.
Additionally, it enables direct mapping of cycle costs for each Op onto the QNN Graph, based on the following PR:Qualcomm AI Engine Direct - Support Qnn IR backend in online preparation.

Here are the README and demo script for users:

  • backends/qualcomm/debugger/README.md – user guide and documentation
  • examples/qualcomm/util_scripts/qairt_visualizer_demo.py – E2E script

Please have a look!
Thanks!!

Summary:
- Add QAIRT Visualizer e2e example script.
- Add README for QAIRT Visualizer.
- Integrate QAIRT Visualizer into CI.
- Remove redundant context size log in QnnDlcManager to avoid duplicate log message.
- Remove DLC test case from context extraction, as it has already been covered in the generate optrace test case.
@DannyYuyang-quic DannyYuyang-quic force-pushed the dev1/danny/qairt_visualizer_engagement branch from afb55e1 to 9c27273 Compare May 26, 2025 01:16
@larryliu0820
Copy link
Contributor

@cccclai gentle ping

@facebook-github-bot
Copy link
Contributor

@cccclai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

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. release notes: qualcomm Changes to the Qualcomm backend delegate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants