Ubuntu20.04记录安装CUDA,CUDNN,pytorch经历
安装CUDA,Cudnn过程参考:安装CUDA,Cudnn过程
安装pytorch之前,需要确认pytorch和cuda版本,但是我安装cuda11.4好像也能使用适用cuda11.3版本的pytorch。
conda方法安装pytorch可能会网络超时,使用pip方法安装。
测试Pytorch是否是GPU版本参考:测试Pytorch是否是GPU版本
更新一波carla安装
环境:Python 3.5 ubuntu 20.04 nvidia-driver 470
根据learning by cheating(lbc) github代码安装的。
报错:
Disabling core dumps.
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 149 ()
Minor opcode of failed request: 4
Resource id in failed request: 0x3e00041
Serial number of failed request: 361
Current serial number in output stream: 367
Signal 11 caught.
Segmentation fault (core dumped)
解决:export VK_ICD_FILENAMES="/usr/share/vulkan/icd.d/nvidia_icd.json"
参考:解决方法