dsh-gpu
适用于 DeepSeek Harness 的 GPU 感知执行层插件:提供 GPU 状态查询、执行工具及每步 GPU 上下文注入
AI 分析
核心用途是让 DSH 能够感知和调度本地或远程 GPU 资源。适合需要在 Agent 任务中监控显存、自动选择空闲 CUDA 卡运行代码的开发者。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zytsyj/dsh-gpu說明文件
閱讀完整 README ↗Configuration
- id: gpu
name: dsh-gpu
config:
stepContext: true # per-step GPU snapshot line (default true)
refreshIntervalMs: 60000 # min spacing between injected snapshots
queryTimeoutMs: 10000 # nvidia-smi timeout
busyMemoryPct: 80 # >= this % memory used => busy
busyUtilPct: 50 # >= this % SM util => busy