Skip to content

pr-set: take Inkling 2 from upstream, drop ggml-org#32187, repin #61 #304 #332 #320 #251 - #379

Merged
danielhanchen merged 1 commit into
masterfrom
pinset/inkling2-upstream
Nov 19, 2026
Merged

danielhanchen merged 1 commit into
masterfrom
pinset/inkling2-upstream

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Summary

The prebuilt is an aged upstream ggml-org b#### tag plus the pins in scripts/unsloth/pr-set.json, merged in order (plain git merge, then additive_merge.py for pure add/add conflicts only). No fork carry: when upstream absorbs a pin, the pin is deleted.

The 11-18 nightly (44389428128) failed in Resolve tag: ggml-org#32187 (our Inkling 2 stacked on Inkling 1) does not merge onto b12503, because upstream now ships Inkling 2 itself (ggml-org#32217) and an Inkling 1 + 2 chat parser (ggml-org#32381); additive_merge.py refused 9 files ("both sides add the same line(s)"). The run stopped there, so later pins were never tried. With ggml-org#32187 removed, five more pins were refused on every tag b12532 to b12541, each conflicting with upstream alone.

This PR:

feature-checks.json: inkling is owned by #378. inkling2 is upstream (owner null), with the projector check renamed to upstream's inkling2v and the FLASH_ATTN_EXT_BANDED check moved out, since upstream Inkling 2 does not use that op (the inkling feature still checks it). #377 is unchecked with a reason, and the #270 entry is removed with its pin.

Pin fixes (all on our own branches, pushed before this PR)

pin upstream PR that broke it fix new SHA
ggml-org#32187 ggml-org#32217, ggml-org#32381 (Inkling 2 and its parser upstream) dropped, replaced by #377 and #378 none
#378 (Inkling 1, ggml-org#25731) ggml-org#32381 parser, ggml-org#32407 FA K/V rotation, ggml-org#32374 64-bit MMQ offsets, add/add with ggml-org#32217 merge b12533: upstream parser and template detection taken, the banded rel-logit arguments re-applied in the rotated FA loop, INKLING pre-type renumbered after ZONOS3 287b4ff
#377 (new) none, upstream lacks the change one commit on b12532 72fcc04
#61 ggml-org#30021, ggml-org#30022 (GCN MMQ retune) merge b12532: upstream tables kept, IQ1_XS / IQ1_XXS / IQ1_XXXS take upstream's IQ2_XXS config b74bd08
#304 same merge b12532: IQ1_M takes upstream's IQ2_S config e4e1eba
#332 same, plus add/add with ggml-org#32217 in llama-graph.cpp and test-chat.cpp merge b12532, same table rule, both sides kept ce078ec
#320 ggml-org#32301 (upstream MiniMax-M3.1) merge b12532: converter, DSpark drafter and norm fix are upstream's now; kept only indexer detection for the published GGUFs (no indexer.types key, which plain b12532 refuses), MSA token chunking, BPE NFC. The pin is now 2 files 579e70a
#251 ggml-org#32157 (MoE cache moved) merge b12361 (done 11-14, repinned here) 827478f
#270 ggml-org#31323 (Vulkan RDNA FA rework) dropped from this set: the merged port hangs in the two-subgroup tile (details below) none

Evidence

Merge loop (llama_pinset.py sim --tags window, b12532 to b12543): 25/25 pins on every tag, pin_contract all intact, merge_checks clean. llama_pinset.py audit with this PR's files: 25/25 pins clean, feature-checks coverage ok.

tag merge pin_contract merge_checks CPU gate CUDA build MUL_MAT MUL_MAT_ID PAD GET_ROWS test-chat feature_matrix
b12532 (aged) 25/25 all intact clean ok ok 2825/2825 1156/1156 37/37 361/361 pass 17/17 CPU, 17/17 GPU
b12543 (newest) 25/25 all intact clean ok ok 2829/2829 1156/1156 37/37 361/361 pass 17/17 CPU, 17/17 GPU

On b12532 the first MUL_MAT run hit failed to allocate tensors [CUDA0] on a shared card; the rerun with a larger lease passed 2825/2825.

Inkling 1 (llama_pinset.py gate --model inkling, unsloth/Inkling-Small-GGUF UD-IQ1_S, wikitext-2 -c 512 --chunks 20), arm A = ggml-org#25731 head eeac951:

run PPL mean KLD top-1
A vs A 39.362699 0.000000 100.000%
#378 vs A 39.362699 0.000000 100.000%
#378 + ggml-org master vs A 39.362699 0.000000 100.000%

Inkling 2 (gate --model inkling2, unsloth/Inkling-2-Small-GGUF UD-IQ1_S from GGUF_shard_rewrite), arm A = plain b12532, arm B = b12532 with this pin set merged. The Inkling 2 code is upstream's, so the PPL has to match:

run PPL mean KLD top-1
A vs A 4.253700 -0.000000 100.000%
B vs A 4.253700 -0.000000 100.000%

On the same merged build: llama-server --jinja answers a chat turn, emits a parsed get_weather tool call ({"location":"Tokyo","unit":"celsius"}) and uses the tool result, and captions the test image correctly with the F16 mmproj. UD-Q3_K_XL, which keeps the per-expert scale tensors, is refused by plain b12532 (wrong number of tensors; expected 1172, got 1132) and loads and generates coherent text here.

DiffusionGemma (ggml-org#24423 stays at 604a809, additive merge as before): a Fix merge conflicts commit on b12532 gives fixed-seed output identical to 604a809 and to itself merged with master, two runs each. It is not pinned here.

#270

The merge with ggml-org#31323 needs a rework of the coopmat1 shader. A port that merges and builds does exist, and its default four-subgroup path passes test-backend-ops -o FLASH_ATTN_EXT 5693/5693 on Vulkan (coopmat2 off). But on a device clamped to 32 KiB of shared memory, the case the pin exists for, it picks the two-subgroup tile for HSK 512 and never finishes. The pre-merge pin on the same clamped device does not pick that tile. Plain upstream falls back to the scalar FA path there (398/398 HSK 512/576 cases pass), which is correct but slower, so the pin stays out until the port is fixed.

Known next conflicts

Not covered here

Inkling 2 (ggml-org#32217) and the Inkling 1 + 2 chat parser (ggml-org#32381) are upstream, so ggml-org#32187 (our Inkling 2 stacked on Inkling 1) no longer merges. Pin Inkling 1 as #378 (ggml-org#25731 merged with b12533) and the Inkling 2 per-expert scale patch as #377. Repin #61, #304, #332, #320 (merged with b12532) and #251 (merged with b12361). Drop #270 until its merge with ggml-org#31323 is fixed.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 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-19T17:00:26.028665Z e82dcd5 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.

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