yu234567/dsh-llamacpp-studio ↗★ 0

dsh-llamacpp-studio

DeepSeek Harness plugin: a graphical launcher and full parameter workbench for a local llama.cpp (llama-server), with model discovery, profiles, process control and live logs. 适合需要在本地运行、管理和调试GGUF模型的用户。

Package
dsh-llamacpp-studio
Compatibility
Unverified
Version
0.2.4
License
MIT
Last updated
Oct 21, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yu234567/dsh-llamacpp-studio

4. 配置档案

  • 「保存配置」写当前表单;
  • 「保存为档案」保存整个配置快照,支持多个模型 / 量化 / Router 方案;
  • 载入、删除档案;
  • 导出 / 导入当前配置 JSON;
  • 配置文件路径:$DSH_HOME/llamacpp-studio/config.json(Windows 默认 C:\Users\\.dsh\llamacpp-studio\config.json)。

使用

  1. 打开侧边栏 llama.cpp 启动台。
  2. 点 自动检测,确认 llama-server 路径和模型目录;也可以手动填。
  3. 在 模型 页扫描目录,选一个 .gguf;视觉模型再选对应的 mmproj。
  4. 在 快速启动 调整 host / port / ctx / GPU 层数等常用项;需要时到 全部参数 调整。
  5. 点 启动服务器,等状态变成 运行中。
  6. 点 打开 Web UI 访问 http://127.0.0.1:8080/;或者把该地址填到 Harness 的 OpenAI 兼容 provider 中。
  7. 在 运行日志 看加载过程;点 停止服务器 结束进程。

常用场景

单模型 + 视觉

  • 启动模式:单模型
  • 模型:...\Qwen2.5-VL-7B-Q4.gguf
  • mmproj:...\mmproj-Qwen2.5-VL-7B-f16.gguf
  • 核心参数:ctx-size=8192、gpu-layers=all、flash-attn=on

Router 模式(多模型,不重启进程)

  • 启动模式:Router(模型目录)
  • 模型目录:E:\models
  • 在全部参数里按需设置 --models-max、--models-autoload、--no-models-autoload
  • 注意:Router 模式不传 -m 和 --mmproj,与 llama.cpp 的 router 语义一致。

多 GPU

  • gpu-layers=all
  • split-mode=layer(或 row)
  • tensor-split=3,1
  • main-gpu=0

低显存

  • gpu-layers 设为具体层数
  • 开启 --fit
  • cache-type-k=q8_0、cache-type-v=q8_0
  • 需要时把 MoE 权重留在 CPU:--n-cpu-moe 或 --cpu-moe