-
Notifications
You must be signed in to change notification settings - Fork 698
[ET-VK] Fast path for choose_qparams #14019
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
The current implementations of `choose_qparams` are too slow to be practically usable. As a temporary workaround to unblock LLM optimizations, this diff/PR introduces a fast path for computing per-channel quantization parameters for 2D matrices in the form of the choose_qparams_per_row shader. Differential Revision: [D81800024](https://our.internmc.facebook.com/intern/diff/D81800024/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/14019
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit 2ee5b97 with merge base 1a7441f ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
|
This pull request was exported from Phabricator. Differential Revision: D81800024 |
The current implementations of `choose_qparams` are too slow to be practically usable. As a temporary workaround to unblock LLM optimizations, this diff/PR introduces a fast path for computing per-channel quantization parameters for 2D matrices in the form of the choose_qparams_per_row shader. Differential Revision: [D81800024](https://our.internmc.facebook.com/intern/diff/D81800024/) [ghstack-poisoned]
The current implementations of `choose_qparams` are too slow to be practically usable. As a temporary workaround to unblock LLM optimizations, this diff/PR introduces a fast path for computing per-channel quantization parameters for 2D matrices in the form of the choose_qparams_per_row shader. Differential Revision: [D81800024](https://our.internmc.facebook.com/intern/diff/D81800024/) [ghstack-poisoned]
|
This pull request was exported from Phabricator. Differential Revision: D81800024 |
6ec3deb
into
gh/SS-JIA/320/base
Pull Request resolved: #14019 The current implementations of `choose_qparams` are too slow to be practically usable. As a temporary workaround to unblock LLM optimizations, this diff/PR introduces a fast path for computing per-channel quantization parameters for 2D matrices in the form of the choose_qparams_per_row shader. ghstack-source-id: 308092877 @exported-using-ghexport Differential Revision: [D81800024](https://our.internmc.facebook.com/intern/diff/D81800024/)
Stack from ghstack (oldest at bottom):
The current implementations of
choose_qparamsare too slow to be practically usable.As a temporary workaround to unblock LLM optimizations, this diff/PR introduces a fast path for computing per-channel quantization parameters for 2D matrices in the form of the choose_qparams_per_row shader.
Differential Revision: D81800024