Skip to content

pr-set : repin #268 #264 #266 #240 #239 #320 #431 #448 #460 #95 #61 #378 so the nightly builds again - #500

Merged
danielhanchen merged 1 commit into
masterfrom
pinset/repin-264-268-nightly-1205
Dec 6, 2026
Merged

danielhanchen merged 1 commit into
masterfrom
pinset/repin-264-268-nightly-1205

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

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, and additive_merge.py may 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

pin what broke it fix new pin
#268 Our own pin: cparams->moe_cache_size/MiB printed with %zu, where MiB is int64_t, so on macOS the argument is unsigned long long. macOS x64 and arm64 failed with -Werror,-Wformat (common/fit.cpp:1065, :1251). Cast to 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. 38c7315
#431 Upstream a4e5552 "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. Merged b12995 into the branch, kept upstream's kv_type / bf16 / kv_rows gather, and re-applied only the banded FA hooks, mixed K/V names and the per-head pad bound. 808d548
#320 Upstream e86f02b "models : avoid using explicit inplace ops" (b12977..b12995) changed the same line in src/models/minimax-m3.cpp. Merged b12995: kept the pin's nt dim and upstream's ggml_add. 43350ec
#448 Upstream 8f50b1d "CUDA: few-row MMQ for F8_E4M3 weights" (first in b13007) moved use_mmq_few above the MMVF check in ggml_cuda_mul_mat, so the pin refused every tag from b13007 on. Merged b13007: kept upstream's hoisted declaration and re-applied the one-column Q8_0 x F32 block, still behind !use_mmq_few. Pin diff unchanged (+173). 410a1ff
#460 The same upstream change, in the same spot. Merged b13007: upstream's use_mmq_few declaration, then the pin's thin F32 few-channel MMVF block, then upstream's !use_mmq_few MMVF condition. Pin diff unchanged (+95). 765c421
#264 Device printf in mm_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. Removed the printf, kept the __trap(). e995352
#266 HOST, GiB and put() in tests/test-mmap-populate-budget.cpp are used only under __linux__, which is -Werror,-Wunused-const-variable on macOS test builds. Moved them under #ifdef __linux__. 84a8fc1
#239 Head rewritten so its test no longer edits #395's lines (the previous head refused in tests/test-llama-archs.cpp). Test only. 4e2ed32
#240 Not broken: a converged update. fit now measures the shared MTP head. f9fc9fe
#378 Upstream 489b744 "mtmd: enforce no_realloc" (first in b13013) moved the mel spectrogram graph build into a prebuilt-graph helper in tools/mtmd/mtmd-subcontext.cpp, where the pin adds its power_floor clamp. Merged b13013: took upstream's helper and re-applied only the 3-line clamp, in the same place between the power add and the sqrt. Pin diff unchanged. 6533c6d
#95 Not broken: a converged update. Penalties ignore out-of-range history ids without touching memory outside cur_p (double free; test-sampling covers it). 5e475ce
#61 Not broken: a converged update. SYCL reports IQ1_XS/XXS/XXXS as unsupported. 5cadbe8

Evidence

Trees were merged with the nightly's algorithm (git merge, then additive_merge.py, then the op-count reconcile, 103 ops).

Not covered here

 for the macOS -Wformat failure and the b12986+ / b13007+ / b13013+ conflicts
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 6, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-06T02:53:45.726100Z ff302d3 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@danielhanchen
danielhanchen merged commit 928db0e into master Dec 6, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant