-
Notifications
You must be signed in to change notification settings - Fork 25.6k
introduce TensorIterator::unsafe_replace_input() #98162
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
TensorIterator::unsafe_replace_operand() generically supports replacing an input or an output. In the future, we want to be very cautious about distinguishing reads and writes, so we want our APIs to be equally expressive. Differential Revision: [D44611380](https://our.internmc.facebook.com/intern/diff/D44611380/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D44611380/)! [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/98162
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ✅ No FailuresAs of commit 011c95a: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
TensorIterator::unsafe_replace_operand() generically supports replacing an input or an output. In the future, we want to be very cautious about distinguishing reads and writes, so we want our APIs to be equally expressive. Differential Revision: [D44611380](https://our.internmc.facebook.com/intern/diff/D44611380/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D44611380/)! [ghstack-poisoned]
Pull Request resolved: #98162 TensorIterator::unsafe_replace_operand() generically supports replacing an input or an output. In the future, we want to be very cautious about distinguishing reads and writes, so we want our APIs to be equally expressive. ghstack-source-id: 184800801 Differential Revision: [D44611380](https://our.internmc.facebook.com/intern/diff/D44611380/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D44611380/)!
TensorIterator::unsafe_replace_operand() generically supports replacing an input or an output. In the future, we want to be very cautious about distinguishing reads and writes, so we want our APIs to be equally expressive. Differential Revision: [D44611380](https://our.internmc.facebook.com/intern/diff/D44611380/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D44611380/)! [ghstack-poisoned]
TensorIterator::unsafe_replace_operand() generically supports replacing an input or an output. In the future, we want to be very cautious about distinguishing reads and writes, so we want our APIs to be equally expressive. Differential Revision: [D44611380](https://our.internmc.facebook.com/intern/diff/D44611380/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D44611380/)! [ghstack-poisoned]
Pull Request resolved: #98162 TensorIterator::unsafe_replace_operand() generically supports replacing an input or an output. In the future, we want to be very cautious about distinguishing reads and writes, so we want our APIs to be equally expressive. ghstack-source-id: 184801135 Differential Revision: [D44611380](https://our.internmc.facebook.com/intern/diff/D44611380/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D44611380/)!
TensorIterator::unsafe_replace_operand() generically supports replacing an input or an output. In the future, we want to be very cautious about distinguishing reads and writes, so we want our APIs to be equally expressive. Differential Revision: [D44611380](https://our.internmc.facebook.com/intern/diff/D44611380/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D44611380/)! [ghstack-poisoned]
Pull Request resolved: #98162 TensorIterator::unsafe_replace_operand() generically supports replacing an input or an output. In the future, we want to be very cautious about distinguishing reads and writes, so we want our APIs to be equally expressive. ghstack-source-id: 184801135 Differential Revision: [D44611380](https://our.internmc.facebook.com/intern/diff/D44611380/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D44611380/)!
TensorIterator::unsafe_replace_operand() generically supports replacing an input or an output. In the future, we want to be very cautious about distinguishing reads and writes, so we want our APIs to be equally expressive. Differential Revision: [D44611380](https://our.internmc.facebook.com/intern/diff/D44611380/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D44611380/)! [ghstack-poisoned]
TensorIterator::unsafe_replace_operand() generically supports replacing an input or an output. In the future, we want to be very cautious about distinguishing reads and writes, so we want our APIs to be equally expressive. Differential Revision: [D44611380](https://our.internmc.facebook.com/intern/diff/D44611380/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D44611380/)! [ghstack-poisoned]
Pull Request resolved: #98162 TensorIterator::unsafe_replace_operand() generically supports replacing an input or an output. In the future, we want to be very cautious about distinguishing reads and writes, so we want our APIs to be equally expressive. ghstack-source-id: 184801135 Differential Revision: [D44611380](https://our.internmc.facebook.com/intern/diff/D44611380/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D44611380/)!
TensorIterator::unsafe_replace_operand() generically supports replacing an input or an output. In the future, we want to be very cautious about distinguishing reads and writes, so we want our APIs to be equally expressive. Differential Revision: [D44611380](https://our.internmc.facebook.com/intern/diff/D44611380/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D44611380/)! [ghstack-poisoned]
TensorIterator::unsafe_replace_operand() generically supports replacing an input or an output. In the future, we want to be very cautious about distinguishing reads and writes, so we want our APIs to be equally expressive. Differential Revision: [D44611380](https://our.internmc.facebook.com/intern/diff/D44611380/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D44611380/)! [ghstack-poisoned]
TensorIterator::unsafe_replace_operand() generically supports replacing an input or an output. In the future, we want to be very cautious about distinguishing reads and writes, so we want our APIs to be equally expressive. Differential Revision: [D44611380](https://our.internmc.facebook.com/intern/diff/D44611380/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D44611380/)! [ghstack-poisoned]
TensorIterator::unsafe_replace_operand() generically supports replacing an input or an output. In the future, we want to be very cautious about distinguishing reads and writes, so we want our APIs to be equally expressive. Differential Revision: [D44611380](https://our.internmc.facebook.com/intern/diff/D44611380/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D44611380/)! [ghstack-poisoned]
TensorIterator::unsafe_replace_operand() generically supports replacing an input or an output. In the future, we want to be very cautious about distinguishing reads and writes, so we want our APIs to be equally expressive. Differential Revision: [D44611380](https://our.internmc.facebook.com/intern/diff/D44611380/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D44611380/)! [ghstack-poisoned]
TensorIterator::unsafe_replace_operand() generically supports replacing an input or an output. In the future, we want to be very cautious about distinguishing reads and writes, so we want our APIs to be equally expressive. Differential Revision: [D44611380](https://our.internmc.facebook.com/intern/diff/D44611380/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D44611380/)! [ghstack-poisoned]
TensorIterator::unsafe_replace_operand() generically supports replacing an input or an output. In the future, we want to be very cautious about distinguishing reads and writes, so we want our APIs to be equally expressive. Differential Revision: [D44611380](https://our.internmc.facebook.com/intern/diff/D44611380/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D44611380/)! [ghstack-poisoned]
TensorIterator::unsafe_replace_operand() generically supports replacing an input or an output. In the future, we want to be very cautious about distinguishing reads and writes, so we want our APIs to be equally expressive. Differential Revision: [D44611380](https://our.internmc.facebook.com/intern/diff/D44611380/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D44611380/)! [ghstack-poisoned]
TensorIterator::unsafe_replace_operand() generically supports replacing an input or an output. In the future, we want to be very cautious about distinguishing reads and writes, so we want our APIs to be equally expressive. Differential Revision: [D44611380](https://our.internmc.facebook.com/intern/diff/D44611380/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D44611380/)! [ghstack-poisoned]
Pull Request resolved: #98162 TensorIterator::unsafe_replace_operand() generically supports replacing an input or an output. In the future, we want to be very cautious about distinguishing reads and writes, so we want our APIs to be equally expressive. ghstack-source-id: 185825396 Differential Revision: [D44611380](https://our.internmc.facebook.com/intern/diff/D44611380/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D44611380/)!
TensorIterator::unsafe_replace_operand() generically supports replacing an input or an output. In the future, we want to be very cautious about distinguishing reads and writes, so we want our APIs to be equally expressive. Differential Revision: [D44611380](https://our.internmc.facebook.com/intern/diff/D44611380/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D44611380/)! [ghstack-poisoned]
Pull Request resolved: #98162 TensorIterator::unsafe_replace_operand() generically supports replacing an input or an output. In the future, we want to be very cautious about distinguishing reads and writes, so we want our APIs to be equally expressive. ghstack-source-id: 185940125 Differential Revision: [D44611380](https://our.internmc.facebook.com/intern/diff/D44611380/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D44611380/)!
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as |
Stack from ghstack (oldest at bottom):
TensorIterator::unsafe_replace_operand() generically supports
replacing an input or an output. In the future, we want to be very
cautious about distinguishing reads and writes, so we want our APIs to
be equally expressive.
Differential Revision: D44611380
NOTE FOR REVIEWERS: This PR has internal Meta-specific changes or comments, please review them on Phabricator!