Skip to content

pr-set : repin ggml-org#25731, #70, #176 and #239 for b12211 and b12219 - #357

Merged
danielhanchen merged 2 commits into
masterfrom
pinset/b12211
Nov 9, 2026
Merged

danielhanchen merged 2 commits into
masterfrom
pinset/b12211

Conversation

@danielhanchen

@danielhanchen danielhanchen commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

The prebuilt is an aged upstream ggml-org b#### tag plus the pins in scripts/unsloth/pr-set.json, merged in order (git diff3, then additive_merge.py for pure add/add conflicts only). b12211 carries ggml-org#31865 ("mtmd: refactoring: remove clip.h, consolidate code into mtmd"), which breaks four pins. With the current set, b12211 refuses Inkling and #70, the pin contract drops #239's projector name, and the tree does not build because #176's test includes the removed clip-impl.h. b12211 is now aged, and tonight's nightly picks b12224 or later. From b12219, ggml-org#29413 (RPC protocol 9.0.0) also refuses Inkling.

Pins

pin what ggml-org#31865 broke fix new pin
ggml-org#25731 Inkling ggml-org#31865: Inkling's projector, graph, tensor loading and audio/image preprocessors lived in clip.cpp / clip.h, now split into mtmd-model.cpp, mtmd-graph.cpp, mtmd-subcontext.cpp with clip_* renamed to mtmd_* merge of b12211; each Inkling block re-added next to upstream's own projectors in the new files, renamed as upstream did. Then merge of b12219 for ggml-org#29413: RPC_PROTO is upstream's 9.0.0 plus Inkling's usual patch bump for its one extra op, so 9.0.1 with GGML_OP_COUNT == 103 50ed357
#70 Kimi-K3 vision clip_graph_kimik3 and the PROJECTOR_TYPE_KIMIK3 cases in clip.cpp merge of b12211; mtmd_graph_kimik3 in models.h, the builder in mtmd-graph.cpp, hparams / tensors / token counts in mtmd-model.cpp, the position setup in mtmd-subcontext.cpp, next to KIMIK25 3c088f2
#239 GLM-5-Next legacy GGUFs the glm5next -> PROJECTOR_TYPE_GLM5V mapping in the removed clip-impl.h merge of b12211; the mapping is now in mtmd-impl.h (projector_type_from_string), the legacy key handling in the GLM5V case of the loader 9923be5
#176 projector registry test the test includes clip-impl.h and calls clip_projector_type_from_string merge of b12211; includes mtmd-impl.h and calls projector_type_from_string 95de917

Each pin's own change is otherwise the same (Inkling +4123/-123, #70 +204/-1, #239 +21/-9, #176 +61), with only the moves and renames ggml-org#31865 requires. #70, #176 and #239 are retargeted to base/upstream-7d7f02875.

Evidence

Merge loop + pin_contract.py + merge_checks.py (local sim of this exact pr-set.json): all 25 pins merge and are intact on b12211, b12212, b12219, b12220, b12221, b12223 and b12224 (the newest tag, and the base of tonight's nightly), and merge_checks is clean on each. Full CPU build of every target (tests, examples, tools, server) on the b12211 tree and, with GGML_RPC=ON, on the b12223 tree (137 binaries): 0 errors; test-llama-archs 153/153, test-mtmd-impl 0 failures (its projector registry test runs, 248 assertions), test-arg-parser and test-chat pass. The RPC backend compiles, so the op-count assert holds.

Inkling, unsloth/Inkling-Small-GGUF UD-IQ1_S, wikitext-2 -c 512 --chunks 20, CPU: b156349 and the new pin 50ed357 both score byte-identical to the previous PR head against itself (PPL 38.724953, mean KLD 0, same top-1 100%; all carry ggml-org#31854, see #356). Inkling's dMel audio preprocessor on a fixed 3 s signal gives byte-identical bins to the old pin, 4880 of 4880 cells.

GPU, same checks as llama_pinset.py verify --cuda on the merged b12223 tree (tree hash checked against the local merge before testing), with test-backend-ops also run on the plain tag:

tag GPU CUDA build test-chat MUL_MAT MUL_MAT_ID PAD GET_ROWS feature_matrix --gpu
b12223 T4 (sm75) ok ok 2654/2654 (plain 2517/2517) 1027/1027 (931/931) 37/37 (37/37) 349/349 (216/216) 16/16

Neither side has a failure; the pin set runs more cases than the plain tag because pins add types and ops.

Not covered

  • No model run on GPU. The Kimi-K3 vision graph, a legacy GLM-5-Next GGUF load and the Inkling vision path are compile-checked only.
  • ROCm, Vulkan, Metal, macOS, Windows and ARM legs (nightly only).

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-08T18:51:24.629678Z 13c401c PR opened
🔒 Security Review ✅ Completed 2026-11-08T18:54:16.023588Z 13c401c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@danielhanchen danielhanchen changed the title pr-set : repin ggml-org#25731, #70, #176 and #239 for b12211 pr-set : repin ggml-org#25731, #70, #176 and #239 for b12211 and b12219 Nov 9, 2026
@danielhanchen
danielhanchen merged commit a96365d into master Nov 9, 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