-
Notifications
You must be signed in to change notification settings - Fork 157
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
Disable CUDNN download when it's not found at install time #334
Comments
Option may make sense, however: |
I have it in LD_LIBRARY_PATH, it is not picked up. Solved it by local clone and reverting the PR with new cmake file. |
Can this be re-opened? |
Do you have existing CUDNN 5.1 in your LD_LIBRARY_PATH? It works for me. Also, does it do it more than once for you ? |
@soumith: it's trivial to add an option, and I am not even against it. I am just wondering what the use-case is. How do you know before installing Torch for the first time you actually want this option ? |
I have CUDNN version 5.1 in my LD_LIBRARY_PATH. Yet it downloads CUDNN again, both when I do |
@borisfom @soumith I guess this is fine, as long as a new version of CUDNN does still work on the existing GPU configuration (driver/toolkit/etc.) |
@dasguptar Older cards won't be an issue. I have put 5.1 requirement in as there were certain important bug fixes and there are no cases where 5.0 would do better. |
i think one central problem is that torch users dont copy over the header (it's not needed for ffi). That's why maybe downloads are happening. If you only check for the correct |
Right, I have changed required version to '5' which would fit both cases - with and without headers. |
I skimmed through the code and I don't see such option, it tries to download the lib even though it can just be picked up at runtime.
The text was updated successfully, but these errors were encountered: