-
Notifications
You must be signed in to change notification settings - Fork 608
Qualcomm AI Engine Direct - context dump utility #7931
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/7931
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit a89479d with merge base b1d76c9 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Hi @cccclai, this PR provides methods to save compiled QNN context binaries / QCIR from EdgeProgramManager or PTE file. It might be helpful for user to conduct further analysis. Hi @limintang, this one might be similar to #6745 but slightly flexible. Hopefully this could help, thanks. |
d3d3d78
to
c4dfc68
Compare
Hi @cccclai, sorry for pinging. We probably need this feature for performance analysis when doing XR model enablement, please help merge this if it looks good to you. |
@pytorchbot label "release notes: qualcomm" |
c4dfc68
to
9fc0b96
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry a bit late on this, looks good to me.
@cccclai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Hey there is an internal error
Can you help fixing it? |
Can you attach this patch?
|
summary: - utility for dumping compiled binaries (QNN context_binary / QCIR) - test cases
9fc0b96
to
a89479d
Compare
Sorry didn't catch that, I just remove it and rebase again. Thank you. |
@cccclai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thank you!
Summary
Test plan
python backends/qualcomm/tests/test_qnn_delegate.py -k TestQNNQuantizedUtils.test_qnn_backend_context_extraction -s $DEVICE_SERIAL -m SM8650 -b build-android/