-
Notifications
You must be signed in to change notification settings - Fork 684
[ET-VK] Conv2d quantize/dequantize ops for conv2d activations #14330
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
## Context As title. Add shaders to quantize a floating point conv2d input tensor to packed int8 memory layout and dequantize a int8 conv2d output tensor back to floating point representation. Hooking it up to the export logic will be handled in a follow up diff. Differential Revision: [D82542335](https://our.internmc.facebook.com/intern/diff/D82542335/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/14330
Note: Links to docs will display an error until the docs builds have been completed. ❌ 3 New Failures, 1 Cancelled Job, 3 Unrelated FailuresAs of commit ffec699 with merge base c18abc8 ( NEW FAILURES - The following jobs have failed:
CANCELLED JOB - The following job was cancelled. Please retry:
FLAKY - The following job failed but was likely due to flakiness present on trunk:
BROKEN TRUNK - The following jobs failed but was 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. |
## Context As title. Add shaders to quantize a floating point conv2d input tensor to packed int8 memory layout and dequantize a int8 conv2d output tensor back to floating point representation. Hooking it up to the export logic will be handled in a follow up diff. Differential Revision: [D82542335](https://our.internmc.facebook.com/intern/diff/D82542335/) ghstack-source-id: 309992179 Pull Request resolved: #14330
This PR needs a
|
…ons" ## Context As title. Add shaders to quantize a floating point conv2d input tensor to packed int8 memory layout and dequantize a int8 conv2d output tensor back to floating point representation. Hooking it up to the export logic will be handled in a follow up diff. Differential Revision: [D82542335](https://our.internmc.facebook.com/intern/diff/D82542335/) [ghstack-poisoned]
Pull Request resolved: #14330 ## Context As title. Add shaders to quantize a floating point conv2d input tensor to packed int8 memory layout and dequantize a int8 conv2d output tensor back to floating point representation. Hooking it up to the export logic will be handled in a follow up diff. Differential Revision: [D82542335](https://our.internmc.facebook.com/intern/diff/D82542335/) ghstack-source-id: 310013406
…ons" ## Context As title. Add shaders to quantize a floating point conv2d input tensor to packed int8 memory layout and dequantize a int8 conv2d output tensor back to floating point representation. Hooking it up to the export logic will be handled in a follow up diff. Differential Revision: [D82542335](https://our.internmc.facebook.com/intern/diff/D82542335/) [ghstack-poisoned]
Pull Request resolved: #14330 ## Context As title. Add shaders to quantize a floating point conv2d input tensor to packed int8 memory layout and dequantize a int8 conv2d output tensor back to floating point representation. Hooking it up to the export logic will be handled in a follow up diff. ghstack-source-id: 310277511 Differential Revision: [D82542335](https://our.internmc.facebook.com/intern/diff/D82542335/)
…ons" ## Context As title. Add shaders to quantize a floating point conv2d input tensor to packed int8 memory layout and dequantize a int8 conv2d output tensor back to floating point representation. Hooking it up to the export logic will be handled in a follow up diff. Differential Revision: [D82542335](https://our.internmc.facebook.com/intern/diff/D82542335/) [ghstack-poisoned]
Pull Request resolved: #14330 ## Context As title. Add shaders to quantize a floating point conv2d input tensor to packed int8 memory layout and dequantize a int8 conv2d output tensor back to floating point representation. Hooking it up to the export logic will be handled in a follow up diff. ghstack-source-id: 310286204 Differential Revision: [D82542335](https://our.internmc.facebook.com/intern/diff/D82542335/)
…ons" ## Context As title. Add shaders to quantize a floating point conv2d input tensor to packed int8 memory layout and dequantize a int8 conv2d output tensor back to floating point representation. Hooking it up to the export logic will be handled in a follow up diff. Differential Revision: [D82542335](https://our.internmc.facebook.com/intern/diff/D82542335/) [ghstack-poisoned]
Pull Request resolved: #14330 ## Context As title. Add shaders to quantize a floating point conv2d input tensor to packed int8 memory layout and dequantize a int8 conv2d output tensor back to floating point representation. Hooking it up to the export logic will be handled in a follow up diff. ghstack-source-id: 312106550 Differential Revision: [D82542335](https://our.internmc.facebook.com/intern/diff/D82542335/)
55b45d8
into
gh/SS-JIA/330/base
Pull Request resolved: #14330 ## Context As title. Add shaders to quantize a floating point conv2d input tensor to packed int8 memory layout and dequantize a int8 conv2d output tensor back to floating point representation. Hooking it up to the export logic will be handled in a follow up diff. ghstack-source-id: 312106550 Differential Revision: [D82542335](https://our.internmc.facebook.com/intern/diff/D82542335/)
This PR was created by the merge bot to help merge the original PR into the main branch. ghstack PR number: #14330 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/330/base ghstack PR head: https://github.com/pytorch/executorch/tree/gh/SS-JIA/330/head Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/SS-JIA/331/orig Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/SS-JIA/330/orig Differential Revision: [D82542335](https://our.internmc.facebook.com/intern/diff/D82542335/) @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 #14329Context
As title. Add shaders to quantize a floating point conv2d input tensor to packed int8 memory layout and dequantize a int8 conv2d output tensor back to floating point representation.
Hooking it up to the export logic will be handled in a follow up diff.
Differential Revision: D82542335