dsh-wsl-gpufix
为 WSL2 上的 DSH Landlock 沙箱追加 /dev/dxg 与 /proc 的读写授权,使受限的 agent bash 会话中也能使用 CUDA。
Adds /dev/dxg and /proc read-write grants to the DSH Landlock sandbox on WSL2, so CUDA is available inside a confined agent bash session.
怎么安装
dsh plugin add github:Jumqyc/dsh-wsl-gpufix 简介
dsh-wsl-gpufix **Unofficial community plugin — not affiliated with or endorsed by DeepSeek.** English | 简体中文 A Cordis host-composition plugin for DSH that grants the WSL2 GPU device to the DSH Landlock sandbox, so torch.cuda.is_available() is True inside a normal (confined) agent bash session. console $ python -c "import os, torch; os.close(os.open('/dev/dxg', os.O_RDWR)); print(torch.cuda.is_available(), torch.cuda.get_device_name(0))" True NVIDIA GeForce RTX 4060 Laptop GPU Install in one command: sh dsh plugin --profile <profile> add github:Jumqyc/dsh-wsl-gpufix --- The problem @deepseek-ai…
推荐参考
信息
- 协议
- MIT
- 语言
- JavaScript
- GitHub 星标
- 0
- 月下载
- –
- 最近更新
- 2026-09-09
- 创建于
- 2026-09-09
基础安全检查
- 检查结果
- curated 收录但无 npm 包/安装命令
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- dsh, dsh-plugin, dsh-plugins, wsl2, wsl2-linux
同类推荐
dsh-wsl-workspace
6Mikao9/dsh-wsl-workspace
从 Web GUI 添加 WSL 工作区,无需在 WSL 之中再次安装 dsh 以及相关工具,bash 命令与文件读写运行在本机 WSL 发行版内,Windows 文件仍可访问。
dsh-wsl-tray
173787247/dsh-wsl-tray
生成 Windows 快捷方式与托盘启动器,在 WSL 中启动 dsh web,并提供 Health/Restart 与 :3081 launch token 地址。
dsh-wsl-expose
173787247/dsh-wsl-expose
为 WSL 监听端口提供白名单 Windows portproxy 建议或应用;本机 dsh UI 优先用 kit 的 :3081 中继与 launch token。
dsh-wsl-workspace
173787247/dsh-wsl-workspace
列出 WSL 发行版并校验可用于 DSH 的 Linux 工作区路径。