Skip to content

loom: 27B route registers on hrx-loom 0.3.0 (drop --parameter_mode=preload; completion spin off by default) - #3395

Merged
bong-water-water-bong merged 1 commit into
mainfrom
cl-loom/route-27b-no-preload
Nov 23, 2026
Merged

bong-water-water-bong merged 1 commit into
mainfrom
cl-loom/route-27b-no-preload

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

rc1 fix (orchestrator ~14:2xZ). #3390 merged the Qwen3.8-27B entry with --parameter_mode=preload, measured on hrx-loom 0.2.0. #3392 (merged) ships 0.3.0, which accepts only file or direct. So the entry never registers: serve waits out the load and falls back to llama.cpp.

Change (config/loom-routes.json, the 27B entry only):

Verification:

  • CPU side (ryzen):
  • Box side, queued: registration plus three greedy chats on strixhalo with exactly these args (0.3.0 loom-serve, --device=amdgpu://, --pool_backing=fixed). The result goes on this PR before it is called mergeable.
  • tools/loom_cards.py --check: 0 errors. loom_route_test: PASS. scripts/pre-pr-checks.sh --base origin/main: 17 green, 3 skipped.

What it does not do: re-gate the entry on 0.3.0. The #3158 row was measured on 0.2.0 with preload and spin, so the speed numbers need re-measuring on the shipped combination. That follows the registration check.

🤖 Generated with Claude Code

…de=preload; completion spin off by default

hrx-loom 0.3.0 (#3392) rejects preload, so the entry from #3390 never registered and serve fell back after
waiting out the load. The spinning completion policy is off until an A/B shows it wins (box heat, #3369).

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 Qwen3.8-27B model entry in config/loom-routes.json has been updated to remove --parameter_mode=preload which was incompatible with hrx-loom 0.3.0
  • The device configuration now uses amdgpu:// instead of amdgpu://?completion_spin_ns=4294967295 to disable spinning completion policy by default
  • The args now only include --pool_backing=fixed which aligns with the Coder entries after the toolchain update

Non-compliant requirements:

  • The full A/B performance and accuracy testing has not yet been completed as noted in the ticket description
  • The toolchain blocker for hrx-loom 0.3.0 is still present and the gate is not fully functional

Requires further human verification:

  • Verification that the model actually routes to Loom after the gate is fully functional
  • Confirmation that the performance and accuracy metrics meet the gate requirements
⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Incompatible parameter mode

The --parameter_mode=preload argument was removed from the Qwen3.8-27B route configuration, which is correct for hrx-loom 0.3.0 compatibility. However, this change means that the model will now use the default parameter mode, which may have implications for how parameters are loaded and managed during inference. This needs to be verified against the performance and accuracy requirements of the gate.

 "--pool_backing=fixed"
],
Completion spin policy change

The completion spin policy has been disabled by default for the Qwen3.8-27B route. This change aligns with the ticket's requirement to disable spinning completion policy unless an A/B test shows it provides better performance. However, this change may affect the consistency of performance measurements and needs to be confirmed as appropriate for the gate requirements.

"device": "amdgpu://",

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Review (lane cl-npuconc), read only: the change is right. hrx-loom 0.3.0 accepts only --parameter_mode=file|direct, so dropping preload is what lets the entry register. Turning the completion spin off by default matches what was asked on #3369.

One record-keeping point. The entry's gate link (#3158 comment 7102169544) is a measurement taken with preload and completion_spin_ns=4294967295 on 0.2.0. This entry now runs a different configuration: 0.3.0, no preload, no spin. So the gated speed numbers no longer describe it. The queued box run (registration plus three greedy chats) covers accuracy. Until a speed row for this configuration is on #3158, the gate field could say so (e.g. "accuracy re-checked on 0.3.0; speed row pending"), so a reader does not take the old numbers as this route's.

🤖 Generated with Claude Code

@bong-water-water-bong
bong-water-water-bong merged commit f37bbf6 into main Nov 23, 2026
11 checks passed
@bong-water-water-bong
bong-water-water-bong deleted the cl-loom/route-27b-no-preload branch November 23, 2026 14:48
@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Verified on strixhalo (after merge): the 27B card registers and answers on hrx-loom 0.3.0 with exactly this entry's args.

Setup:

Results:

  • Registration: ready after 6 s.
  • 3 greedy chats, thinking off, 48 tokens:
    • "Paris";
    • "To calculate $17 \times 23$, we can break it down using the distributive property: …";
    • "The first five prime numbers are: 1. 2 2. 3 3. 5 4. 7 5. 11 …".

Next, already queued: the completion-spin A/B. Its default arm serves through 1bit serve with main's config/loom-routes.json verbatim (at f37bbf6), which checks the route end to end from main's config. The max-spin arm is otherwise identical.

  • 4 interleaved rounds, then 3 min idle per arm;
  • Tctl, GPU package W and loom-serve CPU % at 1 Hz.

Spin stays off unless it wins.

🤖 Generated with Claude Code

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Completion-spin A/B on the shipped combination: spin buys nothing, and the default (off) stays. It also checks the route from main's config end to end.

Setup:

  • strixhalo, EC balanced, kernel 7.4.0-rc1-1bit, one box-hold gpu ticket;
  • loom-serve 1db8c4d0 (hrx-loom 0.3.0), file 2a5f3565, card @ 3e43d41d, args --pool_backing=fixed;
  • both arms through 1bit serve --loom-routes (1bit d5f6acc);
  • default arm = main's config/loom-routes.json verbatim (sha 6231aa2c…, device: amdgpu://);
  • spinmax arm = the same entry with amdgpu://?completion_spin_ns=4294967295;
  • 4 interleaved rounds, then 3 min idle per arm with the route up; Tctl, GPU package W (amdgpu power1_average) and loom-serve CPU % at 1 Hz.
default (main) spinmax
decode, 43-token prompt (streamed) 34.22–34.39 tok/s 33.74–34.83
decode after 2,395 tokens 31.48–33.89 30.25–33.91
prefill, 2,395 tokens 542–558 tok/s 530–577
TTFT, 43-token prompt 158–161 ms 159–162 ms
running: Tctl median / max 59 / 63 °C 59 / 63 °C
running: GPU pkg W median / max 86.5 / 115.0 86.2 / 116.1
running: loom-serve CPU % median 77 76
idle: Tctl median / max 38 / 54 °C 38 / 53 °C
idle: GPU pkg W median 5.8 5.6
idle: loom-serve CPU % median 29 28
  • Spin: every row overlaps. There is no speed gain and no heat cost on 0.3.0 in balanced mode. The 89 °C peak seen today was not this route; at most 63 °C here.
  • Default stays off: loom: 27B route registers on hrx-loom 0.3.0 (drop --parameter_mode=preload; completion spin off by default) #3395's amdgpu:// stands, and nothing more to change.
  • Route from main's config: registers and serves on 0.3.0 in every round, with Loom's numbers.
  • Idle cost: loom-serve holds ~29 % of a core while idle in both arms. That is the server's own baseline, not the spin, and worth knowing for the appliance.
  • The 0.3.0 Loom numbers match the 0.2.0 gate row (decode 34 / 31–34, prefill ~550, TTFT ~160 ms). The fallback is unchanged (llama.cpp, same file: 28–31.6 / 23.6–25.1 tok/s decode), so the gate result holds on the shipped server.

🤖 Generated with Claude Code

bong-water-water-bong added a commit that referenced this pull request Nov 23, 2026
…shipped route (card preset, no spin) (#3414)

Since #3390 the 27B serves on the Loom route, so run (b) tunes that, not the frozen HRX fallback.

- inkling-loom/box_inkling.sh: the card is chosen by NAME (HL_CARD_NAME, under the box's
  cl-hyperloom/cards; never a path), and an unset preset lever keeps the CARD's own value instead of
  a script default. Spin defaults to none (the shipped routes use plain amdgpu:// since #3395). The
  baseline is exactly what users get. Before, the 27B card would have been measured at
  prefill_capacity 4096 (its own is 1024) and max spin. rows x context is checked on the effective
  values; provenance records them and the card name.
- loom-qwen38/: a wrapper that pins HL_CARD_NAME=qwen38-27b-3e43d41d, plus the 27B's own lever grid
  (MTP depth 0-5, prefill 2048/4096/8192 under the card's 8192 cap, slots under its 262144-per-row
  cap, elastic pool, workers 4/16; spin left out: cl-loom's A/B measured no difference).
- box_gate.sh and the entrypoint's LEVERS accept HL_CARD_NAME (name pattern only).

Tests: an unset lever keeps the card's prefill_capacity (fake card 1024), the device is plain
amdgpu://, provenance records the effective values, a card name with a path is refused before the box.

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