Comments (9)
Using this: export CUDNN_PATH="/usr/local/cuda-9.0/lib64/libcudnn.so.7"
Results in:
Found Environment variable CUDNN_PATH = /usr/local/cuda-9.0/lib64/libcudnn.so.7/home/ubuntu/torch/install/bin/luajit: /home/ubuntu/torch/install/share/lua/5.1/trepl/init.lua:389: /home/ubuntu/torch/install/share/lua/5.1/trepl/init.lua:389: /home/ubuntu/torch/install/share/lua/5.1/cudnn/ffi.lua:1618: These bindings are for CUDNN 5.x (5005 <= cudnn.version > 6000) , while the loaded CuDNN is version: 7003
Are you using an older or newer version of CuDNN?
stack traceback:
[C]: in function 'error'
/home/ubuntu/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require'
neural_style.lua:350: in function 'setup_gpu'
neural_style.lua:53: in function 'main'
neural_style.lua:601: in main chunk
[C]: in function 'dofile'
...untu/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00405d50
Edit:
Using this worked:
git clone https://github.com/soumith/cudnn.torch.git -b R7 && cd cudnn.torch && luarocks make cudnn-scm-1.rockspec
from cudnn.torch.
got to do so much bullshit to make torch/lua work with 10 series nvidia GPU. even after 1 year +.
from cudnn.torch.
In which path did you run the below code?!
git clone https://github.com/soumith/cudnn.torch.git -b R7 && cd cudnn.torch && luarocks make cudnn-scm-1.rockspec
from cudnn.torch.
I have the same problem and I couldnt solve it yet!
I successfully installed my nvidia driver and cuda 9.1. I also did everything that is needed to install cudnn 7.1. but when I run my code, I face the following error:
/////////////////////////////////////////////////////////////////
Found Environment variable CUDNN_PATH = /usr/local/cuda-9.1/lib64/libcudnn.so.7/home/mozhdeh/torch/install/bin/luajit: /home/mozhdeh/torch/install/share/lua/5.1/trepl/init.lua:389: /home/mozhdeh/torch/install/share/lua/5.1/trepl/init.lua:389: /home/mozhdeh/torch/install/share/lua/5.1/cudnn/ffi.lua:1743: /usr/local/cuda-9.1/lib64/libcudnn.so.7: cannot open shared object file: No such file or directory
/////////////////////////////////////////////////////////////////
My .bashrc file containes:
/////////////////////////////////////////////////////////////////
export PATH=/usr/local/cuda-9.1/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda-9.1/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
export CUDA_HOME=/usr/local/cuda-9.1
export CUDNN_PATH=/usr/local/cuda-9.1/lib64/libcudnn.so.7
/////////////////////////////////////////////////////////////////
and I'm sure that the libcudnn.so.7 file exists in /usr/local/cuda-9.1/lib64
Any solution ?! :(
System Information:
Os: Ubuntu 18.04
Nvidia driver version: 390.48
from cudnn.torch.
You can change the called cudnn version executing the following command in the prompt:
export CUDNN_PATH="/usr/local/cuda/lib64/libcudnn.so.X"
where the X is your current cudnn version, in my case version 7.
from cudnn.torch.
Using this:
export CUDNN_PATH="/usr/local/cuda-9.0/lib64/libcudnn.so.7"
Results in:
Found Environment variable CUDNN_PATH = /usr/local/cuda-9.0/lib64/libcudnn.so.7/home/ubuntu/torch/install/bin/luajit: /home/ubuntu/torch/install/share/lua/5.1/trepl/init.lua:389: /home/ubuntu/torch/install/share/lua/5.1/trepl/init.lua:389: /home/ubuntu/torch/install/share/lua/5.1/cudnn/ffi.lua:1618: These bindings are for CUDNN 5.x (5005 <= cudnn.version > 6000) , while the loaded CuDNN is version: 7003 Are you using an older or newer version of CuDNN? stack traceback: [C]: in function 'error' /home/ubuntu/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require' neural_style.lua:350: in function 'setup_gpu' neural_style.lua:53: in function 'main' neural_style.lua:601: in main chunk [C]: in function 'dofile' ...untu/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [C]: at 0x00405d50
Edit:
Using this worked:
git clone https://github.com/soumith/cudnn.torch.git -b R7 && cd cudnn.torch && luarocks make cudnn-scm-1.rockspec
THX, it works for me!
from cudnn.torch.
Using this:
export CUDNN_PATH="/usr/local/cuda-9.0/lib64/libcudnn.so.7"
Results in:Found Environment variable CUDNN_PATH = /usr/local/cuda-9.0/lib64/libcudnn.so.7/home/ubuntu/torch/install/bin/luajit: /home/ubuntu/torch/install/share/lua/5.1/trepl/init.lua:389: /home/ubuntu/torch/install/share/lua/5.1/trepl/init.lua:389: /home/ubuntu/torch/install/share/lua/5.1/cudnn/ffi.lua:1618: These bindings are for CUDNN 5.x (5005 <= cudnn.version > 6000) , while the loaded CuDNN is version: 7003 Are you using an older or newer version of CuDNN? stack traceback: [C]: in function 'error' /home/ubuntu/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require' neural_style.lua:350: in function 'setup_gpu' neural_style.lua:53: in function 'main' neural_style.lua:601: in main chunk [C]: in function 'dofile' ...untu/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [C]: at 0x00405d50
Edit:
Using this worked:
git clone https://github.com/soumith/cudnn.torch.git -b R7 && cd cudnn.torch && luarocks make cudnn-scm-1.rockspec
THX, it works for me!
This does not work for me. Im on ubuntu 18.02 cuda 9.2 and cudnn 7
Any ideas?
from cudnn.torch.
Using this:
export CUDNN_PATH="/usr/local/cuda-9.0/lib64/libcudnn.so.7"
Results in:Found Environment variable CUDNN_PATH = /usr/local/cuda-9.0/lib64/libcudnn.so.7/home/ubuntu/torch/install/bin/luajit: /home/ubuntu/torch/install/share/lua/5.1/trepl/init.lua:389: /home/ubuntu/torch/install/share/lua/5.1/trepl/init.lua:389: /home/ubuntu/torch/install/share/lua/5.1/cudnn/ffi.lua:1618: These bindings are for CUDNN 5.x (5005 <= cudnn.version > 6000) , while the loaded CuDNN is version: 7003 Are you using an older or newer version of CuDNN? stack traceback: [C]: in function 'error' /home/ubuntu/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require' neural_style.lua:350: in function 'setup_gpu' neural_style.lua:53: in function 'main' neural_style.lua:601: in main chunk [C]: in function 'dofile' ...untu/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [C]: at 0x00405d50
Edit:
Using this worked:
git clone https://github.com/soumith/cudnn.torch.git -b R7 && cd cudnn.torch && luarocks make cudnn-scm-1.rockspec
THX, it works for me!
This does not work for me. Im on ubuntu 18.02 cuda 9.2 and cudnn 7
Any ideas?
It also does not work for me. Im on ubuntu 16.04 cuda 9.0 and cudnn 7.4.2
Are you using an older or newer version of CuDNN?
stack traceback:
[C]: in function 'error'
/home/user/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require'
TestRDN.lua:3: in main chunk
[C]: in function 'dofile'
...user/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00405d50
from cudnn.torch.
@THUHoloLab
Hi,
I have met the same problem as yours.
Have you solved it?
Thanks
from cudnn.torch.
Related Issues (20)
- Error in CuDNN: CUDNN_STATUS_INTERNAL_ERROR(lua5.1,1080ti, CUDA8.0,cudnn5.1) HOT 6
- Error in CuDNN: CUDNN_STATUS_BAD_PARAM (cudnnGetConvolutionNdForwardOutputDim) when using VolumetricConvolution HOT 1
- Loss is NaN when using half precision HOT 3
- Is there any CuDNN bindings update plan? HOT 8
- Machine GPU type dependency: invalid device function HOT 1
- cudnn7.0 not supported even installed -R7 branch? HOT 5
- cudnnConvolutionBackwardData failed - Error in CuDNN: CUDNN_STATUS_NOT_SUPPORTED (cudnnConvolutionBackwardData) HOT 8
- Slow loading time HOT 8
- Bug with GroupConvolutions with Padding using R7 branch
- CUDNN_STATUS_INTERNAL_ERROR lua torch HOT 1
- How to implement CNN+LSTM using cudnn torch
- THNN is nil HOT 1
- clearState breaks nn.MV
- ETN Mining - [CUDA] Error gpu 0: <C:/xmr-stak/xmr-stak-2.4.5/xmrstak/backend/nvidia/nvcc_code/cuda_extra.cu>:381
- Does cudnn.torch support nvidia v100 tensor cores?
- require cudnn takes 10 minutes on a Volta with 1 GPU (Cuda 9, cudnn 7.1)
- build error HOT 1
- RuntimeError: cuDNN version incompatibility: PyTorch was compiled against 7401 but linked against 7301
- 'CudaByteStorage' (a nil value)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cudnn.torch.