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

THCudaCheck FAIL file=/home/beta/torch/extra/cutorch/lib/THC/THCGeneral.c line=70 error=38 : no CUDA-capable device is detected #45

Open
leesurelye opened this issue May 14, 2021 · 0 comments

Comments

@leesurelye
Copy link

When i run "th translate.lua -model model/840B.300d.rnn.para_epoch15_26.70.t7 -config config-trans" command, I get this error, I don;t know how to solve it
===================Error============================================
THCudaCheck FAIL file=/home/beta/torch/extra/cutorch/lib/THC/THCGeneral.c line=70 error=38 : no CUDA-capable device is detected
/home/beta/torch/install/bin/luajit: ./onmt/utils/Cuda.lua:31: /home/beta/torch/install/share/lua/5.1/trepl/init.lua:389: cuda runtime error (38) : no CUDA-capable device is detected at /home/beta/torch/extra/cutorch/lib/THC/THCGeneral.c:70
stack traceback:
[C]: in function 'error'
./onmt/utils/Cuda.lua:31: in function 'init'
./onmt/translate/Translator.lua:31: in function 'init'
translate.lua:86: in function 'main'
translate.lua:239: in main chunk
[C]: in function 'dofile'
...beta/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x55e7dcaee570

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

1 participant