dsh-wsl-gpufix
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.
为 WSL2 上的 DSH Landlock 沙箱追加 /dev/dxg 与 /proc 的读写授权,使受限的 agent bash 会话中也能使用 CUDA。
How to install
dsh plugin add github:Jumqyc/dsh-wsl-gpufix About
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…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 0
- mo. downloads
- –
- Last push
- 2026-09-09
- Created
- 2026-09-09
Links
Basic safety check
- Findings
- curated 收录但无 npm 包/安装命令
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- dsh, dsh-plugin, dsh-plugins, wsl2, wsl2-linux
Related plugins
dsh-wsl-workspace
6Mikao9/dsh-wsl-workspace
Add a WSL workspace from the web GUI without needing to install dsh or related tools again inside WSL. Bash commands and file read/write operations run within the local WSL distribution on the host machine, while Windows files remain accessible.
dsh-wsl-tray
173787247/dsh-wsl-tray
Writes a Windows shortcut and tray launcher to start dsh web in WSL, with Health/Restart and the :3081 launch-token URL.
dsh-wsl-expose
173787247/dsh-wsl-expose
Advises or applies allowlisted Windows portproxy for a WSL listen port, preferring the kit :3081 relay and launch token for local dsh UI.
dsh-wsl-workspace
173787247/dsh-wsl-workspace
Lists WSL distros and validates a Linux workspace path for DSH.