Repository navigation
pr-set: take Inkling 2 from upstream, drop ggml-org#32187, repin #61 #304 #332 #320 #251 - #379
Merged
Merged
Conversation
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.
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.
Summary
The prebuilt is an aged upstream ggml-org
b####tag plus the pins inscripts/unsloth/pr-set.json, merged in order (plain git merge, thenadditive_merge.pyfor 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.pyrefused 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:
ffn_gate_up_exps.scale/ffn_down_exps.scalefor NVFP4 expert GGUFsfeature-checks.json:inklingis owned by #378.inkling2is upstream (owner null), with the projector check renamed to upstream'sinkling2vand theFLASH_ATTN_EXT_BANDEDcheck moved out, since upstream Inkling 2 does not use that op (theinklingfeature still checks it). #377 isuncheckedwith a reason, and the #270 entry is removed with its pin.Pin fixes (all on our own branches, pushed before this PR)
INKLINGpre-type renumbered afterZONOS3llama-graph.cppandtest-chat.cppindexer.typeskey, which plain b12532 refuses), MSA token chunking, BPE NFC. The pin is now 2 filesEvidence
Merge loop (
llama_pinset.py sim --tags window, b12532 to b12543): 25/25 pins on every tag,pin_contractall intact,merge_checksclean.llama_pinset.py auditwith this PR's files: 25/25 pins clean, feature-checks coverage ok.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-GGUFUD-IQ1_S, wikitext-2-c 512 --chunks 20), arm A = ggml-org#25731 head eeac951:Inkling 2 (
gate --model inkling2,unsloth/Inkling-2-Small-GGUFUD-IQ1_S fromGGUF_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:On the same merged build:
llama-server --jinjaanswers a chat turn, emits a parsedget_weathertool 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 conflictscommit 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_EXT5693/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
GGML_OP_COUNTto 100, and so does model : Inkling 1 (ggml-org#25731) on b12533 for the prebuilt #378 forFLASH_ATTN_EXT_BANDED. The text merges, but the build fails until both asserts inggml/src/ggml.csay 101. When a tag with it ages in, model : Inkling 1 (ggml-org#25731) on b12533 for the prebuilt #378 merges that tag.build_moe_ffncall that model: Add ffn_gate_up_exps scales - NVFP4 #377 touches. When a tag with it ages in, model: Add ffn_gate_up_exps scales - NVFP4 #377 merges that tag and re-applies the two scale arguments.Not covered here
uncheckedpins