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查看,如果有输出则说明安装好了: 好了,是不是特别简单和方便呢?
https://developer.nvidia.com/cuda/wsl/download 下载支持WSL的NVIDIA最新驱动,首先查看自己的显卡是否支持,我的是GTX960m,因此下载Geforce Driver,右边的是Quadro Driver,根据自己需求下载。如果是Tesla显卡,因为官方文档说还不支持,因此就无法继续安装了。 2. 安装驱动 注意,此步骤是在Windows里进行的,不需要在WSL...
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. 直到看到这位兄弟的文章...
linux卸载NVIDIA CUDA toolkit和 Driver驱动 WSL2安装locate命令一直显示Initializing mlocate database; this may take some time
直接在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 其实官网已经说明了 不需要再安装...
2.1.Step 1: Install NVIDIA Driver for GPU Support Install NVIDIA GeForce Game Ready or NVIDIA RTX Quadro Windows 11 display driver on your system with a compatible GeForce or NVIDIA RTX/Quadro card fromhttps://www.nvidia.com/Download/index.aspx. Refer to the system requirements in the App...
sudo apt-get -y install cuda 依然没有用,哈哈 尝试直接windows安装驱动,成功在WSL2里也能用 参考:WSL ubuntu 显卡驱动报错 NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver. 未知原因,如果命令只写nvidia-smi,风扇那里会写ERR!,但nvidia-smi.exe就一切正常。
2.2 安装显卡驱动 需要针对 WSL 的特殊版本驱动,NVIDIA官方下载网址。下载后,在 Windows 环境下安装...
Install Windows 11 or Windows 10, version 21H2 Install the GPU driver Install WSL Get started with NVIDIA CUDA Windows 11 and later updates of Windows 10 support running existing ML tools, libraries, and popular frameworks that use NVIDIA CUDA for GPU hardware acceleration inside a Windows ...
本模块共参照了两个博客,分别是主要安装wsl2的安装换位, 以及anaconda安装, 次要安装nvidia的cudatoolkit 1. 安装wsl2 打开Windows powershell(管理员身份打开) wsl --install dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart ...