CUDA和cudnn安装
CUDA
nvidia驱动安装(此次未涉及),直接测试查看驱动信息nvidia-smi
CUDA下载路径1(按CUDA版本号) cuda-toolkit-archive
CUDA下载路径2(按显卡) CUDA-GPUs,Legion-Y7000-2019-PG0,显卡为GTX1650
(24.9.18 Y7000)目前选择的是10.1 update2版本Linux x86_64 Ubuntu 18.04 runfile(local) 选择后会出现wget命令与执行命令,在控制台运行即可
安装过程参考,显卡驱动存在可忽略,显卡驱动取消勾选,成功安装输出
===========
= Summary =
===========
Driver: Not Selected
Toolkit: Installed in /usr/local/cuda-10.1/
Samples: Installed in /home/qing/
Please make sure that
- PATH includes /usr/local/cuda-10.1/bin
- LD_LIBRARY_PATH includes /usr/local/cuda-10.1/lib64, or, add /usr/local/cuda-10.1/lib64 to /etc/ld.so.conf and run ldconfig as root
To uninstall the CUDA Toolkit, run cuda-uninstaller in /usr/local/cuda-10.1/bin
Please see CUDA_Installation_Guide_Linux.pdf in /usr/local/cuda-10.1/doc/pdf for detailed information on setting up CUDA.
***WARNING: Incomplete installation! This installation did not install the CUDA Driver. A driver of version at least 418.00 is required for CUDA 10.1 functionality to work.
To install the driver using this installer, run the following command, replacing <CudaInstaller> with the name of this run file:
su