选择对应的 CUDA Toolkit,CUDA Toolkit 下载链接 wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin sudo mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600 wget https://developer.download.nvidia.com/compute/cuda/12.2.0/local_inst...
You do not appear to have an NVIDIA GPU supported by the 510.54 NVIDIA Linux graphics driver installed in this system. For further details, please see the appendix SUPPORTED NVIDIA GRAPHICS CHIPS in the README available on the Linux driver download page atwww.nvidia.com. 直到看到这位兄弟的文章...
root@DESKTOP-PO8BKKM:~# nvidia-smi NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running. 尝试按这个解决:NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver. 最全解决方案!详细!
使用WSL命令进入Ubuntu-18.04系统,输入下面的命令,安装用于Ubuntu18.04版本的CUDA Toolkit 11.4: wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin sudo mv cuda-ubuntu1804.pin/etc/apt/preferences.d/cuda-repository-pin-600wget https://developer.download.nv...
sudoadd-apt-repository"deb https://developer.download.nvidia.com/compute/cuda/repos/wsl-ubuntu/x86_64/ /"sudoapt-getupdate sudo apt-get -y install cuda 做完以上步骤,理论上就可以在WSL2中使用GPU了,在WSL2中输入nvidia-smi查看,如果有输出则说明安装好了: ...
4、在WSL2上安装CUDA Toolkit(2种):https://docs.nvidia.com/cuda/wsl-user-guide/index.html 1)用WSL-Ubuntu Package安装CUDA Toolkit 11.8,官网网址有安装命令! 2)用Meta Package安装CUDA Toolkit(注意:不要在WSL2上安装NVIDIA driver) $wgethttps://developer.download.nvidia.com/compute/cuda/repos/ubuntu...
$ apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub $ sh -c 'echo "deb Index of /compute/cuda/repos/ubuntu1804/x86_64 /" > /etc/apt/sources.list.d/cuda.list'
安装Nvidia WSL2-compatibile 驱动 打开这个链接-> Get CUDA Driver-> log in -> download 管理员身份运行powershell: dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart ...
官方的安装指引为:wget https://developer.download.nvidia.com/compute/cuda/11.3.0/local_installers...
直接在powershell里输入nvidia-smi,出来的是windows下的cuda版本 01-11 · IP 属地河南 回复4 阿孟 The CUDA driver installed on Windows host will be stubbed inside the WSL 2 as libcuda.so, therefore users must not install any NVIDIA GPU Linux driver within WSL 2 其实官网已经说明了 不需要再安装...