Skip to content

pr-set : repin #386 and #431 for the upstream Inkling 2 tau move (b12828+), comment-only repins of 9 pins - #467

Merged
danielhanchen merged 1 commit into
masterfrom
pinset-roundH-b12855
Nov 30, 2026
Merged

danielhanchen merged 1 commit into
masterfrom
pinset-roundH-b12855

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Why

The nightly has failed since upstream b12844 aged in (prebuilt run 46305608586 on b12845, pin preflight 46286067312 on b12844): unslothai/llama.cpp#386 (69920aca0f) does not merge cleanly, with src/models/inkling2.cpp refused by the additive merge. The last release is still b12827-mix-034de92.

The cause is upstream ggml-org commit 2881150433 ("model : expand Inkling 2 tau after embeddings", tag b12828). It moves the Inkling 2 log-scaled position chain (tau) in build_inputs() from before the embedding lookup to after it, so the scheduler no longer runs it on the CPU every ubatch. #386 already fixed the same problem another way and edits the same lines, so from b12828 on it no longer merges, and #431, which carries #386, is refused with it.

Fix

pin change new head
#386 git merge --no-ff of b12828 (2881150433) into the branch; the one conflicting hunk takes upstream's tau code verbatim and the pin's own tau hunk is dropped, since upstream now does the same thing. On top, the 2 to 8 token dense attention route is the default only when every GPU layer is on CUDA: on Metal it measured 2-3% slower at 3-16 tokens and 10-12% slower at 32K, while on CUDA (B200, RTX 5090) turning it off is slower. LLAMA_INKLING_DENSE_NMAX still overrides it everywhere cd78840277
#431 re-merges the new #386 (clean); its own Metal lines are unchanged 7d8bcdfbf0
#397, #400, #411, #415, #416, #417, #459, #460, #462 comment-only commits on the PR branches since their last pin, no code change; repinned so every pin equals its PR head current heads

No feature-checks.json change: no pin is added, removed or folded. #386 and #431 now target base/upstream-288115043, so their diffs stay at the pin's own change.

Evidence

All on a B200:

  • audit on this set: 46 of 46 pins clean, feature-checks coverage ok.
  • Merge sim over the window the nightly can pick (b12855, the aged tag, through b12858, the newest), and earlier on b12827, b12844 and b12845: 46 of 46 pins merge, pin_contract intact, merge_checks clean. On b12845 the current set refuses model : banded flash attention for the Inkling 2 relative bias #386.
  • verify --cuda on b12855 and b12858 (and on b12856 for the same model : banded flash attention for the Inkling 2 relative bias #386 / metal : banded flash attention for Inkling 2 (carries #404), decode kernels, quantized and mixed K/V caches #431 heads): CPU gate build, CPU feature matrix, full CUDA build and test-chat pass; test-backend-ops on CUDA MUL_MAT 3061, MUL_MAT_ID 1203, PAD 37, GET_ROWS 372, all passing; GPU feature matrix 33 of 33.
  • Numerics of the b12828 merge (B200, against the current set on b12827): Inkling-Small UD-IQ1_S wikitext-2 PPL 39.362699 (string-equal), KLD 0, top-1 100%, also at -ub 3; Inkling-2-Mini UD-Q4_K_XL greedy 64 tokens byte-identical. The dense-route default leaves CUDA unchanged.
  • Dense-route default: Mac M5 Max short batches went from 0.973 / 0.974 / 0.979 of the previous release at 3 / 8 / 16 tokens back to 1.016 / 1.008 / 0.997 with the route off; on an RTX 5090, turning it off was 2% slower at 3 and 8 tokens and 13-26% slower at 16, so CUDA keeps it.

Not covered here

HIP, Metal (#431 merges clean but was not compiled here), Vulkan, Windows, macOS and ARM legs run only in the nightly.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 30, 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-30T10:41:10.929967Z 24a4b94 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