-
Notifications
You must be signed in to change notification settings - Fork 743
[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
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 7759ee1 with merge base 89bdd1d ( 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 |
## 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 |
Pull Request resolved: pytorch/executorch#11825 ## 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. ghstack-source-id: 292530157 @exported-using-ghexport Differential Revision: [D76483755](https://our.internmc.facebook.com/intern/diff/D76483755/)
87cc2f9
into
gh/SS-JIA/245/base
Stack from ghstack (oldest at bottom):
Changes
permute_buffer.glslandpermute_texture.glslcompute 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