-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Raise error in CMake for CUDA <9.2 #61462
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
Anything before CUDA 9.2 is not supported (see #36848), and perhaps not even that. Differential Revision: [D29637251](https://our.internmc.facebook.com/intern/diff/D29637251/) [ghstack-poisoned]
💊 CI failures summary and remediationsAs of commit 36ccb92 (more details on the Dr. CI page and at hud.pytorch.org/pr/61462): 💚 💚 Looks good so far! There are no failures yet. 💚 💚 Preview docs built from this PR This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions to the (internal) Dr. CI Users group. |
Anything before CUDA 9.2 is not supported (see #36848), and perhaps not even that. Differential Revision: [D29637251](https://our.internmc.facebook.com/intern/diff/D29637251/) ghstack-source-id: 133312018 Pull Request resolved: #61462
|
Thanks for documenting this! |
| if(CUDA_VERSION VERSION_LESS 9.0) | ||
| message(FATAL_ERROR "PyTorch requires CUDA 9.0 and above.") | ||
| if(CUDA_VERSION VERSION_LESS 9.2) | ||
| message(FATAL_ERROR "PyTorch requires CUDA 9.2 and above.") |
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.
Nit
| message(FATAL_ERROR "PyTorch requires CUDA 9.2 and above.") | |
| message(FATAL_ERROR "PyTorch requires CUDA 9.2 or above.") |
|
This pull request has been merged in c830db0. |
Stack from ghstack:
Anything before CUDA 9.2 is not supported (see #36848), and perhaps not even that.
Differential Revision: D29637251