Making ops c10-full: Generator arguments (#49013)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/49013
I don't know why this works. I know, this is never a good way to start a PR description :P
I know that Generator is a dispatch relevant argument when called from an unboxed API and is ignored
for dispatch purposes when called from a boxed API. This should break something, but maybe we don't
have test cases for that.
We likely need to align the unboxed and boxed dispatch behavior before landing this.
The best solution would be to make Generator not dispatch relevant in unboxing. But that might be a bigger change.
An acceptable solution could be to make Generator dispatch relevant in boxing, but that needs perf measurements.
This PR needs further discussion.
ghstack-source-id: 118619230
(Note: this ignores all push blocking failures!)
Test Plan: waitforsandcastle
Reviewed By: bhosmer
Differential Revision: D25394998
fbshipit-source-id: f695c659ee6e3738f74cdf0af1a514ac0c30ebff