-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[build] Remove BUILD_CAFFE2 and build everything #8338
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
CMakeLists.txt
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
|
There's a lot of reindenting going on in this diff, which makes it hard to tell what the changes are. With my code reviewer hat on, it's super helpful if there is a changelog enumerating what the substantive changes to the cmake are. It helps a lot when doing review, since I know what to be looking for. |
|
@ezyang most of the changes are basically removing the if(BUILD_ATEN) or if(BUILD_CAFFE2) blocks, hence lots of indentation. |
945f7a0 to
d968f6c
Compare
|
@ezyang, when we've fixed all the build failures and done more than just indenting / |
c3d3163 to
31ef861
Compare
8b8d6ce to
7ee09ad
Compare
|
@pytorchbot retest this please |
fd63c2c to
ff4a418
Compare
|
@ezyang "There's a lot of reindenting going on in this diff, which makes it hard to tell what the changes are." - take a look at the "Hide whitespace changes" checkbox under "Diff settings" at the top of the diff. It's analogous to |
|
@pytorchbot retest this please |
5419eb1 to
1c11f4c
Compare
facebook-github-bot
left a comment
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.
orionr has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Summary: This completely removes BUILD_CAFFE2 from CMake. There is still a little bit of "full build" stuff in setup.py that enables USE_CUDNN and BUILD_PYTHON, but otherwise everything should be enabled for PyTorch as well as Caffe2. This gets us a lot closer to full unification. cc mingzhe09088, pjh5, ezyang, smessmer, Yangqing Pull Request resolved: pytorch/pytorch#8338 Reviewed By: mingzhe09088 Differential Revision: D9600513 Pulled By: orionr fbshipit-source-id: 9f6ca49df35b920d3439dcec56e7b26ad4768b7d
This reverts commit 6508db7.
Summary: Breaking out of pytorch#8338 to completely remove build_aten and use_aten. Pull Request resolved: pytorch#10469 Reviewed By: orionr Differential Revision: D9413639 Pulled By: mingzhe09088 fbshipit-source-id: b7203aa4f5f2bb95c504c8dc187a3167f2570183
Summary: Breaking out of pytorch#8338 cc mingzhe09088 Yangqing Pull Request resolved: pytorch#11000 Differential Revision: D9557474 Pulled By: orionr fbshipit-source-id: 7d84914b67ff37bdb7738f9b7846dfeb5b975c00
Summary: Breaking out of pytorch#8338 This test fails once we start building with `-DUSE_GLOG=OFF` since the non-glog logging case doesn't support flushing or streaming to the right location. For now, we just disable this test in that case. cc Yangqing mingzhe09088 Pull Request resolved: pytorch#10999 Reviewed By: mingzhe09088 Differential Revision: D9557488 Pulled By: orionr fbshipit-source-id: 8b306f210411dfc8ccc404bdccf77ddcd36a4830
Summary: Breaking this out of pytorch#8338 mingzhe09088's fix of the docstrings for Windows builds. Unfortunately some versions of Windows seem to try and parse the `#` inside the string as a pre-processor declaration. We might need to change this to something else later, but want to get this landed first. cc mingzhe09088 Yangqing Pull Request resolved: pytorch#10998 Reviewed By: mingzhe09088 Differential Revision: D9557480 Pulled By: orionr fbshipit-source-id: c6a6237c27b7cf35c81133fd9faefead675a9f59
Summary: Extracted from pytorch#8338 cc mingzhe09088 Pull Request resolved: pytorch#11034 Reviewed By: mingzhe09088 Differential Revision: D9582801 Pulled By: orionr fbshipit-source-id: b41ca1bebf6cf62fff2a2b8caf4c94af3e43db00
Summary: This completely removes BUILD_CAFFE2 from CMake. There is still a little bit of "full build" stuff in setup.py that enables USE_CUDNN and BUILD_PYTHON, but otherwise everything should be enabled for PyTorch as well as Caffe2. This gets us a lot closer to full unification. cc mingzhe09088, pjh5, ezyang, smessmer, Yangqing Pull Request resolved: pytorch#8338 Reviewed By: mingzhe09088 Differential Revision: D9600513 Pulled By: orionr fbshipit-source-id: 9f6ca49df35b920d3439dcec56e7b26ad4768b7d
This completely removes BUILD_CAFFE2 from CMake. There is still a little bit of "full build" stuff in setup.py that enables USE_CUDNN and BUILD_PYTHON, but otherwise everything should be enabled for PyTorch as well as Caffe2. This gets us a lot closer to full unification.
cc @mingzhe09088, @pjh5, @ezyang, @smessmer, @Yangqing