Repository navigation
pr-set : repin #268 #264 #266 #240 #239 #320 #431 #448 #460 #95 #61 #378 so the nightly builds again - #500
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.
pr-set : repin #268 #264 #266 #240 #239 #320 #431 #448 #460 #95 #61 #378 so the nightly builds again
The unslothai/llama.cpp prebuilts are upstream ggml-org/llama.cpp at an aged
b####release tag, plus a short list of pinned PRs merged on top. Some pins are our own PRs to ggml-org/llama.cpp, such as Inkling and DiffusionGemma. The rest are small custom PRs on unslothai/llama.cpp. Each pin is upstream plus that one change and nothing else. The nightly merges them in order with plain git, andadditive_merge.pymay resolve a conflict only when both sides purely added lines at the same spot. We never carry a full fork of the code: when upstream takes a change, its pin is deleted.The last release is
b12966-mix-e49c75f(12-04). The 12-04 nightly (run 47417089180) failed, and the next one would have failed too.What broke and the fix
cparams->moe_cache_size/MiBprinted with%zu, whereMiBisint64_t, so on macOS the argument isunsigned long long. macOS x64 and arm64 failed with-Werror,-Wformat(common/fit.cpp:1065,:1251).size_t(2 lines). This repin also brings the review fix that keeps mmap for scaled experts, the comment trim and the HIP / CUDA < 12.8 region-copy path.38c7315a4e5552"metal : support bf16 K/V and fix the FA kv_rows partial chunks" (b12977..b12986) rewrote the same Metal FA code. #431 refused every tag from b12986 on, and the 12-04 run fell back to b12977.808d548e86f02b"models : avoid using explicit inplace ops" (b12977..b12995) changed the same line insrc/models/minimax-m3.cpp.ntdim and upstream'sggml_add.43350ec8f50b1d"CUDA: few-row MMQ for F8_E4M3 weights" (first in b13007) moveduse_mmq_fewabove the MMVF check inggml_cuda_mul_mat, so the pin refused every tag from b13007 on.!use_mmq_few. Pin diff unchanged (+173).410a1ffuse_mmq_fewdeclaration, then the pin's thin F32 few-channel MMVF block, then upstream's!use_mmq_fewMMVF condition. Pin diff unchanged (+95).765c421printfinmm_ids_expert_prefix. On HIP that is a hostcall that needs PCIe atomics, so MoE prompts of 512 tokens or more failed on GPUs whose link lacks them.__trap().e995352HOST,GiBandput()intests/test-mmap-populate-budget.cppare used only under__linux__, which is-Werror,-Wunused-const-variableon macOS test builds.#ifdef __linux__.84a8fc1tests/test-llama-archs.cpp).4e2ed32f9fc9fe489b744"mtmd: enforce no_realloc" (first in b13013) moved the mel spectrogram graph build into a prebuilt-graph helper intools/mtmd/mtmd-subcontext.cpp, where the pin adds itspower_floorclamp.6533c6dcur_p(double free; test-sampling covers it).5e475ce5cadbe8Evidence
Trees were merged with the nightly's algorithm (git merge, then
additive_merge.py, then the op-count reconcile, 103 ops).b13016, the aged base now:ok b13016: 56 pins(these pins plus the next round's candidates, appended last),pin_contract rc=0: all 56 pins are intact in the merged tree,merge_checks rc=0: merge_checks: clean.b13016tree (op counts reconciled,LLAMA_FATAL_WARNINGS=ON), test-backend-ops: MUL_MAT 3121/3121, MUL_MAT_ID 1298/1298, PAD 37/37, GET_ROWS 372/372, FLASH_ATTN_EXT 4722/4722, FLASH_ATTN_EXT_BANDED 509/509 passed. ggml-cuda, mtmd (the model : Inkling 1 (ggml-org#25731) on b12533 for the prebuilt #378 change), llama-server and llama-cli build.b13007:ok b13007: 53 pins,pin_contract rc=0: all 53 pins are intact in the merged tree,merge_checks rc=0: merge_checks: clean.b13007tree, same op counts: MUL_MAT 3121/3121 (includes upstream's new F8_E4M3 few-row cases), MUL_MAT_ID 1298/1298, PAD 37/37, GET_ROWS 372/372, FLASH_ATTN_EXT 4722/4722, FLASH_ATTN_EXT_BANDED 509/509 passed. The full CUDA build is clean apart from the DiffusionGemma examples, which are built best-effort (ci : macOS prebuilt: build the DiffusionGemma binaries under -Werror, fail when they are missing #488).b13004(earlier aged base):llama_pinset.py verifypasses merge loop, pin_contract and merge_checks,ok CPU gate build,ok feature_matrix (CPU): all 36 features demonstrated on CPU,ok full CUDA buildandok test-chat.b13004, with the nightly's configure (LLAMA_FATAL_WARNINGS=ON, Metal embed, deployment target 13.3) plus-Werror=format: the build passes onmacos-26(the nightly's arm64 runner),macos-15andmacos-15-intel. The 12-04 failure (fit.cpp-Wformat) is gone. The only errors with examples enabled are the pre-existing DiffusionGemma deprecations (ci : macOS prebuilt: build the DiffusionGemma binaries under -Werror, fail when they are missing #488).test-llama-archson MTL0 against CPU givesinkling OK (3.92e-12)andinkling2 OK (1.20e-11), andinkling2_looppasses. On CPU, the metal : banded flash attention for Inkling 2 (carries #404), decode kernels, quantized and mixed K/V caches #431 tests (test-flash-attn-banded-causal,-bias,-generic-hash) pass, and old551bc36against new808d548both giveall 3 test(s) passedfor inkling and inkling2.FLASH_ATTN_EXT(6137) andFLASH_ATTN_EXT_BANDED(514) case as not supported, for both the old and the new metal : banded flash attention for Inkling 2 (carries #404), decode kernels, quantized and mixed K/V caches #431. metal : banded flash attention for Inkling 2 (carries #404), decode kernels, quantized and mixed K/V caches #431's Metal FA kernels therefore have no numeric check on macOS yet; the real-Mac run is pending.551bc36against new808d548, wikitext-2-c 512 --chunks 20):PPL = 39.3627 +/- 2.17617on both,Mean KLD 0.000000,Same top p 100.000 %.Not covered here