Repository navigation
Pin llama.cpp c9283cf: HRX ZAYA decode 67 -> ~90 tok/s (fork #36-#40) - #232
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Docs7 for 1bit-monster/engine
Commit |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
…es the tool (engine#3216) `unwired()` matched the tool's basename anywhere in the reference sources, so a tool wired for a *different subcommand* counted as wired: `tools/registry_build.py` got an eight-arm `--self-test` in #3214 while CMakeLists.txt named it only for `--check-gaps`/`--check-pins`/`--check`, and this row -- the one whose subject is exactly that -- said "94 self-test-carrying tool(s), all referenced" while those arms ran nowhere. The rule is now per LINE: some non-comment reference line must name the tool AND carry a self-test marker. The docstring already said `--self-test` alone is not a reference, because the flag's spelling appears in every file that has one; the half it was missing is that the name alone is not one either. Blast radius measured on `main` = `20594af` before changing anything (the number the issue asked for): tools with a --self-test 94 named beside a self-test marker 90 named ONLY for another flag 4 tools/ci/census_counters_check.py (.github/workflows/census.yml:76) tools/ci/dupdef_check.py (CMakeLists.txt:387) tools/ci/stale_expectations_check.py (CMakeLists.txt:788) tools/registry_build.py (CMakeLists.txt:1639) Four, not a class -- so this lands as the hard rule with the rows wired in the same change instead of an advisory phase that would have to be revisited. `registry_build_self` is NOT added here: main gained it independently in #3212/#3217 (`if(Python3_Interpreter_FOUND)` block), and adding it a second time is the `add_test … already exists` configure error that reddened #3220. The other three are new: add_python_test(census_counters_self … --self-test) all three pass here add_python_test(dupdef_check_self … --self-test) add_python_test(stale_expectations_self … --self-test) plus two arms in the tool's own `--self-test`: "a tool named beside a `--self-test` is wired" and "a tool named ONLY for another flag is unwired", the live case written against `registry_build.py` itself. `tool_selftest_wired_check --self-test` rc 0; the check itself reports 94 of 94 wired, 0 unwired; `ci_targets_check` "none new"; `python_test_order_check --check` ok; `copyright.py --check` rc 0. Rebased onto `10fdd3d` (#3211): the tree configures (`cmake_configure_check --check`, the row the duplicate would have failed) and all four self-test rows pass through ctest there, `registry_build_self` as main's own #232.
…es the tool (engine#3216) (#3219) `unwired()` matched the tool's basename anywhere in the reference sources, so a tool wired for a *different subcommand* counted as wired: `tools/registry_build.py` got an eight-arm `--self-test` in #3214 while CMakeLists.txt named it only for `--check-gaps`/`--check-pins`/`--check`, and this row -- the one whose subject is exactly that -- said "94 self-test-carrying tool(s), all referenced" while those arms ran nowhere. The rule is now per LINE: some non-comment reference line must name the tool AND carry a self-test marker. The docstring already said `--self-test` alone is not a reference, because the flag's spelling appears in every file that has one; the half it was missing is that the name alone is not one either. Blast radius measured on `main` = `20594af` before changing anything (the number the issue asked for): tools with a --self-test 94 named beside a self-test marker 90 named ONLY for another flag 4 tools/ci/census_counters_check.py (.github/workflows/census.yml:76) tools/ci/dupdef_check.py (CMakeLists.txt:387) tools/ci/stale_expectations_check.py (CMakeLists.txt:788) tools/registry_build.py (CMakeLists.txt:1639) Four, not a class -- so this lands as the hard rule with the rows wired in the same change instead of an advisory phase that would have to be revisited. `registry_build_self` is NOT added here: main gained it independently in #3212/#3217 (`if(Python3_Interpreter_FOUND)` block), and adding it a second time is the `add_test … already exists` configure error that reddened #3220. The other three are new: add_python_test(census_counters_self … --self-test) all three pass here add_python_test(dupdef_check_self … --self-test) add_python_test(stale_expectations_self … --self-test) plus two arms in the tool's own `--self-test`: "a tool named beside a `--self-test` is wired" and "a tool named ONLY for another flag is unwired", the live case written against `registry_build.py` itself. `tool_selftest_wired_check --self-test` rc 0; the check itself reports 94 of 94 wired, 0 unwired; `ci_targets_check` "none new"; `python_test_order_check --check` ok; `copyright.py --check` rc 0. Rebased onto `10fdd3d` (#3211): the tree configures (`cmake_configure_check --check`, the row the duplicate would have failed) and all four self-test rows pass through ctest there, `registry_build_self` as main's own #232. Co-authored-by: bong-water-water-bong <[email protected]>
Moves
third_party/llama.cpp45c1770 -> c9283cf (fork #36-#40). Regenerates the registry, and adds adocs/hrx.mdentry.ZAYA1-8B HRX0 decode 67 -> ~90 tok/s. Each step was measured in interleaved A/B runs on strixhalo:
zaya.cpp. Bitwise the same output, +2.4%.Each new
.loomfile carries a reference kernel andcheck.casedifferentials that pass underiree-test-loom --sanitizer=access.RFC #213 decode gate (tg128, HRX = this pin, Vulkan = weekly build, interleaved):
The 27B is the open gap. HRX also draws 150 W and peaks at 91 °C, against Vulkan's 91 W and 59 °C. This UD file is mostly Q5_K and IQ4_XS, which miss HRX's Q4_K/Q6_K token-1 fast paths. Routing the generic WMMA matmuls to the decode GEMV only reaches 7.55 tok/s, so it needs its own profile (it's a hybrid with gated delta-net layers). Separately, the HRX IQ4 decode fix (fork branch
1bit/hrx-iq4-fix) isn't merged yet.🤖 Generated with Claude Code