fix(qairt): name recognized dsp_arch values when device creation fails - #1259
Open
MAN$I VERMA (mansiverma897993) wants to merge 1 commit into
Open
fix(qairt): name recognized dsp_arch values when device creation fails#1259MAN$I VERMA (mansiverma897993) wants to merge 1 commit into
MAN$I VERMA (mansiverma897993) wants to merge 1 commit into
Conversation
A bundle whose htp_backend_ext_config.json specifies a dsp_arch this QAIRT release does not recognize (e.g. "v85") fails with a bare QNN error 1008, which reads as unsupported silicon. Validate the config up front and, when pipeline creation fails, log which dsp_arch was unrecognized and which values are supported, returning PARAM_NOT_SUPPORTED instead of MODEL_LOAD. Not a hard gate: a QAIRT that accepts the value still loads normally. Fixes qualcomm#1254 Signed-off-by: mansiverma897993 <vmansi756@gmail.com>
MAN$I VERMA (mansiverma897993)
force-pushed
the
fix/dsp-arch-diagnostic
branch
from
July 31, 2026 11:32
2439bb9 to
60f1566
Compare
Contributor
Author
|
Test report (logic verification; no Snapdragon 8 Elite Gen 5 hardware on my side)
|
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.
Fixes #1254.
A bundle whose
htp_backend_ext_config.jsonspecifies adsp_archthis QAIRT release doesn't recognize (e.g."v85") fails with a bare QNN error 1008, which reads as unsupported silicon.This adds
dsp_arch_diagnostic()to the qairt runtime utils: it scans the config (schema-agnostic walk) and produces a message naming the offending value and the recognized set (v68-v81). Both LLM and VLM create paths log it as a warning, and on pipeline-creation failure returnPARAM_NOT_SUPPORTEDwith the diagnostic instead of the bare error.Not a hard gate: a missing/unparseable config or a QAIRT that accepts the value changes nothing. Test report in the comment below.