-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
[PyTorch] TensorImpl::is_non_overlapping_and_dense_ should default to true #48625
Conversation
… true The default TensorImpl is contiguous. Therefore, it is non-overlapping and dense per refresh_contiguous(). Differential Revision: [D25232196](https://our.internmc.facebook.com/intern/diff/D25232196/) [ghstack-poisoned]
💊 CI failures summary and remediationsAs of commit 47b2524 (more details on the Dr. CI page):
🕵️ 1 new failure recognized by patternsThe following CI failures do not appear to be due to upstream breakages: pytorch_linux_xenial_py3_6_gcc5_4_test (1/1)Step: "Run tests" (full log | diagnosis details | 🔁 rerun)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix
… default to true" The default TensorImpl is contiguous. Therefore, it is non-overlapping and dense per refresh_contiguous(). Differential Revision: [D25232196](https://our.internmc.facebook.com/intern/diff/D25232196/) [ghstack-poisoned]
… default to true" The default TensorImpl is contiguous. Therefore, it is non-overlapping and dense per refresh_contiguous(). Differential Revision: [D25232196](https://our.internmc.facebook.com/intern/diff/D25232196/) [ghstack-poisoned]
… default to true" The default TensorImpl is contiguous. Therefore, it is non-overlapping and dense per refresh_contiguous(). Differential Revision: [D25232196](https://our.internmc.facebook.com/intern/diff/D25232196/) [ghstack-poisoned]
… true Pull Request resolved: #48625 The default TensorImpl is contiguous. Therefore, it is non-overlapping and dense per refresh_contiguous(). ghstack-source-id: 117786248 Differential Revision: [D25232196](https://our.internmc.facebook.com/intern/diff/D25232196/)
… default to true" The default TensorImpl is contiguous. Therefore, it is non-overlapping and dense per refresh_contiguous(). Differential Revision: [D25232196](https://our.internmc.facebook.com/intern/diff/D25232196/) [ghstack-poisoned]
…_dense_ should default to true" The default TensorImpl is contiguous. Therefore, it is non-overlapping and dense per refresh_contiguous(). Differential Revision: [D25232196](https://our.internmc.facebook.com/intern/diff/D25232196/) [ghstack-poisoned]
This pull request has been merged in a20d451. |
#48625 changes the default contiguous settings for TensorImpl. Therefore, refresh_contiguous() should be called in OpaqueTensorImpl to get the correct settings. [ghstack-poisoned]
#48625 changes the default contiguous settings for TensorImpl. Therefore, refresh_contiguous() should be called in OpaqueTensorImpl to get the correct settings. [ghstack-poisoned]
… constructor" #48625 changes the default contiguous settings for `TensorImpl` causing the Vulkan backend to crash. Therefore, set `is_non_overlapping_and_dense_` back to false for `OpaqueTensorImpl`. [ghstack-poisoned]
#49470) Summary: Pull Request resolved: #49470 #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
pytorch#49470) Summary: Pull Request resolved: pytorch#49470 pytorch#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
Stack from ghstack:
The default TensorImpl is contiguous. Therefore, it is non-overlapping and dense per refresh_contiguous().
Differential Revision: D25232196