Set is_non_overlapping_and_dense_ flag in OpaqueTensorImpl constructor (#49470)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/49470
https://github.com/pytorch/pytorch/pull/48625 changes the default contiguous settings for `TensorImpl` causing the Vulkan backend to crash. Therefore, add argument that can set `is_non_overlapping_and_dense_` back to false for `OpaqueTensorImpl` constructor.
Test Plan: Imported from OSS
Reviewed By: AshkanAliabadi
Differential Revision: D25592826
Pulled By: SS-JIA
fbshipit-source-id: e5d9de9a733875cb00c0546a3bc3271e5c6e23a3