Skip to content

fix(qairt): name recognized dsp_arch values when device creation fails - #1259

Open
MAN$I VERMA (mansiverma897993) wants to merge 1 commit into
qualcomm:mainfrom
mansiverma897993:fix/dsp-arch-diagnostic
Open

fix(qairt): name recognized dsp_arch values when device creation fails#1259
MAN$I VERMA (mansiverma897993) wants to merge 1 commit into
qualcomm:mainfrom
mansiverma897993:fix/dsp-arch-diagnostic

Conversation

@mansiverma897993

@mansiverma897993 MAN$I VERMA (mansiverma897993) commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Fixes #1254.

A bundle whose htp_backend_ext_config.json specifies a dsp_arch this 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 return PARAM_NOT_SUPPORTED with 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.

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>
@mansiverma897993

Copy link
Copy Markdown
Contributor Author

Test report (logic verification; no Snapdragon 8 Elite Gen 5 hardware on my side)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

QAIRT: unrecognized dsp_arch (e.g. v85) fails with bare error 1008 instead of naming supported values

1 participant