-
Notifications
You must be signed in to change notification settings - Fork 536
local change to export llama to qnn #2985
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/2985
Note: Links to docs will display an error until the docs builds have been completed. ❌ 5 New FailuresAs of commit 796ae1c with merge base d3326a2 ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Hi Chen,
|
oh you may need this change...#2934 In the meanwhile, this line probably need to be updated because there is a bug in the constant prop pass..
I've submit a change here pytorch/pytorch#123909 to fix the constant prop pass and try to fix it |
Also ideally |
Thanks for your reply. I will try it. |
That's great. We will try to refine our dependency. executorch/backends/qualcomm/CMakeLists.txt Line 251 in 6acc86f
May I know which target do you recommend? |
probably need to check the corresponding cmake target...in buck, it's |
Not longer needed. |
AOT, generate qnn delegated model: python -m examples.models.llama2.export_llama --qnn --use_kv_cache -p /home/chenlai/models/stories110M/params.json -c /home/chenlai/models/stories110M/stories110M.pt
Runtime: follow build_llama_android.sh with QNN config on, then run: /llama_main --model_path=./stories_qnn_SM8450.pte --tokenizer_path=./tokenizer.bin --prompt="Once"