Skip to content

docs: retire the NPU-prefill -> Loom-decode KV handover - Loom re-prefills its prompt, and the co-execution re-scope missed its KLD gate - #3464

Merged
bong-water-water-bong merged 2 commits into
mainfrom
fix/3157-retire-hybrid-handover
Nov 24, 2026
Merged

bong-water-water-bong merged 2 commits into
mainfrom
fix/3157-retire-hybrid-handover

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

What was wrong

Four docs still described the NPU-prefill -> Loom-decode KV handover as the coming design:

That premise is measured dead in the issue: a generative Loom model accepts its prompt only as
chat text and re-prefills it, so a prefilled KV cannot be delivered (comments 2026-11-22), and the
re-scope to NPU + GPU co-execution was declined when its GPU half, #3349, failed the KLD gate
(closed NOT_PLANNED 2026-11-23). The docs were the only place still selling it as scheduled.

The retirement statement (canonical, in KNOWN-ISSUES.md)

Status: RETIRED — no hybrid shape is scheduled, and --device hybrid keeps decoding on the
HRX llama-server. The issue stays open as the design record (rfc); this entry is the record
the docs point at.

with the two measured reasons: (1) at the pinned loom-serve the text service accepts a generative
prompt only as chat text — /v1/sequences is ENCODE-only and a generative request gets a 404 —
so an NPU prefill in front of Loom adds its own time and Loom still prefills; (2) the co-execution
re-scope's GPU half (#3349) closed NOT_PLANNED on a measured accuracy miss.

Verified here, not taken from the thread

  • The code claim, at both pins — ROCm/hrx-system e2c41a720363 (hrx-loom 0.3.0,
    config/loom.config) and 0cd370f2baaa (0.2.0):
    loom/src/loom/serve/service/text/service.c:244-261 accepts /v1/sequences only when
    model_mode == LOOM_SERVE_TEXT_MODE_ENCODE; a generative request is rejected 404 "use the
    model's declared endpoint or /v1/checkpoints/NAME; generative models also support
    /v1/chat/completions/input_tokens". The enqueue path otherwise takes only chat completions, the
    input-token count and named checkpoints (a pin on state Loom itself computed), i.e. no HTTP
    surface takes KV/activations. At 0.2.0 the same block is :247-265. Full snippet in the control
    section below.
  • The measured numbers are the ones recorded in #3157 / #3349 and quoted, not re-run here;
    they are not invented for this PR. What this PR changes is the conclusion the docs state.

Changes

Docs only; no code, CI, config or tests.

Control

The script asserts (a) no current doc still promises the handover, (b) each of the four says
retired + gives the measured reason + links #3349, (c) KNOWN-ISSUES carries the retirement entry
with the #3349 numbers. Run from a tree root; the "before" tree is origin/main 1bb46320's five
files extracted with git archive.

