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
libcudnn.so* not found #20
Comments
Okay. So I manually copied the
|
Does your folder contain nonimage files? This could be an issue possibly. |
your torch is out of date |
@karpathy No. @soumith , thanks. I found a way around it by rebuilding everything torch and lua dependencies from scratch. I am adding what I changed here in case someone comes across the same problem. I updated my torch package using the
Alrighty, it appears I have all the dependencies @karpathy talked about in his BTW, I had I deleted the
gave me the sort of results I would expect:
Thanks to both of you! A small step for a man. A giant leap for deep learning :) |
After some debugging I would like to share my insights to a related libcudnn issue (since this is the top Google hit): Make sure that the cudnn-library matches your cuda version, i.e. you sometimes must reinstall the cudnn if you have updated the cuda-toolkit. After upgrading to cuDNN v4 |
@gforge this is the actual error message now, is that not what you see? |
@soumith yes that is the message. I got led astray since most of the issues on the web are related to LD_LIBRARY_PATH not being properly set-up. If possible I think it would be useful to add a check whether 'libcudnn.so' exists and if so then perhaps change the message to: error([['You seem to have an invalid libcudnn version, the software requires version 4 (R4) and libcudnn.so.4 or libcudnn.4.dylib are not found in your library path.
Please download and install CuDNN v4 from https://developer.nvidia.com/cuDNN.
]]) The original error message is probably fine but due to its similarity with the previous issue it can cause googling issues - if I've actually read the details in the error before putting into my google search bar I would probably have saved two hours of frustration. It is hard to understand why the NVidia people decided that the CuDNN-library could not be distributed together with the toolkit... |
maybe it's due to the version update of cuDNN, you can clean the content under ~/.theano/, then compile your codes again. A brilliant guy in my lab told me to do so, and it really works. |
Thanks for this great code. I tried to follow your README instructions as religiously as possible. When I tried running the
eval.lua
script, I came up withBut I have
libcudnn.so*
files installed aslocate libcudnn
givesSo I export this path to my
LD_LIBRARY_PATH
as inWhen I
echo $LD_LIBRARY_PATH
, I getIt appears
libcudnn
is now in theLD_LIBRARY_PATH
. However, running again theeval
script still producesI'm sorry for the bother but would appreciate any help.
The text was updated successfully, but these errors were encountered: