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
Migrate THCTensor_copyIgnoringOverlaps to ATen #63505
Conversation
This isn't a public operator, just a helper function used in CUDA_tensor_apply. [ghstack-poisoned]
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit 6779485 (more details on the Dr. CI page):
🕵️ 2 new failures recognized by patternsThe following CI failures do not appear to be due to upstream breakages: linux-xenial-cuda11.1-py3.6-gcc7 / test (default, 2, 2, linux.8xlarge.nvidia.gpu) (1/2)Step: "Test PyTorch" (full log | diagnosis details | 🔁 rerun)
|
This isn't a public operator, just a helper function used in CUDA_tensor_apply. [ghstack-poisoned]
This isn't a public operator, just a helper function used in CUDA_tensor_apply. ghstack-source-id: c6af328fc35e3d69acd0d5f541f0e71051f699bf Pull Request resolved: #63505
This isn't a public operator, just a helper function used in CUDA_tensor_apply. [ghstack-poisoned]
This isn't a public operator, just a helper function used in CUDA_tensor_apply. ghstack-source-id: 59488f2fd28a4f58b9d0c43177ebff9fecc169b0 Pull Request resolved: #63505
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.
One day we'll get rid of CUDA_tensor_Apply2, and yeah, we probably should prohibit overlapping writes even before that.
As far as I can see, it's used only for distributions (poisson, gamma, bernoulli), and those shouldn't accept self-overlapping tensor.
This isn't a public operator, just a helper function used in CUDA_tensor_apply. [ghstack-poisoned]
This isn't a public operator, just a helper function used in CUDA_tensor_apply. [ghstack-poisoned]
This isn't a public operator, just a helper function used in CUDA_tensor_apply. ghstack-source-id: 091a8f66e00cad24666a4dfb038815e6e06bb4ce Pull Request resolved: #63505
@ngimel has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Stack from ghstack:
This isn't a public operator, just a helper function used in CUDA_tensor_apply.
Differential Revision: D30441305