Commit 4a44e09
fix the qnn sdk env issue
Summary:
`executorch/examples/qualcomm/utils.py` will check if `QNN_SDK_ROOT` is set. This is helpful for oss, but internally we rely on buck to set the deps. Currently we just set `QNN_SDK_ROOT` to empty to bypass the issue.
```
buck run mode/dev-nosan //executorch/examples/qualcomm/oss_scripts/llama3_2:llama_qnn -- --compile_only --ptq 16a4w --checkpoint /home/chenlai/local//consolidated.00.pth --params /home/chenlai/local//params.json --tokenizer_model /home/chenlai/local//tokenizer.model --prompt "Once" -m SM8650 --model_size 1B --model_mode hybrid --build_folder /home/chenlai/local 2>&1 | tee static_llama.log
```
bypass-github-export-checks
Reviewed By: billmguo
Differential Revision: D678148381 parent 7a2dc47 commit 4a44e09
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
0 commit comments