-
Notifications
You must be signed in to change notification settings - Fork 683
[Executorch][QNN Recipes] Introduce QNN fp16 recipe #14179
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…transform_passes definition to take exported program and method name. Pull Request resolved: #14125 While adding QNN recipes, i realized there are gaps in pre edge and edge transform passes in the recipe logic. Where the transform passes need exported program to resolve them dynamically at runtime. Changes made: - `pre_edge_transform_passes` is now renamed to `aten_transform_passes` - `aten_transform_passes`: now accepts list of transformation functions which takes in (method_name, ExportedProgram) and gives back ExportedProgram - `aten_transform_passes: Optional[List[Callable[[str, ExportedProgram], ExportedProgram]]]` - `edge_transform_passes`: Now this is a list of callables that resolves to a list of passes, callables is needed because some of the passes might need ExportedProgram which is only available during execution and not when recipe is created. - `edge_transform_passes: None | List[Callable[[str, ExportedProgram], List[PassType]]]` ghstack-source-id: 308796607 Differential Revision: [D81730890](https://our.internmc.facebook.com/intern/diff/D81730890/)
Pull Request resolved: #14126 This diff adds QNN fp16 recipe and tests using htp simulator. Fixes: #13101 ghstack-source-id: 308796609 Differential Revision: [D81945971](https://our.internmc.facebook.com/intern/diff/D81945971/)
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/14179
Note: Links to docs will display an error until the docs builds have been completed. ❌ 26 New Failures, 195 Pending, 37 Unrelated FailuresAs of commit 610219f with merge base 0b78412 ( NEW FAILURES - The following jobs have failed:
FLAKY - The following jobs failed but were likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
abhinaykukkadapu
approved these changes
Sep 10, 2025
StrycekSimon
pushed a commit
to nxp-upstream/executorch
that referenced
this pull request
Sep 23, 2025
…81945971 Co-authored-by: Abhinay Kukkadapu <abhinayk@meta.com> Differential version: D81945971
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was created by the merge bot to help merge the original PR into the main branch.
ghstack PR number: #14126 by @abhinaykukkadapu
^ Please use this as the source of truth for the PR details, comments, and reviews
ghstack PR base: https://github.com/pytorch/executorch/tree/gh/abhinaykukkadapu/10/base
ghstack PR head: https://github.com/pytorch/executorch/tree/gh/abhinaykukkadapu/10/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/abhinaykukkadapu/9/orig
Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/abhinaykukkadapu/10/orig
@diff-train-skip-merge