Skip to content

Muse-Glimmer-30B + mainline llama.cpp image → main - #9

Merged
TKontu merged 2 commits into
mainfrom
longer-ttl
Aug 11, 2026
Merged

Muse-Glimmer-30B + mainline llama.cpp image → main#9
TKontu merged 2 commits into
mainfrom
longer-ttl

Conversation

@TKontu

@TKontu TKontu commented Aug 11, 2026

Copy link
Copy Markdown
Owner

Promotes the Muse-Glimmer work (#8) to main. #7 merged longer-ttl into main before #8 landed on longer-ttl, so these two commits never reached the default branch — which means neither image workflow has run yet (both trigger only on main).

Contents: bf6400d + the #8 merge. Full rationale is in #8; the short version:

  • New Dockerfile.llamacpp — mainline llama.cpp pinned at b10362. The bonsai image's prism fork (branch head 2026-07-31) predates the Muse Glimmer architecture (mainline 2026-08-10, b10353) and cannot load it.
  • Two ungrouped entries, -np 1 at the full 131072 context with f16 KV. No pairNN pairs.
  • muse-glimmer as on-call standby: ttl: 0 + a wakeup poller, deliberately not persistent: true.
  • Fixes bonsai-image.yml not triggering on docker/gguf-serve.sh.

config.yaml is purely additive: 104 → 106 models, all pre-existing entries byte-identical, groups unchanged at 45.

What happens on merge

  1. llamacpp-image builds for the first time → creates ghcr.io/tkontu/llamacpp-mainline. It's a CUDA compile (120 min timeout).
  2. bonsai-image rebuilds too, via the trigger fix — required, since gguf-serve.sh changed and Dockerfile.bonsai copies it.
  3. build-and-push rebuilds the main image (config.yaml + the baked-in poller script changed).

Still needed afterwards

  • Make the llamacpp-mainline package public — it will be private on first push.
  • Pre-download ~38 GB of GGUFs (README → Muse-Glimmer).
  • Restart llama-swap; /v1/models going 104 → 106 confirms pickup.
  • Everything GPU-dependent is unverified — see TODO.md. Thinnest number is muse-glimmer's ~2.1 GiB headroom.

🤖 Generated with Claude Code

Tuomo Vendelin and others added 2 commits August 11, 2026 18:21
Muse-Glimmer-30B-GGUF is a dense 30B VLM whose architecture landed in mainline
llama.cpp on 2026-08-10 (ggml-org/llama.cpp#26841, build b10353). The bonsai image
builds PrismML's `prism` fork, whose branch head is 2026-07-31 — ten days older than
the architecture — so it cannot load this model at all. Hence a second llama.cpp
image rather than a new POOL entry.

The two images are not redundant and neither replaces the other: the fork carries the
Q2_0_g128 ternary kernels Ternary-Bonsai needs and mainline lacks; mainline carries
every architecture merged after the fork diverged. Both share docker/gguf-serve.sh as
their entrypoint, so a model moves between them by changing only `image:`.

Two entries, because KV turned out to be nearly free on this model (52 layers,
num_key_value_heads=2, and a 3:1 sliding/full attention split) — the full native
131072 context costs ~1.82 GiB, so weights, not context, are the constraint:

  muse-glimmer            one 3090, 17gb+vision,          131072 in 1 slot, f16 KV
  Muse-Glimmer-30B-split  both 3090s, dynamic+vision+draft, 131072 in 1 slot, f16 KV

Both are ungrouped (new UNGROUPED_GGUF list), so neither generates pairNN co-load
pairs: the standby model is not a co-load partner. config.yaml is purely additive —
104 -> 106 models with all pre-existing entries byte-identical and groups unchanged
at 45.

muse-glimmer is also the on-call standby: ttl 0 (never idle-unload) plus a poller that
wakes it once both 3090s have been quiet for an hour. It deliberately does NOT use
`persistent: true` — llama-swap defines that as "other groups can never unload this
group's members", which would pin the cards and starve every other model. Eviction is
already free via the existing exclusive groups, and the wakeup request itself displaces
whatever is squatting, so nothing calls the unload API.

Also fixes a pre-existing gap: bonsai-image.yml did not trigger on docker/gguf-serve.sh
even though Dockerfile.bonsai COPYs it, so a change there would have rebuilt only the
mainline image and left the bonsai one silently stale.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Add Muse-Glimmer-30B on a pinned mainline llama.cpp image
@TKontu
TKontu merged commit 7c65ac7 into main Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant