-
Notifications
You must be signed in to change notification settings - Fork 615
Add quantization and partitioner flow in the qualcomm doc #12387
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
base: main
Are you sure you want to change the base?
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/12387
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (4 Unrelated Failures)As of commit 1263030 with merge base 9591978 ( BROKEN TRUNK - The following jobs failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D78117959 |
This PR needs a
|
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.
Thank you for the effort to make document better!!
33ad9d8
to
2384c7d
Compare
This pull request was exported from Phabricator. Differential Revision: D78117959 |
2384c7d
to
aafb8af
Compare
This pull request was exported from Phabricator. Differential Revision: D78117959 |
Hi @metascroy, this PR is for Qualcomm doc and it includes quantization. |
aafb8af
to
e94a9e1
Compare
This pull request was exported from Phabricator. Differential Revision: D78117959 |
) Summary: Pull Request resolved: pytorch#12387 Add a session to describe how to lower a model to HTP, including quantization step. Differential Revision: D78117959
e94a9e1
to
5a3a437
Compare
5a3a437
to
111d159
Compare
) Summary: Pull Request resolved: pytorch#12387 Add a session to describe how to lower a model to HTP, including quantization step. Differential Revision: D78117959
This pull request was exported from Phabricator. Differential Revision: D78117959 |
111d159
to
1263030
Compare
#### Step 2: [Optional] Quantize Your Model | ||
Choose between quantization approaches, post training quantization (PTQ) or quantization aware training (QAT): | ||
```python | ||
from executorch.backends.qualcomm.quantizer.quantizer import QnnQuantizer |
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.
Is QnnQuantizer configurable? If so, can we document the configuration?
Summary: Add a session to describe how to lower a model to HTP, including quantization step.
Differential Revision: D78117959