linux(manjaro) tensorflow2.1 conda cuda10 双显卡笔记本深度学习环境搭建
下学期要学tensorflow,看着我可怜的1050ti,流下了贫穷的泪水,但无奈要做实验啊,学还是得学的,安装过程记录一下,仅供参考
关于manjaro
之前写过一篇怎么安装manjaro的文章来着,虽然manjaro在国内不是大众发行版,但在尝试过诸多linux后,我最终留在了manjaro.
双显卡驱动
我的驱动,直接上图
Anaconda
一开始我尝试用pacman直接安装tf cuda cudnn等,很简单
tf CPU
sudo pacman -S python-tensorflow-opt
tf GPU
sudo pacman -S python-tensorflow-opt-cuda cuda cudnn
但是GUP版装好之后运行测试会报
RuntimeError: cuda runtime error (35) : CUDA driver version is insufficient for CUDA runtime version at …
原因:CUDA驱动版本不满足CUDA运行版本。
具体显卡驱动与CUDA版本对应见下
/cuda/cuda-toolkit-release-notes/index.html