-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Fix missing Torch includes #5118
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
💊 CI failures summary and remediationsAs of commit a2834ad (more details on the Dr. CI page): 💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
1475c1e
to
acec434
Compare
@peterbell10 Thanks for the PR. We are intentionally trying to be more selective on our includes. Can you adapt the PR to explicitly import those relevant missed includes rather than just importing |
|
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.
Fair enough, for TORCH_LIBRARY_IMPL
. I got one more comment, let me know what you think.
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.
LGTM, thanks!
Hey @datumbox! You merged this PR, but no labels were added. The list of valid labels is available at https://github.com/pytorch/vision/blob/main/.github/process_commit.py |
Summary: * Fix missing Torch includes * Import op_registration directly Reviewed By: prabhat00155 Differential Revision: D33351108 fbshipit-source-id: a97f347898867c535433a28c44ca886f65292dcd
The
torchvision
build currently relies on transitive includes through unrelatedtorch
headers which is causing build failures in pytorch/pytorch#68693.