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-win-toolkit
Edge-Echo/dsh-win-toolkit
面向 DSH agent 的 Windows 原生工具:剪贴板读写、系统通知、hosts 文件查看与网络诊断,均返回结构化数据(带 UI 卡片),底层为防注入的 PowerShell。
dsh-wsl-tray
liyu34/dsh-wsl-tray
为运行在 WSL 的 DSH 提供 Windows 桌面快捷方式和系统托盘启动器:完全隐藏启动,托盘菜单支持打开/重启/退出,插件配置页可管理快捷方式。
dsh-wsl-workspace
173787247/dsh-wsl-workspace
列出 WSL 发行版并校验可用于 DSH 的 Linux 工作区路径。