Skip to content

[QNN] Multi-graph models fail on second iteration with DMA execution error 1100 #15985

@notaJiminLee

Description

@notaJiminLee

🐛 Describe the bug

Summary

When running QNN-delegated multi-graph models with --iteration 2 or higher, the execution fails at the first graph (0x1) of the second iteration with Error 1100. Single-graph models work correctly with any number of iterations.

Steps to Reproduce

  1. Export a multi-graph model (e.g., LLM) to PTE with QNN backend
  2. Run with iteration > 1:
./qnn_executor_runner --model_path model.pte --iteration 2 --input_list_path input_list.txt

Reproduced with SmolLM2 (135M) and Llama 3.2 1B

Expected Behavior

All iterations should complete successfully, as they do with single-graph models.

Actual Behavior

  • Single-graph model: All iterations succeed
  • Multi-graph model:
    • Iteration 1: All graphs execute successfully (result 0)
    • Iteration 2: First graph (0x1) immediately fails (result 1100)

Error Logs

[INFO] [Qnn ExecuTorch]:  <I> operator() started. graph = 0x1
[ERROR] [Qnn ExecuTorch]:  <E> Dma execution failed on the skel side. result = 1100 transport error = 0
[ERROR] [Qnn ExecuTorch]:  <E> Graph forward failed in execution with err 1100
[ERROR] [Qnn ExecuTorch]: qnn_graph_execute failed. Error 1100
Aborted

What I've Tried (All Failed)

  • use_multi_contexts=True during export - No effect
  • --shared_buffer true at runtime - No effect
  • --warm_up 1 --iteration 1 - Fails (warm_up counts as first execution)

Versions

Unable to run collect_env.py on Android device. Manual environment info:

Environment

  • Device: Samsung Galaxy S24 (SM8650 / Snapdragon 8 Gen 3)
  • Android Version: 14
  • ExecuTorch Version: 0.7.0
  • QNN SDK Version: 2.28.0.241029

cc @cccclai @winskuo-quic @shewu-quic @haowhsu-quic @DannyYuyang-quic @cbilgin

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: qnnIssues related to Qualcomm's QNN delegate and code under backends/qualcomm/partner: qualcommFor backend delegation, kernels, demo, etc. from the 3rd-party partner, Qualcomm

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions