Skip to content

Commit 50134d2

Browse files
authored
Update readme for qcom example
Differential Revision: D73382201 Pull Request resolved: #10331
1 parent a4be2e4 commit 50134d2

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

examples/qualcomm/README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,24 @@ commands in the `SimpleADB` class inside [utils.py](utils.py).
4444

4545
## Please use python xxx.py --help for information of each examples.
4646

47-
Some CLI examples here. Please adjust according to your environment:
47+
Some CLI examples here. Please adjust according to your environment. If you want to export the model without running it, please add `-compile_only` to the command.:
4848

4949
#### First switch to following folder
5050
```bash
5151
cd $EXECUTORCH_ROOT/examples/qualcomm/scripts
5252
```
5353

54+
## Simple Examples to Verify the Backend is Working
55+
```bash
56+
python export_example.py -m add -g
57+
```
58+
59+
It will generate a simple add model targeting for "SM8550". You can manually push the `add.pte` file to the device following https://pytorch.org/executorch/stable/build-run-qualcomm-ai-engine-direct-backend.html and run it with
60+
61+
```bash
62+
./qnn_executor_runner --model_path add.pte
63+
```
64+
5465
#### For MobileNet_v2
5566
```bash
5667
python mobilenet_v2.py -s <device_serial> -m "SM8550" -b path/to/build-android/ -d /path/to/imagenet-mini/val

0 commit comments

Comments
 (0)