[ET-VK][ez] Add back tensor dim check
Pull Request resolved: https://github.com/pytorch/executorch/pull/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>
P
pytorchbot committed
1f1a96f3accc749d8dcd2ffa336e4506f6b34fe0
Parent: 1bf20e3
Committed by GitHub <noreply@github.com>
on 1/24/2025, 7:22:22 PM