LeelaChessZero / lc0

The rewritten engine, originally for tensorflow. Now all other backends have been ported here.
GNU General Public License v3.0
2.46k stars 535 forks source link

CudNN library not found #1086

Closed Caleb-Kang closed 4 years ago

Caleb-Kang commented 4 years ago

I am using an nVIDIA GeForce GPU, and want to use CUDA AND cudNN to build and run lc0. I run on linux, and downloaded both the Runtime and Developer library for CUDA 10.2 (I downloaded 10.2). I ran ./build.sh, but library cudnn wasn't found. Can somebody help?

ddobbelaere commented 4 years ago

This is the issues and bug tracker of the engine lc0.

For installation questions, please join our responsive Discord https://discord.gg/pKujYxD and ask in #help channel.

ddobbelaere commented 4 years ago

Maybe just to quickly exclude a possible issue with the build scripts themselves: where (in which directory) did you install the CUDA libraries? Thanks!

borg323 commented 4 years ago

Did you also install cuDNN? It is a separate download from https://developer.nvidia.com/cudnn.

If you did, build.sh should report something like:

Library cublas found: YES
Library cudnn found: YES
Library cudart found: YES
Program nvcc found: YES (/usr/local/cuda/bin/nvcc)
Naphthalin commented 4 years ago

Author never responded, and this isn't a Lc0 issue. Closing now.