## Problems fixed
### 1. Model select didn't use subdirectories
ConfigTab's model Select used m.name (just 'model.gguf') instead of
m.relativePath ('Qwen3-VL/model.gguf'). When the user selected a model
from a subdir, the config stored just the filename — llama.cpp would
look for /models/model.gguf instead of /models/Qwen3-VL/model.gguf.
**Fix:** Select uses m.relativePath everywhere (model + draft + mmproj).
Also filters by kind: only base models in model Select, only mtp/draft
in draft Select, only mmproj in mmproj Select. Shows subdir/ prefix
in the dropdown.
### 2. mmproj select missing from ConfigTab
User asked: 'mmproj нужна настройка еще на самой странице конфигов'
**Fix:** Added a new 'Multimodal projector (mmproj)' section in
ConfigTab with a Select dropdown. Lists files with kind='mmproj' (or
all files as fallback if no mmproj files detected). Shows the
resulting --mmproj /models/<path> line when set.
### 3. Perf tab shows NaN and '?' everywhere
- 'Ctx usage: NaN / 50176' — slots[].n_past was undefined → NaN in reduce
- 'Default sampling: temp: ? ...' — /props didn't return
default_generation_settings (or named differently)
- 'Total ctx: —' — /props didn't return n_context
- 'slot #0 ctx: /50176' — n_past was undefined
**Fix:**
- NaN-safe: all slot field access uses typeof checks or ?? '?'
- Try multiple key names: default_generation_settings || generation_settings,
total_slots || n_slots, n_context || n_ctx_total, has_multimodal ||
mmproj_path || is_multimodal
- Added '▶ Raw /props + /slots JSON' collapsible section at the bottom
of Overview — shows the raw JSON from both endpoints so the user (and
I) can see what llama.cpp actually returns. This is critical for
debugging — llama.cpp changes field names across versions.
### 4. Version bump to 0.6.0
Updated DASHBOARD_VERSION to '0.6.0' so the user can verify the update
took effect (footer shows v0.6.0, /api/debug returns version: '0.6.0').
## After merge
```sh
git pull && sh build.sh
docker compose up -d --force-recreate dashboard model-worker
```
Check footer — should show v0.6.0. If it shows v0.5.0, the container
didn't rebuild (try docker compose build dashboard && docker compose
up -d --force-recreate dashboard).
For Perf tab debugging: open the '▶ Raw /props + /slots JSON' section
and share the output — that'll show exactly what llama.cpp returns.
GPU-Node Dashboard
A small Next.js web dashboard for managing the llama.cpp instance running on the
GPU node. Replaces the need to manually edit .env and call gpuctl over SSH.
Features
- Status overview — live view of all containers (llama, ssh, comfyui, etc.) for the current node instance, with health check + auto-refresh.
- Models list — scans
gpu/llama_models/*.ggufand shows sizes / modified time; click "Use" to switch the active model in the launch config. - Launch config — structured form for
--ctx-size,--parallel,--n-gpu-layers,--threads,--batch-size,--context-overflow, speculative decoding (--spec-type,--model-draft,--spec-draft-n-max), and a free-form extra args textarea for anything else. - Presets — save named configurations and reload them with one click.
- Start / Restart / Stop / Remove llama container via docker compose.
- Live logs — streaming
docker logs -fwith color-coded output. - GPU status — runs
nvidia-smiviadocker execon the llama container (or falls back todocker compose run --rm gpu-test nvidia-smi ...). - Auto-writes
.env— every "Apply / Start" persists the currentLLAMA_MODELandLLAMA_EXTRA_ARGSback to.env, so the existing workflow keeps working.
How it integrates
The dashboard runs as a new dashboard service in compose.yaml. It mounts:
/var/run/docker.sock→ can rundocker composeanddocker pscommands- The host project path (read/write so it can edit
.envand save presets)
On every "Start / Apply" action, the dashboard:
- Persists the structured config to
gpu/dashboard-config.json. - Writes
LLAMA_MODELandLLAMA_EXTRA_ARGSto.env(preserving other vars). - Runs
docker compose --profile llama up -d --force-recreate llamawith the same env vars inlined — identical togpuctl start llama <model> <args>.
The dashboard is exposed via Tailscale serve on port 8090.
Local development
cd dashboard
npm install
npm run dev
You will need to set the same env vars the container would set:
export HOST_PROJECT_PATH=/path/to/GPU-Node # absolute path on host
export PROJECT_DIR=/path/to/GPU-Node # path mounted inside the dev shell
export NODE_INSTANCE=gpu-node
You also need docker and docker compose available on your $PATH, and the
current user must be in a group that can access /var/run/docker.sock.
Building the image
docker build -t gpu-node-dashboard ./dashboard
Or via the project's build.sh after this PR merges — that script will be
extended to build the dashboard image as well.
Tech stack
- Next.js 16 (standalone output, App Router)
- React 19 + TypeScript 5
- Tailwind CSS 4 + shadcn-style components
- Radix UI primitives (select, tabs, switch, label)
- lucide-react icons