wsl2 安装 n 卡

文章目录

  • 参考博客
  • 官方安装文档
  • cuda wsl2 依赖下载
  • ubuntu20 装 n 卡
  • cuda10.1 安装包
  • WSL2使用Win10主机的Clash代理
  • 重启

参考博客

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

你可能感兴趣的:(wsl2 安装 n 卡)