Let cmake find cudnn libraries from /usr/lib/x86_64-gnu and /usr/include.
Motivation
NVIDIA official docker image installs cudnn (i.e., libcudnn[version]-dev) in /usr/lib/x86_64-linux-gnu (for runtime files) and /usr/include (for headers). Current nnfusion's cmake config cannot find cudnn because it is not installed in /usr/local/cuda.
🚀 Feature
Let cmake find cudnn libraries from /usr/lib/x86_64-gnu and /usr/include.
Motivation
NVIDIA official docker image installs cudnn (i.e., libcudnn[version]-dev) in /usr/lib/x86_64-linux-gnu (for runtime files) and /usr/include (for headers). Current nnfusion's cmake config cannot find cudnn because it is not installed in /usr/local/cuda.
Pitch
Alternatives
Additional context