-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Move typeid.h to ATen/core #10163
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
Move typeid.h to ATen/core #10163
Conversation
|
This PR is blocked on unifying at::Error and caffe2::EnforceNotMet |
|
@pytorchbot retest this please |
1 similar comment
|
@pytorchbot retest this please |
|
@pytorchbot retest this please |
Summary: Pull Request resolved: pytorch#10163 - Remove dependency on caffe2/core/common.h for ATen/core/typeid.h Unfortunately, Windows seems to rely on typeid.h including this header, so it is still included from the forwarding header caffe2/core/typeid.h - Deduplicate Demangle/DemangleType with their ATen equivalents Reviewed By: smessmer Differential Revision: D9132432 fbshipit-source-id: f816c80f7318f602e0e4ae25f429775a192158fc
|
@ezyang on compiling the latest master, I get this error: Is this related to the |
|
Yes, it probably is related. Can you do a clean build and if that doesn't resolve it, file an issue? |
|
Did a pull and clean build and it works. Thanks for the input! |
|
@pytorchbot retest this please |
Summary: Pull Request resolved: pytorch/pytorch#10163 - Remove dependency on caffe2/core/common.h for ATen/core/typeid.h Unfortunately, Windows seems to rely on typeid.h including this header, so it is still included from the forwarding header caffe2/core/typeid.h - Deduplicate Demangle/DemangleType with their ATen equivalents Reviewed By: smessmer Differential Revision: D9132432 fbshipit-source-id: 21f2c89e58ca1e795f1b2caa316361b729a5231b
Summary: Pull Request resolved: pytorch#10163 - Remove dependency on caffe2/core/common.h for ATen/core/typeid.h Unfortunately, Windows seems to rely on typeid.h including this header, so it is still included from the forwarding header caffe2/core/typeid.h - Deduplicate Demangle/DemangleType with their ATen equivalents Reviewed By: smessmer Differential Revision: D9132432 fbshipit-source-id: 21f2c89e58ca1e795f1b2caa316361b729a5231b
Summary:
necessary local header includes
Differential Revision: D9132432