I’m running a modified version of the qualcomm deeplab_v3.py scripts to deploy models to a Samsung S25 with the correct SM8750 model specified. When I run a VGG16 architecture it seems to work, my quantization is horrendous, but at least it runs. However, when I run the PyTorch implemention of ViT-H/14 fine-tuned on CIFAR10 it doesn’t work? Not sure exactly what the issue is.
When I inspect the input data it looks fine.
Here is the relevant log output:
[‘adb’, ‘-s’, ‘R5CXC1V74NV’, ‘shell’, ‘cd /data/local/tmp/model/expert1/executorch/cmod_expert1_qnn_q8 && chmod +x ./qnn_executor_runner && ./qnn_executor_runner --model_path cmod_expert1_qnn_q8.pte --output_folder_path /data/local/tmp/model/expert1/executorch/cmod_expert1_qnn_q8/outputs --input_list_path input_list.txt --etdump_path /data/local/tmp/model/expert1/executorch/cmod_expert1_qnn_q8/etdump.etdp --debug_output_path /data/local/tmp/model/expert1/executorch/cmod_expert1_qnn_q8/debug_output.bin --method_index 0’]
I 00:00:00.003551 executorch:qnn_executor_runner.cpp:232] Model file cmod_expert1_qnn_q8.pte is loaded.
I 00:00:00.003571 executorch:qnn_executor_runner.cpp:242] Using method forward
I 00:00:00.003575 executorch:qnn_executor_runner.cpp:289] Setting up planned buffer 0, size 3219936.
[INFO] [Qnn ExecuTorch]: Deserializing processed data using QnnContextCustomProtocol
[INFO] [Qnn ExecuTorch]: create QNN Logger with log_level 1
[INFO] [Qnn ExecuTorch]: Initialize Qnn backend parameters for Qnn executorch backend type 2
[INFO] [Qnn ExecuTorch]: Caching: Caching is in RESTORE MODE.
[INFO] [Qnn ExecuTorch]: QnnContextCustomProtocol expected magic number: 0x5678abcd but get: 0x2000000
[INFO] [Qnn ExecuTorch]: Running level=1 optimization.
I 00:00:00.973868 executorch:qnn_executor_runner.cpp:313] Method loaded.
E 00:00:00.974553 executorch:method.cpp:1245] Output 0 is memory planned, or is a constant. Cannot override the existing data pointer.
I 00:00:00.974564 executorch:qnn_executor_runner.cpp:373] ignoring error from set_output_data_ptr(): 0x2
F 00:00:00.974567 executorch:evalue.h:278] In function toTensor(), assert failed (isTensor()): EValue is not a Tensor.
Aborted