-
Notifications
You must be signed in to change notification settings - Fork 497
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
Qualcomm AI Engine Direct - LPBQ enablement #9313
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/9313
Note: Links to docs will display an error until the docs builds have been completed. ❌ 2 New FailuresAs of commit a04f4a9 with merge base d980ce0 ( 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" |
061ebc3
to
20545ad
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really great to see that LPBQ is enabled so fast!
@@ -409,6 +409,13 @@ def _topological_sort_passes(passes: OrderedDict): | |||
def _transform( | |||
edge_program: ExportedProgram, passes_job: OrderedDict = None | |||
) -> ExportedProgram: | |||
# TODO: remove this workaround when target could be correclty detected |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the issue?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -1,56 +0,0 @@ | |||
# Copyright (c) Qualcomm Innovation Center, Inc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's the context for this removal?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think torch.nn.functional.interpolate
is no longer decomposed into multiple nodes now. It will directly map to super nodes like aten.upsample_nearest2d.vec, aten.upsample_bilinear2d.vec, aten.upsample_bicubic2d.vec
.
@cccclai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
I'm getting this error
|
Sorry I cannot repro on my side, any chance the PYTHONPATH was not set correctly or earlier ET version was used? |
Oh it's the buck failure...can you add this patch?
|
summary: - QC backend change for adopting LPBQ - test case: conv2d 16a4w - refactor & update document
20545ad
to
a04f4a9
Compare
@cccclai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Summary
Test plan
python backends/qualcomm/tests/test_qnn_delegate.py -k TestQNNQuantizedOperator.test_qnn_backend_conv2d_block -s $SERIAL_NO -m SM8650 -b build-android