dsh-zcode-farm
Multi-instance ComfyUI orchestration: probes every configured ComfyUI endpoint for its GPU, free VRAM and queue depth, then dispatches a generation job to the idlest eligible instance. Ships three tools (comfyui_farm_status, comfyui_farm_pick, comfyui_farm_run). An instance is eligible only if it is reachable, has at least the requested free VRAM, and its queue is no deeper than the configured ceiling; eligible instances are ranked by free VRAM minus queue depth times a weight, so an idle shallow queue wins over a busy large one. Zero runtime dependencies. Optional retry on probe failure, because a single timeout across an SSH tunnel is not proof that an instance is down.
多实例 ComfyUI 编排:探测每个已配置 ComfyUI 端点的 GPU、空闲显存与队列深度,再把生成任务派给最空闲且满足条件的实例。提供三个工具(comfyui_farm_status、comfyui_farm_pick、comfyui_farm_run)。一个实例只有在可达、空闲显存不低于要求、且队列不深于上限时才算候选;候选按「空闲显存 - 队列深 × 权重」排序,因此空闲的浅队列胜过忙碌的大显存。零运行时依赖。探测失败可选重试——跨 SSH 隧道的一次超时不足以证明实例已下线。
How to install
dsh plugin add github:BOWLUNA/dsh-zcode-farm About
dsh-zcode-farm **English** | 中文 Let the DeepSeek Harness agent see a **whole farm** of ComfyUI instances and dispatch each job to the idlest one. bash dsh plugin --profile web add dsh-zcode-farm | | dsh-comfyui (77★) | **this plugin** | | --- | --- | --- | | Endpoints it can address | one | **many, probed concurrently** | | Queue depth | read from /queue, but with one instance it informs the user rather than a choice | **weighted into the ranking, across instances** | | When the job lands | on that one instance | on the instance with the **most free VRAM and an empty queue** | | Writes to Comf…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 0
- mo. downloads
- –
- Last push
- 2026-09-24
- Created
- 2026-09-17
Links
Basic safety check
- Findings
- curated 收录但无 npm 包/安装命令
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- comfyui, cordis, deepseek-harness, dsh, dsh-plugin, gpu-scheduling, image-generation, load-balancer, multi-instance, workflow, zcode
Related plugins
mobile-mcp
mobile-next/mobile-mcp
Model Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)
davinci-resolve-mcp
samuelgursky/davinci-resolve-mcp
MCP server integration for DaVinci Resolve Studio
ssh-mcp
tufantunc/ssh-mcp
MCP server exposing SSH control for Linux servers via Model Context Protocol.