torch / torch7

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

CMake Error while installing (CUDA_cublas_device_LIBRARY) #1170

Closed ExoSkye closed 6 years ago

ExoSkye commented 6 years ago

When I try to install Torch on ubuntu with CUDA 10 Toolkit, CMake 3.12.2 and CUDA 10 it shows this error CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: CUDA_cublas_device_LIBRARY (ADVANCED) linked by target "THC" in directory /home/bobrow2006/torch/extra/cutorch/lib/THC

ExoSkye commented 6 years ago

I've found the solution, it seems that torch does not support CUDA 10.0 Credit goes to: https://stackoverflow.com/questions/52501760/cmake-error-while-installing-torch-in-ubuntu