KEMBAR78
Raise error in CMake for CUDA <9.2 by lw · Pull Request #61462 · pytorch/pytorch · GitHub
Skip to content

Conversation

@lw
Copy link
Contributor

@lw lw commented Jul 9, 2021

Stack from ghstack:

Anything before CUDA 9.2 is not supported (see #36848), and perhaps not even that.

Differential Revision: D29637251

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]
@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Jul 9, 2021

💊 CI failures summary and remediations

As 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.

Click here to manually regenerate this comment.

lw added a commit that referenced this pull request Jul 9, 2021
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
@adamjstewart
Copy link
Contributor

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.")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit

Suggested change
message(FATAL_ERROR "PyTorch requires CUDA 9.2 and above.")
message(FATAL_ERROR "PyTorch requires CUDA 9.2 or above.")

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in c830db0.

@facebook-github-bot facebook-github-bot deleted the gh/lw/226/head branch July 13, 2021 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants