QNN: Whisper encoder compiled with QAIRT 2.51 crashes the HTP on SM8850
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
- Ambito
- ai-infra-agents
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-utilityshows the same graph and IO in both contexts; onlyspillFillBufferSizegrows, 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
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di pytorch/executorch
-
to_edge_transform_and_lower ignores some ops_to_not_decompose requests: multi-output ops, and non-core ops without a decompositionForse già presa @Eureka-Zhang l’ha presa 7 giorni fa. Apertamodule: exir
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
pytorch/executorch#25620 ·
I maintainer di solito rispondono entro 1 giorno
-
Qualcomm AI Engine Direct - fp16a8w quantization crashes on layer_normForse già presa @psiddh l’ha presa 21 giorni fa. Apertabug module: qnn partner: qualcomm
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
pytorch/executorch#24434 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement triaged
Difficoltà 2/5 Mezza giornata Idoneità per principianti 68/100
pytorch/executorch#21640 ·
I maintainer di solito rispondono entro 1 giorno
-
quantize_per_channel and dequantize_per_tensor.tensor abort the process on a float32 scaleForse già presa @AxelNoun l’ha presa oggi. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
pytorch/executorch#25873 ·
I maintainer di solito rispondono entro 1 giorno
-
XNNPACK INT4 linear returns incorrect per-channel outputs and fails groupwise FP16 on Apple M4 MaxForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug module: quantization module: xnnpack
Difficoltà 4/5 3-5 giorni Idoneità per principianti 43/100
pytorch/executorch#25854 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di pytorch/executorch
Issue simili
-
Container fails to start when GitHub Releases is unavailable: uv run re-downloads the tvl wheelAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
trezor/trezor-user-env#421 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 91/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
tangentcode/tangentswarm#167 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno