Skip to content

feat(gallery): add flint and bump llama.cpp to a37cc461 - #12854

Merged
mudler merged 2 commits into
masterfrom
feat/flint-gallery
Oct 23, 2026
Merged

mudler merged 2 commits into
masterfrom
feat/flint-gallery

Conversation

@mudler-agent

Copy link
Copy Markdown
Collaborator

Summary

Patch decisions

  • 0002-add-server-task-type-tts.patch: removed. Upstream now provides SERVER_TASK_TYPE_TTS, server_task::tts_inp, server_task_result_tts, server_context_meta::has_cap_tts and the mtmd gen-audio helpers. On the new pin the patch is detected as already applied, and grpc-server.cpp uses the same symbols. The bonsai and turboquant forks still lack them and keep disable-tts-task.sh.
  • 0001-add-server-task-type-score.patch: still needed, upstream has no SERVER_TASK_TYPE_SCORE. Regenerated against the new pin; it applies with no offset or fuzz using the prepare.sh method (patch -p1). One hunk needed a manual fix because upstream added SERVER_TASK_TYPE_TRANSCRIBE_RT to server_task::need_logits(); SCORE now sits next to it.

Gallery entry

  • flint is UD-Q4_K_XL (25 GB), the default, and declares flint-q2 (UD-Q2_K_XL, 13.6 GB, small hosts) and flint-q6 (UD-Q6_K_XL, 36 GB, larger hosts). This mirrors the default-plus-smaller-variant shape of neighbouring entries. IQ1/IQ2/IQ3 and Q5/Q8 are left out to keep the list short; they can be added later.
  • SHA256 values come from the x-linked-etag header; no weights were downloaded.
  • Sampling defaults follow the model card: temperature 1, top_p 0.95, top_k 20.
  • gallery/models/index.yaml edited; gallery/index.yaml regenerated with modelcatalog (additions only).
  • License: the model card says apache-2.0, which this entry uses. The GGUF metadata reports other (name flint-preview). This needs a maintainer check.

Verification

  • Patch step applied to a clean checkout of the new pin: OK.
  • go test ./scripts/models/... ./core/gallery/...: pass.
  • modelcatalog regeneration: clean, 2215/2215 entries round-trip.

Not verified

  • The C++ backend was NOT built, and grpc-server.cpp was not compiled against the new pin. Other API changes between the old and new pin were only reviewed by reading headers.
  • Upstream TTS behaviour was not compared with the removed patch, and TTS was not run.
  • Flint was not loaded or run, and no quantization was tested.
  • Full go build ./... fails in this environment on an unrelated cgo dependency (go-piper needs spdlog headers).

Assisted-by: Claude:claude-sonnet-5-5

🤖 Generated with Claude Code

Move the llama.cpp pin to a37cc461, the merge of the Flint
architecture (ggml-org/llama.cpp#30928).

The TTS task patch is gone: upstream now carries
SERVER_TASK_TYPE_TTS, server_task::tts_inp, server_task_result_tts,
server_context_meta::has_cap_tts and the mtmd gen-audio helpers. The
patch is detected as already applied on the new pin. The gRPC server
uses the same symbols. The bonsai and turboquant forks still lack
them and keep using disable-tts-task.sh, so they are unchanged.

The score task patch is still needed: upstream has no
SERVER_TASK_TYPE_SCORE. It is regenerated against the new pin and
applies with no offset or fuzz. Upstream added
SERVER_TASK_TYPE_TRANSCRIBE_RT to server_task::need_logits(), which
broke one hunk, so SCORE is added next to it by hand.

The C++ backend was not built for this change.

Assisted-by: Claude:claude-sonnet-5-5
Add Recursive Flint, a 39.8B mixture-of-experts coding model with
about 2.5B active parameters, from the Unsloth GGUF repository. It
runs on llama.cpp with the Flint architecture support added upstream
in ggml-org/llama.cpp#30928.

Three quantizations are listed, with the default declaring the others
as variants: UD-Q4_K_XL (25 GB), UD-Q2_K_XL (13.6 GB) for small hosts
and UD-Q6_K_XL (36 GB) for larger ones. Sampling defaults follow the
model card (temperature 1, top_p 0.95, top_k 20). The library file
gallery/models/index.yaml is edited and gallery/index.yaml is
regenerated from it.

Assisted-by: Claude:claude-sonnet-5-5
@mudler
mudler marked this pull request as ready for review October 23, 2026 10:00
@mudler
mudler merged commit 86994fa into master Oct 23, 2026
48 of 81 checks passed
@mudler
mudler deleted the feat/flint-gallery branch October 23, 2026 13:58
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.

2 participants