-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Error with cunn and cutorch #164
Comments
Also receiving this exact error! |
Sorry, I got a little excited to see someone else with the same issue. Running on AWS EC2 Amazon Linux AMI 2015.09.2 x86_64 Graphics HVM EBS. Working off of torch at this commit With the following LuaRocks:
All on this commit of Also, the version of CUDA installed on the system is |
I tried fresh install, still problem erupts after installing CUDA backend for torch. :( |
@jcjohnson @htoyryla any insights you'd like to share? |
I actually had this problem recently; a fresh install of all the core torch packages fixed it for me:
|
@jcjohnson Thanks! I'll give it a third try. Also, the only way I can install Nvidia drivers without getting a black screen is if I install restricted driver (v340.96) using the "additional drivers" in Ubuntu. But when I install CUDA, it automatically installs a more recent version of the drivers (something like 352). It surely will cause problems. I was thinking of how can I just install CUDA? |
@jcjohnson I've been confronting the issue above and ran: Environment:
Which sends be back to ./update.sh and then run ./install.sh Then I'm back to
If you have any insight I'd be incredibly thankful as I've been trying to solve this for two weeks and there are several issues open https://github.com/torch/cutorch/issues if you any insight on how to resolve them. Thanks, |
How can I set up cudnn.torch to work with cudnn v3? luarocks install cudnn would work with cudnn v4 if I am not wrong? |
@aseembits93 you build the right version of cudnn as follow
Don't forget to update your LD_LIBRARY_PATH to link to your downloaded version of NVIDIA CUDNN using export (not the torch one, but the one on Nvidia website). |
For me a fresh install solved the issue, but I also had to clear the package folders in my ~/.luarocks directory before reinstalling, following the comment: torch/distro#85 (comment) |
Try |
I followed all the steps and it worked perfect until I installed backend for torch. After installing cunn and cutorch, if I do
th -e "require 'cutorch'; require 'cunn'; print(cutorch)"
I get,
faiz@fizz:~/neural-style$ th -e "require 'cutorch'; require 'cunn'; print(cutorch)" /home/faiz/torch/install/share/lua/5.1/trepl/init.lua:384: /home/faiz/torch/install/share/lua/5.1/trepl/init.lua:384: /home/faiz/torch/install/share/lua/5.1/cutorch/test.lua:7: attempt to call field 'TestSuite' (a nil value) faiz@fizz:~/neural-style$
The text was updated successfully, but these errors were encountered: