Skip to content
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

CUDA not found #10

Open
David-Intus opened this issue Jun 4, 2020 · 1 comment
Open

CUDA not found #10

David-Intus opened this issue Jun 4, 2020 · 1 comment

Comments

@David-Intus
Copy link

Hi, I have been trying to make Torch work with CUDA 10. But when I run ./test.sh I get the following
Completed 134211 asserts in 210 tests with 0 failures and 0
sundown loaded succesfully
/home/intus/torch/install/bin/luajit: module 'cutorch' not found:
no field package.preload['cutorch']
no file '/home/intus/.luarocks/share/lua/5.1/cutorch.lua'
no file '/home/intus/.luarocks/share/lua/5.1/cutorch/init.lua'
no file '/home/intus/torch/install/share/lua/5.1/cutorch.lua'
no file '/home/intus/torch/install/share/lua/5.1/cutorch/init.lua'
no file './cutorch.lua'
no file '/home/intus/torch/install/share/luajit-2.1.0-beta1/cutorch.lua'
no file '/usr/local/share/lua/5.1/cutorch.lua'
no file '/usr/local/share/lua/5.1/cutorch/init.lua'
no file '/home/intus/torch/install/lib/cutorch.so'
no file '/home/intus/.luarocks/lib/lua/5.1/cutorch.so'
no file '/home/intus/torch/install/lib/lua/5.1/cutorch.so'
no file '/home/intus/torch/install/lib/cutorch.so'
no file './cutorch.so'
no file '/usr/local/lib/lua/5.1/cutorch.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: at 0x55b22f6720b0
[C]: at 0x55b22f610710
CUDA not found

I'm sure that my CUDA installation works, I'm using tensorflow with GPU support also.

I would appreciate any help :)

@nagadomi
Copy link
Owner

nagadomi commented Jun 5, 2020

Check the environment variables that CMake uses to detect CUDA. #9 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants