Skip to content

Commit 0c7ef88

Browse files
committed
Add the execution permission after the runner file copied to android device:
The executable file: qnn_executor_runner executable permission is removed on the mobile device (I tested on one plus phone, os 15) after it's copied to the mobile device, The attributes of the original file: -rwxr-xr-x 1 . . 53039224 Mar 9 13:38 examples/qualcomm/executor_runner/qnn_executor_runner* The attributes of the copied file on the mobile device: -rw-rw-rw- 1 . . 53039224 2025-03-09 00:38 executorch/dl3_qnn_q8/qnn_executor_runner So, for running example easily, I added the "chmod +x ./qnn_executor_runner" before running it. Local test is successfully, after add this line the runner is running successfully on the device. Signed-off-by: jijie <[email protected]>
1 parent 73b83ca commit 0c7ef88

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/qualcomm/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ def execute(self, custom_runner_cmd=None, method_index=0):
205205
qnn_executor_runner_cmds = " ".join(
206206
[
207207
f"cd {self.workspace} &&",
208+
f"chmod +x ./qnn_executor_runner &&",
208209
f"./qnn_executor_runner {qnn_executor_runner_args}",
209210
]
210211
)

0 commit comments

Comments
 (0)