-
Notifications
You must be signed in to change notification settings - Fork 735
Qualcomm AI Engine Direct - Refactor QNN Manager #15903
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
base: main
Are you sure you want to change the base?
Conversation
Summary: - Include the contextmanager QnnManagerContext and QnnManagerRegistry to handle the life cycle management of QnnManager in AOT. - Introduce a singleton QnnBackendUnifiedRegistry to manage shared QNN components. - Separate the QnnManager Init function into InitBackend and InitContext to prevent creating the same backend and device for each context in AOT and runtime. - InitBackend should initialize shared QNN components such as QnnBackend, QnnDevice, QnnLogger, and the QNN library. - InitContext will be responsible for setting up QnnContext and QnnGraph. - Resolved the outdated link in the documentation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/15903
Note: Links to docs will display an error until the docs builds have been completed. ❌ 11 New Failures, 2 Unrelated FailuresAs of commit 31dbcca with merge base aff5086 ( NEW FAILURES - The following jobs have failed:
FLAKY - The following job failed but was likely due to flakiness present on trunk:
BROKEN TRUNK - The following job failed but was 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. |
|
@pytorchbot label "release notes: qualcomm" |
|
It seems like a big change, and I assume it's BC breaking? |
Yes, it will result in BC breaking since I remove graph_name in compile_spec. I replace graph_name with method name. |
Summary:
Background
Goals and Objectives
cc: @haowhsu-quic