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

Ouverte
#25,689 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
12/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
android, python
Domaine
ai-infra-agents

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
Python
Étoiles
5.2k
Forks
1.3k
Merge moyen
1 j 7 h
PR mergées (30 j)
644

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de pytorch/executorch

Toutes les issues de pytorch/executorch

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.