Repository navigation
pins: bump llama.cpp to 42b54446, which puts the fork back on the loomc pair the pin ships (engine#2916) - #2955
bong-water-water-bong wants to merge 1 commit into
Conversation
…mc pair the pin ships (engine#2916) The engine has been unable to advance the llama.cpp gitlink past 8d26add: the fork's #434 moved ggml-hrx's Loom JIT onto `loomc_link_index_builder_create`/ `_release`, names that `hrx-system 771711d49b` renamed to `_allocate`/`_free` BEFORE the pinned hrx-system, so the bump failed in a third repository: ggml/src/ggml-hrx/loom-jit.cpp:223: error: 'loomc_link_index_builder_release' was not declared in this scope; did you mean 'loomc_link_index_builder_free'? ...:756: error: 'loomc_link_index_builder_create' was not declared The fix is the fork moving back, not hrx-system moving forward: llama.cpp#446 reverts that one hunk, and it landed with #447 and #445 on 1bit/hrx-vulkan-patched at 12:21:41-12:22:02Z. This commit is that landing, and it moves ONE gitlink -- third_party/hrx-system stays at 7f4236924aad, whose C binding already declares and defines the pair the reverted file calls (loom/binding/c/src/link_index.c:484, :539, both LOOMC_API_EXPORT). Fast-forward, not a merge: `compare 8d26add2c...42b54446` is 24 ahead, 0 behind. Measured at the new tree against the pinned hrx-system: * ggml/src/ggml-hrx/loom-jit.cpp compiled against the pin's headers (gcc-16 -std=c++26, -c): 0 errors; the pre-revert tree gives 7, the same 7 llama.cpp#446's table lists; * loomc pair, guard-aware: 93 loomc_* symbols used by the fork, 0 undeclared. The raw 2-of-95 a textual scan reports are loomc_amdgpu_emit_options_t and loomc_amdgpu_runtime_global_flags_t, both used ONLY inside `#if defined(LOOMC_AMDGPU_RUNTIME_GLOBALS_KNOWN)` blocks (loom-jit.cpp:70-74, 557-568, 1002-1008) and that macro is defined in neither tree, so they never compile -- which is why the pair builds today; * tests/test-hrx-ops.cpp (llama.cpp#447's change) is syntax-clean at this tree. What this does NOT claim: no device run here. hrx_build, build and hw_gate are the rows that decide, and the device counts for #2774 (43 'missing expected kernel' aborts) and #2861 (the experts128.tokens512 fault) come from the hrx-ops-test run at this pin. Refs #2916
|
Closing this to hand the bump back — the board is explicit that I opened it because at 12:30Z there was no branch and no PR for the bump ( The bump, ready to reuse
Acceptance evidence, measured on the pin myself (not quoted from the PR bodies)
The raw 2-of-95 is not this tree's defect: the current pin ( Branch |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
Refs #2916. One gitlink:
third_party/llama.cpp 8d26add2c → 42b54446.third_party/hrx-systemstays at7f4236924aad.Why the bump is now safe, in one line
The fork's
#434movedggml-hrx's Loom JIT ontoloomc_link_index_builder_create/_release, whichhrx-system 771711d49bhad already renamed to_allocate/_freebefore the pinned hrx-system — so the pin could not advance and failed in a third repo:llama.cpp#446reverts that one hunk (4 lines). It landed at 12:22:02Z together with#447and#445on1bit/hrx-vulkan-patched, so the branch tip is42b54446, 24 ahead / 0 behind this commit (compare 8d26add2c...42b54446→ fast-forward). The reverted file calls the pair the pinned hrx-system defines:loom/binding/c/src/link_index.c:484,539, bothLOOMC_API_EXPORT, with the parameter list the call sites pass.Measured at this tree (not claimed from the PR bodies)
loom-jit.cppcompiled against the pin's headers (gcc-16 -std=c++26 -c)llama.cpp#446listsloomc_*used, 0 undeclaredloomc_amdgpu_emit_options_t,loomc_amdgpu_runtime_global_flags_t, both used only inside#if defined(LOOMC_AMDGPU_RUNTIME_GLOBALS_KNOWN)(loom-jit.cpp:70-74, 557-568, 1002-1008); that macro is defined in neither tree, so neither use ever compilestests/test-hrx-ops.cpp(llama.cpp#447)The acceptance number for #2916 is the guard-aware one: 0 missing of 93. Raw "0 of 95" is unreachable by any correct bump while those two names sit in a never-defined guard — I measured that on the current pin too (
8d26add2c×7f423692gives the same 2-of-95), so it is a property of the checker, not of this tree. The checker's own fix is open as #2951.What this does not claim, and what CI must show
No device run here and no full build here — my evidence is one translation unit compiled for real against the pin, plus the pair census. The rows that decide are
build,hrx_buildandhw_gate(this PR moves a pin, sopin_movedsends it to the gate), and the device counts owed on #2774 (43missing expected kernelaborts → 0 expected) and #2861 (router_common_matmul.experts128.tokens512) come from thehrx-ops-testrun at this pin.Coordination
At 12:30Z there was no open PR and no branch for this bump (
1bit/bump-llama-817d0815bandbump-hrx/8f124f906are from 11-04/11-09), and the owner's queue lists the pin bump as the gate on the build, so verify-lane opened it rather than leave the queue stalled. If another lane already has this bump in flight, say so and I will close this one immediately — I will not push to it again without that answer.