-
Notifications
You must be signed in to change notification settings - Fork 602
[ET-VK] New Implementation of `permute' operator #11825
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: gh/SS-JIA/245/base
Are you sure you want to change the base?
Conversation
## Changes * Introduce `permute_buffer.glsl` and `permute_texture.glsl` compute shader templates to implement the permute operator ## Motivation The existing implementation of permute produced incorrect outputs for width packed textures. Furthermore, there was no buffer implementation for the permute operator. My goal with this diff is to introduce a more flexible implementation of permute that could work for any tensor representation. ## Performance impact None expected. Differential Revision: [D76483755](https://our.internmc.facebook.com/intern/diff/D76483755/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/11825
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 69306da with merge base 608a745 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D76483755 |
This PR needs a
|
## Changes * Introduce `permute_buffer.glsl` and `permute_texture.glsl` compute shader templates to implement the permute operator ## Motivation The existing implementation of permute produced incorrect outputs for width packed textures. Furthermore, there was no buffer implementation for the permute operator. My goal with this diff is to introduce a more flexible implementation of permute that could work for any tensor representation. ## Performance impact None expected. Differential Revision: [D76483755](https://our.internmc.facebook.com/intern/diff/D76483755/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D76483755 |
## Changes * Introduce `permute_buffer.glsl` and `permute_texture.glsl` compute shader templates to implement the permute operator ## Motivation The existing implementation of permute produced incorrect outputs for width packed textures. Furthermore, there was no buffer implementation for the permute operator. My goal with this diff is to introduce a more flexible implementation of permute that could work for any tensor representation. ## Performance impact None expected. Differential Revision: [D76483755](https://our.internmc.facebook.com/intern/diff/D76483755/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D76483755 |
Stack from ghstack (oldest at bottom):
Changes
permute_buffer.glsl
andpermute_texture.glsl
compute shader templates to implement the permute operatorMotivation
The existing implementation of permute produced incorrect outputs for width packed textures. Furthermore, there was no buffer implementation for the permute operator.
My goal with this diff is to introduce a more flexible implementation of permute that could work for any tensor representation.
Performance impact
None expected.
Differential Revision: D76483755