Skip to content
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

Cudnn update to 7.4.2 + warn if old version is used with RTX cards #741

Merged
merged 4 commits into from Feb 24, 2019

Conversation

borg323
Copy link
Member

@borg323 borg323 commented Feb 18, 2019

No description provided.

"version "
<< CUDNN_MAJOR << "." << CUDNN_MINOR << "." << CUDNN_PATCHLEVEL;
}
if (version < 7301 && (deviceProp.major > 7 ||
(deviceProp.major == 7 && deviceProp.minor > 5))) {
Copy link
Member

Choose a reason for hiding this comment

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

Turing (RTX 20xx cards) is 7.5, so you need minor version greater or equal to 5. i.e:
(deviceProp.major == 7 && deviceProp.minor => 5)

@borg323 borg323 merged commit a6f8aba into LeelaChessZero:master Feb 24, 2019
@borg323 borg323 deleted the cudnn_ver branch February 24, 2019 15:37
@gcp
Copy link
Contributor

gcp commented Mar 8, 2019

The RC binaries seem to give a warning because they're compiled with 7.3.1 and they detect a mismatch with the shipped version.

@borg323
Copy link
Member Author

borg323 commented Mar 8, 2019

Is this downloading just the executable? Probably appveyor is still using a cached version but the packaged zip should be OK.

@gcp
Copy link
Contributor

gcp commented Mar 8, 2019

The packaged zip of the 0.20.2 release actually ships with 7.3.1 instead of 7.4.2 so it won't give the error, but I doubt that was the intention?

@borg323
Copy link
Member Author

borg323 commented Mar 8, 2019

Updating the appveyor cache is a hassle, so I avoid it as much as I can. There is no urgency to move to 7.4.2, so I didn't force the update: It usually happens frequently enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants