Qualcomm AI Engine Direct - Merge the two pybind libraries into a single library#15999
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/15999
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 1 Cancelled Job, 1 Unrelated FailureAs of commit fffb232 with merge base ee236cb ( NEW FAILURE - The following job has failed:
CANCELLED JOB - The following job was cancelled. Please retry:
UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
Hi @cccclai Could you take a look at this when you have a moment? Thanks |
|
@pytorchbot label "release notes: qualcomm" |
|
It seems like a pretty big change and I just recently disable qnn pybind test #15949. Let's make sure it passes internal test and the qnn related CI.. |
9b4866c to
1ab4cd2
Compare
…gle library Summary: - Prevent dynamic_cast failures caused by separate typeinfo in each library.
1ab4cd2 to
fffb232
Compare
|
Hi @cccclai , did you test I got the following error |
Hi @DamonFool , Could you rebuild PyQnnManagerAdaptor.so? |
It works for me. But with the following error I tested it with So may I ask is the It is broken with |
|
My test command is python3 examples/qualcomm/oss_scripts/qwen2_5/qwen2_5.py \
-m SM8650 \
-s xxx \
--prompt "My favourite condiment is " \
-b build-android \
--decoder_model qwen2.5_0.5B \
--calibration_tasks wikitext \
--calibration_limit 1 \
--ptq 16a8w |
It seems to be misaligned with transformers==4.56.1. Will look into it. Thanks for reporting. BTW, you can also run this script to run qwen to get better performance. https://github.com/pytorch/executorch/tree/main/examples/qualcomm/oss_scripts/llama |
Thanks @shewu-quic . |
…gle library (pytorch#15999) Summary: - Prevent dynamic_cast failures caused by separate typeinfo in each library with clang. cc: @haowhsu-quic
…gle library (pytorch#15999) Summary: - Prevent dynamic_cast failures caused by separate typeinfo in each library with clang. cc: @haowhsu-quic
Summary:
cc: @haowhsu-quic