Quacomm AI Engine Direct - Enable FCB feature to Qualcomm HTP - #22521
Draft
quic-boyuc wants to merge 15 commits into
Draft
Quacomm AI Engine Direct - Enable FCB feature to Qualcomm HTP#22521quic-boyuc wants to merge 15 commits into
quic-boyuc wants to merge 15 commits into
Conversation
…thored with AI by Gemini-3.5-flash via Oh My Pi]
quic-boyuc
requested review from
abhinaykukkadapu,
mergennachin and
psiddh
as code owners
September 3, 2026 16:13
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/22521
Note: Links to docs will display an error until the docs builds have been completed.
|
This PR needs a
|
quic-boyuc
marked this pull request as draft
September 3, 2026 19:25
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
QNN Flexible Context Binary (FCB) multi-SoC HTP support
Adds offline FCB export for shipping one ExecuTorch artifact containing QNN HTP
contexts for multiple known Snapdragon SoCs. Requires QNN SDK >= 2.48.
User-facing API
generate_qnn_executorch_compiler_spec()now accepts paired lists:soc_model=[...]andbackend_options=[...].the existing single-SoC behavior.
fcb_reference_weight_sharing=Trueby default. It shares referencedweights while host AOT appends target contexts to the FCB DLC.
QnnQuantizerandmake_quantizer()accept FCB target lists and validateagainst the least-capable requested HTP architecture.
lists, duplicate SoCs, and DLBC when reference-weight sharing is enabled.
Architecture
reference-weight-sharing configuration.
(backend type, SoC)during lowering.registration state is reset after every compile, including failures.
context, retrieve its bytes, and free the DLC.
deserialize its graph metadata.
multi-SoC weight-sharing examples.
Usage
Build the Android runner: