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

Abierto
#25,689 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
12/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
android, python

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Python
Estrellas
5.2k
Forks
1.3k
Merge medio
1 d 7 h
PR fusionados (30 d)
644

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de pytorch/executorch

Todos los issues de pytorch/executorch

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.