Repository navigation
pr-set : repin ggml-org#25731, ggml-org#24423, #70, #157 and #241 for b12284 - #364
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.
The prebuilt is an aged upstream ggml-org
b####tag plus the pins inscripts/unsloth/pr-set.json, merged in order (git diff3, thenadditive_merge.pyfor pure add/add conflicts only). With the current set, every tag from b12263 to b12284 fails: #70 and #241 are refused from b12263, Inkling from b12270, #157 on b12284, and the pin contract then drops their lines. Tonight's nightly picks b12284 or a newer tag.Pins
ggml_prec_get_acc(dst)instead ofop_params[3]; ggml-org#28392 (b12274, FP8 KV cache): new check next to Inkling's quantized V check inllama_init_from_model; ggml-org#32040 (b12277):string_formatin mtmd renamed tomtmd_format, which Inkling's vision tensor loader calls (merges clean, does not compile); ggml-org#28413 (b12284, CUDA OCP FP8): newfp8.cuhinclude next to Inkling'sfattn-banded.cuh, and a reworkedcc/warp_sizeblock next to Inkling's pedantic F32 gates in the MUL_MAT and MUL_MAT_ID pathsFix merge conflictsmerges of b12277 into the PR head and of b12284 on top: upstream'sggml_prec_get_acc(dst)with Inkling'sGGML_PREC_F32_PEDANTICcase kept in both places, both context checks kept, upstream's PLE check before Inkling's zero-tensor check inconversion/base.py, the two loader calls renamed tomtmd_format; both CUDA includes, upstream's FP8 paths verbatim and Inkling'sf32_pedanticgate on the mmf path in each of the three places7f05b62KIMIK31next to the pin'sKIMIK3in the projector enum, names, token counts andencode, andKimiK31VisionModelnext toKimiK3VisionModelinconversion/kimivl.py; ggml-org#32040 (b12277): the pin's threestring_formatcallsFix merge conflictsmerges of b12261 and b12277: both projectors kept side by side, the three loader calls renamed tomtmd_format. Upstream's K3.1 support is a different model (KimiK31ForConditionalGeneration, folded into the K2.5 graph), so nothing in the pin is redundant70af2a4cudaMemcpyDefaultin the 2D copy fast pathcudaMemcpy2DAsyncline incpy.cuFix merge conflictsmerge of b12284: upstream's FP8 branches verbatim, the pin'scudaMemcpyDefaulton the 2D memcpyfec8345cuda_graph()moved out ofcommon.cuhintoggml-cuda.cuFix merge conflictsmerge of b12257: upstream's declaration and moved definition, keyed by the pin'suint64_t graph_keyinstead ofconst void * first_node_ptree25de4llama_encode, unslothai/unsloth#16925), anddump_safe()for streamed frames that end inside a multi-byte character (the server threw and aborted mid-answer). Single-GPU paths are unchanged604a809Each pin's own change is otherwise the same (Inkling 71 files, +4123/-123; #70 11 files, +204/-1; #157 3 files, +10/-1; #241 3 files, +52/-17). #70, #157 and #241 are retargeted to
base/upstream-7c2653acc,base/upstream-9e9619d03andbase/upstream-17701e48d. The Inkling PR head also merges ggml-org master again, so ggml-org#25731 is mergeable.Evidence
Merge loop +
pin_contract.py+merge_checks.py(local sim of this exactpr-set.json): all 25 pins merge and are intact on b12283 and on b12284 (the newest tag), andmerge_checksis clean on both.Full CPU build of every target (tests, examples, tools, server) on the merged b12283 and b12284 trees with
GGML_RPC=ON: 140 binaries each, 0 errors;test-llama-archs153/153,test-mtmd-impl0 failures,test-arg-parserandtest-chatpass.llama_pinset.py verifyon both trees: the CPU gate passes andfeature_matrix.pyshows all 16 pinned features on CPU.Inkling,
unsloth/Inkling-Small-GGUFUD-IQ1_S, wikitext-2-c 512 --chunks 20, CPU, against the old pin50ed357:3cb9ff8b12284 (
7f05b62on top of3cb9ff8) changes only CUDA files andtest-backend-ops, so the CPU numbers above carry over. Inkling's CPU op tests on3cb9ff8:FLASH_ATTN_EXT5706/5706,MUL_MAT2794/2794,MUL_MAT_ID1233/1233. Its dMel audio preprocessor on a fixed 3 s signal gives byte-identical bins to the old pin, 4880 of 4880 cells.GPU, same checks as
llama_pinset.py verify --cudaon the merged trees (tree hash checked against the local merge before testing), withtest-backend-opsalso run on the plain tag:3cb9ff8)Neither side has a failure. The feature checks for Inkling, Kimi-K3 (#70) and DiffusionGemma decode on the GPU and match CPU.
Not covered
conversion/__init__.pyhas noKimiK3ForConditionalGenerationentry inMMPROJ_MODEL_MAP(it did not have one before either), soget_model_class(..., mmproj=True)raises for Kimi-K3. Follow-up on kimi-k3 : the MoonViT-3d vision tower and full-size loading fixes #70.