Skip to content

Laya: long documents go to HRX (no ROCm in the route policy) - #276

Merged
bong-water-water-bong merged 2 commits into
mainfrom
laya-longdoc-hrx
Oct 2, 2026
Merged

bong-water-water-bong merged 2 commits into
mainfrom
laya-longdoc-hrx

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

Moves Laya's long_doc class from the lean ROCm build to HRX. This is the owner's 2026-10-01 direction: HRX only, zero ROCm.

Why it's safe now. Long documents went to ROCm while HRX prefilled Qwen3.8-27B UD-Q4_K_XL at 97-99 tok/s. Since the HRX prompt-matmul routing (fork #55, pinned by #273):

  • pp512 335 tok/s, pp2048 310 (llama-bench);
  • a 14,435-token prompt through 1bit serve --device hrx at 265 tok/s, same text (bcloud-ae).

Fork #61, in review, lifts prompt remainders further (pp1862 172 -> 235).

Hold until fork #59 is pinned. HRX failed prompts past 32,768 KV rows (copy_transpose_f16's range), and #59 fixes that (pp512 at d32768: fails -> 227 tok/s). Long documents are where that matters. serve defaults HRX to a 32K context, so the default path is fine today, but this should merge after the #59 pin.

Changes:

  • config/route-policy.json: long_doc -> hrx, with the measured reason; the about text says what HRX doesn't run, Lemonade serves.
  • docs/laya.md and docs/serve.md: describe the HRX-only policy.

The Laya route tests use their own policy file (tests/route-policy-e2e.json), so they're unaffected.

🤖 Generated with Claude Code

The engine's GPU route is HRX only since 2026-10-01. Long documents went to
the lean ROCm build while HRX prefilled Qwen3.8-27B at 97-99 tok/s; since the
HRX prompt-matmul routing (fork #55, engine #273) it prefills 335 tok/s pp512
and a 14,435-token prompt through serve at 265 tok/s. Every Laya class now
routes to HRX. Past 32K of context HRX needs fork #59 (pinned separately).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@context7

context7 Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Docs7 for 1bit-monster/engine

Result Status Action
Deployment ➖ Not used —
Content review ➖ Did not run. This site has no agent runs available this month. Wait for the monthly reset or check your Docs7 plan. —

Commit 0125323

@bong-water-water-bong
bong-water-water-bong merged commit 698e55a into main Oct 2, 2026
10 of 11 checks passed
@bong-water-water-bong
bong-water-water-bong deleted the laya-longdoc-hrx branch October 2, 2026 03:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant