wsl2 安装 n 卡

参考博客

https://blog.csdn.net/xianxi9883/article/details/107358445/

官方安装文档

https://docs.nvidia.com/cuda/wsl-user-guide/index.html

https://docs.nvidia.com/cuda/wsl-user-guide/index.html#installing-nvidia-drivers

cuda wsl2 依赖下载

https://developer.nvidia.com/cuda/wsl/download

ubuntu20 装 n 卡

https://blog.csdn.net/wwlswj/article/details/106364094

cuda10.1 安装包

https://developer.nvidia.com/cuda-10.1-download-archive-update1

WSL2使用Win10主机的Clash代理

export hostip=$(cat /etc/resolv.conf |grep -oP '(?<=nameserver\ ).*')
alias setss='export https_proxy="http://${hostip}:7890";export http_proxy="http://${hostip}:7890";export all_proxy="socks5://${hostip}:7891";'
export hostip=$(cat /etc/resolv.conf |grep -oP '(?<=nameserver\ ).*')
alias setss='export https_proxy="http://${hostip}:4780";

export hostip=$(cat /etc/resolv.conf |grep -oP '(?<=nameserver\ ).*')
export https_proxy="http://${hostip}:7890"
export http_proxy="http://${hostip}:7890"
export all_proxy="socks5://${hostip}:7891"

重启

 Get-Service LxssManager | Restart-Service

猜你喜欢

转载自blog.csdn.net/qq_43373608/article/details/107447822