Repository navigation
Description
L2 of the Loom GPU switch (owner direction 2026-11-21 ~05:20 AST): before a model's GPU route moves from our fallback stack
(llama.cpp fork + HRX + private gpu-kernels add-on) to Loom, it has to pass this gate. Per model, one row: interleaved A/B
performance and accuracy. A model routes to Loom only if Loom is not worse on accuracy and faster, or equal speed with
better accuracy.
The gate, as it will be run
- Same GGUF. The Loom cards bind a checkpoint by sha256, so the fallback arm is measured on the card's own file, not on our
nearest quant. Verified per model below. - Performance: ≥ 4 interleaved rounds per arm (A B A B …), one server at a time, each inside one
gpu-holdticket,
systemd-run --user --scopewith a memory cap; the same prompts on both arms (my 11-13 harness
~/.cache/scratch-cl-hrxkern/loom/oaibench.py: code / prose / short decode at 128 tokens + an 8,000- and 18,000-char doc
prefill, a nonce at the start of every prompt so no prefix cache helps, measured client-side over a streamed reply so a server
that reports notimingsis measured by the same rule). Ranges reported, not just medians; load average and power mode
recorded per round. - Accuracy: (a) greedy agreement between the two arms on the fixed prompt set; (b) mean KLD and same-top-token %
against a CPU reference onwiki.test.raw, 8 chunks × 512 tokens. The CPU reference is the third arm and it is the
arbiter: an arm that disagrees with CPU is the one that is wrong, whatever the other arm says. - Pre-registered decision rule (before any numbers): a model routes to Loom iff
KLD_loom <= KLD_fallbackand
greedy_agreement >= 95 %and (prefill or decode median ≥ fallback by more than the observed round-to-round spread, on at
least one of the two, with the other not worse beyond that spread). Anything else stays on the fallback route and the row says
which clause failed.
Readiness, measured today (this is why there is no results table yet)
| model | card | card checkpoint | on disk? | blocker |
|---|---|---|---|---|
| Qwen3.8-27B | bartowski-Qwen3.8-27B-loom |
Qwen3.8-27B-Q4_K_M.gguf 17,442,399,968 B + mmproj 927,607,008 B |
yes — both sha256 verified (880a52af…, cb0a71fe… = the card's lock) in ~/.cache/scratch-cl-hrxkern/loom/qwen38-27b/parameter/ |
toolchain only |
| Qwen3-Coder-30B-A3B | ggml-org-Qwen3-Coder-30B-A3B-Instruct-loom |
…-Q4_K_M.gguf 17,988,419,552 B + DFlash drafter 286,754,240 B |
no (our local Coder is 18,556,689,568 B, a different upload) | toolchain + an 18.3 GB fetch (disk: 164 G free, floor 150) |
| Qwen3.8-Flash-Next | unsloth-Qwen3.8-Flash-Next-loom |
UD-Q4_K_XL in 4 parts ≈ 111.3 GB + MTP + mmproj, memory_bytes 100 GB |
no (local is UD-IQ3_XXS) | toolchain + 111 GB, which does not fit the floor at all — needs the owner's call on disk, and a coder-llm window for the run |
The toolchain blocker, precisely: all three cards carry schema_version: 2, and both Loom releases available to me —
hrx-loom 0.1.0 (the toolchain install) and hrx-loom 0.2.0 from PyPI, which I installed into a scratch venv to check —
refuse it:
$ loom-fetch --dry-run --output … …/ggml-org-Qwen3-Coder-30B-A3B-Instruct-loom/model.json.lock
loom-fetch: $.schema_version: unsupported model-card version; supported: 1
So the cards need the 0.2.0.dev build from ROCm/hrx-system that L5 (cl-infra) is pinning; there is no wheel for it on this
box (find over ~/amd-oss/loom-fun, ~/.cache, /opt finds none) and hrx-system here carries no Python packaging to build
one from. This issue is blocked on L5, and the first row (27B) will be the first thing I run when it lands — its checkpoint is
already on disk and sha-verified, so nothing else about it is waiting.
What I am doing while blocked
The fallback arm and the CPU reference of the 27B row do not need Loom at all, so they are being measured now (perf + KLD
baseline at the card's own GGUF). When L5 lands, the Loom arm is one interleaved pass away and the row completes with the
decision rule above applied verbatim. Per-model rows will be posted here as they complete; nothing in this issue claims a route
before its row exists.
Activity
bong-water-water-bong commentedon Nov 21, 2026
Handing over the measurement traps I paid for tonight, because they all land on this gate and none of them is visible from the brief. I am not touching L2 — it is cl-hrxkern's — this is the "make the first run count" list.
1. The interleaving requirement is not paranoia; it is worth ~21 %. On
Qwen3.8-27B-UD-IQ1_SI measured the same arm at 49.69 and 49.62 tok/s alone, and 39.87 immediately after an arm that did 9x its compute in the same window — same binary, same prompt, 0 faults. A fast arm heats the die for the arm that follows it, and a non-interleaved A/B will attribute that to the code. Two refinements: alternate which arm goes first between rounds (not just interleave), and record the die temperaturegpu-holdprints on every take (took … (die 72C)) — it is free and it is the covariate.2.
llama-bench's device name isHRX0, not the backend name.--device hrxthrows insideparse_devices_arg(tools/llama-bench/llama-bench.cpp:144), which prints the whole usage and runs nothing — my first attempt at a pp row produced a 0-second payload and two log files full of help text. Use-dev HRX0and put--list-devices | headas the first line of the ticket so a wrong name is visible instead of silent.3. A gpu-hold ticket can lose the slot to an NPU fault it never touched. gpu-hold refuses (
rc 78) if a fault line is inside the 10-minute window when the ticket reaches the front, and it warns at 400 s that this will happen. Twice tonight my measurement waited 40-80 minutes and one of those arrived 30 minutes after anaie2_hw_reset: power-cycling NPU. For a 4-round-per-arm gate that is a lot of queue time to lose; checkjournalctl -kforaie2_(set_cmd_timeout|tdr_dead_fw|hw_reset)before queueing, not after.4. The accuracy half already has a shape in this tree — don't rebuild it:
common/arg.cpp:2546is--kl-divergence(to logits from--kl-divergence-base), and the engine's convention for the window iswiki.test.rawat 8x512. Record the CPU arm's logits once and reuse them across both GPU arms, otherwise you are measuring the CPU run's variance twice.5. Report ranges and name the pin and the add-on sha, not just the engine commit. Every number in my own thread that had to be corrected tonight was missing one of: which pin, which instrument (serve vs
llama-bench), or which arm order. The correction cost more than the measurement.Two habits that made my numbers survive review, offered as cheap ones: put the tree's engine and submodule sha and the binary's mtime in the first line of the log, and never read a JSON/log a process still owns — an empty response file made me report "did not return" for a run that had answered at 4.77 tok/s.
bong-water-water-bong commentedon Nov 21, 2026
The L2 queue, grounded in which card checkpoints we already hold (sha256-verified, no downloads)
Instead of assuming a fetch per model, I matched all 51 cards against our own model files by checkpoint name and size, then
sha256-verified every size match. Result: three models can be gated with zero downloads the moment the toolchain (L5) lands,
and the three the brief names first are not all in that set.
bartowski-Qwen3.8-27B-loomQwen3.8-27B-Q4_K_M.gguf(+ mmproj)~/.cache/scratch-cl-hrxkern/loom/qwen38-27b/parameter/880a52af…) — readyunsloth-Qwen3.5-4B-loomQwen3.5-4B-Q4_K_M.gguf~/models/Qwen3.5-4B-Q4_K_M.gguf00fe7986…) — readyunsloth-Qwen3-0.6B-loomQwen3-0.6B-Q4_K_M.gguf~/models/Qwen3-0.6B-Q4_K_M.ggufac2d9771…) — readyggml-org-Qwen3-Coder-30B-A3B-Instruct-loom…-Q4_K_M.gguf+ DFlash drafterunsloth-Qwen3.8-Flash-Next-loomSo the order I will run once L5 lands: 27B → Qwen3.5-4B → Qwen3-0.6B (all three zero-download), then Coder-30B and Flash-Next
if the owner frees the disk, then the remaining cards that match our shipped list. Note the 0.6B row is the one my 11-13 harness
already measured by hand (loom 0.1.0 was +70-82 % prefill, +3-9 % decode on
Qwen3-0.6B): that row will still be run throughthis gate rather than inherited, because a single non-interleaved pass is exactly what the gate exists to replace.
Two notes for whoever reads the table:
INDEX.mdinloom-fun/carries the Loom authors' own Loom-vs-llama.cpp-ROCm numbers per card (e.g. 27B: decode 25.2 vs21.1, prefill 2k 529.9 vs 341.4). Those are their measurement on their stack; this gate measures ours against ours, on
the same checkpoint, and does not adopt their figures.
llama-perplexity --kl-divergence-basegives KLD for CPU and forthe fallback arm, but
loom-servehas no perplexity front-end, so the Loom arm's KLD needs either a Loom-native eval path orthe greedy-agreement comparison as its accuracy evidence. I will run greedy agreement (
agree.py, 5 fixed prompts, greedy,seeded, nonce-first so no prefix cache helps) for every pair, and report KLD for the two arms that can produce it — stating
per row which accuracy evidence exists rather than implying both arms had both.
bong-water-water-bong commentedon Nov 21, 2026
Loom-arm accuracy evidence:
loom-servehas no per-token logprobs, so top-k KLD is not available for that armAnswering the OU ask with evidence from the binary rather than from the docs, since the docs do not mention it either
(
loom-serve --agents_md | grep -ic logprob= 0).The OpenAI-shaped response carries a hard-coded
nullin thelogprobsfield, and there is notop_logprobsstring,no
--logprobs/--n-probsstyle flag and no sampling/logit flag in--helpat all. So:top_logprobsis not honoured by this server (it would be dropped silently, which is the worse failure: a request thatasks for 5 alternate tokens and gets
nullback looks like "no data", not like "unsupported")./v1/chat/completions/input_tokens(tokenisation) and/v1/checkpoints/NAME.So the Loom arm's accuracy evidence is greedy agreement, and that is the floor of what exists, exactly as the OU's minimum
allows. For the two arms that can produce logprobs (CPU reference and the fallback
1bit serve, which is llama-server andsupports
logprobs/n_probs), I will report mean KLD + same-top-token % on the same chunks, and the row will say which armhad which evidence:
--kl-divergence-base)1bit serve, HRX)loom-serve)logprobs: nullA one-sided KLD would be worse than none, so I will not compute a "top-k KLD" from the fallback against itself or from a
pseudo-support; the Loom row's accuracy claim will rest on greedy agreement over the fixed prompt set, and the decision rule's
greedy_agreement >= 95 %clause is the one that will carry it. If a later Loom release addstop_logprobs, the top-k KLD is aone-command addition to
agree.py(same forced stream, per-token top-k, KL per position, summed) — the tool is written so thecomparison function takes two token→prob maps, not two strings, and it is only the transport that is missing.
Note this also bounds what the gate can say about numerics: greedy agreement detects a divergence, it cannot tell whether a
divergence is a near-tie (both arms' top-2 within noise) or a real error — that is exactly the discrimination the 11-13 notes'
compare.py(golden near-tie rule) was for, and it needs logprobs on both sides. So a Loom-vs-fallback disagreement at a giventoken will be reported as a disagreement, not as a defect, until Loom can show its distribution.
bong-water-water-bong commentedon Nov 21, 2026
One trap for this gate that only shows up if the row compares single numbers: "first token" is not one number, and I measured three of them tonight on the fallback.
From engine#3103 deliverable 2 (which is parked, but the measurement stands),
Qwen3-4B-Q4_K_M,-np 4 -kvu -c 4096, 9-token prompt, four concurrent streaming requests, one server, four rounds, inside a gpu-hold ticket:prompt_msThree consequences for an A/B gate:
prompt_msis the highest at 93 ms). So "warm up, then measure" is not a monotone story either: the second pass over the same graph costs more than the fourth. Whichever round you call the warm-up must be excluded by position, not by a fixed sleep.So the row needs, in its own text: which round it quotes (or median-of-warm with the cold round reported separately), the prompt length, the concurrency, and whether
prompt_msis subtracted — because on the cold roundprompt_msis 85 % of TTFT and on warm 3 it is 49 %. A gate that compares the two engines'prompt_msis comparing prompt processing; one that compares TTFT includes graph build and queueing.Reproduction is
~/.cache/scratch-i679/first-token-breakdown.sh <server> <model> <ctx>(nine-token prompt, four rounds, cold reported separately; it writes to~/.cache/scratch-i679/, never/tmp). Not offering to own this item — it is L2's per the brief — only the numbers and the trap.bong-water-water-bong commentedon Nov 21, 2026
The UD-Q4_K_XL card matches our shipped default file exactly — it becomes row 1
Checked, not assumed: the new
unsloth-Qwen3.8-27B-UD-Q4_K_XLcard's checkpoint isQwen3.8-27B-UD-Q4_K_XL.gguf, 17,659,407,264 B, sha2562a5f3565f39cf885…, and our shipped default at~/models/qwen38/UD-Q4_K_XL/Qwen3.8-27B-UD-Q4_K_XL.ggufis byte-identical:(The earlier
3f227079…digest in my notes was theUD-Q4_K_XL-pre31file, a different upload — the currentUD-Q4_K_XL/file is the card's.) Its visionmmprojiscb0a71fe…, the same file the bartowski card uses, and I hold thattoo. This is the family
config/recipes.jsoncarries our own measured rows for ("Qwen3.8-27B UD-Q4_K_XL", three recipes), so itis the model users run.
L2 order, revised (all four zero-download, each checkpoint sha-verified against its card's lock):
unsloth-Qwen3.8-27B-UD-Q4_K_XLQwen3.8-27B-UD-Q4_K_XL.gguf2a5f3565…= oursbartowski-Qwen3.8-27B-loomQwen3.8-27B-Q4_K_M.gguf880a52af…= oursunsloth-Qwen3.5-4B-loomQwen3.5-4B-Q4_K_M.gguf00fe7986…= oursunsloth-Qwen3-0.6B-loomQwen3-0.6B-Q4_K_M.ggufac2d9771…= oursTwo rows on the same model family is deliberate rather than wasteful: the UD is what we ship, and the bartowski Q4_K_M is their
own published comparison point — if Loom wins on UD but loses on bartowski (or the reverse) that is a checkpoint sensitivity the
gate needs to know before routing a family, not a tie to break by preference.
Re-scanned all 59 refreshed cards (was 51) for checkpoints we already hold by name and size: still exactly these five
entries (the fifth is the shared
mmproj). So the refresh brought no new zero-download row, and Coder-30B and Flash-Next arestill the two that need disk — unchanged, still parked until the first four rows are in, as the OU directed.
The fallback halves for rows 1-4 are already queued or measuring (27B fb + kld, small-arms), and the null test of the
interleaved harness is in flight. Row 1 needs only L5's
hrx-loom 0.2.0.dev— everything else about it is in place.bong-water-water-bong commentedon Nov 21, 2026
The verdict is now a script, not a judgement call —
row_verdict.py, self-testedThe issue pre-registers the rule; this makes the rule executable, so a row cannot be argued into a route after the numbers are in.
It reads what the arms actually produced —
loom-r<N>.json/fallback-r<N>.json(oaibench medians per round),ppl-cpu.log/ppl-hrx.log(KLD),agree.json(greedy agreement) — computes the noise floor from the null test(the largest relative round-to-round spread seen when both arms were the fallback), and applies the rule as written:
perf_ok= one metric beats the fallback by more than the floor and the other is not worse than it by more than the floor;accuracy_ok= greedy agreement ≥ 95 % and, when both arms can produce KLD,kld_loom ≤ kld_fallback;Missing evidence is
can't tell, never a pass — that is the whole point of writing it down as code, and it is what theself-test pins (7 arms, 0 failures):
Three deliberate consequences worth stating before any row exists:
logprobson that surface), so the accuracy clause will rest onagreement, and the tool says so in
missingrather than silently treating one arm's KLD as a comparison.measured noise, per round, not per median.
round-to-round spread turns out to be, say, 6 %, then a 5 % Loom lead is not evidence and the row will say
STAYS.The tool and the two harness scripts (
ab_gate.sh,agree.py) live in~/.cache/scratch-cl-hrxkern/gate3158/; the row tableitself will be posted here when the arms have run.
bong-water-water-bong commentedon Nov 21, 2026
Qwen3.8-27B — fallback arm measured (4 rounds), and one error in my own CPU reference found by its own log
Fallback arm on the UD-Q4_K_XL card's checkpoint (sha
2a5f3565…= our shipped default),1bit serve --device hrx, the11-13 harness prompts (2,668-token prefill + code/prose/short decode), 4 rounds:
Two things a reader should take from that table before any Loom number exists: the round-to-round spread is 14 % on prefill
(311.4-355.0) under a box that sat at load 17-23 throughout, and the server's own timings read 1-2 % above the client ones — so
a Loom lead smaller than ~14 % will not be evidence on this box, which is exactly what the null test is measuring. Decode is
tight (23.2-25.2) and is the metric with usable resolution here.
The error, found in my own reference run's log: the "CPU reference" I queued first ran with
-ngl 0and was not CPU-only.Its own placement line says so:
i.e. 1,536 nodes stayed on HRX, and 154 tok/s for a 27B on 16 CPU threads was never a CPU number. So that
cpu.kld(1.0 GB)is an HRX-placement base and cannot arbitrate anything; I have renamed it
cpu-hrxplacement.kldrather than delete it (it is avalid second reference, just not the CPU one) and re-queued the reference with
--device none(llama.cpp's "do notoffload"), which now asserts its own placement line says every node on the CPU and exits non-zero if not
(
run_27b_cpu_ref.sh). The KLD base the row uses will therefore be a real CPU one, or the script will say it could not make one.This is the same class as the three earlier "the tool never ran" mistakes today, with a twist worth recording: the run looked
successful — exit 0, a plausible PPL of 6.61, a 1 GB base file — and only the placement line and the implausible speed exposed
it. A measurement that succeeds at the wrong thing is harder to catch than one that fails.
bong-water-water-bong commentedon Nov 21, 2026
Second and third errors in my own KLD setup, both found by reading the logs rather than trusting exit 0
The fallback KLD run "completed" with rc 0 and a plausible PPL of 6.5986 — and produced no KLD at all. Two distinct causes,
both mine:
--kl-divergencewas missing. In this build--kl-divergence-base FNAMEonly sets the logits file (and saves to it);computing the divergence needs
--kl-divergenceas well:So the arm re-wrote the logits file with its own HRX logits and printed PPL. There is no
Mean KLDline anywhere in itslog, which is the assertion I have now added (
grep -qiE "mean\s+kld" || exit 3).That run overwrote the CPU base. Because the arm passed the base path, the file it "read" is the one it wrote — so
cpu.kldon disk last night is HRX logits, not CPU logits. Combined with error 3 below, the base was wrong twice over.-ngl 0was not cpu-only (found earlier): the reference's ownplacement:line reported 1536 of 3929 nodes still onHRX.
--device noneis the flag that means "do not offload".What the scripts now enforce, so none of the three can recur silently:
--save-all-logitsand itsplacement:line says every node on the CPUrun_27b_cpu_ref.shcpu-base.okmarker is written--kl-divergence --kl-divergence-base <base>run_27b_fallback_kld.shrun_27b_fallback_kld.shMean KLDlinerun_27b_fallback_kld.shBoth are re-queued in order (reference first, arm behind it). Nothing in the 27B row's accuracy half will be reported until a
run passes those four checks — the perf half (fallback 348.8 tok/s prefill / 24.9 decode, 14 % round-to-round spread) stands as
posted, and the Loom half is still waiting on L5.
Worth naming the pattern, because it is the fourth variant today: the tool was right, my invocation was wrong, and every
invocation error produced a successful-looking artifact. Exit 0 plus a number is not evidence; the evidence is the line in the
log that says the thing you asked for happened.
bong-water-water-bong commentedon Nov 21, 2026
Rows 3 and 4, fallback half: Qwen3.5-4B and Qwen3-0.6B (4 rounds each)
Both on their card's own checkpoint (sha256 verified: Qwen3.5-4B
00fe7986…, Qwen3-0.6Bac2d9771…),1bit serve --device hrx, the 11-13 harness prompts, 4 rounds each in one ticket (85 s total), load 10-12, MemAvailable 94-98 G, die 63-75 °C,amdgpu faults flat at the boot's 3.
What the spreads say before any Loom number exists — this is the useful part, and it changes how these two rows can be judged:
37 % spread swamps any plausible Loom lead. The prompt is only ~2,700 tokens, i.e. ~0.4 s of work, so a warm-cache or
scheduling effect in the first round dominates. For this row decode (5.9 % spread) is the perf evidence, and a prefill
claim would need more rounds or the 18k-char prompt.
on decode, which is a high bar and the honest one.
the box under load 10-23, not of a model.
These are fallback halves only: the Loom arms for both rows still wait on L5's
hrx-loom 0.2.0.dev, and no verdict isclaimed. The numbers are, however, the exact ones the paired ratio will be taken against, and they agree with the 11-13
hand measurement of the 0.6B (
onebit7,827/6,136 prefill then), which is a small independent check that the harness ismeasuring the same thing it measured a week ago.
bong-water-water-bong commentedon Nov 21, 2026
Null test result: two identical arms differ by up to 5 % per round — that is the gate's floor
The null test ran (both arms the fallback, 4 interleaved rounds, 0.6B, one ticket, 59 s) and its purpose was to replace an
assumption with a number:
Paired per-round ratios of an arm against itself (which is all the null test is): prefill 1.011, 0.996, 0.952, 0.998;
decode 1.000, 0.997, 0.952, 1.003. So with 4 rounds, two identical servers disagree by up to 4.8 %, and
row_verdict.pyderives a floor of 7.1 % from this dir (it takes the largest within-arm spread, which is the conservative choice).
What that decides, before any Loom number exists: a Loom lead smaller than ~5 % on a paired ratio is not evidence with 4
rounds, and the tool will call it
STAYS. For a row to route on a small effect the gate needs more rounds (the floor shrinkslike 1/√n) or a larger one — and the honest statement of that belongs here rather than in a footnote after the fact.
Running the verdict tool on this null row also exercises it end-to-end on real artifacts:
That is the behaviour the self-test promised: an arm that ties itself does not "win", and missing accuracy evidence is
cannot-tell, not a pass. Two harness bugs surfaced in this run and are fixed: filenames were written with a doubled
r(
loom-rr1.json) so the table printed zeros while the benches had all succeeded, and the run's own numbers were recovered byrenaming rather than re-running — worth noting because it is the fifth "the run worked and the reporting did not" case today, and
the same lesson applies: check the artifact, not the exit code.
bong-water-water-bong commentedon Nov 21, 2026
The gate now measures three arms and two wait modes — and the Loom ones are blocked on a bazel build, not on a pin
Extended the harness for the OU's two additions (
ab_gate3.sh): every round now runs each arm once, one server at a time, eachin its own
systemd-runscope, inside one ticket —fallback1bit serve --device hrx/healthloomloom-serve --model=<card>/model.json/v1/modelsloom-proxy1bit serve --device hrx --loom-routes <tmp> --loom-serve … --loom-cards …/health(serve waits for the card'sready)loom-servewould not cover our own layerand
WAIT_MODE=active|blocking|bothruns each Loom arm once per mode, tagged (loom,loom-blocking,loom-proxy,loom-proxy-blocking) so no two runs collide. The proxy arm's routes file is written per run from the model's own sha256 andsize (exactly the
matchkeys #3166 defines,gatepointing here), so the proxy is exercised on the same checkpoint the othertwo arms read.
loom-serve --wait_modeexists in 0.2.0 as the OU described ("active favors latency; blocking disables optionalpolling … default active" —
--help), so the heat question is a straight A/B.And the blocker, named precisely. #3160 (L5's pin PR) records that the cards were built with
hrx-loom 0.2.0.dev0,which is not on PyPI — it comes from a bazel 9.2.0 build of
hrx-system 314238a8…. Both Loom-capable venvs on this box(the 0.1.0 toolchain and a 0.2.0 PyPI install I made to test) refuse the v2 cards with
unsupported model-card version; supported: 1, and so does the venv in the L1 lane's own scratch (~/.cache/scratch-loom-l1/venv020). So L1's PR cannot runits own Loom path on this box either until that build exists: the two work items share one blocker, and it is a build slot, not
a download or a pin decision.
Until then: the fallback arms for all four zero-download rows are measured, the null-test floor is ~5 % paired (7.1 % as the
verdict tool derives it), the agreement transport is being validated, and the three-arm harness has a self-check running on the
fallback arm alone so its naming, probes and table are proven before any Loom binary exists.
docs: the GPU route is moving to Loom; the HIP-kernel route is the fa…
bong-water-water-bong commentedon Nov 21, 2026
Correction: the toolchain blocker was my mistake, and the gate can run now
I reported on #3158 that the cards need a
0.2.0.devbuild from a bazel clone, because every Loom binary on the box refused themwith
unsupported model-card version; supported: 1. That conclusion was wrong, and the error was mine: I passed the card'smodel.json.lockwhere the tool expectsmodel.json. With the right file, the PyPI release L5 pins reads the cards:Two facts that make this decisive, and they agree with
config/loom.configon #3160's head (which I should have read beforeconcluding): the release
hrx-loom==0.2.0was cut from tagv0.2.0,314238a81c(what the cards were built against) is anancestor of that tag, and L5's own comment says "no gated card needs a newer build".
What that unblocks, concretely: the 27B's Loom card is already materialized —
~/.cache/scratch-cl-hrxkern/loom/qwen38-27b/holdsmodel.json,parameter/Qwen3.8-27B-Q4_K_M.gguf(sha880a52af…, thebartowski card's checkpoint),
program/,weights.loomandtokenizer.json— andhrx-loom 0.2.0reads it. So the 27B row'sLoom arm is one
loom-serveinvocation away, not one bazel build away.The bazel paragraph in my previous comment therefore applies to nothing that is still blocked: the source build stays recorded in
config/loom.configfor a future card that needs an unreleased commit, andbazel 9.3.2(which is what the pinned tag declares)is what this box has.
My queued tickets run first (the corrected CPU reference and the fallback KLD, then the two harness self-checks); the three-arm
27B gate follows behind them, and with
WAIT_MODE=bothit covers the OU's--wait_modequestion in the same pass. Nothing in thepre-registered decision rule changes — only my claim about what had to happen before it could be applied.
141 remaining items
bong-water-water-bong commentedon Nov 23, 2026
Gate row: Qwen3.5-4B, our loom-skills port (reference
loom-fun/unsloth-Qwen3.5-4B-loom@64bf4025) ofunsloth/Qwen3.5-4B-GGUF@e87f1764UD-Q4_K_XL, with the z-lab DFlash drafter and mmproj. hrx-loom 0.3.0, shipped args; the CPU arbiter ran on the box CPU. 23 Nov.1bit serve:--with-reasoning, 512 tokens, 8 prompts):\ninreasoning_content. loom-serve keeps the newline before the closing tag; llama.cpp's parser strips it. The answers are equal.Verdict: passes (with #3433). The card is ours, so it gets published to 1bit-MONSTER before its route entry.
Same round, Qwen3-1.7B port: fails. Decode via serve is slower beyond spread at 2K (129.8 → 123.2), and 3 of 8 accuracy splits are not near-ties (1.564, 1.242, 0.947 nats). It's back to porting work.
tools/logprob_agree.py: near-tie split read on the aligned token stre…
logprob_agree: the truncated test also holds for --with-reasoning tex…
loom route: Qwen3.5-4B (unsloth UD-Q4_K_XL) on our published card 1bi…
logprob_agree: close the #3423/#3429 review points (empty-token guard…
bong-water-water-bong commentedon Nov 24, 2026
Flash-Next IQ3_XXS gate-row blocker filed: #3482 (this is the file the fleet ships, per #679; the card discussed earlier in this thread is the UD-Q4_K_XL one).
Measured in one
box-hold bothticket on this appliance, hrx-loom 0.3.0, card/data/dev/cl-i679/flashnext-card(variantud-iq3-xxs-vision-mtp):blk.2.ssm_out.weight requires 16711680 bytes ... entry has 12902400— the card kept UD-Q4_K_XL's layer-2 q8_0 special case for ssm_out while the IQ3_XXS file is Q6_K in all 36 layers (blk.2 attn_qkv/attn_gate really are Q8_0 and stay). Forcing the q6_K path makes registration ready;IREE HAL device event: driver_failure status=DATA_LOSS(15) ... message="gpu.event_wait", no amdgpu/MES fault, reproduced with drafting on/off and--pool_backing=fixed+completion_spin_ns;llama-bench0.6B Q4_K on HRX0 = 351.46 tok/s.So the Flash-Next IQ3_XXS row of this gate cannot be measured until the card is re-ported for IQ3_XXS (remaining UD-Q4_K_XL quant-layout assumptions in the programs, routed experts prominent). Reproducer, patch and evidence are in #3482.
bong-water-water-bong commentedon Nov 24, 2026
Speed: the shipped r9700 card is about half of the r8 card on this box, and only part of that is the missing drafter (lead, 2026-11-24).
Two independent causes, both measured on our box (rows above, same ticket family):
llm_config.json"draft_kinds": [],info.json"drafting": nullin both variants,PORTING.md: "no speculative decoding"). DSpark on the older card was 1.4-2.0x: depth sweep on 0.3.0 (a8354e77) d0 39.9/40.6 -> d3 69.0/66.1 tok/s; d4-d7 all worse than d3.The card's premise ("no MTP head in the GGUF and no drafter published for this exact model") is stale as of unsloth's restructure. Mainline-format drafters are published:
Mainline_Support/dspark-Inkling-2-Mini-Q8_0.gguf_file503,889,952 B, sha3da00cf7c31bbe5662b3c0d373ecf782d74d32ef43990acc158ce60c2add72e0(downloaded and hashed)dspark/dspark-Inkling-2-Mini-BF16-mainline.gguf_file749,371,936 B, shadba3d73c...Header check: same 3-layer
dflashblock drafter in the newer format (58 tensors: unpaddedmarkov_w1[256, 200058], explicitmarkov_w2,ctx_mix, sliding_window 1025), sourcemtp.safetensorsof thinkingmachines/Inkling-2-Mini.Ask sent to cl-loomfun (
CL-LOOMFUN-FROM-LEAD.md): port DSpark onto the r9700 card, bind the mainline drafter at d=3, pass the spec gate again, and explain/fix the prefill half.Decision (lead): the next image's Inkling route returns to the gated r8
4e018e88(root layoute62d463c+ drafter2ec78510, both still at pinned revisionea0c79b2) until the r9700 card has drafting and prefill parity. Full evidence:~/briefs/INKLING-DRAFTER-GAP.md(ryzen).bong-water-water-bong commentedon Nov 24, 2026
Partial row: 1bit-MONSTER/Inkling-2-Mini-loom @ afcb64b0 (the re-card #3497 merged), strixhalo, hrx-loom 0.3.0, 2026-11-24 12:16 AST, lead.
This is not the accuracy gate row - cl-loomfun's arbiter harness still owes that. It is what a smoke run through the real card shows:
e6427665) withdspark-Inkling-2-Mini-Q8_0_Old.gguf(2ec78510),draft_depth3.17 * 23->391, 2/2. Warm decode 66.5 tok/s (47 tokens in 0.706 s); the first request after load is 6.3 tok/s (7.4 s, weight warm-up). Same number as loom-fun's r8 card (66.6) in the A/B below.A/B on the same box, session and prompts (26-token prompt, 47 out, greedy, each card on its preset):
So the re-card reproduces the r8 card's speed on the mainline weights, and the r9700 card's missing speculation + ~2x prefill gap stands. Accuracy is still unmeasured on this card; the route is merged but should not be in a cut until cl-loomfun's row lands.
bong-water-water-bong commentedon Nov 24, 2026
Gate row: Inkling-2-Mini on the re-card the route table ships,
1bit-MONSTER/Inkling-2-Mini-loom @ afcb64b0(loom-fun r84e018e88re-pointed at unsloth's mainline GGUF; byte-identical weights,dspark-Inkling-2-Mini-Q8_0_Old.gguf2ec78510at draft depth 3). hrx-loom 0.3.0 (loom-serve 1db8c4d0), strixhalo gfx1151, 24 Nov, onebox-hold bothticket, EC balanced.unsloth/Inkling-2-Mini-GGUF@8078d149,Inkling-2-Mini-UD-Q4_K_XL.ggufsha256e6427665…= the route pin; drafter2ec78510…= the card lock's. CPU arbiter = the llama.cpp fork's port at the engine pin,0.8.0-devcommitd4a2741, built 15.2.0, on the box CPU in the same ticket: the same arbiter the r8 row used, so the reference is comparable.reasoning_effort: none; Inkling's template ignoresenable_thinking). No thinking-off row is claimed.--with-reasoning, 768 tokens, 8 prompts, greedy): 50.0 % (4/8), divergences p2/p3/p4/p5. All four are near-ties under the current rule - the CPU's log-prob gap to the token Loom emitted is 0.031, 0.263, 0.037, 0.057 nats, and Loom takes the arbiter's Tokenizer: byte-level BPE from GGUF, exact against HF tokenizers #2 each time: score 8/8 (4 identical + 4 near-tie, 0 counted, 0 unreadable).acc-inkling-r8-on-030con both arms (all 8 prompts, Loom and CPU), so the re-card reproduces the r8 row exactly; nothing in the re-card moved accuracy.logprob_agree-3386.py, 23 Nov 18:29) misaligns the reference token stream on Inkling's<|message_model|>/<|content_thinking|>/<|end_message|>markers and the\n<<answer>>\njoin - 88 characters of drift on this model - and read these same four splits as 16-20 nat "counted" disagreements with the route token "not in the top-N". main'stools/logprob_agree.pycarries the alignment fix (its comment names this exact Inkling offset), and scoring the captured runs with it gives 8/8 and the margins above. Rows scored on a pinned copy older than that fix should be re-read the same way.Artifacts: ryzen
/home/bcloud/tmp-cl-loomfun/gate-results/acc-inkling-recard(agree.json,agree.log,precondition.txt,known.log, box provenance); box/data/dev/cl-loomfun/gate/out/acc-inkling-recard.With this row the route entry's "accuracy gate row PENDING" note can be retired; I will send that as a one-line config PR.
bong-water-water-bong commentedon Nov 24, 2026
Equivalence row: our re-card produces the gated r8 card's output token for token (lead, 2026-11-24 16:2x AST, strixhalo, hrx-loom 0.3.0).
Two cards, same box, same session, greedy, one serve each:
loom-fun/unsloth-Inkling-2-Mini-loomr84e018e88(reads the old-layout GGUFe62d463c),1bit-MONSTER/Inkling-2-Mini-loomafcb64b0(reads the mainline root GGUFe6427665, drafter2ec78510, depth 3).Seven prompts (arithmetic, code, explanation, list, translation, word problem, one thinking-on): 7/7 identical content AND reasoning, same completion-token counts (47/47, 192/192, 160/160, 48/48, 96/96, 49/49, 179/179). Raw
compare.jsonon the box under/data/dev/lead-smoke/equiv-*.What that buys:
loop_msg_querysubstitutions change no output, so the card's programs are behaviourally the r8 programs.e6427665and the old-layoute62d463cdecode identically here, so the gated r8 accuracy row (comment 7106859133: 50.0 % greedy vs the CPU arbiter, all splits near-ties, 3/3 known answers, 3/3 needle) carries to this route.Caveat: seven prompts, not the eight-prompt arbiter set - cl-loomfun still owns the formal row; this is the equivalence evidence that lets it be short. Speed on the same card: 66.5 tok/s decode, 1,889-2,159 tok/s prefill at 10.8K (2,121 at 15.6K in the A/B).
Also verified for the cut:
os/v3/puppy/stage-loom.shon the mergedmaindownloads the pinned wheel and all 17 card files (every sha256 + size checked by the script) into a 53 MB payload - the pin is not stale.bong-water-water-bong commentedon Nov 24, 2026
End-to-end run on the appliance (lead, 2026-11-24 16:33-16:39 AST): the merged catalogue row really pulls both files, and the card serves from them.
bin/resources/server_models.jsonwith the mergedmainrow, started itslemond-onebiton 18390 with a scratchHF_HOME.POST /api/v1/pull {"model_name":"Inkling-2-Mini-1bit"}-> log: "Identified files to download: ...Inkling-2-Mini-UD-Q4_K_XL.gguf, ...dspark-Inkling-2-Mini-Q8_0_Old.gguf", 16,813 MiB progress, then "All files downloaded and validated",{"status":"success"}. Both files land insnapshots/8078d149286eec7193795413b9e0643da6d11fa1/(17,629,760,736 and 402,278,560 B),refs/main= 8078d149. ~5 min for 18 GB.1bit-loom-cards+ the payload card, pointed at that real cache: bothparameter/links resolve at the lock's sizes.loom-serve0.3.0 on the assembled card:17 * 23->391twice, warm decode 65.8 tok/s (first request 7.9 = weight warm-up).So: row -> pull -> boot assembly -> serve is proven on the box with the merged artefacts. The one thing not exercised is Lemonade spawning the engine itself (the installed engine route is still rc1's r9700 card; the merged route lands with the next image). Logs on the box under
/data/dev/lead-testuntil I clean it up.bong-water-water-bong commentedon Nov 24, 2026
Gate row: GLM-4.7-Flash Q4_K_M Loom port — accuracy 8/8 against the CPU arbiter, and the shipped fallback is the arm that drifts. VERDICT: do not route (prefill).
(cl-loom, 2026-11-24 23:52 UTC / 19:52 AST, strixhalo, hrx-loom 0.3.0)
Card
1bit-MONSTER/GLM-4.7-Flash-GGUF-loom(published today, 13 files, lock2bbcb9002090cf6c, no weights in the repo), GGUF29837ed2…b17418,312,339,808 B fromunsloth/GLM-4.7-Flash-GGUF@0d32489e,deepseek2/MLA, 60 layers of 64x2.6B MoE, 47 layers. Three arms, greedy, thinking off, 64 tokens,agree-glm.sh(8-prompt arbiter set).Accuracy: the Loom arm reproduces the CPU arbiter.
logprob_agree.pyreports 87.5 % with "divergence" on prompt 5, but a char diff saysprefix-identical: True— both wrote the same 254 characters, and the Loom arm emitted two more,'os', completing "Buenos" where the CPU arm had hit its 64-token cap mid-word on "Buen". A cut at the token limit, not a disagreement.BuenasBuenos.asshimmeringwhereSo on this model the disagreement being gated belongs to the shipped route, not to the port. (Loom returns no logprobs — minimal body — so the arbiter carries them;
neartie.pyon the box applies the rule, token or text mode.)Speed: decode fine, prefill is not. 4 interleaved rounds, means, same session:
Short prompts favour Loom (fewer T1 ms, more prefill tok/s at this length). At 2.4k tokens the port's prefill is ~9× slower and TTFT 22.3 s vs 2.5 s; decode is −12 %, which alone would be acceptable.
VERDICT: accuracy pass, route held. This is the #3156 condition ">2× slower prefill must say so and carry a named follow-up" — here it is 9×, so the MLA/
deepseek2prefill path at long context is the follow-up: #3503, and the route stays measured-only until it lands. Short-prompt routing would be a bigger claim than one 8-prompt row can carry, so I am not proposing a scoped route either.How the harness had to change (worth having on the record): the three arms cannot start concurrently on this box. Run in parallel they die with
hrx_gpu_initialize(0) failed … [hsa_init] HSA_STATUS_ERROR_OUT_OF_RESOURCES, becauseulimit -lis 8192 KiB soft and hard for every user, so onlyCAP_IPC_LOCK(root) can lock CWSR/GTT forhsa_init. Sequentially, as root, withHRX_ALLOW_NO_SVM=1 HSA_USERPTR_FOR_PAGED_MEM=0 HSA_USE_SVM=0, each arm reaches ready in ~4 s.agree-glm.shgates readiness one arm at a time for that reason, and the CPU arbiter runsnice -n 10 taskset -c 0-7so the box stays far from its thermal trip.Raw:
/data/dev/cl-loom/out/glm-acc-2339/(agree.json,agree.log, per-arm*.serve.log,provenance.txt,faults-before.txt,after.txt) and/data/dev/cl-loom/out/glm-speed/(speed.tsv,state.log,routes.json, per-round*.r?.log). No GPU faults during the accuracy run (after.txt= 0); the speed harness logs state and per-round serves but keeps no fault counter, so none is claimed there.ec_power_mode balanced, kernel7.4.0-rc1-1bit, fallback1bit 0.0.1 (engine 0a0e550a5f2a llama.cpp 5776842df369), loom-serve1db8c4d0cdf4787a.bong-water-water-bong commentedon Nov 25, 2026
Amendment to the row above — the card changed, and prefill improved 2.55×.
The prefill investigation (#3503) found the cost is quadratic in prompt length, exposed by
prefill_capacity. Cardmodel.jsonnow sets 512 instead of 4096 (model.jsonis not a locked payload;model.json.lockis unchanged at2bbcb9002090cf6c;model.jsonis now654bd1c9a4c1662a…). Published:1bit-MONSTER/GLM-4.7-Flash-GGUF-loomcommit4b7ac1fd9b.Re-measured, same harness, same 4 interleaved rounds, box re-checked with the
fallbackarm as control (its prefill moved +4 %, its decode −0.4 %, so the box is comparable):Accuracy was re-run at 512 before the card changed, and it is the same row:
loomagainst the CPU arbiter is 8/8 by text (the 87.5 % figure is the 64-token cut on prompt [5], prefix-identical, as noted above), and the shipped fallback still drifts on prompts [5], [6], [7]. Chunking the prompt into five epochs does not move the answer.Verdict unchanged: do not route. Prefill is 3.7× behind the fallback at 2.4k tokens instead of 9×, and the remaining gap is the quadratic attention term. There is also a new cost of the workaround — decode is 12 % slower at 2.4k context on both loom arms while the fallback's decode is flat — which nobody has explained yet and which the tiling fix in #3503 should not inherit. Measured-only until #3503 lands.
bong-water-water-bong commentedon Nov 26, 2026
GLM-4.7-Flash row, re-run on the expanded-MLA card: the prefill clause that blocked the route is gone, and the Loom arm is the one that tracks the CPU arbiter. One clause stays unsigned — and it is unmeasurable by the route's shape, not by the port.
(cl-loom, 2026-11-26 13:42 UTC, strixhalo, hrx-loom 0.3.0,
agree-glm.sh)Card:
1bit-MONSTER/GLM-4.7-Flash-GGUF-loom@a76d9b2("Expanded MLA prefill: prefill_2k 1,527 -> 2,013 tok/s vs llama.cpp, all gates pass"), measured from a fresh clone on the box withparameter/repointed at the localGLM-4.7-Flash-Q4_K_M.gguf(29837ed2…b174, 18,312,339,808 B), so the arm is the published artifact, not a build tree. Three arms, sequential, onebox-hold gputicket: loom (loom-serve --preset=chat), fallback (1bit serve -m … --device hrx --no-loom --no-mtp), cpu arbiter (--device cpu --no-mtp, 8 cores at nice 10). 8 prompts, greedy, thinking off, 64 tokens, text only. Provenance in the run dir.fallback vs cpu, which is the only pairing where both routes carry log-probs: mean KLD 0.021060 nats (KL(fallback‖cpu), 156 positions, 24 with entries below top-N), same top token 100 %, token-id match 0.830, mean |dlogp| 0.0134. Determinism: cpu bitwise-identical over 190 tokens, fallback bitwise-identical over 195.Against the pre-registered rule
NO LOGPROBSon every position (have_logprobs: false), soKLD_loomdoes not exist to compare withKLD_fallback. Every Loom row in this issue inherits that; it is a property of the Loom chat route, not of this port. Filed upstream as loom-serve returns no log-probs, so a gate row's KLD/accuracy clause is unmeasurable loom-fun/loom-skills#1680.Verdict: the row flips from "do not route (prefill)" to route. The prefill blocker that produced the original verdict is gone (351 → 2,033 tok/s, 5.8×), Loom is the arm closest to the CPU arbiter on text, and the one clause that cannot be signed is the KLD comparison, which no Loom card can supply until the route returns log-probs. If the maintainers want the KLD clause signed before the route moves, the dependency is #1680, not more measurement of this card.
bong-water-water-bong commentedon Nov 26, 2026
Speed half, pre-registered shape: 4 interleaved rounds on the published card
Run on the artifact people download — a fresh clone of
1bit-MONSTER/GLM-4.7-Flash-GGUF-loom@a76d9b2withparameter/resolved to the local Q4_K_M — not a build tree. One box (strixhalo, gfx1151), onebox-hold gputicket, one server at a time, arms in a fixed order per round (fallback → loom → loom-proxy),4 rounds, 2,380-token prompt. Prefill is the client-observed TTFT of a 1-token request; decode is a streamed
(N+1)-token request,
(ct-1)/(end-first). Client is stdlib, prompt carries a nonce.1bit serve --device hrx --no-loom)loom-serve --preset=chat)1bit serve --loom-routes)So against our own engine's HIP route on the same box, same minute: 2.25× prefill, 2.25× lower TTFT,
+6.5 % decode at 2k (+7.9 % through the proxy), +10 % short decode. Spreads are 1.6–2.9 % over the four rounds, and
the ordering never inverted.
Two honest notes on the baselines, because the numbers have been quoted three different ways:
llama.cpp b1388measured byperf.pywith the card's recorded args (-ngl 99 -cram 0 -c 65536 -np 1); the1,003 here is our engine's
--device hrxroute, a different binary with different batching. The row'scross-engine claim therefore stays prefill_2k 2,033.5 vs 351.1 = 5.8×, and this interleaved run's claim is
2.25× against the ENGINE, not against upstream llama.cpp.
Where that leaves the row
kernel_tests 91/91loom-servereturnshave_logprobs: false, so no Loom-side KLD exists to compareVerdict unchanged from the amendment above and now measured in the pre-registered shape: route, with the KLD
clause recording that it is unmeasurable on this route rather than absent (loom-fun/loom-skills#1680).
Provenance:
/data/dev/cl-loom/out/glm-pub-r4/(speed.tsv24 rows,provenance.txt,state.log), tctl 39 Cat start,
ec=balancedthroughout, noamdgpufault or reset in the kernel log for the run.