-
Notifications
You must be signed in to change notification settings - Fork 684
[ET-VK] Improve q8 matmul by increasing TILE_N4 #14597
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
Title says it all! I found that the latency of executing int8 matmul can be improved by increases the output tile's N4 dimension to 2. The improvement is about 20-25% on Samsung Galaxy S25. Differential Revision: [D83253129](https://our.internmc.facebook.com/intern/diff/D83253129/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/14597
Note: Links to docs will display an error until the docs builds have been completed. ❌ 3 New Failures, 1 Cancelled Job, 4 Unrelated FailuresAs of commit 48fa7b0 with merge base c18abc8 ( NEW FAILURES - The following jobs have failed:
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. |
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.
Review automatically exported from Phabricator review in Meta.
This PR needs a
|
1a28dbb
into
gh/SS-JIA/331/base
Title says it all! I found that the latency of executing int8 matmul can be improved by increases the output tile's N4 dimension to 2. The improvement is about 20-25% on Samsung Galaxy S25. Differential Revision: [D83253129](https://our.internmc.facebook.com/intern/diff/D83253129/) ghstack-source-id: 312106549 Pull Request resolved: #14597
This PR was created by the merge bot to help merge the original PR into the main branch. ghstack PR number: #14597 by @SS-JIA ^ Please use this as the source of truth for the PR details, comments, and reviews ghstack PR base: https://github.com/pytorch/executorch/tree/gh/SS-JIA/331/base ghstack PR head: https://github.com/pytorch/executorch/tree/gh/SS-JIA/331/head Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/SS-JIA/329/orig Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/SS-JIA/331/orig Differential Revision: [D83253129](https://our.internmc.facebook.com/intern/diff/D83253129/) @diff-train-skip-merge Co-authored-by: ssjia <ssjia@devvm1479.ncg0.facebook.com>
Stack from ghstack (oldest at bottom):
kInt8x4
dtype andGPUMemoryLayout
s for packed quantized tensors #14329Title says it all! I found that the latency of executing int8 matmul can be improved by increases the output tile's N4 dimension to 2. The improvement is about 20-25% on Samsung Galaxy S25.
Differential Revision: D83253129