NOTFOUND CUDA_cublas_device_LIBRARY,Ubuntu16.04安装torch7遇到的错误

在Ubuntu16.04上配置denseCap代码环境,安装torch7时遇到CUDA_cublas_device_LIBRARY错误。尝试升级CMake到不同版本(3.15.3,3.14.2,3.13.2)未果,最终通过降级CUDA到8.0和安装cudnn5.0解决问题。重启电脑后重新安装torch,问题解决。
摘要由CSDN通过智能技术生成

为了配置李飞飞团队denseCap的代码环境,需要安装torch。

本机环境:Ubuntu16.04 + Nvidia TiTIAN xp + 驱动430 + cuda10.1(后改为cuda8.0)+ cudnn7.6.0(后改为cudnn5.0)

根据官网http://torch.ch/docs/getting-started.html#_给出的安装torch的步骤

git clone https://github.com/torch/distro.git ~/torch --recursive
cd ~/torch; bash install-deps;
./install.sh

在最后一步./install.sh时遇到错误:

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)

发现很少有博客谈及这个错误,唯一可参考的https://blog.csdn.net/DumpDoctorWang/article/details/89644762

以及github上几个issue上都推荐升级Cmake版本

推荐升级到的版

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值