-
Notifications
You must be signed in to change notification settings - Fork 960
Maxvit_t model lowering segfaults on QNN #14050
Copy link
Copy link
Closed
Labels
backend testerThis bug was found by the backend test suite.This bug was found by the backend test suite.module: qnnIssues related to Qualcomm's QNN delegate and code under backends/qualcomm/Issues related to Qualcomm's QNN delegate and code under backends/qualcomm/partner: qualcommFor backend delegation, kernels, demo, etc. from the 3rd-party partner, QualcommFor backend delegation, kernels, demo, etc. from the 3rd-party partner, Qualcomm
Metadata
Metadata
Assignees
Labels
backend testerThis bug was found by the backend test suite.This bug was found by the backend test suite.module: qnnIssues related to Qualcomm's QNN delegate and code under backends/qualcomm/Issues related to Qualcomm's QNN delegate and code under backends/qualcomm/partner: qualcommFor backend delegation, kernels, demo, etc. from the 3rd-party partner, QualcommFor backend delegation, kernels, demo, etc. from the 3rd-party partner, Qualcomm
🐛 Describe the bug
The maxvit_t model in torchvision segfaults on QNN when lowering. It doesn't seem to be a 100% repro, but it's pretty close on my local machine.
Output excerpt (note that the segfault happens several pages of logs in):
This can be reproduced with the following test case command or standalone script.
Standalone repro:
Note that running the backend test case requires executorch's python bindings to be built with the QNN backend. An example build command is below, Note that it will still need the library paths to be set up properly as described in the ET QNN docs.
Versions
Commit fbda3a9, x86-64 simulator, WSL
cc @cccclai @winskuo-quic @shewu-quic @cbilgin