- 
                Notifications
    You must be signed in to change notification settings 
- Fork 706
[ET-VK][ez] Add back tensor dim check #7938
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 Vulkan cannot represent higher dimensional tensors (tensors with dim > 4) at the moment, but due to some refactors implemented last year the partitioner check to avoid lowering ops that involve high dimensional tensors was accidentally removed. This diff adds back the check, as well as a test to verify that high dimensional tensors do not get lowered. Differential Revision: [D68630966](https://our.internmc.facebook.com/intern/diff/D68630966/) [ghstack-poisoned]
| 🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/7938
 Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit ab55b29 with merge base 57ef834 ( NEW FAILURE - The following job has failed:
 
 This comment was automatically generated by Dr. CI and updates every 15 minutes. | 
## Context Vulkan cannot represent higher dimensional tensors (tensors with dim > 4) at the moment, but due to some refactors implemented last year the partitioner check to avoid lowering ops that involve high dimensional tensors was accidentally removed. This diff adds back the check, as well as a test to verify that high dimensional tensors do not get lowered. Differential Revision: [D68630966](https://our.internmc.facebook.com/intern/diff/D68630966/) ghstack-source-id: 262922165 Pull Request resolved: #7938
| This pull request was exported from Phabricator. Differential Revision: D68630966 | 
| This PR needs a  | 
## Context Vulkan cannot represent higher dimensional tensors (tensors with dim > 4) at the moment, but due to some refactors implemented last year the partitioner check to avoid lowering ops that involve high dimensional tensors was accidentally removed. This diff adds back the check, as well as a test to verify that high dimensional tensors do not get lowered. Differential Revision: [D68630966](https://our.internmc.facebook.com/intern/diff/D68630966/) [ghstack-poisoned]
Pull Request resolved: #7938 ## Context Vulkan cannot represent higher dimensional tensors (tensors with dim > 4) at the moment, but due to some refactors implemented last year the partitioner check to avoid lowering ops that involve high dimensional tensors was accidentally removed. This diff adds back the check, as well as a test to verify that high dimensional tensors do not get lowered. ghstack-source-id: 262929769 @exported-using-ghexport Differential Revision: [D68630966](https://our.internmc.facebook.com/intern/diff/D68630966/)
| This pull request was exported from Phabricator. Differential Revision: D68630966 | 
b4f7994
      into
      
  
    gh/SS-JIA/172/base
  
    Pull Request resolved: #7938 ## Context Vulkan cannot represent higher dimensional tensors (tensors with dim > 4) at the moment, but due to some refactors implemented last year the partitioner check to avoid lowering ops that involve high dimensional tensors was accidentally removed. This diff adds back the check, as well as a test to verify that high dimensional tensors do not get lowered. ghstack-source-id: 262929769 @exported-using-ghexport Differential Revision: [D68630966](https://our.internmc.facebook.com/intern/diff/D68630966/) Co-authored-by: Stephen Jia <ssjia@meta.com>
Pull Request resolved: #7938 ## Context Vulkan cannot represent higher dimensional tensors (tensors with dim > 4) at the moment, but due to some refactors implemented last year the partitioner check to avoid lowering ops that involve high dimensional tensors was accidentally removed. This diff adds back the check, as well as a test to verify that high dimensional tensors do not get lowered. ghstack-source-id: 262929769 @exported-using-ghexport Differential Revision: [D68630966](https://our.internmc.facebook.com/intern/diff/D68630966/) Co-authored-by: Stephen Jia <ssjia@meta.com>
Pull Request resolved: pytorch#7938 ## Context Vulkan cannot represent higher dimensional tensors (tensors with dim > 4) at the moment, but due to some refactors implemented last year the partitioner check to avoid lowering ops that involve high dimensional tensors was accidentally removed. This diff adds back the check, as well as a test to verify that high dimensional tensors do not get lowered. ghstack-source-id: 262929769 @exported-using-ghexport Differential Revision: [D68630966](https://our.internmc.facebook.com/intern/diff/D68630966/) Co-authored-by: Stephen Jia <ssjia@meta.com>
Stack from ghstack (oldest at bottom):
Context
Vulkan cannot represent higher dimensional tensors (tensors with dim > 4) at the moment, but due to some refactors implemented last year the partitioner check to avoid lowering ops that involve high dimensional tensors was accidentally removed.
This diff adds back the check, as well as a test to verify that high dimensional tensors do not get lowered.
Differential Revision: D68630966