Repository navigation
pr-set : repin #386 and #431 for the upstream Inkling 2 tau move (b12828+), comment-only repins of 9 pins - #467
Merged
Merged
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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, withsrc/models/inkling2.cpprefused 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) inbuild_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
git merge --no-ffof 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_NMAXstill overrides it everywherecd788402777d8bcdfbf0No
feature-checks.jsonchange: no pin is added, removed or folded. #386 and #431 now targetbase/upstream-288115043, so their diffs stay at the pin's own change.Evidence
All on a B200:
auditon this set: 46 of 46 pins clean, feature-checks coverage ok.pin_contractintact,merge_checksclean. On b12845 the current set refuses model : banded flash attention for the Inkling 2 relative bias #386.verify --cudaon 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 andtest-chatpass;test-backend-opson CUDA MUL_MAT 3061, MUL_MAT_ID 1203, PAD 37, GET_ROWS 372, all passing; GPU feature matrix 33 of 33.-ub 3; Inkling-2-Mini UD-Q4_K_XL greedy 64 tokens byte-identical. The dense-route default leaves CUDA unchanged.Not covered here
HIP, Metal (#431 merges clean but was not compiled here), Vulkan, Windows, macOS and ARM legs run only in the nightly.