dsh-zcode-farm
多实例 ComfyUI 编排:探测每个已配置 ComfyUI 端点的 GPU、空闲显存与队列深度,再把生成任务派给最空闲且满足条件的实例。提供三个工具(comfyui_farm_status、comfyui_farm_pick、comfyui_farm_run)。一个实例只有在可达、空闲显存不低于要求、且队列不深于上限时才算候选;候选按「空闲显存 - 队列深 × 权重」排序,因此空闲的浅队列胜过忙碌的大显存。零运行时依赖。探测失败可选重试——跨 SSH 隧道的一次超时不足以证明实例已下线。
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.
怎么安装
dsh plugin add github:BOWLUNA/dsh-zcode-farm 简介
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…
推荐参考
信息
- 协议
- MIT
- 语言
- JavaScript
- GitHub 星标
- 0
- 月下载
- –
- 最近更新
- 2026-09-24
- 创建于
- 2026-09-17
基础安全检查
- 检查结果
- curated 收录但无 npm 包/安装命令
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- comfyui, cordis, deepseek-harness, dsh, dsh-plugin, gpu-scheduling, image-generation, load-balancer, multi-instance, workflow, zcode