Skip to content

loom: empty the route table again -- the 27B entry's accuracy half compared "" with "" (engine#3158) - #3305

Merged
bong-water-water-bong merged 1 commit into
mainfrom
cl-loom/revert-3261
Nov 22, 2026
Merged

bong-water-water-bong merged 1 commit into
mainfrom
cl-loom/revert-3261

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

Reverts #3261 (1dfd3e82): config/loom-routes.json goes back to an empty table.

Why

The entry routes Qwen3.8-27B UD-Q4_K_XL to Loom on "greedy agreement 5/5 = 100 %". The artifact that number comes from has no tokens in it. row27b-ud-fair/agree.json (written 23:30Z 11-21, the row the entry's gate link points at), read from the strixhalo backup at ryzen ~/backups/strixhalo-20261121/extras/.cache/scratch-cl-hrxkern/gate3158/:

identical/total 5/5
target_tokens 0  identical True  a_window ''  b_window ''     (x5)

Neither engine produced a token. The 16-token budget went to reasoning and the request carried no thinking control (root cause on #3158, 23:40Z to 00:30Z, where someone already wrote "do not apply either verdict"). docs/loom-route.md admits an entry only after both halves of the gate pass. #3261's own body called it "DELIBERATELY NOT MERGE-READY".

The perf half (2.132x prefill / 1.86x decode) is not in question. The entry comes back once an agreement run produces rows that carry tokens.

Effect

  • The shipped appliance doesn't change: it has no card under ~/.cache/1bit/loom-cards (checked on strixhalo c35: there is no loom-serve and no card), so the entry already fell back to llama.cpp there.
  • A box that has the card fetched goes back to the llama.cpp route for this one file.
  • tests/loom_route.sh's "built-in (empty) table" row becomes true again.

bash scripts/pre-pr-checks.sh --base origin/main: 16 green, 3 skipped (no gpu-kernels tree, submodules not initialised), 1 cannot-tell (no card tree in CI).

Refs #3158. Not run on hardware: this is a config revert.

🤖 Generated with Claude Code

…mpared "" with "" (engine#3158)

Reverts 1dfd3e8 (#3261). The entry routed Qwen3.8-27B UD-Q4_K_XL to Loom citing "greedy
agreement 5/5 = 100 %". The artifact behind that number (strixhalo
~/.cache/scratch-cl-hrxkern/gate3158/row27b-ud-fair/agree.json, written 23:30Z 11-21, the row the
entry's gate link points at; copy in ryzen ~/backups/strixhalo-20261121/extras/) is five rows of
target_tokens 0, a_window "", b_window "", identical true: neither engine produced a token
(16-token budget spent on reasoning, no thinking control in the request; engine#3158 23:40Z-00:30Z).

docs/loom-route.md admits an entry only after the model passes the gate on speed AND accuracy, and
the PR's own body said it was not merge-ready. The perf half (2.132x / 1.86x) stands and is kept in
the thread; the entry comes back with an agreement run whose rows carry tokens.

No behaviour change on the shipped appliance (no card in ~/.cache/1bit/loom-cards, so the entry
fell back to llama.cpp there); a box with the card fetched goes back to the llama.cpp route.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

Copy link
Copy Markdown

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

🎫 Ticket compliance analysis 🔶

3158 - Partially compliant

Compliant requirements:

  • The PR correctly reverts the route table to an empty state, aligning with the requirement that entries are only added after passing the gate
  • The PR description clearly states that the previous entry was based on invalid data (empty tokens) and that the decision rule was not properly applied

Non-compliant requirements:

  • The toolchain blocker related to schema version 2 is not resolved in this PR

Requires further human verification:

  • The toolchain blocker needs to be resolved before the Loom route can be properly tested and enabled
⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Reverting invalid route entry

The PR reverts an entry that was incorrectly added to the Loom route table. The entry was based on a flawed accuracy measurement where both engines produced no tokens, leading to a 100% greedy agreement on empty strings. This violates the gate requirements which mandate that both performance and accuracy must be validated with actual token outputs.

{
 "about": "Model -> Loom card for 1bit serve's GPU route (docs/loom-route.md). A .gguf served on the GPU (--device auto or hrx) whose entry matches runs on loom-serve (AMD's Loom programs on the HRX runtime); every other model runs on the llama.cpp fork's llama-server as before. An entry is added only after the model passed the Loom-vs-fallback gate (interleaved A/B speed and accuracy on strixhalo, docs/loom-route.md \"Gate\"), with the gate's result linked in `gate`. Empty until a model passes.",
 "routes": []
}

@bong-water-water-bong
bong-water-water-bong enabled auto-merge (squash) November 22, 2026 15:02
@bong-water-water-bong
bong-water-water-bong merged commit 94d2da3 into main Nov 22, 2026
11 checks passed
@bong-water-water-bong
bong-water-water-bong deleted the cl-loom/revert-3261 branch November 22, 2026 15:11
bong-water-water-bong added a commit that referenced this pull request Nov 22, 2026
…r bytes; correct two gap notes (#3336)

docs/loom-route.md said a same-model card's gate "measures the card's bytes". A #3158 gate row is valid
only on the file we ship; a row on another upload measures a model we do not serve (the void-row class
#3305 reverted). The card is rebuilt or re-pointed at our pinned checkpoint first.

Two `gap` notes (tools/loom_cards.py, which --build writes, and config/loom-cards.json):
- MiniCPM5-1B: the starter's chat block is not covered by config only. It needed BOS <s> and a
  thinking toggle by hand, and the v2 package fails the gate (engine#3320).
- Qwen2.5-Coder-1.5B: not config only. Our GGUF has an untied Q6_K output.weight, and the card's
  programs are generated for tied embeddings, so the generator has to be rerun (cl-loomfun found this).

Co-authored-by: bong-water-water-bong <[email protected]>
Co-authored-by: Claude Opus 5.5 <[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