[PyTorch] Remove unnecessary dispatcher.h include in torch/library.h#50317
[PyTorch] Remove unnecessary dispatcher.h include in torch/library.h#50317swolchok wants to merge 4 commits intogh/swolchok/77/basefrom
Conversation
It's unused. Differential Revision: [D25859010](https://our.internmc.facebook.com/intern/diff/D25859010/) [ghstack-poisoned]
💊 CI failures summary and remediationsAs of commit 9c0fc23 (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:
|
It's unused. Differential Revision: [D25859010](https://our.internmc.facebook.com/intern/diff/D25859010/) ghstack-source-id: 119632046 Pull Request resolved: #50317
|
not sure about the test failures though |
bhosmer
left a comment
There was a problem hiding this comment.
At least some of these failures are from client code that was depending on definitions from dispatcher.h imported transitively through e.g. library.h - not sure if you want to add the necessary dispatcher.h includes directly to the clients or forget this one; should be simple to do the former
…/library.h" It's unused. Differential Revision: [D25859010](https://our.internmc.facebook.com/intern/diff/D25859010/) [ghstack-poisoned]
Pull Request resolved: #50317 It's unused. ghstack-source-id: 119798797 Differential Revision: [D25859010](https://our.internmc.facebook.com/intern/diff/D25859010/)
…/library.h" It's unused. Differential Revision: [D25859010](https://our.internmc.facebook.com/intern/diff/D25859010/) [ghstack-poisoned]
Pull Request resolved: #50317 It's unused. ghstack-source-id: 119974236 Differential Revision: [D25859010](https://our.internmc.facebook.com/intern/diff/D25859010/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D25859010/)!
…/library.h" It's unused. Differential Revision: [D25859010](https://our.internmc.facebook.com/intern/diff/D25859010/) [ghstack-poisoned]
Pull Request resolved: #50317 It's unused. ghstack-source-id: 120427120 Differential Revision: [D25859010](https://our.internmc.facebook.com/intern/diff/D25859010/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D25859010/)!
smessmer
left a comment
There was a problem hiding this comment.
This could be bc breaking for oss users who include torch/library.h and now need to add other includes. Likely they won't access the dispatcher directly, but there might be things that were transitively included from Dispatcher.h that they were using.
|
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:
It's unused.
Differential Revision: D25859010