-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Use official FindCUDAToolkit.cmake and newer CMake syntax #153783
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
base: main
Are you sure you want to change the base?
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/153783
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 7471841 with merge base 447b481 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@pytorchbot label "topic: not user facing" |
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.
Does this work with older CMake, might understanding is part of the reason to vendor this file is to backport support for newer CUDA to older CMake.
This PR relies on #153153 |
c85a443
to
3d3f748
Compare
Update the minimum CMake version to 3.27 because of it provides more CUDA targets such as `CUDA::nvperf_host` so that it is possible to remove some of our forked CUDA modules. See #153783. It's also possible to facilitate future third-party updates such as FBGEMM (its current shipped version requires 3.21). Pull Request resolved: #153153 Approved by: https://github.com/malfet
dfa6a88
to
91af6e4
Compare
@Skylion007 The dependency has landed. |
Update the minimum CMake version to 3.27 because of it provides more CUDA targets such as `CUDA::nvperf_host` so that it is possible to remove some of our forked CUDA modules. See #153783. It's also possible to facilitate future third-party updates such as FBGEMM (its current shipped version requires 3.21). Pull Request resolved: #153153 Approved by: https://github.com/malfet
Update the minimum CMake version to 3.27 because of it provides more CUDA targets such as `CUDA::nvperf_host` so that it is possible to remove some of our forked CUDA modules. See #153783. It's also possible to facilitate future third-party updates such as FBGEMM (its current shipped version requires 3.21). Pull Request resolved: #153153 Approved by: https://github.com/malfet
Update the minimum CMake version to 3.27 because of it provides more CUDA targets such as `CUDA::nvperf_host` so that it is possible to remove some of our forked CUDA modules. See #153783. It's also possible to facilitate future third-party updates such as FBGEMM (its current shipped version requires 3.21). Pull Request resolved: #153153 Approved by: https://github.com/malfet
Remove
cmake/Modules/FindCUDAToolkit.cmake
and use the shipped one.caffe2::
CUDA targets have been renamed totorch::
.