problem#4 cudnn 配置
solution:
download and unzip cudnn, set up evn variable as:
export CUDNN_ROOT=(你解压cudnn的地方)
export LD_LIBRARY_PATH=$CUDNN_ROOT/lib64:$LD_LIBRARY_PATH
export CPATH=$CUDNN_ROOT/include:$CPATH
export LIBRARY_PATH=$CUDNN_ROOT/lib64:$LD_LIBRARY_PATH
problem#3 lua 需要 cudnn5.1版本
solution:
git clone https://github.com/soumith/cudnn.torch.git -b R7 && cd cudnn.torch && luarocks make cudnn-scm-1.rockspec
problem#2 install.sh报错
solution:
sudo su
export TORCH_NVCC_FLAGS="-D__CUDA_NO_HALF_OPERATORS__"
bash install-deps
yes | bash ./install.sh
problem#1:can't find cuda or libcudart.so: or cmake can‘t find cuda in other cases
solution:
check your cudatoolkit !