Skip to content

docs: the 2026-10-17/18 merges (HRX pins, DwarfStar, PM router and spawn_worker, census, #433) - #446

Merged
bong-water-water-bong merged 3 commits into
mainfrom
docs/2026-10-18-pins
Oct 18, 2026
Merged

bong-water-water-bong merged 3 commits into
mainfrom
docs/2026-10-18-pins

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

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:

Files

Wiki (edited directly)

1bit-MONSTER/engine.wiki master c1a8c46 → aca393d, two pages:

Two notes

  • docs/KNOWN-ISSUES.md does not exist in this repository (it is in the private development repo; the
    315-*.md files 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 in docs/hrx.md and
    .github/workflows/bump-hrx.yml here, and both are now written to the post-Move HRX pins: hrx-system to AMD's e3e6a976 line, llama.cpp 8d9ce2c1a #441 state — the hold
    section already named the new pin, and the trap is now documented in docs/hrx.md.
  • The comment-only edit in .github/workflows/bump-hrx.yml could not be pushed: the token has no
    workflow scope, so GitHub rejects any change under .github/workflows/. Its content is in
    docs/hrx.md above; if you want it in the workflow too, it needs a token with that scope.

🤖 Generated with Claude Code

pi-zayap2 added 2 commits October 18, 2026 02:28
…awn_worker, census, #433)

The docs still described the pre-2026-10-18 line.

- README status: HRX pinned to AMD e3e6a976 + llama.cpp 8d9ce2c1a with the measured gate numbers;
  DwarfStar pinned to 5b013dc1bb75 (1BP v5) and its hardware check; the PM gains --pm-router laya
  and --pm-spawn-url; the census numbers of 2026-10-17.
- docs/PORTING.md: the HRX pin (step 2), the Laya source/revision bump (step 4), the 2026-10-17
  census (step 5).
- docs/registry.md: the 2026-10-17 census table, against registry/census.json, and the current
  unmapped list.
- docs/hrx.md: the engine#433 finding next to the other HRX0 known issues (no abort in 60 fresh
  loads; the 458-token prompt cannot come from this model template).
- docs/dwarfstar.md: what the 2026-10-17 pin was checked on, and that serve cannot set ds4 expert
  cache size.
- .github/workflows/bump-hrx.yml: the loom-jit trap is now described as the step that guards it,
  with #441 as the validated hand move and #422 still open.

Facts from merged PRs #441, #429, #438, #439, #434, #436 and the hardware comments on #441 (TPIN)
and #429 (TDS4).
…441 as the validated hand move

The workflow comment that described the trap cannot be pushed with this token (no workflow scope),
so the fact lives where the pin process is documented: docs/hrx.md, next to the hold.
@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

PR Reviewer Guide 🔍

(Review updated until commit 3fd090f)

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Outdated Model Counts

The README.md file still references the 2026-09-27 census counts (334,413 models with architectures, 94.71% mapped, 64.2% checked) instead of the updated 2026-10-17 census counts (338,650 models with architectures, 94.62% mapped, 63.9% checked). This discrepancy could mislead users about the current state of the model registry.

> expert answer ([docs/pm.md](docs/pm.md)). Step 5, the model registry, has landed: of 338,650
> HF text-generation models with an architecture (the 2026-10-17 census), 94.62% are mapped to a
> backend and 63.9% have an architecture checked end to end on Strix Halo; a daily census keeps the
> counts current ([docs/registry.md](docs/registry.md)). The working engine is being ported from 1bit-MONSTER,
> our private development repository; see [docs/PORTING.md](docs/PORTING.md).
> Measured results are on the [wiki](https://github.com/1bit-MONSTER/engine/wiki). This repository
Incomplete HRX Pin Update

The PORTING.md file mentions that HRX is pinned to AMD's e3e6a976 hrx-system line with llama.cpp 8d9ce2c1a since 2026-10-18, but it does not update the previous description of the HRX step to reflect this change. The old description still refers to the previous pin, which may cause confusion for readers trying to understand the current state of the HRX implementation.

| 2 | **HRX.** llama.cpp with `GGML_HRX=ON` on AMD's tested pair (it was built with `GGML_VULKAN=ON` too until RFC #213 stage 3, which removed the engine's Vulkan and ROCm builds) | `1bit-MONSTER/llama.cpp` `1bit/hrx-vulkan-patched` (AMD's `hrx-graph-develop-v2` plus our commits) + `1bit-MONSTER/hrx-system` `1bit/main` (`ROCm/hrx-system` at AMD's pin plus our commits), pinned from `ROCm/ggml-staging-automation` | **landed** ([docs/hrx.md](hrx.md)): `1bit serve` runs GGUF checkpoints on `HRX0` (and the CPU from the same build); kept current by `bump-hrx.yml`. The decode-split flash-attention race (#123, #140) is fixed (llama.cpp `00adc2b`, #176) and the kernel is on by default again (#178). Since 2026-10-18 pinned to AMD's `e3e6a976` hrx-system line (`1bit/e3e6a976-pin-6`: our four fixes replayed plus our live-out fix for ROCm/hrx-system#1535) with llama.cpp `8d9ce2c1a` (#441); test-backend-ops 1141/1141, long-prompt needles 20/20 + 5/5 + 5/5, KLD 0 and identical output on Qwen3-0.6B and ZAYA1-8B, pp512 +4.4% / +7.8%, tg128 +2.5% / +2.8%. The hold in `config/hrx-system-hold.config` now names that pin, so later AMD hrx-system moves stay manual |
Missing Context on NaN Abort Fix

The documentation in hrx.md mentions that the ZAYA1-8B NaN abort issue (#433) does not reproduce on the current line, but it does not clearly state that this issue was resolved by the changes made in the HRX pin update. This could be misleading to readers who are trying to understand the fix for this specific issue.

- **The ZAYA1-8B NaN abort does not reproduce (engine#433).** Three aborts were reported on 2026-10-16
  on the then-current pin (`06cc0ef` with llama.cpp `dd74f6bb0`) with a second HRX process on the GPU:
  the sampler guard logged "HRX returned NaN logits" and the server stopped. Re-running that condition
  on the current line gave **no abort in 60 fresh loads** — 20 loads alone, 20 with a resident
  Qwen3-0.6B process on the GPU, and 20 with that second process on the older pin `1a5dcba2` — with
  four slots, unified KV, `--ctx-size 16384` and the game's tool-templated request asserted on every
  load, and 0 NaN lines. The report's 458-token prompt also cannot have carried a tool block: this
  model's own chat template gives 257 tokens with no tools, 629 with one, 726 with two and 851 with
  the four tools the game sends, so a 458-token request either had no tools or came from a different
  template. The guard itself is unchanged: NaN still aborts unless `GGML_HRX_NAN_CONTINUE` is set, and
  the current line logs `count`, `index range` and `contiguous` with it.

@github-actions

Copy link
Copy Markdown

Persistent review updated to latest commit 3fd090f

@bong-water-water-bong
bong-water-water-bong merged commit b56cdb2 into main Oct 18, 2026
8 checks passed
@bong-water-water-bong
bong-water-water-bong deleted the docs/2026-10-18-pins branch October 18, 2026 09:06
bong-water-water-bong pushed a commit that referenced this pull request Nov 20, 2026
…e#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).
bong-water-water-bong added a commit that referenced this pull request Nov 20, 2026
…#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]>
bong-water-water-bong added a commit that referenced this pull request Nov 20, 2026
42b544465 hrx: the fused F16 routed-FFN decodes the table with the layout it was written with (engine#2861) (#445)
cd5f6b570 hrx: revert #434's loomc builder rename, which moved the fork onto an API the pinned hrx-system predates (engine#2916) (#446)
d102fbe02 test-hrx-ops: accept the HIP add-on route for a kquant-covered few-token MUL_MAT, and give the routed-MoE row its verdict (engine#2774) (#447)
da1636929 hrx: a code object carries a content identity of its add-on tree (engine#2935) (#444)
3b7cbfb14 hrx: reuse the 2..8-token kquant kernel for 1-bit prefill, scoped by a measured format guard (engine#2832) (#443)
a7fd21ac9 hrx: the routing layout follows the consumer, so the plan keeps one table (engine#2861) (#438)
db6c8a9b3 Revert "hrx: select the existing 2..8-token kquant reuse kernel above the add-on's prefill matcher (engine#2832)" (#442)
b021440f3 tests: a whole run of device cases answers 77 too, not 0 (engine#2912, the other half) (#441)
f3db40313 tests: a skipped device case answers 77, not 0 (engine#2912) (#439)
1ac44fc38 hrx: select the existing 2..8-token kquant reuse kernel above the add-on's prefill matcher (engine#2832) (#440)

registry/architectures.json regenerated by tools/registry_build.py; --check, --check-pins and copyright
--check pass on the staged tree. hw-gate starts by itself for a pin-moving PR (engine#2759).

Co-authored-by: bong-water-water-bong <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant