QNN: Whisper encoder compiled with QAIRT 2.51 crashes the HTP on SM8850

Aperta
#25,689 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
12/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
android, python

Direzione di ricerca

The failure is a QNN HTP runtime crash on SM8850 after compiling Whisper encode with QAIRT 2.51, so it sits outside the ExecuTorch Python code. Start from the repro in exporter_models/whisper/qnn/export.py and compare the v1.4.1/QAIRT 2.47 and v1.6.0/QAIRT 2.51 context binaries with qnn-context-binary-utility, focusing on spillFillBufferSize. Done would mean identifying the cause of error 0x2301 or confirming a QAIRT-side fix, which likely needs hardware and vendor SDK access.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Whisper-tiny encode lowered to QNN (fp16, SM8850) with v1.6.0 + QAIRT 2.51.0.260929 fails at execute on a Galaxy S26 Ultra in most runs; repeated runs ended in a kernel panic:

QnnDsp <E> skelExecute call failed with err 1007
CDSP0:[R]: Error code : 0x2301

Probably QAIRT rather than ExecuTorch:

  • The same graph compiled with v1.4.1 + QAIRT 2.47 runs fine on the same device and the same 2.51 runtime (com.qualcomm.qti:qnn-runtime:2.51.0).
  • qnn-context-binary-utility shows the same graph and IO in both contexts; only spillFillBufferSize grows, 21.9 MB -> 31.4 MB.
  • The x86 HTP simulator runs the 2.51 context fine.
  • Single-SoC and multi-SoC (FCB) contexts both fail.

Repro: exporter_models/whisper/qnn/export.py in software-mansion-labs/executorch-export-recipes (variant whisper_tiny_qnn_fp16_v81.pte), then run method encode on any 480000-sample float input.

Lingua principale
Python
Stelle
5.2k
Fork
1.3k
Merge medio
1g 7h
PR unite (30g)
644

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pytorch/executorch

Tutte le issue di pytorch/executorch

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.