Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_cublas_LIBRARY (ADVANCED)
linked by target “THC” in directory /root/torch/extra/cutorch/lib/THC
CUDA_cublas_device_LIBRARY (ADVANCED)
linked by target “THC” in directory /root/torch/extra/cutorch/lib/THC
解决办法:https://github.com/torch/cutorch/issues/834