Repin ggml-org/llama.cpp#25731 (TML Inkling) at 946fc11d1 after the upstream parsers and ggml_prec refactors - #209
Merged
Conversation
…master The nightly on b10865 (run 34287079907) stopped in resolve: the pinned commit no longer merged after upstream ggml-org#27764 moved the chat parsers into common/parsers and ggml-org#26675 reworked ggml_prec. The PR branch now carries a merge of upstream master with both conflicts resolved, so the mix merges again on b10865 and b10870 with only the usual additive add/add merges.
|
You have reached your Codex usage limits for security reviews. Please try again later. |
Codex Review SummaryThis 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. |
Member
Author
|
Feature matrix on the 13-pin mix (base b10870, CUDA build, |
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 on b10865 (run 34287079907) stopped in
resolve: pin 2, ggml-org#25731 @1066edc3a, no longer merged. Two upstream changes landed between the PR's base (Sep 7) and b10865:895c045fd) moved every model-specificcommon_chat_params_init_*out ofcommon/chat.cppintocommon/parsers/<model>.cpp. The PR insertedinit_inklinginto chat.cpp at the spot the refactor emptied, which is an edit/delete conflict the additive resolver refuses by design.5a6caa05f) renumberedenum ggml_precinto a ranked scale, addedggml_prec_set_acc, and deprecatedggml_mul_mat_set_prec/ggml_flash_attn_ext_set_prec. The PR addsGGML_PREC_F32_PEDANTICand declaresggml_flash_attn_ext_bandedon the same lines.What changed on the PR branch (danielhanchen/llama.cpp:add-inkling, 1066edc -> 946fc11)
d3a67005dMerge upstream master.common_chat_params_init_inklingmoves tocommon/parsers/inkling.cpp(body unchanged,staticdropped), declared inparsers.h, listed insources.cmake; chat.cpp keeps only the 7-line detection branch.GGML_PREC_F32_PEDANTICjoins the new ranked enum at 5, belowGGML_PREC_F32, because it is the stricter contract (lower rank = stricter in the new scheme; 11 would have read as looser than F32). Theggml_flash_attn_ext_bandeddeclaration stays next to the flash attention API.946fc11d1Every deprecated setter call becomesggml_prec_set_acc(the macOS leg builds withLLAMA_FATAL_WARNINGS=ONand no deprecation opt-out, so this is required, not cosmetic),ggml_prec_set_accacceptsGGML_OP_FLASH_ATTN_EXT_BANDED, and the backends that compared the accumulator slot with== GGML_PREC_F32(CUDA cuBLAS compute type, CPU and spacemit flash attention, Vulkan flash attention) compare by rank so a pedantic request never falls to a lower-precision path. The CUDAmul_mat_idslice carries the acc and src precision slots, andggml_cuda_mul_mat_id_needs_syncgets the same pedantic gate asggml_cuda_mul_mat_id(a pedantic mmf-eligible F32 expert matmul would otherwise trip its assertion).PR delta against its base: 64 files / +4093 -124 before, 70 files / +4120 -126 after. The six extra files are the three parser registrations plus the three backend comparison fixes.
Verification
Local, on the rebased branch:
LLAMA_FATAL_WARNINGS=ON, tests ontest-chat(8 Inkling cases among them),test-chat-peg-parser,test-chat-templatetest-backend-ops test -b CUDA0 -o FLASH_ATTN_EXT_BANDEDtest-backend-ops test -b CUDA0 -o MUL_MAT/MUL_MAT_ID/FLASH_ATTN_EXTtest-flash-attn-bias,test-flash-attn-generic-hashtest-llama-archs -a inkling -s 1234test-mtmd-impl test_projector_registryunsloth/Inkling-Small-GGUFUD-IQ1_S, two prompts, temp 0, 48 tokens, CUDA and CPU, pinned build vs rebased buildMix, all 13 pins in
pr-set.jsonorder with the new pin, reproduced with the resolve job's own git commands:llama-arch.{cpp,h},llama-model-saver.cpp,test-llama-archs.cpp(ggml-org#25731) andtools/mtmd/CMakeLists.txt(#70);merge_checksOK;pin_contractall 13 intactScript tests (
test_additive_merge,test_pin_merge,test_merge_checks,test_sync_deletes,test_carry_vintage,test_pin_contract,test_feature_matrix) pass; every pin is covered byfeature-checks.json.