-
Notifications
You must be signed in to change notification settings - Fork 606
Qualcomm AI Engine Direct - GA Albert, Bert, Distilbert, Eurobert #11546
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/11546
Note: Links to docs will display an error until the docs builds have been completed. ❌ 4 New FailuresAs of commit 4a42e26 with merge base 6af28c9 ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@pytorchbot label "release notes: qualcomm" |
16fa9d2
to
e81eebe
Compare
@cccclai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
1 similar comment
@cccclai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Does
|
e81eebe
to
171bdac
Compare
Thanks for catching this. Think I missed to update 1 file while rebasing. Please try again and it should be passing. |
@cccclai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Looks like there is a conflict, can you rebase? |
171bdac
to
8663aee
Compare
I have rebased but seems like the lintruner cannot be properly initialized in CI. |
Yeah it's fixed in main. Mind rebasing again? |
86a2b53
to
192d30b
Compare
3f09fe8
to
4a42e26
Compare
@cccclai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Summary
This PR consists of 4 Encoder-Only models.
Following stats are based on SM8750.
python examples/qualcomm/oss_scripts/albert.py -b build-android -s $DEVICE -m SM8750 --dataset ../wikipedia-sentences/wikisent2.txt
python examples/qualcomm/oss_scripts/bert.py -b build-android -s $DEVICE -m SM8750 --dataset ../wikipedia-sentences/wikisent2.txt
python examples/qualcomm/oss_scripts/distilbert.py -b build-android -s $DEVICE -m SM8750 --dataset ../wikipedia-sentences/wikisent2.txt
python examples/qualcomm/oss_scripts/eurobert.py -b build-android -s $DEVICE -m SM8750 --dataset ../wikipedia-sentences/wikisent2.txt
Test plan
test_qnn_delegate.py
python backends/qualcomm/tests/test_qnn_delegate.py -k TestExampleOssScript.test_{BERT_MODEL} --model SM8750 -s $DEVICE --build_folder build-android/ -r ./ -a ./test --sentence_dataset ../wikipedia-sentences/wikisent2.txt
Author: @haowhsu-quic, @chunit-quic, @winskuo-quic