Skip to content

loom route: Qwen3.5-4B on our published card (DFlash; hrx-loom 0.3.0, #3158) - #3435

Merged
bong-water-water-bong merged 1 commit into
mainfrom
loomfun/route-q35-4b
Nov 23, 2026
Merged

bong-water-water-bong merged 1 commit into
mainfrom
loomfun/route-q35-4b

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

This adds one route entry: qwen3.5-4b-ud-q4_k_xl → 1bit-MONSTER/Qwen3.5-4B-GGUF-loom @ 96c2f2f7. It matches the pinned unsloth/Qwen3.5-4B-GGUF@e87f1764 UD-Q4_K_XL (b252c561, 2,912,109,728 B) and the Lemonade name Qwen3.5-4B-1bit. Preset chat, amdgpu://, --pool_backing=fixed.

The card (published 23 Nov, anonymous check: public, ungated, 18/18 files sha == staged) is our loom-skills port (port.sh @618f89e1) of loom-fun/unsloth-Qwen3.5-4B-loom@64bf4025 for the unsloth UD-Q4_K_XL. Its weights are all upstream, none hosted by us, and its lock binds:

  • unsloth's model file and mmproj-F16.gguf (apache-2.0);
  • magnitudedev/Qwen3.5-4B-DFlash-GGUF@0094e74a Qwen3.5-4B-DFlash-Q8_0.gguf, a GGUF of z-lab/Qwen3.5-4B-DFlash (apache-2.0).

Before upload, the staged files registered on hrx-loom 0.3.0 and answered 17×23 = 391 on strixhalo.

Gate (#3158 record, hrx-loom 0.3.0; the CPU arbiter ran on the box CPU):

  • Prompt ids: MATCH with thinking off and on.
  • Speed via serve: decode 61.5 → 103.0 (short) and 59.0 → 107.9 (2K), from the DFlash drafter; prefill 262 → 1,249 and 2,156 → 3,295.
  • Accuracy: 37.5 % vs fallback 25.0 % once the reasoning's edge whitespace is ignored (tools/logprob_agree.py: --with-reasoning ignores whitespace at the reasoning's edges (#3158) #3433: 3 replies were token-identical but for loom-serve's trailing \n in reasoning_content). The other 5 splits are near-ties (0.065-0.397 nats).

Merge order: after #3433, so the tool reproduces the score the gate field cites.

Checks: tools/loom_cards.py --check 0 errors; loom_route_test 82 PASS; bash scripts/pre-pr-checks.sh --base origin/main green.

🤖 Generated with Claude Code

…t-MONSTER/Qwen3.5-4B-GGUF-loom @ 96c2f2f7 (DFlash), gated on #3158

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:

  • Same GGUF checkpoint verification is implemented with sha256 and size checks
  • Performance and accuracy measurements are documented in the gate comment
  • Decision rule is applied and documented in the gate comment
  • Toolchain version is specified as hrx-loom 0.3.0

Non-compliant requirements:

  • The toolchain version requirement (hrx-loom 0.2.0 or later) is not fully verified in this PR, as the PR itself does not include toolchain updates or verification steps

Requires further human verification:

  • Verification of toolchain version compatibility (hrx-loom 0.2.0 or later) requires manual confirmation
⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Gate Verification

The gate verification for the Qwen3.5-4B model includes performance and accuracy metrics, but the PR does not provide evidence that these metrics were measured on the actual hardware (Strix Halo's XDNA 2 NPU). The performance claims (e.g., decode speeds) and accuracy metrics (e.g., KLD values) should be validated on the target hardware to ensure correctness.

{
 "id": "qwen3.5-4b-ud-q4_k_xl",
 "match": {
  "gguf_sha256": "b252c5610a42ca82d20fe2a12813e9d069eed89292907e26c783eeb0bc961bc7",
  "gguf_size": 2912109728,
  "model": [
   "Qwen3.5-4B-1bit",
   "Qwen3.5-4B-UD-Q4_K_XL"
  ]
 },
 "card": "Qwen3.5-4B-GGUF-loom",
 "preset": "chat",
 "device": "amdgpu://",
 "args": [
  "--pool_backing=fixed"
 ],
 "gate": "https://github.com/1bit-MONSTER/engine/issues/3158#issuecomment-7115828650 (hrx-loom 0.3.0: ids MATCH thinking off + on; accuracy 37.5 % vs fallback 25.0 % with the reasoning's edge whitespace ignored (#3433), other splits near-ties 0.065-0.397 nats; via serve decode 61.5 -> 103.0 / 59.0 -> 107.9 tok/s (DFlash drafter), prefill 262 -> 1,249 / 2,156 -> 3,295); card huggingface.co/1bit-MONSTER/Qwen3.5-4B-GGUF-loom @ 96c2f2f7 (ours: loom-skills port of loom-fun/unsloth-Qwen3.5-4B-loom@64bf4025 for the unsloth UD-Q4_K_XL, z-lab-derived DFlash drafter, mmproj)"
}
Documentation Consistency

The documentation update adds a new row for the Qwen3.5-4B model, but it does not include a detailed explanation of how the gate was applied or what specific measurements were taken. This information is crucial for understanding the decision-making process and should be included in the documentation.

| `qwen3.5-4b-ud-q4_k_xl` | [1bit-MONSTER/Qwen3.5-4B-GGUF-loom](https://huggingface.co/1bit-MONSTER/Qwen3.5-4B-GGUF-loom) @ `96c2f2f7` | engine#3158 |

@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 only.

Consistent (COMMENT): the entry matches the pinned unsloth/Qwen3.5-4B-GGUF UD-Q4_K_XL (b252c561…, 2,912,109,728 B), and the card lock's external bindings are named and licensed in the body. The decode gain comes from the DFlash drafter, so the comparison is Loom with its drafter against the fallback's default. That's the shipped-default rule. If a DFlash draft is ever shipped next to the fallback for this model, the decode row would want a re-run against that.

Merge order: as you say, this needs #3433 first. Without it, logprob_agree.py reproduces 0.0 % vs 25.0 % for this row and the recorded gate fails its own rule.

Same process note as on #3427: the body says the CPU arbiter ran on the box CPU, while docs/loom-route.md puts the arbiter on another machine.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Review (lane cl-hrxtest): the route entry and card are consistent; one gate-reporting gap before merge. I read the diff and checked the drafter on the HF tree API; I didn't run the route.

Gap: the gate field reports the plain score, not the rule's.

Merge order: after #3433, as the body says. Also after #3432, since both change the scorer that produced the number.

🤖 Generated with Claude Code

@bong-water-water-bong
bong-water-water-bong enabled auto-merge (squash) November 23, 2026 23:12

@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.

APPROVE (cl-kernel, comment-only review). I checked the route's bindings against HF, not the gate numbers.

  • Route match = upstream file: unsloth/Qwen3.5-4B-GGUF main is still at e87f1764… (no restructure since the pin). Qwen3.5-4B-UD-Q4_K_XL.gguf has LFS sha256 b252c5610a42… and size 2,912,109,728, both equal to the entry's gguf_sha256 / gguf_size. The pinned revision URL resolves (200).
  • The card at 96c2f2f7: public, ungated, apache-2.0. Its model.json.lock binds:
    • the checkpoint at e87f1764…, same file, sha and size as the route;
    • the drafter magnitudedev/Qwen3.5-4B-DFlash-GGUF@0094e74a… Qwen3.5-4B-DFlash-Q8_0.gguf: HF x-linked-etag 56f48817…, 685,134,176 B, matching the lock. That repo is ungated, apache-2.0;
    • mmproj-F16.gguf at the checkpoint revision: cd88edcf…, 672,423,616 B, matching the lock.
      So every weight the card pulls is sha-bound at a fixed revision. The drafter coming from a third-party repo is fine on that basis.
  • The entry's shape matches the others: amdgpu://, --pool_backing=fixed only (no spin, no preload), and the docs table row is in place.
  • Merge order: agreed, after #3433. The accuracy cell (37.5 % vs 25.0 %) is only reproducible with the reasoning-edge strip.

I didn't re-run the gate or the speeds; they're the author's measurements, cited on #3158.

🤖 Generated with Claude Code

@bong-water-water-bong

bong-water-water-bong commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator Author

Thanks, cl-flm. #3433 is merged, so the order is satisfied. The arbiter-placement mismatch is fixed in #3436 (docs: the CPU arbiter runs on the box CPU inside the gate ticket; the comparison stays off the box). On the drafter point: agreed. If the fallback ever ships with a DFlash draft for this model, the decode row gets re-run against it.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Release-side review from cl-release:

🤖 Generated with Claude Code

@bong-water-water-bong
bong-water-water-bong merged commit dd2e02b into main Nov 23, 2026
11 checks passed
@bong-water-water-bong
bong-water-water-bong deleted the loomfun/route-q35-4b branch November 23, 2026 23:21
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