torch / torch7

http://torch.ch
Other
8.96k stars 2.38k forks source link

Cuda 9.2 support? #1151

Open CharAznableLoNZ opened 6 years ago

CharAznableLoNZ commented 6 years ago

Freshly installed torch and built cutorch on a machine running cuda 9.2. Everything built correctly however when I tried to utilize it, it appears 9.2 is not recognized. Any information I can provide I'd be more than happy to. I opened an issue on the torch/cutorch git however it's been 5 days without any response so I'm bringing it here.

user@Nagisa:~/waifu2x$ th web.lua THCudaCheck FAIL file=/home/user/torch/extra/cutorch/lib/THC/THCGeneral.c line=70 error=35 : CUDA driver version is insufficient for CUDA runtime version /home/user/torch/install/bin/luajit: /home/user/torch/install/share/lua/5.1/trepl/init.lua:389: lib/w2nn.lua:18: Failed to load CUDA modules. Please check the CUDA Settings. /home/user/torch/install/share/lua/5.1/trepl/init.lua:389: cuda runtime error (35) : CUDA driver version is insufficient for CUDA runtime version at /home/user/torch/extra/cutorch/lib/THC/THCGeneral.c:70 stack traceback: [C]: in function 'error' /home/user/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require' web.lua:7: 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

stu17682 commented 6 years ago

Hey

I don’t have everything to hand but I think this is your problem:

CUDA driver version is insufficient for CUDA runtime version

i.e. the drivers need updated. If you Google this you should find some simple steps to solve it.

Cheers

Stuart

-- Stuart Millar PhD Deep Learning / Cyber Security Researcher CSIT / QUB, Belfast smillar09@qub.ac.ukmailto:smillar09@qub.ac.uk

Sent from my iPhone - please excuse any typos or grammatical errors.

On 22 May 2018, at 21:53, anonymau5 notifications@github.com<mailto:notifications@github.com> wrote:

CUDA driver version is insufficient for CUDA runtime version

CharAznableLoNZ commented 6 years ago

The driver were just updated to 396 along with the latest available cuda 9.2. The issue is 9.2 is not recognized by torch as a supported version.

CharAznableLoNZ commented 6 years ago

A bump since it's been a week.

CharAznableLoNZ commented 6 years ago

Two weeks now, guess I'll roll back to Cuda 9.1 since no interest in supporting 9.2 has been shown.

cvvs commented 6 years ago

They've abandoned it, so I wouldn't expect any enhancements. https://github.com/torch/torch7/pull/1158

tastyminerals commented 6 years ago

This has nothing to do with Torch. Torch is working fine with CUDA 9.2. The problem is your drivers.

tastyminerals commented 6 years ago

@cvvs Torch is not abandoned. It is in maintenance mode which means bug fixing only, no new features since core team moved to PyTorch. Torch shall remain a legacy go-to code base for those who want to know how things work under the hood.