$ cd ~/.cache/scratch-3157/before && sh retirement_control.sh
FAIL  stale handover promise still in the docs:
      docs/hybrid.md:33:the provider's KV cache to Loom decode instead of the HRX llama-server is tracked in
      docs/hybrid.md:34:[#3157](https://github.com/1bit-MONSTER/engine/issues/3157); until that lands, hybrid decodes on the
      docs/hrx.md:72:  decode is tracked there.
      docs/PORTING.md:26:...coverage [#3156]..., hybrid KV handover [#3157] |
      docs/architecture.md:51:  handing it to Loom decode instead is [#3157](...).
FAIL  docs/hybrid.md does not say retired
FAIL  docs/hybrid.md does not link #3349
ok    docs/hybrid.md gives the measured reason
FAIL  docs/hrx.md does not say retired
FAIL  docs/hrx.md does not link #3349
FAIL  docs/hrx.md gives no measured reason
FAIL  docs/PORTING.md does not say retired
FAIL  docs/PORTING.md does not link #3349
FAIL  docs/PORTING.md gives no measured reason
FAIL  docs/architecture.md does not say retired
FAIL  docs/architecture.md does not link #3349
FAIL  docs/architecture.md gives no measured reason
FAIL  KNOWN-ISSUES has no engine#3157 retirement entry
FAIL  KNOWN-ISSUES does not record the #3349 measurement
exit=1

$ cd ~/wt/issue-3157 && sh retirement_control.sh
ok    no doc still tracks the handover as coming
ok    docs/hybrid.md says retired
ok    docs/hybrid.md links #3349
ok    docs/hybrid.md gives the measured reason
ok    docs/hrx.md says retired
ok    docs/hrx.md links #3349
ok    docs/hrx.md gives the measured reason
ok    docs/PORTING.md says retired
ok    docs/PORTING.md links #3349
ok    docs/PORTING.md gives the measured reason
ok    docs/architecture.md says retired
ok    docs/architecture.md links #3349
ok    docs/architecture.md gives the measured reason
ok    KNOWN-ISSUES has the engine#3157 retirement entry
ok    KNOWN-ISSUES records #3349 NOT_PLANNED with the measured KLD
PASS  engine#3157 retirement is stated in every current doc
exit=0

Load-bearing code check, 0.3.0 pin:

$ gh api 'repos/ROCm/hrx-system/contents/loom/src/loom/serve/service/text/service.c?ref=e2c41a720363' -H 'Accept: application/vnd.github.raw' | sed -n '244,261p'
  const bool input_count = iree_string_view_equal(
      request->path, IREE_SV("/v1/chat/completions/input_tokens"));
  const bool encodes =
      service->scheduling.model_mode == LOOM_SERVE_TEXT_MODE_ENCODE;
  const bool sequence_endpoint =
      iree_string_view_equal(request->path, IREE_SV("/v1/sequences"));
  if (!iree_string_view_equal(request->method, IREE_SV("POST")) ||
      (encodes ? !sequence_endpoint
               : (!input_count &&
                  !iree_string_view_equal(request->path,
                                          IREE_SV("/v1/chat/completions"))))) {
    return loom_serve_text_http_reject(
        &service->telemetry, connection, receipt, 404, "Not Found",
        iree_make_status(
            IREE_STATUS_NOT_FOUND,
            "use the model's declared endpoint or /v1/checkpoints/NAME; "
            "generative models also support /v1/chat/completions/input_tokens"),
        service->host_allocator);
  }

Gate

scripts/pre-pr-checks.sh --tree-only --base origin/main:

pre-pr-checks: all 16 check(s) green, 2 skipped, 0 could not be told, 2 open-PR row(s) not run (--tree-only)

The two skips are the environment rows, each with its own reason: tools/ci/hip_f16_audit.py and
tools/ci/kernel_id_selftest.py ("found no gpu-kernels tree").

Not verified, and why

Review risk

Refs #3157, #3349

…fills its prompt, and the co-execution re-scope missed its KLD gate

Engine#3157 designed handing the NPU prefill's KV cache to Loom decode instead of the HRX
llama-server (L4 of the Loom GPU switch). Four docs still described it as the coming design
(docs/hybrid.md:32-35, docs/hrx.md:70-72, docs/PORTING.md:26, docs/architecture.md:49-53). It is
retired on two measurements, both recorded in #3157:

- A generative Loom model takes its prompt only as chat text and re-prefills it. At the pinned
  loom-serve, ROCm/hrx-system e2c41a720363 (hrx-loom 0.3.0, config/loom.config), the text service
  accepts /v1/sequences only in ENCODE mode and answers a generative request to it 404 "use the
  model's declared endpoint or /v1/checkpoints/NAME" -
  loom/src/loom/serve/service/text/service.c:244-261 (the 0.2.0 file 0cd370f2baaa: :247-265). The
  enqueue path otherwise takes only /v1/chat/completions, /v1/chat/completions/input_tokens and
  /v1/checkpoints/NAME (a pin on a session Loom itself ran), so no HTTP surface takes KV or
  activations: an NPU prefill in front of Loom adds its own time and Loom still prefills the
  prompt. Measured 2026-11-22 on strixhalo: replaying 780 tokens as text costs 62-65 ms on
  Qwen3-0.6B, and Loom's prefill is 8.1-15.2k tok/s there and 362-576 tok/s on Qwen3.8-27B.
- The 2026-11-23 re-scope to NPU + GPU co-execution (a public 1,335 tok/s-at-8K bar) failed its GPU
  half's accuracy gate: #3349 (int4 x int4 on the GPU matrix units) closed NOT_PLANNED the same
  day, weight-only mean KLD 0.0678 +/- 0.0020 (int4-k128 RTN) and 0.0499 +/- 0.0013 (AMD Quark AWQ
  int4-k128) against the 0.01 gate and the shipped UD-Q4_K_XL's 0.0052 +/- 0.0002 - before the
  activations a real iu4 x iu4 kernel also needs. The baseline the bar was set against measured
  396-451 tok/s (fallback) and 524-537 tok/s (Loom) at 8,205 prompt tokens.

- docs/hybrid.md: a "Loom: the handover is retired" section; --device hybrid stays the only
  handover and still decodes on the HRX llama-server as the page describes
- docs/hrx.md (Direction: Loom on the GPU), docs/architecture.md (Routes) and docs/PORTING.md
  (step 2L): the handover is retired, #3349 is named, and each links the record
- KNOWN-ISSUES.md: a new engine#3157 entry with the canonical retirement statement the docs point
  at, the two measurements, and what a hybrid would need before it can be designed again
- docs/releases.md and the README keep their dated entries: those are the record of what was said
  then, not current claims

Docs only; no code, CI, config or tests. Refs #3157, #3349.

Evidence

Control: the stale promise is present on origin/main 1bb4632 and gone here. The script asserts
(a) no current doc still promises the handover, (b) each says retired + gives the measured reason +
links #3349, (c) KNOWN-ISSUES carries the retirement entry with the #3349 numbers. It runs from a
tree root; the "before" tree is origin/main's five files extracted with git archive.

  $ cd ~/.cache/scratch-3157/before && sh retirement_control.sh
  FAIL  stale handover promise still in the docs:
        docs/hybrid.md:33:the provider's KV cache to Loom decode instead of the HRX llama-server is tracked in
        docs/hybrid.md:34:[#3157](#3157); until that lands, hybrid decodes on the
        docs/hrx.md:72:  decode is tracked there.
        docs/PORTING.md:26:...coverage [#3156]..., hybrid KV handover [#3157] |
        docs/architecture.md:51:  handing it to Loom decode instead is [#3157](...).
  FAIL  docs/hybrid.md does not say retired
  FAIL  docs/hybrid.md does not link #3349
  ok    docs/hybrid.md gives the measured reason
  FAIL  docs/hrx.md does not say retired
  FAIL  docs/hrx.md does not link #3349
  FAIL  docs/hrx.md gives no measured reason
  FAIL  docs/PORTING.md does not say retired
  FAIL  docs/PORTING.md does not link #3349
  FAIL  docs/PORTING.md gives no measured reason
  FAIL  docs/architecture.md does not say retired
  FAIL  docs/architecture.md does not link #3349
  FAIL  docs/architecture.md gives no measured reason
  FAIL  KNOWN-ISSUES has no engine#3157 retirement entry
  FAIL  KNOWN-ISSUES does not record the #3349 measurement
  exit=1

  $ cd ~/wt/issue-3157 && sh retirement_control.sh
  ok    no doc still tracks the handover as coming
  ok    docs/hybrid.md says retired
  ok    docs/hybrid.md links #3349
  ok    docs/hybrid.md gives the measured reason
  ok    docs/hrx.md says retired
  ok    docs/hrx.md links #3349
  ok    docs/hrx.md gives the measured reason
  ok    docs/PORTING.md says retired
  ok    docs/PORTING.md links #3349
  ok    docs/PORTING.md gives the measured reason
  ok    docs/architecture.md says retired
  ok    docs/architecture.md links #3349
  ok    docs/architecture.md gives the measured reason
  ok    KNOWN-ISSUES has the engine#3157 retirement entry
  ok    KNOWN-ISSUES records #3349 NOT_PLANNED with the measured KLD
  PASS  engine#3157 retirement is stated in every current doc
  exit=0

Source check of the load-bearing code claim (both pins):

  $ gh api 'repos/ROCm/hrx-system/contents/loom/src/loom/serve/service/text/service.c?ref=e2c41a720363' -H 'Accept: application/vnd.github.raw' | sed -n '244,261p'
    const bool input_count = iree_string_view_equal(
        request->path, IREE_SV("/v1/chat/completions/input_tokens"));
    const bool encodes =
        service->scheduling.model_mode == LOOM_SERVE_TEXT_MODE_ENCODE;
    const bool sequence_endpoint =
        iree_string_view_equal(request->path, IREE_SV("/v1/sequences"));
    if (!iree_string_view_equal(request->method, IREE_SV("POST")) ||
        (encodes ? !sequence_endpoint
                 : (!input_count &&
                    !iree_string_view_equal(request->path,
                                            IREE_SV("/v1/chat/completions"))))) {
      return loom_serve_text_http_reject(
          &service->telemetry, connection, receipt, 404, "Not Found",
          iree_make_status(
              IREE_STATUS_NOT_FOUND,
              "use the model's declared endpoint or /v1/checkpoints/NAME; "
              "generative models also support /v1/chat/completions/input_tokens"),
          service->host_allocator);
    }
  the same check is at :247-265 of the file at 0cd370f2baaa (hrx-loom 0.2.0).
@bong-water-water-bong
bong-water-water-bong force-pushed the fix/3157-retire-hybrid-handover branch from 8ef0a03 to 80ab9bc Compare November 24, 2026 07:44
@bong-water-water-bong
bong-water-water-bong enabled auto-merge (squash) November 24, 2026 07:49
…cord, not an open rfc

The retirement entry landed with "the issue stays open as the design record (rfc)".
That is now superseded: the design question is answered (retired, with both measurements),
the docs say so, and the record a reader needs is this entry. Leaving the issue open would
keep a retired design in the open-issue queue, which is what the retirement was meant to end.
@bong-water-water-bong
bong-water-water-bong merged commit 396f60f into main Nov 24, 2026
10 of 11 checks passed
@bong-water-water-bong
bong-water-water-bong deleted the fix/3157-retire-hybrid-handover branch November 24, 2026 08:07
@github-actions

Copy link
Copy Markdown

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

🎫 Ticket compliance analysis 🔶

3157 - Partially compliant

Compliant requirements:

  • Document the retirement of the NPU prefill -> Loom decode KV handover
  • Update docs to reflect that the handover is retired
  • Record the two measurements that led to the retirement

Non-compliant requirements:

  • None

Requires further human verification:

  • None
⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Documentation Alignment

The documentation in KNOWN-ISSUES.md correctly records the retirement of the NPU-prefill -> Loom-decode KV handover with two measured reasons. This aligns with the PR's objective to retire the design and update documentation.

## engine#3157 — the NPU-prefill -> Loom-decode KV handover: retired, measured to save nothing

**Status: RETIRED — no hybrid shape is scheduled, and `--device hybrid` keeps decoding on the HRX
llama-server ([docs/hybrid.md](docs/hybrid.md)). The issue is closed; this entry is the design
record, and the docs point at it.**

The design was L4 of the Loom GPU switch: the NPU prefills a prompt and hands its KV cache to Loom's
decode instead of the HRX llama-server. Two measurements, both recorded in
[#3157](https://github.com/1bit-MONSTER/engine/issues/3157), removed it.

1. **A Loom model re-prefills its own prompt, and there is no way to hand it one.** At the pinned
   loom-serve — ROCm/hrx-system `e2c41a720363` (hrx-loom 0.3.0, `config/loom.config`), and the same
   at 0.2.0's `0cd370f2baaa` — the text service accepts a *generative* model's prompt only as chat
   text: `loom/src/loom/serve/service/text/service.c:244-261` accepts `/v1/sequences` only in
   ENCODE mode, and a generative request to it gets `404 Not Found`, "use the model's declared
   endpoint or /v1/checkpoints/NAME; generative models also support
   /v1/chat/completions/input_tokens" (the 0.2.0 file is `:247-265`). The enqueue path otherwise
   takes only `/v1/chat/completions`, `/v1/chat/completions/input_tokens` (a count) and
   `/v1/checkpoints/NAME` (a pin on a session Loom itself ran), so the text service has no HTTP
   surface that takes KV or activations: an NPU prefill in front of Loom adds its own time and Loom
   still prefills the prompt. Measured on strixhalo 2026-11-22 (the numbers are in the #3157
   thread): replaying a 780-token prompt as text costs **62-65 ms** on Qwen3-0.6B, and Loom's own
   prefill is **8.1-15.2k tok/s** on that card and **362-576 tok/s** on Qwen3.8-27B. A handover
   saves none of it.
2. **The re-scope to NPU + GPU co-execution failed its accuracy gate.** On 2026-11-23 #3157 was
   re-scoped (orchestrator, owner-approved) to concurrent NPU + GPU prefill for Qwen3.8-27B, against
   a public 1,335 tok/s-at-8K bar. Its GPU half,
   [#3349](https://github.com/1bit-MONSTER/engine/issues/3349) (int4 x int4 on the GPU matrix
   units), closed **NOT_PLANNED** the same day: the weight-only mean KLD was **0.0678 ± 0.0020**
   (int4-k128 RTN) and **0.0499 ± 0.0013** (AMD Quark AWQ int4-k128) against the **0.01** gate and
   the shipped UD-Q4_K_XL's **0.0052 ± 0.0002** — before the activations a real iu4 x iu4 kernel also
   needs. The arms that bar was set against, at 8,205 prompt tokens: **396-451 tok/s** on the
   fallback and **524-537 tok/s** on Loom. Most of the 2.5x had to come from the GPU half, so the
   NPU half had nothing to close.

**What a hybrid would need before it can be designed again:** a Loom API that imports externally
computed KV/state — a Loom-side feature request for the owner to pass upstream, as the #3157 thread
records — and a measured NPU prefill rate at the bar's length while the GPU runs. Neither exists at
the pin; until they do there is nothing to build.

**Docs corrected with this entry:** [docs/hybrid.md](docs/hybrid.md),
[docs/hrx.md](docs/hrx.md) (Direction: Loom on the GPU), [docs/architecture.md](docs/architecture.md)
and [docs/PORTING.md](docs/PORTING.md) (step 2L) described the handover as coming until this entry
landed. The dated records in [docs/releases.md](docs/releases.md) and the README keep their entries
as the record of what was said then.
Outdated Reference

The reference to the NPU-prefill -> Loom-decode KV handover in docs/PORTING.md has been updated to reflect its retirement, which is consistent with the PR's goal of removing outdated information.

| 2L | **Loom on the GPU.** AMD's Loom model programs on HRX ([ROCm/hrx-system](https://github.com/ROCm/hrx-system), [ROCm/hrx-loom-library](https://github.com/ROCm/hrx-loom-library), loom-fun model cards), served by `loom-serve` behind `1bit serve`; the llama.cpp route of step 2 stays as the fallback and gets no new kernel work (owner, 2026-11-21) | not in 1bit-MONSTER | **in progress** ([docs/hrx.md](hrx.md#direction-loom-on-the-gpu)): no model has moved yet. A model moves once it passes an interleaved A/B and accuracy check against step 2 ([#3158](https://github.com/1bit-MONSTER/engine/issues/3158)); coverage [#3156](https://github.com/1bit-MONSTER/engine/issues/3156). The hybrid NPU-prefill -> Loom-decode KV handover ([#3157](https://github.com/1bit-MONSTER/engine/issues/3157)) is **retired**: a generative Loom model re-prefills its prompt as chat text, so a prefilled KV cannot be delivered and the handover saves nothing, and the co-execution re-scope's GPU half ([#3349](https://github.com/1bit-MONSTER/engine/issues/3349)) closed not-planned on a measured KLD miss ([KNOWN-ISSUES.md](../KNOWN-ISSUES.md)) |
Outdated Reference

The reference to the NPU-prefill -> Loom-decode KV handover in docs/architecture.md has been updated to reflect its retirement, which is consistent with the PR's goal of removing outdated information.

Handing it to Loom decode was designed and is **retired**
([#3157](https://github.com/1bit-MONSTER/engine/issues/3157)): the pinned loom-serve re-prefills
a generative prompt as chat text and accepts no KV import, and the NPU+GPU co-execution re-scope's
GPU half ([#3349](https://github.com/1bit-MONSTER/engine/issues/3349)) closed not-planned on a
measured KLD miss ([KNOWN-ISSUES.md](../KNOWN-ISSUES.md)). The NPU and the GPU run at the same
time; the measured cost of a busy GPU to the NPU's weight stream is recorded in
[hybrid.md](hybrid.md).
Outdated Reference

The reference to the NPU-prefill -> Loom-decode KV handover in docs/hrx.md has been updated to reflect its retirement, which is consistent with the PR's goal of removing outdated information.

handover. Handing it to Loom decode was designed and is **retired**: a generative Loom model
takes its prompt only as chat text and re-prefills it (`/v1/sequences` is ENCODE-only at the
pinned loom-serve, so a prefilled KV cannot be delivered — `service/text/service.c:244-261` in
ROCm/hrx-system `e2c41a720363`), and the NPU+GPU co-execution re-scope's GPU
half ([#3349](https://github.com/1bit-MONSTER/engine/issues/3349)) closed not-planned on a
measured KLD miss (0.0499 AMD Quark AWQ / 0.0678 RTN vs the 0.01 gate). Recorded in
[KNOWN-ISSUES.md](../KNOWN-ISSUES.md).
Outdated Reference

The reference to the NPU-prefill -> Loom-decode KV handover in docs/hybrid.md has been updated to reflect its retirement, which is consistent with the PR's goal of removing outdated information.

## Loom: the handover is retired

The GPU route is moving to Loom per model ([hrx.md](hrx.md#direction-loom-on-the-gpu)), but handing
the provider's KV cache to Loom decode instead of the HRX llama-server is **retired**, and hybrid
decodes on the llama-server as described here. Two measurements recorded in
[#3157](https://github.com/1bit-MONSTER/engine/issues/3157) closed it:

- **A Loom model re-prefills its own prompt, and there is no way to hand it one.** At the pinned
  loom-serve (ROCm/hrx-system `e2c41a720363`, hrx-loom 0.3.0 — `config/loom.config`; the same
  check at 0.2.0's `0cd370f2baaa`) a *generative* Loom model takes its prompt only as chat text:
  `/v1/sequences` is accepted only in ENCODE mode, and a generative request to it is answered
  `404 ... use the model's declared endpoint or /v1/checkpoints/NAME`
  (`loom/src/loom/serve/service/text/service.c:244-261`). So a prefilled KV cache cannot be
  delivered to Loom: an NPU prefill in front of it adds its own time and Loom still prefills the
  prompt. Measured on strixhalo 2026-11-22: replaying a 780-token prompt as text costs 62-65 ms on
  Qwen3-0.6B, and Loom's own prefill is 8.1-15.2k tok/s on that card and 362-576 tok/s on
  Qwen3.8-27B — the handover can save none of it.
- **The co-execution re-scope failed its accuracy gate.** [#3157](https://github.com/1bit-MONSTER/engine/issues/3157)
  was re-scoped on 2026-11-23 to NPU + GPU *co-execution* for the 27B's prefill, against a public
  1,335 tok/s-at-8K bar. Its GPU half, [#3349](https://github.com/1bit-MONSTER/engine/issues/3349)
  (int4 x int4 on the GPU matrix units), closed **NOT_PLANNED** the same day: the weight-only mean
  KLD was 0.0678 (int4-k128 RTN) and 0.0499 (AMD Quark AWQ int4-k128) against the 0.01 gate and the
  shipped UD-Q4_K_XL's 0.0052, before the activations a real iu4 x iu4 kernel also needs. The
  baseline that bar was set against, measured at 8,205 prompt tokens: 396-451 tok/s on the fallback
  and 524-537 tok/s on Loom.

No hybrid shape is scheduled. `--device hybrid` still serves as this page describes and is the only
handover that exists; Loom stays a whole-model GPU route ([loom-route.md](loom-route.md)) and the
NPU stays its own route ([npu.md](npu.md)). The decision is recorded in
[KNOWN-ISSUES.md](../KNOWN-ISSUES.md), under engine#3157.

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.

loom: the hybrid route's NPU prefill -> Loom decode KV handover (L4 design: two caller-owned state roots, f16 attention cache + f32 GDN state)

1 participant