Repository navigation
Census 2026-10-09 - #371
Closed
bong-water-water-bong wants to merge 2 commits into
Closed
bong-water-water-bong wants to merge 2 commits into
bong-water-water-bong wants to merge 2 commits into
Conversation
…rchitectures): mapped 318448 (94.7%), checked 215355 (64.04%)
PR Reviewer Guide 🔍(Review updated until commit bbffc24)Here are some key observations to aid the review process:
|
bong-water-water-bong
enabled auto-merge (squash)
October 9, 2026 18:44
|
Persistent review updated to latest commit bbffc24 |
Collaborator
Author
|
Superseded by #382 (Census 2026-10-10). Closing. |
auto-merge was automatically disabled
October 10, 2026 12:33
Pull request was closed
This was referenced Nov 14, 2026
bong-water-water-bong
pushed a commit
that referenced
this pull request
Nov 14, 2026
… hrx-buffer-test from 8/1 to 9/0 The engine pins ea2d2eb07. The fork is four commits ahead and every one of them is a fix for the suite engine#2393 is about: a110cca #370 alignas on the imported-buffer fixture, and the is_host relaxation 60f7446 #371 an imported buffer is a window on an allocation, not a retagged CPU buffer bfdb4d4 #373 restore #357's async host-buffer fallback and the misaligned-pointer refusal 7e91e98 #374 a mapped weight is a window too, not a retagged CPU buffer So today the engine builds against a suite that is red (8 passed / 1 failed, imported_buffer) when the fixes for it have been merged on the fork since 11:5xZ. Measured at the pin, gfx1151, one gpu-hold ticket, dmesg amdgpu resets 0 before / 0 after: hrx-buffer-test: 9 passed, 0 failed, 0 known-fail, 0 unexpected-pass, 9 total And the engine side, which is the half a gitlink bump can break: a fresh worktree of origin/main (01c94a6) with this submodule, configured and built clean -- CFG=0 BUILD=0 · 136 targets · ./1bit and ./npu_template_test produced ./npu_template_test <fixtures> -> rc 0, "0 failure(s)" That last binary is worth naming: an earlier attempt against a four-day-old engine tree (6b4afe5) failed to link it with seven undefined common_json::* references. On today's engine it links and runs, so that failure was a property of the old tree, not of this pin. What the bump does and does not touch, checked rather than assumed: .loom corpus between the two heads: 0 files changed f16 ratchet fingerprint at both heads: b9b121a5ddc51854 (326 .loom) -- identical, so NO baseline change header changes in the range: additive only, and the engine includes neither header Why 7e91e98 and not the bfdb4d4 I first verified: #374 merged while I was verifying, and pinning the head one commit behind it would be the stale-pin mistake this lane spends its time flagging in other people's PRs. Re-measured at the new head rather than assuming the extra commit was inert: suite 9/0 again, engine build again, corpus still unchanged.
bong-water-water-bong
pushed a commit
that referenced
this pull request
Nov 14, 2026
… MTP-drafter crash fix The engine pins ea2d2eb07. The fork is six commits ahead and every one of them matters to something this lane has measured today: a110cca #370 alignas on the imported-buffer fixture, and the is_host relaxation 60f7446 #371 an imported buffer is a window on an allocation, not a retagged CPU buffer bfdb4d4 #373 restore #357's async host-buffer fallback and the misaligned-pointer refusal 7e91e98 #374 a mapped weight is a window too, not a retagged CPU buffer d9d7696 #342 the q4_0 V-cache refusal's MESSAGE named a writer that had since merged 5996746 #376 restore the two MTP-drafter pieces #376 is the one that makes this urgent: without it llama-server SIGSEGVs on any MTP request. Measured on gfx1151 with the real Qwen3.8-27B UD-Q4_K_XL, one request per run, llama.cpp#379's own regression arm: 7e91e98a7 (pre-#376) SIGSEGV in the drafter, http=000, no acceptance line 59967468e http=200, draft acceptance 0.64286 (9 accepted / 14 generated), mean len 2.80 so a pin at 7e91e98a7 would carry every buffer fix and still ship a server that crashes the moment MTP drafting is enabled. Verified at 59967468e, gfx1151: hrx-buffer-test 9 passed, 0 failed, 0 known-fail, 0 unexpected-pass, 9 total (one gpu-hold ticket) MTP request http=200, acceptance 0.64286, mean len 2.80 (llama.cpp#379's arm) engine build CFG=0 BUILD=0, 136 targets, 0 errors (today's main + this submodule) Checked rather than assumed, as before: .loom corpus across the range 0 files changed f16 ratchet fingerprint b9b121a5ddc51854 (326 .loom) at both ends -- NO baseline change header changes in the range additive only; the engine includes neither header gitlink sha 59967468e9cb0f19f9535a04aa09e4166a002d8c, confirmed with git cat-file -e Extended at cl-hrxkern's request on this PR ("move this pin to fork 59967468e instead of opening a second bump"), which is the right call: two bumps for one branch head is how a pin trail becomes a pin essay.
bong-water-water-bong
pushed a commit
that referenced
this pull request
Nov 14, 2026
… MTP-drafter crash fix The engine pins ea2d2eb07. The fork is six commits ahead and every one of them matters to something this lane has measured today: a110cca #370 alignas on the imported-buffer fixture, and the is_host relaxation 60f7446 #371 an imported buffer is a window on an allocation, not a retagged CPU buffer bfdb4d4 #373 restore #357's async host-buffer fallback and the misaligned-pointer refusal 7e91e98 #374 a mapped weight is a window too, not a retagged CPU buffer d9d7696 #342 the q4_0 V-cache refusal's MESSAGE named a writer that had since merged 5996746 #376 restore the two MTP-drafter pieces #376 is the one that makes this urgent: without it llama-server SIGSEGVs on any MTP request. Measured on gfx1151 with the real Qwen3.8-27B UD-Q4_K_XL, one request per run, llama.cpp#379's own regression arm: 7e91e98a7 (pre-#376) SIGSEGV in the drafter, http=000, no acceptance line 59967468e http=200, draft acceptance 0.64286 (9 accepted / 14 generated), mean len 2.80 so a pin at 7e91e98a7 would carry every buffer fix and still ship a server that crashes the moment MTP drafting is enabled. Verified at 59967468e, gfx1151: hrx-buffer-test 9 passed, 0 failed, 0 known-fail, 0 unexpected-pass, 9 total (one gpu-hold ticket) MTP request http=200, acceptance 0.64286, mean len 2.80 (llama.cpp#379's arm) engine build CFG=0 BUILD=0, 136 targets, 0 errors (today's main + this submodule) The registry moves with the pin. registry/architectures.json records the llama.cpp pin, so a submodule bump without regenerating it fails ctest `registry_pins` -- `llama.cpp (hrx) recorded at ea2d2eb07, pinned at 59967468e`, which is the one ask on this PR's first CHANGES verdict. Folded into this commit rather than a follow-up, as asked: tools/registry_build.py -> registry/architectures.json (hrx 350, npu 9, architectures 350, mapped 350) tools/registry_build.py --check-pins -> rc 0, "records the committed pins" The regenerated file differs from the committed one by exactly the pin line (4 diff lines, one value), so nothing else in the registry was rewritten. Checked rather than assumed, as before: .loom corpus across the range 0 files changed f16 ratchet fingerprint b9b121a5ddc51854 (326 .loom) at both ends -- NO baseline change header changes in the range additive only; the engine includes neither header gitlink sha 59967468e9cb0f19f9535a04aa09e4166a002d8c, confirmed with git cat-file -e Extended at cl-hrxkern's request on this PR ("move this pin to fork 59967468e instead of opening a second bump"), which is the right call: two bumps for one branch head is how a pin trail becomes a pin essay.
bong-water-water-bong
added a commit
that referenced
this pull request
Nov 14, 2026
… MTP-drafter crash fix (#2431) The engine pins ea2d2eb07. The fork is six commits ahead and every one of them matters to something this lane has measured today: a110cca #370 alignas on the imported-buffer fixture, and the is_host relaxation 60f7446 #371 an imported buffer is a window on an allocation, not a retagged CPU buffer bfdb4d4 #373 restore #357's async host-buffer fallback and the misaligned-pointer refusal 7e91e98 #374 a mapped weight is a window too, not a retagged CPU buffer d9d7696 #342 the q4_0 V-cache refusal's MESSAGE named a writer that had since merged 5996746 #376 restore the two MTP-drafter pieces #376 is the one that makes this urgent: without it llama-server SIGSEGVs on any MTP request. Measured on gfx1151 with the real Qwen3.8-27B UD-Q4_K_XL, one request per run, llama.cpp#379's own regression arm: 7e91e98a7 (pre-#376) SIGSEGV in the drafter, http=000, no acceptance line 59967468e http=200, draft acceptance 0.64286 (9 accepted / 14 generated), mean len 2.80 so a pin at 7e91e98a7 would carry every buffer fix and still ship a server that crashes the moment MTP drafting is enabled. Verified at 59967468e, gfx1151: hrx-buffer-test 9 passed, 0 failed, 0 known-fail, 0 unexpected-pass, 9 total (one gpu-hold ticket) MTP request http=200, acceptance 0.64286, mean len 2.80 (llama.cpp#379's arm) engine build CFG=0 BUILD=0, 136 targets, 0 errors (today's main + this submodule) The registry moves with the pin. registry/architectures.json records the llama.cpp pin, so a submodule bump without regenerating it fails ctest `registry_pins` -- `llama.cpp (hrx) recorded at ea2d2eb07, pinned at 59967468e`, which is the one ask on this PR's first CHANGES verdict. Folded into this commit rather than a follow-up, as asked: tools/registry_build.py -> registry/architectures.json (hrx 350, npu 9, architectures 350, mapped 350) tools/registry_build.py --check-pins -> rc 0, "records the committed pins" The regenerated file differs from the committed one by exactly the pin line (4 diff lines, one value), so nothing else in the registry was rewritten. Checked rather than assumed, as before: .loom corpus across the range 0 files changed f16 ratchet fingerprint b9b121a5ddc51854 (326 .loom) at both ends -- NO baseline change header changes in the range additive only; the engine includes neither header gitlink sha 59967468e9cb0f19f9535a04aa09e4166a002d8c, confirmed with git cat-file -e Extended at cl-hrxkern's request on this PR ("move this pin to fork 59967468e instead of opening a second bump"), which is the right call: two bumps for one branch head is how a pin trail becomes a pin essay. Co-authored-by: bcloud <agent@local>
bong-water-water-bong
pushed a commit
that referenced
this pull request
Nov 14, 2026
…excused #371 1. The file opened with registry_loss_check.py's docstring and a second shebang (the copy-paste). Removed; the module now opens with its own docstring, once. 2. head_mentions kept the REV, not the path: `git grep -l -F n <rev>` prints "<rev>:<path>", and the old split took [0] (the rev), so "where it went" could never be named. It now matches the rev exactly and returns {identifier: [paths]}, and the `note` ends with the destination. 3. Nothing drove check() to the branch that returns 1. Three arms now do: a guard deleted outright -> LOST rc 1; the #371 shape -> LOST; a rare identifier found in another file -> note rc 0 (and the note names the file). And the gap from the 15:26Z verdict, which is the important one: an identifier can be ubiquitous, so finding it "elsewhere" is not evidence that a guard moved. `size` is in most files of a C++ tree, and the #371 guard carries it. A move now needs an identifier that appears in <= RARE_MAX (5) files at head; anything more is not evidence. Measured on the real #371 commit (60f744628, base a110cca60): with the rarity rule LOST ... not in this file and not anywhere at head: TENSOR_ALIGNMENT, uintptr_t rc=1 with RARE_MAX=10**9 note ... guard rewritten, identifiers still present rc=0 So the escape hatch I added for engine#2436's helper-move did silence the very diff this tool was built from, and it no longer does. The first version of that arm was vacuous - the guard used `n`, so no identifier of it was ubiquitous, and mutating RARE_MAX did not turn the arm red. The arm only discriminates once the guard itself carries `size` AND the head file no longer mentions it. Both are now the case, and RARE_MAX=10**9 turns two arms red. Blind spots named in the docstring rather than implied: GUARD_KEYWORDS is a heuristic, and SKIP_DIRS includes tests/.
bong-water-water-bong
added a commit
that referenced
this pull request
Nov 14, 2026
…leted with its identifiers gone (calibrated on llama.cpp#371 lost / #374 rewritten) (#2429) * tools/ci: guard_loss_check — report a refusing/asserting condition deleted with its identifiers gone * cmake: register guard_loss_check's self-test — tests_referenced_check caught the omission on the PR that added the tool * guard_loss_check: a guard that moved into a helper is a rewrite, not a loss (measured on #2436) The tool's first real false positive, found by sweeping the 11 open engine PRs: engine#2436 removes the refusal check from forward_serve.cpp and moves the handling into open_with_retry (app/npu_load_retry.h). The guard is preserved and strengthened, but the identifier left the file, so the same-file rule said LOST. Now: when a removed guard's identifiers are gone from the file at head, ask the head tree (one "git grep -l" per identifier) before reporting. Present elsewhere = note (rewritten, rc 0). Absent everywhere = LOST (rc 1), with a message that no longer overstates: "not in this file and not anywhere at head". Self-test gains a scratch-repo arm for the moved case. Measured over the 11 open engine PRs: 1 spurious LOST -> 0. The llama.cpp PRs: 0 rows, and a PR whose base is not reachable answers "cannot tell" (rc 2) rather than guessing. * guard_loss_check: the three CHANGES items, and the escape hatch that excused #371 1. The file opened with registry_loss_check.py's docstring and a second shebang (the copy-paste). Removed; the module now opens with its own docstring, once. 2. head_mentions kept the REV, not the path: `git grep -l -F n <rev>` prints "<rev>:<path>", and the old split took [0] (the rev), so "where it went" could never be named. It now matches the rev exactly and returns {identifier: [paths]}, and the `note` ends with the destination. 3. Nothing drove check() to the branch that returns 1. Three arms now do: a guard deleted outright -> LOST rc 1; the #371 shape -> LOST; a rare identifier found in another file -> note rc 0 (and the note names the file). And the gap from the 15:26Z verdict, which is the important one: an identifier can be ubiquitous, so finding it "elsewhere" is not evidence that a guard moved. `size` is in most files of a C++ tree, and the #371 guard carries it. A move now needs an identifier that appears in <= RARE_MAX (5) files at head; anything more is not evidence. Measured on the real #371 commit (60f744628, base a110cca60): with the rarity rule LOST ... not in this file and not anywhere at head: TENSOR_ALIGNMENT, uintptr_t rc=1 with RARE_MAX=10**9 note ... guard rewritten, identifiers still present rc=0 So the escape hatch I added for engine#2436's helper-move did silence the very diff this tool was built from, and it no longer does. The first version of that arm was vacuous - the guard used `n`, so no identifier of it was ubiquitous, and mutating RARE_MAX did not turn the arm red. The arm only discriminates once the guard itself carries `size` AND the head file no longer mentions it. Both are now the case, and RARE_MAX=10**9 turns two arms red. Blind spots named in the docstring rather than implied: GUARD_KEYWORDS is a heuristic, and SKIP_DIRS includes tests/. --------- Co-authored-by: bcloud <bcloud@local> Co-authored-by: t <[email protected]>
This was referenced Nov 14, 2026
bong-water-water-bong
pushed a commit
that referenced
this pull request
Nov 14, 2026
…aimed
SKIP_DIRS had tests/data/ and the docstring said tests/ - so the docstring described a blind
spot the code did not have, and the code had one the docstring did not describe: a guard-shaped
line deleted from any test file was reported, and would have turned the new pre-pr-checks row
red for a deliberate assertion rewrite.
The decision, measured rather than argued:
* the code was the wrong half. A test's REQUIRE/CHECK is a fixture, not the product's refusal,
and the heuristic cannot see that style in any case - REQUIRE is not in GUARD_KEYWORDS, so
"REQUIRE(!x)" replaced by "REQUIRE(true)" produced NO hit before or after this change. The
skip therefore loses nothing the tool could catch.
* what it does remove is noise that is decided on purpose: over 55 no-merge commits of the fork
branch, 72 LOST hits, 8 of them in tests/, every sampled one a deliberate assertion rewrite.
(Those 72 are not a false-positive rate: the fork branch at that point was a chain of #327's
guard-dropping merges, and the first one sampled is #371's alignment guard, a TRUE positive.
The number that matters for the row is the engine, where it runs: 0 LOST over 11 open heads.)
Two arms pin the boundary in both directions, because the failure mode of a skip is being too
wide: a guard deleted under tests/ is not reported, and the SAME guard under src/ still is.
Reverting the skip turns the first arm red; adding src/ to SKIP_DIRS turns the second red; both
restored green.
bong-water-water-bong
added a commit
that referenced
this pull request
Nov 14, 2026
…osed on the rewrite path (#2451) * pre-pr-checks: run guard_loss_check, and fix the crash it exposed on the rewrite path The check landed in #2429 with a false-positive rate measured over 15 open PR heads and no runner, deliberately: a hit needs a human to decide re-shape vs loss. Wiring it for real is what found the first defect in it. **The bug.** check()'s print loop unpacks `moved` entries as 3-tuples, and the "guard rewritten in place, identifiers still present" path appended 2-tuples. So any diff that rewrites a guard - the common, benign shape - raised ValueError, and Python's traceback exits **1**, which is the LOST exit code. A crash wearing a verdict, in the tool whose subject is exactly that. Fixed, with a self-test arm (rewritten in place -> note, rc 0) that turns red when the 2-tuple is put back. Nothing else in the tool changes: the rarity rule, the head-tree search, the three-way exits and the 15 arms are as merged. **The row.** `tools/ci/guard_loss_check.py --check --base $base`, beside the other --base checks and before hip_f16_audit (which is the one row that depends on a fetched tree). Added to docs/pre-pr-checks.md at the same position, because the runner refuses to run when the page and the array disagree about which checks run or their order. Measured on this branch: `all 10 check(s) green, 1 skipped`, and the row prints its own verdict ("0 removed guard-shaped line(s), 0 lost, 0 rewritten"). A non-zero rc from it becomes a failed row like any other - which is what makes the LOST exit code mean something now. The row is a real check, not a note tier: a LOST means a refusal was deleted and nothing replaced it, which is the class six restore PRs in one night were written for. The human decision ("is this a re-shape or a loss?") happens after the row goes red, the same as registration_loss and branch_stale. * docs: the pre-pr-checks counts and order sentence, without a cardinal to age Adding a row made two prose statements wrong, and both were already wrong before this branch: docs/pre-pr-checks.md "runs the first ten" -> the runner has eleven rows CONTRIBUTING.md "the six host-side checks" -> stale by five docs/pre-pr-checks.md "the check that needs a revision (registration_loss_check --base) last" -> four checks take --base, and the last row needs a fetched tree, not a revision The runner enforces that its array and the page's *table* agree in content and order, and that is the check that matters, but it cannot see prose: a number in a sentence is a fact that ages the moment a row is added, and this page has already drifted twice in one night over exactly this. So the numbers are gone rather than bumped -- "runs every command in the table below", "one further check is an author's check", "last the checks that need a revision (--base) or a fetched tree" -- and the page can now gain a row without a doc edit. Measured after: `bash scripts/pre-pr-checks.sh` -> 10 green, 1 skipped, rc 0, including its own page/array agreement step. * guard_loss_check: skip tests/, which is what the docstring already claimed SKIP_DIRS had tests/data/ and the docstring said tests/ - so the docstring described a blind spot the code did not have, and the code had one the docstring did not describe: a guard-shaped line deleted from any test file was reported, and would have turned the new pre-pr-checks row red for a deliberate assertion rewrite. The decision, measured rather than argued: * the code was the wrong half. A test's REQUIRE/CHECK is a fixture, not the product's refusal, and the heuristic cannot see that style in any case - REQUIRE is not in GUARD_KEYWORDS, so "REQUIRE(!x)" replaced by "REQUIRE(true)" produced NO hit before or after this change. The skip therefore loses nothing the tool could catch. * what it does remove is noise that is decided on purpose: over 55 no-merge commits of the fork branch, 72 LOST hits, 8 of them in tests/, every sampled one a deliberate assertion rewrite. (Those 72 are not a false-positive rate: the fork branch at that point was a chain of #327's guard-dropping merges, and the first one sampled is #371's alignment guard, a TRUE positive. The number that matters for the row is the engine, where it runs: 0 LOST over 11 open heads.) Two arms pin the boundary in both directions, because the failure mode of a skip is being too wide: a guard deleted under tests/ is not reported, and the SAME guard under src/ still is. Reverting the skip turns the first arm red; adding src/ to SKIP_DIRS turns the second red; both restored green. --------- Co-authored-by: t <[email protected]>
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.
421664 text-generation models on HF, 336279 with an architecture (2747 architectures).
Unmapped architectures with the most models:
Step1MoEForCausalLM: 2882ParlerTTSForConditionalGeneration: 1585ChessForCausalLM: 970LlavaLlamaForCausalLM: 453DynamicAlibiForCausalLM: 245OpenLMForCausalLM: 245DynamicForgettingForCausalLM: 240BertLMHeadModel: 211MobileLLMForCausalLM: 176BartForConditionalGeneration: 174