You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
Pull Request resolved: pytorch/pytorch#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!)
Reviewed By: bhosmer
Differential Revision: D25394998
fbshipit-source-id: f695c659ee6e3738f74cdf0af1a514ac0c30ebff
0 commit comments