173787247/dsh-wsl-gpu1

dsh-wsl-gpu

WSL GPU 检查工具:gpu_doctor 运行 nvidia-smi 并给出 GPU/CUDA 可见性诊断建议。

AI 分析

适合本地推理或 CUDA 训练前后做显卡连通性检查的用户。

包名
dsh-wsl-gpu
版本
0.1.0
许可证
MIT
最近更新
2026年8月29日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:173787247/dsh-wsl-gpu

dsh-wsl-gpu

DeepSeek Harness tool: gpu_doctor — probe nvidia-smi and advise on GPU / CUDA visibility inside WSL.

Part of dsh-wsl-kit.

中文说明 ↓


English

Why

Local inference (PyTorch, Ollama-in-WSL, etc.) needs the Windows NVIDIA driver to expose GPUs into WSL2. This tool checks nvidia-smi and prints actionable advice (do not install a conflicting Linux NVIDIA driver in the distro).

Install

dsh plugin --profile web add github:173787247/dsh-wsl-gpu

Ask: “Run gpu_doctor” after driver updates or when CUDA builds fail.

Config

- id: dsh-wsl-gpu
  name: dsh-wsl-gpu
  config:
    timeoutMs: 20000

Test

npm test

License

MIT


中文

为什么需要

在 WSL 里做本地推理前,先确认 Windows NVIDIA 驱动是否把 GPU 暴露给 WSL。本工具跑 nvidia-smi 并给出建议(不要在发行版里再装冲突的 Linux 驱动;必要时 wsl --shutdown)。

安装

dsh plugin --profile web add github:173787247/dsh-wsl-gpu

许可

MIT