-
Notifications
You must be signed in to change notification settings - Fork 607
[ET-VK] Introduce virtual_transpose()
to vTensor
for no copy transposition
#5353
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
…sposition ## Context With `axis_map` integrated into matrix multiplication, we can now test no-copy transposes for texture backed tensors. Transposing a tensor can be done without modifying the storage by swapping elements in the tensor's `axis_map`, and also updating the layout of the tensor if the packed dimension was one of the dims that were transposed. Differential Revision: [D62652009](https://our.internmc.facebook.com/intern/diff/D62652009/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/5353
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit b803bb7 with merge base ef31608 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D62652009 |
…sposition ## Context With `axis_map` integrated into matrix multiplication, we can now test no-copy transposes for texture backed tensors. Transposing a tensor can be done without modifying the storage by swapping elements in the tensor's `axis_map`, and also updating the layout of the tensor if the packed dimension was one of the dims that were transposed. Differential Revision: [D62652009](https://our.internmc.facebook.com/intern/diff/D62652009/) ghstack-source-id: 242452080 Pull Request resolved: #5353
…o copy transposition" ## Context With `axis_map` integrated into matrix multiplication, we can now test no-copy transposes for texture backed tensors. Transposing a tensor can be done without modifying the storage by swapping elements in the tensor's `axis_map`, and also updating the layout of the tensor if the packed dimension was one of the dims that were transposed. Differential Revision: [D62652009](https://our.internmc.facebook.com/intern/diff/D62652009/) [ghstack-poisoned]
…sposition Pull Request resolved: #5353 ## Context With `axis_map` integrated into matrix multiplication, we can now test no-copy transposes for texture backed tensors. Transposing a tensor can be done without modifying the storage by swapping elements in the tensor's `axis_map`, and also updating the layout of the tensor if the packed dimension was one of the dims that were transposed. ghstack-source-id: 242802318 @exported-using-ghexport Differential Revision: [D62652009](https://our.internmc.facebook.com/intern/diff/D62652009/)
This pull request was exported from Phabricator. Differential Revision: D62652009 |
This pull request has been merged in 26375cc. |
#5353) Summary: Pull Request resolved: #5353 ## Context With `axis_map` integrated into matrix multiplication, we can now test no-copy transposes for texture backed tensors. Transposing a tensor can be done without modifying the storage by swapping elements in the tensor's `axis_map`, and also updating the layout of the tensor if the packed dimension was one of the dims that were transposed. ghstack-source-id: 242802318 exported-using-ghexport Reviewed By: jorgep31415 Differential Revision: D62652009 fbshipit-source-id: ae1c81a61a92e69aaa689418d7e62a81d8e09a12
Stack from ghstack (oldest at bottom):
virtual_transpose()
tovTensor
for no copy transposition #5353Context
With
axis_map
integrated into matrix multiplication, we can now test no-copy transposes for texture backed tensors.Transposing a tensor can be done without modifying the storage by swapping elements in the tensor's
axis_map
, and also updating the layout of the tensor if the packed dimension was one of the dims that were transposed.Differential Revision: D62652009