…#2916) (#2951)
* diag: a walk needs two points, so one access reports no shape
Found by the first live capture with holders visible (engine#2478, 2026-11-20): a
25-minute watch over the NVMe fault stream caught one fault, and the render said
burst: 1 access(es) on 0000:c4:00.0, domain 0x0015, flags 0x0000, 1 page(s), span 0x0
the whole burst is inside one 40 KiB window: one descriptor block's walk
`span 0x0` beside "one descriptor block's walk" is a shape claim with one point:
a single access is always inside one window and always a "walk" by the arithmetic,
so the sentence confirmed a structure from a single datum. For the ten-access NPU
bursts the same sentence is earned; at count 1 it is fabricated.
Now: `count == 1` says "one access: no shape to report (a walk needs at least two)"
and the walk sentence needs `count >= 2`.
Arms (3): a single access reports no shape; it says so explicitly rather than
staying silent; two or more accesses still get the sentence. Mutations: guard
removed -> 2 FAIL, both branches firing -> 1 FAIL.
This is the rule the rest of the tool already follows (hits None rather than zero,
unavailable rather than none) applied to a sentence rather than a field.
* ci: loomc_pair_check asks the two pinned submodules as a PAIR (engine#2916)
The engine pins llama.cpp and hrx-system as separate gitlinks, and ggml-hrx's
Loom JIT calls `loomc_*` symbols that only hrx-system declares. Moving one pin
without the other therefore breaks the build in a third repository:
ggml/src/ggml-hrx/loom-jit.cpp:223: error: use of undeclared identifier
'loomc_link_index_builder_release'
Measured 2026-11-20: hrx-system renamed `loomc_link_index_builder_free` ->
`_release` in 771711d49be while the engine pinned a hrx-system before it. The
current pin PAIR was consistent (pinned llama.cpp asks for `_free`, pinned
hrx-system has `_free`), and nothing in the engine referenced the symbol -- so
the fix was a lockstep bump of both gitlinks, which took ten comments and a
compile to establish.
This asks the pair, with no build and no device:
$ tools/ci/loomc_pair_check.py --llama third_party/llama.cpp \
--hrx-system third_party/hrx-system
loomc_pair_check: 2 of 95 loomc_* symbol(s) used by the fork are NOT declared
by the pinned hrx-system:
loomc_amdgpu_emit_options_t
loomc_amdgpu_runtime_global_flags_t
the two pins are out of step: move both gitlinks, not one (engine#2916)
Those two names are the ones #2916's own thread is still chasing, found here
without a compiler.
Decisions that make the answer trustworthy rather than plausible:
* a symbol mentioned only in a COMMENT is not a link dependency (comment-strip
mutant -> 1 FAIL), because counting it would invent a breakage;
* headers are found ANYWHERE under hrx-system, not in one include dir, because
the C binding's headers moved once already;
* the fork side accepts either the llama.cpp root or the ggml-hrx dir -- the
check first failed on the real tree because it accepted only the latter;
* every absence is `cannot tell` (rc 2), never "nothing missing": a missing
tree, or a fork side with no `loomc_` use, must not report a clean pair
(cannot-tell mutant -> 1 FAIL).
Arms: 8 in `--self-test`, hermetic in a temp tree.
* ci: wire loomc_pair_check's self-test, which the PR's first build caught
The first build of this PR failed two rows, both for one reason: the tool
declares `--self-test` and nothing named it.
77 - tool_selftest_wired (Failed)
91 - tests_referenced (Failed)
tool_selftest_wired_check: 1 of 85 self-test-carrying tool(s) are named by
neither CMakeLists.txt nor scripts/pre-pr-checks.sh, so nothing executes it:
tools/ci/loomc_pair_check.py
Adding the row is the fix, and the check printed the exact line to add. Worth
recording because it is the same catch as #2920's tonight: a test file added by
a review suggestion, unregistered in CMake, proven by `tests_referenced` to be a
test no CI job runs. A self-test nobody runs is not coverage.
* ci: loomc_pair_check ignores uses inside a preprocessing guard (engine#2916)
The tool's first real use reported two symbols missing from the pinned
hrx-system:
loomc_amdgpu_emit_options_t
loomc_amdgpu_runtime_global_flags_t
Both are FALSE POSITIVES, and #446 says so before I did: every use of them in
loom-jit.cpp is inside `#if defined(LOOMC_AMDGPU_RUNTIME_GLOBALS_KNOWN)`, and
nothing in this tree defines that macro -- verified by grep across the fork:
grep -rn LOOMC_AMDGPU_RUNTIME_GLOBALS_KNOWN --include=*.h --include=*.cpp
-> five `#if defined(...)` sites, no `#define` anywhere
So the symbols are not dependencies of any build this tree performs. A checker
that reports them manufactures a breakage, which is the same error as counting a
symbol mentioned only in a comment -- one layer further out.
Now a use inside any `#if` block is tracked separately: it is still DROPPED from
the missing list (it is not a dependency), but it is PRINTED as
"used only inside a preprocessing guard", so nothing is hidden. A symbol used
unconditionally anywhere is still a real dependency, and the arms pin that in
both directions:
* a guarded use adds no missing symbol, and is reported separately by name;
* the same symbol used unconditionally IS missing, guard or no guard, and is
NOT also listed as conditional.
Mutations: preprocessing untracked -> 2 FAIL; the `conditional - unconditional`
subtraction dropped -> 1 FAIL (the arm above is what catches it; the first
version of that arm did not, and the mutant survived until the arm was tightened).
---------
Co-authored-by: pi-hrx-compat <[email protected]>
The docs still described the pre-2026-10-18 line: the registry counts were the 2026-09-27 sweep, the
HRX pin section predated #441's hand move in the parts that matter to a reader, and nothing recorded
the DwarfStar bump, the Project Manager's two new surfaces or the #433 result. Every fact here comes
from a merged PR body or an issue comment, and each was checked with
gh:e3e6a976line (hrx-system3319e536→d3c731e1, our fourfixes replayed plus our live-out fix for **[Loom]: Multi-unit live-out demand dropped across loop back-edges miscompiles long-context flash-attention on gfx1151** ROCm/hrx-system#1535;
llama.cpp1a5dcba2→8d9ce2c1a), and its measured gate: test-backend-ops 1141/1141, needles 20/20 + 5/5 + 5/5, KLD 0,pp512 +4.4% / +7.8%, tg128 +2.5% / +2.8%. Plus the comment on it (TPIN): the MUL_MAT f32
m=1 n=1 k=2048case is the same kernel on both pins (HRX: intermittent MUL_MAT f32 m=1 n=1 k=2048 error on common.mul_mat.f32_f32_decode (about 1 in 40 runs at fork tip e44c9d0) #370), 0 failures in 30 focused runs and 3 ×1141/1141 full-suite runs, and the tools/fconst19_measure: fix the refusal that crashed, and stop demanding byte equality #1535 shape passes at 8032 and 16532 tokens (5/5 each, 0 NaN).
a7f2e1eaf36c→5b013dc1bb75(1BP v5 reader, converter, checker), and thecomment on it (TDS4): DeepSeek V4 Flash Q2 gives identical answers and token counts new vs old pin
and GGUF vs 1BP package, and a
.1bpstill auto-routes tods4.serve --pm-router laya: Laya picks the expert before the PM's first round #434
--pm-router laya, serve --pm: a spawn_worker tool that asks an executor for a long-running agent worker #436--pm-spawn-url, and the HRX: ZAYA1-8B intermittent NaN logits abort the server (common_sampler_sample guard), seen with a second HRX process on the GPU #433 finding (no abort in 60 freshloads; the reported 458-token prompt cannot come from this model's template).
Files
README.md— status: the HRX pin with its measured gate numbers, DwarfStar's pin and 1BP check, thePM's
--pm-router layaand--pm-spawn-url, and the 2026-10-17 census numbers.docs/PORTING.md— step 2's HRX pin and gate, step 4's Laya source and revision, step 5's census.docs/registry.md— the 2026-10-17 census table (matchingregistry/census.json) and the currentunmapped list;
OPTForCausalLMandGPTNeoForCausalLMare mapped since.docs/hrx.md— two additions next to the existing HRX0 material: the HRX: ZAYA1-8B intermittent NaN logits abort the server (common_sampler_sample guard), seen with a second HRX process on the GPU #433 finding, and the LoomCsymbol guard that is the loom-jit trap (with Move HRX pins: hrx-system to AMD's e3e6a976 line, llama.cpp 8d9ce2c1a #441 as the validated hand move and HRX: hrx-backend-test cannot build at fork tip ad18320a (deleted dispatch-symmetric-i4.h still included) #422 still open).
docs/dwarfstar.md— what the 2026-10-17 pin was checked on, and thatservecannot set ds4'sexpert-cache size, so
ds4-serversizes it from the GPU's recommended working set (69 GiB, 76 GiBplanned, on this box).
Wiki (edited directly)
1bit-MONSTER/engine.wikimasterc1a8c46→aca393d, two pages:MLX and ZINC builds are gone), and a
## Status (2026-10-18)milestone table (HRX pin move + TPIN,DwarfStar bump + TDS4, PM router and
spawn_worker, census, Laya bump, HRX: ZAYA1-8B intermittent NaN logits abort the server (common_sampler_sample guard), seen with a second HRX process on the GPU #433) in front of the2026-10-01 snapshot, which is kept as history.
MUL_MAT case and the long-context needle, and a note that the page's Vulkan half is history.
Two notes
docs/KNOWN-ISSUES.mddoes not exist in this repository (it is in the private development repo; the315-*.mdfiles cite it). The hold and loom-jit entries that Move HRX pins: hrx-system to AMD's e3e6a976 line, llama.cpp 8d9ce2c1a #441 resolved live indocs/hrx.mdand.github/workflows/bump-hrx.ymlhere, and both are now written to the post-Move HRX pins: hrx-system to AMD's e3e6a976 line, llama.cpp 8d9ce2c1a #441 state — the holdsection already named the new pin, and the trap is now documented in
docs/hrx.md..github/workflows/bump-hrx.ymlcould not be pushed: the token has noworkflowscope, so GitHub rejects any change under.github/workflows/. Its content is indocs/hrx.mdabove; if you want it in the workflow too, it needs a token with that scope.🤖 Generated with Claude Code