Skip to content

pr-set : move to b12347 (repin ggml-org#32187 to 69437b7 with the Inkling 2 KV gather fix, unslothai#332 to 24a4976) - #373

Merged
danielhanchen merged 2 commits into
masterfrom
pinset/inkling2-oomfix-b12347
Nov 13, 2026
Merged

danielhanchen merged 2 commits into
masterfrom
pinset/inkling2-oomfix-b12347

Conversation

@danielhanchen

@danielhanchen danielhanchen commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Moves the pin set onto b12347 and adds the Inkling 2 runtime out-of-memory fix. b12347 is upstream's prune (ggml-org#29801, ggml-org#30565), and from b12347 on two pins no longer merge: ggml-org#32187, whose pin sat on the older release base, is refused on ggml.h, ggml-rpc.h, ggml.c and llama-arch.*, and #332 is refused on src/llama-ext.h. The current pin set fails the same way, so every nightly that resolves b12347 or newer fails until this lands.

pin upstream PR that broke it fix new SHA
ggml-org#32187 (Inkling 1 + 2) ggml-org#29801, ggml-org#30565 pin the PR's master-based commit, which already has b12347 merged; it also carries the Inkling 2 KV gather fix 69437b7
#332 (DeepSeek V4.1) ggml-org#30565 (NextN / speculative API moved from llama-ext.h to llama.h) git merge --no-ff b12347 into the pin branch, upstream side kept verbatim, only the pin's own llama_sched_reserve declaration re-applied 24a4976

ggml-org#32187: 69437b7 is the Inkling 2 KV gather fix on the PR's master-based line, whose merge base with upstream is exactly b12347. Its tree equals the new PR head's. The fix: once the sliding-window KV ring wraps, Inkling 2 fell back to dense attention, which needs much more memory than the startup reserve (Inkling-2-Small UD-IQ1_S, -c 4096 -ub 2048, CUDA: 3203 MiB reserved, 4213 MiB at runtime). It now gathers the sequence's cells in position order and keeps the banded op, and the reserve takes the same path.

#332: the pin's own change on b12347 is line for line the same as on its old base (+3466 / -49, 63 files). None of its added lines use an API that the prune removed or renamed. Its PR base moves to base/upstream-8ca5a8008 (b12347) so the GitHub diff stays the pin's own change.

feature-checks.json is unchanged. All new commits are mirrored under refs/pins/.

Evidence

  • Local sim of this exact pr-set.json on b12347 (aged), b12359 and b12360: all 25 pins merge and are intact, ggml-org#32187 additive, merge_checks clean.
  • verify --cuda on b12347: CPU gate build, full CUDA build, test-chat, test-backend-ops MUL_MAT 2817/2817, MUL_MAT_ID 1136/1136, PAD 37/37, GET_ROWS 360/360, all 17 features on GPU including inkling, inkling2 and deepseek41.
  • Inkling 2 KV gather fix: on the master-based line, a real UD-IQ1_S chat replay keeps the compute buffer at its reserve with 1 slot on CUDA and CPU (it grew 1.35x on CUDA before), and within 2% with 4 unified slots (2.75x before). test-backend-ops FLASH_ATTN_EXT_BANDED 47/47, GET_ROWS 227/227, CPY 285/285. The same fix on the release-base line reproduces this (tiny model: 284.8 MiB reserved and used, 533.8 MiB before).
  • Inkling 2 UD-IQ1_S vs BF16 (4 x 4096 tokens): KLD 0.138446, top-1 86.932% before; 0.138302, top-1 86.688% with the fix; the same 0.138302 / 86.688% on the b12347 prebuilt tree simmed with this set.
  • Inkling 1 UD-IQ1_S (wikitext-2, 20 x 512): PPL 39.362699 identical and KLD 0, top-1 100% for the old pin, the new release-base commit and the new head merged with ggml-org master (A/A included). The b12347 prebuilt tree simmed with this set gives the same: PPL 39.362699, KLD 0, top-1 100%.

Not covered

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 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-13T16:30:13.009185Z 38f74b8 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 merged commit a1e6855 into master Nov 13, 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