Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.
C++
bench: community report, 2x RX 7900 GRE (gfx1100), layer split, #848 / #854 (PR #1140)
jase100kc1daa7b1fb20
diff --git a/bench/results/2026-10-06-community-2x-rx-7900-gre/README.md b/bench/results/2026-10-06-community-2x-rx-7900-gre/README.mdnew file mode 100644index 000000000..3e38fe480--- /dev/null+++ b/bench/results/2026-10-06-community-2x-rx-7900-gre/README.md@@ -0,0 +1,390 @@+# Community benchmark: 2x AMD Radeon RX 7900 GRE 16 GiB (gfx1100), Ryzen 7 5700X3D++Measured on 2026-10-06 by [jase100k](https://github.com/jase100k) on a NixOS desktop. This tests the+Coder model (IQ1_M) with the layer split across two RX 7900 GRE cards on engine 0.1.40, and the four+things the 0.1.40 notes asked a two-card rig to check: `--pipeline-windows` (#859), resident RAM mode+on a split (#848), `--batch` (#776) and the stage-weights trim (#880).++The main limitation is that the two cards are not on the same link. One is wired straight to a+16.0 GT/s x16 root port (the engine probes **28.2 GB/s** host to device, `pcie_frac 0.55`); the other+sits behind a chain of bridges that settles at 8.0 GT/s x4 (**3.1 GB/s**, `pcie_frac 0.08`). Layers+0-26 run on the fast card, layers 27-47 on the slow one, so every number below is for that lopsided+pair. Memory is reported in GiB, the engine's link and transfer rates in GB/s as it prints them.++Median decode throughput was **69.3 tok/s with `--pipeline-windows 2` and 63.8 tok/s with+`--pipeline-windows 1`** over 10 interleaved pairs of 500-token greedy generations (1,757-4,238 fresh+prompt tokens each): the one-window arm was slower in 9 of 10 pairs, the paired change median+**-7.2%** (range -17.8% to +0.7%). With the stage trim off (`STRATA_STAGE_TRIM=0`) the fresh-prompt+decode median fell from 75.7 to 67.6 tok/s and fresh prefill from 1,582.9 to 1,103.4 tok/s, with+7,624 resident experts instead of 9,438. Resident RAM mode (`--resident-budget-gib 30`) landed+inside the baseline's own run-to-run spread: 72.1 tok/s fresh decode against 71.2-79.1 tok/s for the+same config measured as arm A of the other four arms. `--batch 2` and `--batch 4` load and run+without hanging, but filling the slots does not raise throughput: one request at a time on the batch+config decoded at 68.3 tok/s, two at once totalled 56.6 and four at once 64.6.++## Hardware and software++- **GPUs:** 2x AMD Radeon RX 7900 GRE, 16 GiB each (17,163,091,968 B of VRAM per card; PCI device+ `1002:744c`, gfx1100, wave32, HIP names the agents gfx1100). Subsystem IDs `1DA2:475E` (slot+ `0000:2d:00.0`) and `1EAE:790A` (slot `0000:06:00.0`). rocm-smi saw no maximum power limit without+ root; average package power at collection time (idle) was 29.0 W and 46.0 W.+- **PCIe:** `0000:2d:00.0` is on a clean path - root port `00:03.1` through `2b:00.0` and `2c:00.0`,+ every hop 16.0 GT/s x16, and the engine probes **28.2 GB/s** host to device (`pcie_frac 0.55`). The+ other card, `0000:06:00.0`, goes `00:01.2` (8.0 GT/s now, max 16.0 GT/s x8) then `02:00.2`,+ `03:00.0`, `04:00.0`, `05:00.0`, and the hops from `03:00.0` down run **8.0 GT/s x4**, which the+ engine measures as **3.1 GB/s** (`pcie_frac 0.08`). The endpoint's own link registers still report+ x16; the limit is the root-port hop. Extended control/status registers and `lspci` need root, so+ negotiated widths beyond what sysfs shows were not read.+- **Order:** the config's `"gpu": [1, 0]` makes the server set `HIP_VISIBLE_DEVICES=1,0`, so the+ engine's CUDA0 is HIP device 1 (`0000:2d:00.0`, the fast card) and CUDA1 is HIP device 0+ (`0000:06:00.0`, the slow card). Layers 0-26 on the fast card, 27-47 on the slow one.+- **CPU and RAM:** AMD Ryzen 7 5700X3D, 8 cores / 16 threads, AVX2 only (no AVX-512). 65,760,268 kB+ installed RAM = **62.7 GiB**. Swap: `/dev/zram0` 32,880,124 kB (31.4 GiB, priority 5) plus an+ unused NVMe partition of 72,347,404 kB (69.0 GiB, priority -1), 100.3 GiB in total.+- **Storage:** KINGSTON SKC3000D2048G, 1.9 TB NVMe (no rotating media). Model, pack and MTP files+ live on it.+- **OS and runtime:** NixOS 26.11 (Zokor), kernel `7.2.8-cachyos`, amdgpu. ROCm at+ `<local opt>/rocm` (a tree built by this machine's `make-rocm-tree.py` from nixpkgs ROCm packages,+ ROCm 7.2.3, HIP 7.2.53211, rocm-smi 4.0.0); `ROCM_PATH` and the loader paths come from+ `<local opt>/strata-env.sh`.+- **Source:** `main` at `1735d64` (pulled 2026-10-06 19:11), engine version 0.1.40, llama.cpp pinned+ at `3cf0325`.+- **Build:** a local HIP source build, not a release binary: `engine/BUILD.json` says+ `"source": "local-hip", "backend": "hip", "version": "0.1.40", "archs": ["gfx1100"]`, built with+ `cmake -DSTRATA_ENABLE_HIP=ON -DSTRATA_ENABLE_CUDA=OFF -DSTRATA_BUILD_TESTS=OFF+ -DSTRATA_PREFILL_MMQ=ON -DCMAKE_HIP_ARCHITECTURES=gfx1100 -DSTRATA_PORTABLE=OFF` (Release, ROCm+ clang); `engine/strata` is 11,419,856 B, mtime 2026-10-06 19:13, and `--version` reports 0.1.40.+ One bookkeeping wrinkle: the `src` fingerprint in `BUILD.json` is `d63ddbc6a262e39e`, which is the+ fingerprint `setup.py` computes for the tree at `6f32ec0` (the commit before the 19:11 pull), while+ the tree at run time (`1735d64`) fingerprints as `6f298dff754d187f`. `setup.py` hashes the source+ when the compile starts and stamps the version when it ends, so this build started before the pull+ and finished after it. The binary reports 0.1.40 and behaves like it: the `--pipeline-windows 2`+ start-up line carries the 0.1.40 clause and the two window settings print different lines and+ measure different speeds (Results below).+- **Background workloads:** a normal desktop session, not a dedicated bench box. No other GPU client+ was known to be running (amdgpu reported 1-2% busy at collection time); CPU-side services and the+ desktop kept running. Nothing was clock-locked and no power limit was set. GPU temperatures at+ collection: edge 32 / 44 C, junction 39 / 52 C, memory 54 / 66 C.++## Model and configuration++- **Model:** [`ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-Coder-GGUF`](https://huggingface.co/ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-Coder-GGUF),+ IQ1_M, 48 layers / 5,376 routed experts (the profile counts 12,288 ranked pairs). The repository+ revision was not recorded; the files were downloaded 2026-09-30 20:29-20:36:+ - `Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf` 29,608,446,496 B (29.6 GB / 27.6 GiB),+ passed as `--native`;+ - `Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf` 28,800,138,432 B (28.8 GB / 26.8 GiB),+ passed as `--ple-gguf`.+- **Pack:** `<data root>/packs/coder-iq1_m`, built with the repository's own tool as `index.txt` says:+ `# strata pack index v3 -- generated by tools/iq_pack.py (native experts) from+ Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf` (sha256 `2cb3352786bcae81...`; `dense.bin`+ 1,475,120,640 B, `experts.bin` 25,146,163,200 B, `native_experts.txt` sha256+ `9ace1b92e1fe1259...`).+- **Expert profile:** `expert-profile-learned-coder.bin` (98,328 B, sha256+ `be2c27b6d2267470162d9ebadeac8f3e2d36c4f70399cea04d51db6fef78d636` as it stood after the last run).+ It is a *learned* profile: passed as `--expert-profile` at start and rewritten by+ `--expert-profile-save` while the server runs, so it is both an input to and an output of these+ measurements. The profile ranks 12,288 pairs for 12,288 slots.+- **MTP draft:** `<data root>/mtp/rt` (`dense.bin` sha256 `c724dc0b0822ada5...`, `experts.bin`+ sha256 `09398406be61f1f5...`, `draft_vocab.bin` sha256 `369151522226a5ed...`), draft vocabulary+ `en`.+- **Vision:** `--vision` with `strata-vision` and `mmproj-Qwen3.8-Flash-Next-BF16.gguf`, encoder on+ the CPU (4 threads, `gpu: false`). No image was sent in this report, so the vision path is enabled+ but unmeasured.+- **Context and KV:** 262,144 tokens (`--max-context 262144`), `--kv int8 --kv-resident 32768`+ (32,768 KV cells per attention layer resident in VRAM, the rest streamed from RAM).+- **Split and caches:** `--layer-split 27` (layers 0-26 on CUDA0, 27-47 on CUDA1),+ `--expert-cache auto`, `--prefill auto`, `--vram-reserve-mib 3072 --vram-reserve-later-mib 800`.+- **Pipeline:** `--pipeline-windows 2` in the install config; one arm uses `--pipeline-windows 1`.+- **MTP and sampling:** `--spec 5 --spec-min-p 0.5`, suffix drafting on (the default). Every request+ in this report is greedy: `temperature 0, top_k 1, top_p 1, min_p 0, seed 42, reasoning_effort+ none` (`reasoning_budget_tokens` is 2048 in the config but no request asks for reasoning).+- **Environment:** `STRATA_HIPBLASLT_TUNING=<strata checkout>/tools/hip/gfx1100-hipblaslt-100202.txt`+ (sha256 `a594869223200c62...`), `STRATA_ADAPT_NOWAIT=1`, `STRATA_STAGE_TRIM=1`,+ `STRATA_PREFILL_HELP=1`, `STRATA_RING_BYTES=1`, `STRATA_SPLIT_OWN=1`, `STRATA_EXCHANGE_ROTATE=1`,+ `STRATA_PF_FUSED=1`.+- **Not used:** no calibration, no experimental speed projection, no control vectors, no API key,+ `fit_max_tokens` on.++```text+# the server (run-coder-iq1_m.sh); the config holds the model paths and the environment+. "<local opt>/strata-env.sh"+"<strata checkout>/.venv/bin/python" "<strata checkout>/serve/server.py" --engine strata \+ --config "<strata checkout>/strata-coder-iq1_m.json" --port 8080++# what the server starts (the "engine started" line in data/engine.log)+<strata checkout>/engine/strata --serve --pack <data root>/packs/coder-iq1_m \+ --native <data root>/models/coder-IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf \+ --ple-gguf <data root>/models/coder-IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf \+ --expert-profile expert-profile-learned-coder.bin --expert-cache auto --prefill auto \+ --spec 5 --spec-min-p 0.5 --mtp <data root>/mtp/rt --max-context 262144 --kv int8 \+ --kv-resident 32768 --vram-reserve-mib 3072 --vram-reserve-later-mib 800 \+ --pipeline-windows 2 --vision --layer-split 27 \+ --expert-profile-save expert-profile-learned-coder.bin+# with HIP_VISIBLE_DEVICES=1,0 (from "gpu": [1, 0]) and the eight environment variables above+```++## Method++Four kinds of measurement, run one after another on the same machine, each starting its own+server on port 8080 and killing the previous one (`scripts/run-all.sh` runs them in order:+[interleave500](scripts/interleave500.py), then the `pipeline-off`, `stage-trim-off`+and `resident` arms, then the soak, then the `batch2` and `batch4` arms). The A/B harness is+vendored into this folder as [scripts/ab-run.sh](scripts/ab-run.sh) - arm A is the install config as+it stands, arm B the same config plus the extra engine args/env - and is called through+[scripts/run-arm.sh](scripts/run-arm.sh), which strips the `--arg` marker the runner spells (the+harness takes bare flag/value pairs and would otherwise raise `IndexError` before writing arm B's+config) and archives each arm's JSON, server output and engine-log slice into `data/`. Because+`ab-run.sh` ends by starting a server on the base config, the next arm's log slice can begin+with one extra start-up block from that leftover server; the blocks are told apart by their expert+counts, and only the blocks that then serve requests belong to the arms.++- **`--pipeline-windows 2` vs 1, interleaved** ([`scripts/interleave500.py`](scripts/interleave500.py),+ results under "Per-pair detail"): 10 pairs, each pair posting the same prompt to arm A (the install+ config, window 2) and arm B (`--pipeline-windows 1`) back to back, alternating which arm goes first+ by pair, one server restart per request so neither arm keeps a warm cache the other does not get.+ `max_tokens=500`, greedy (`temperature 0, top_k 1, top_p 1, min_p 0, seed 42`), `reasoning_effort:+ none`, no reused tokens (every request is a fresh conversation). Prompt tokens 1,757, 2,334, 2,913,+ 3,584 and 4,238, twice each per arm.+- **Short arms** ([`scripts/ab-run.sh`](scripts/ab-run.sh) + `tools/hip/bench_prefill.py`): one+ warm-up request+ (`Reply READY.`, excluded), then 4 fresh prompts (synthetic JavaScript of 140 and 280 lines,+ 4,210 and 8,830 prompt tokens, `reused 0`) and 4 follow-ups on those same conversations+ (4,451 and 9,071 prompt tokens, of which 4,203-8,958 were reused), 128 generated tokens per+ request, same greedy settings. Each arm restarts the server for side A and again for side B, with+ a 30 s pause before the pair. `STRATA_STAGE_TRIM` is already `1` in the install config, so the+ stage-trim arm's *B* side sets it to `0`: A is "trim on", the default, and B is "trim off".+- **Soak:** one server for 30 minutes with `--resident-budget-gib 30`, one fresh conversation after+ another at 128 tokens, `scripts/sample_mem.py` writing a row every 60 s.+- **`--batch`:** the same short arm with `--batch 2` and `--batch 4` (single requests, so it shows+ that the config loads and that nothing hangs), then+ [`scripts/batch_concurrent.py`](scripts/batch_concurrent.py) posting N requests at once, which is+ what actually fills the batch slots (`tools/hip/bench_prefill.py` is single request).+- **Timing boundaries:** prompt tok/s and decode tok/s always come from the engine's own completion+ line (`prompt N tokens = X reused + Y read in Z ms (P tok/s), G generated in D ms (D tok/s)`), never+ from wall time divided by token count. TTFT is measured only in `interleave500.py`, client side over+ loopback, from just before the POST to the first non-empty streaming delta (empty deltas and+ keep-alives ignored); it is not measured in the short arms. Wall time is the whole request at the+ client, over loopback. Model loading is excluded: every side waits for+ `{"loaded": true}` on `/health` before its first request.+- **State between runs:** each side of each arm is a fresh server, so the expert cache, KV cache and+ CUDA context are cold at the start of every side; within a side, the expert cache is pre-filled from+ the profile at start and then keeps adapting (the engine prints its hit rate at the end of each+ request). Fresh prompts and follow-ups that reuse a prefix are always reported separately.+- **Memory:** `scripts/sample_mem.py` samples every 60 s: whole-machine RAM as+ `MemTotal - MemAvailable` (this counts page cache that is in use, not "anonymous memory only"), each+ card's `mem_info_vram_used` from amdgpu's sysfs counters, and the engine process's RSS. Values in+ the soak section are first sample and peak over those 60 s samples; a peak between samples can be+ missed.+- **Browser:** `ab-run.sh` passes `--open`, so `BROWSER=true` was exported to stop it opening a+ tab; no other desktop effect is known.++### Files++| File | What it holds |+| --- | --- |+| [data/hardware.txt](data/hardware.txt) | os-release, uname, rocminfo, rocm-smi, sysfs PCIe links, CPU/RAM/storage, engine version, PCI topology of both cards |+| [data/interleave500.json](data/interleave500.json) | the 20 interleave requests: arm, pair, prompt id, TTFT, wall, engine metrics, finish reason, output head |+| [data/interleave500-server.out](data/interleave500-server.out), [data/engine-interleave.log](data/engine-interleave.log) | the server output and the engine log slice for those 20 requests |+| [data/ab-\<label\>-A.json](data), [data/ab-\<label\>-B.json](data) | the short arms' per-request records (`pipeline-off`, `stage-trim-off`, `resident`, `batch2`, `batch4`) |+| [data/cfg-\<label\>-B.json](data) | the config each arm's B side actually ran (`cfg-soak.json` and `cfg-interleave-B.json` are the soak's and the interleave's), with private paths rewritten |+| [data/ab-\<label\>-run.out](data) | the harness's own printed A/B summary for each arm |+| [data/ab-\<label\>-server-A.out](data), [data/ab-\<label\>-server-B.out](data) | each side's server output (start-up decisions, `done` lines) |+| [data/engine-ab-\<label\>.log](data) | each arm's engine log slice (start-up decisions plus request lines) |+| [data/soak-mem.csv](data/soak-mem.csv), [data/soak.json](data/soak.json) | the 60 s memory samples and the soak's 239 per-prompt records |+| [data/soak-summary.json](data/soak-summary.json), [data/soak-engine.log](data/soak-engine.log), [data/soak-server.out](data/soak-server.out) | the rebuilt soak summary (survived, peaks, request counts), the engine slice it was rebuilt from, and the soak's server output |+| [data/run-all.out](data/run-all.out) | the console transcript of the whole serial run, including the soak's per-prompt lines |+| [data/batch-concurrent-batch\<n\>.json](data) | the N-concurrent batch measurements: per-slot TTFT, wall, finish, the server's `done` lines and the engine slice |+| [data/batch-concurrent-batch\<n\>.server.out](data), [data/batch-concurrent-batch\<n\>.engine.log](data), [data/run-batch-concurrent.out](data/run-batch-concurrent.out) | the server output, engine slice and console transcript of each concurrency run |+| [data/engine.log](data/engine.log) | start-up lines plus request lines for every step of this report |+| [data/summary.md](data/summary.md) | the machine-built median/range tables this README's numbers are taken from |+| [scripts/](scripts) | every script that produced the above, including the A/B harness (`ab-run.sh`) |++## Results++### All runs++Every row is a **median (minimum-maximum)** over the runs in that row; every run is in the linked+JSON. No request failed and no arm needed a retry. Prompt throughput is freshly read tokens per+second from the engine's own completion line; decode is generated tokens per that line's decode+time; TTFT is client side over loopback and is `not measured` outside the interleave. Warm-up+requests are excluded everywhere.++| Configuration | Actual prompt tokens | Reused tokens | Generated tokens | Runs | Prompt tok/s median and range | Decode tok/s median and range | TTFT seconds median and range |+| --- | ---: | ---: | ---: | ---: | --- | --- | --- |+| `--pipeline-windows 2` (A), 500-token, interleaved | 1,757-4,238 | 0 | 256-500 (cap 500) | 10 | 961.0 (841.5-1,270.1) | **69.3 (66.4-74.3)** | 2.9 (1.9-3.6) |+| `--pipeline-windows 1` (B), 500-token, interleaved | 1,757-4,238 | 0 | 256-500 (cap 500) | 10 | 959.9 (839.6-1,271.9) | **63.8 (59.7-69.7)** | 2.9 (1.9-3.7) |+| baseline (A) fresh, `pipeline-off` arm | 4,210-8,830 | 0 | 128 | 4 | 1,582.8 (1,302.1-1,756.8) | 77.1 (70.9-83.9) | not measured |+| baseline (A) follow-up, `pipeline-off` arm | 4,451-9,071 | 4,203-8,958 | 128 | 4 | 185.8 (182.3-315.1) | 66.2 (60.0-73.2) | not measured |+| `--pipeline-windows 1` (B) fresh | 4,210-8,830 | 0 | 128 | 4 | 1,568.0 (1,174.4-1,738.6) | 70.0 (63.1-73.6) | not measured |+| `--pipeline-windows 1` (B) follow-up | 4,451-9,071 | 4,337-8,823 | 118-128 | 4 | 246.8 (182.7-313.1) | 62.8 (56.9-64.6) | not measured |+| baseline (A) fresh, `stage-trim-off` arm | 4,210-8,830 | 0 | 128 | 4 | 1,582.9 (1,229.7-1,751.3) | 75.7 (67.6-84.7) | not measured |+| baseline (A) follow-up, `stage-trim-off` arm | 4,451-9,071 | 4,337-8,957 | 128 | 4 | 186.1 (180.4-193.3) | 73.5 (68.7-79.1) | not measured |+| `STRATA_STAGE_TRIM=0` (B) fresh | 4,210-8,830 | 0 | 128 | 4 | 1,103.4 (883.2-1,213.6) | 67.6 (57.7-77.1) | not measured |+| `STRATA_STAGE_TRIM=0` (B) follow-up | 4,451-9,071 | 4,203-8,957 | 128 | 4 | 193.4 (132.3-254.3) | 70.9 (65.1-76.7) | not measured |+| baseline (A) fresh, `resident` arm | 4,210-8,830 | 0 | 76-128 | 4 | 1,558.5 (1,235.2-1,736.0) | 72.1 (63.9-78.5) | not measured |+| baseline (A) follow-up, `resident` arm | 4,451-9,071 | 4,203-8,958 | 128 | 4 | 186.6 (181.1-301.3) | 63.4 (61.3-70.1) | not measured |+| `--resident-budget-gib 30` (B) fresh | 4,210-8,830 | 0 | 128 | 4 | 1,550.0 (1,313.5-1,718.9) | 69.0 (58.0-72.1) | not measured |+| `--resident-budget-gib 30` (B) follow-up | 4,451-9,071 | 4,203-8,958 | 128 | 4 | 243.9 (179.6-312.5) | 64.6 (60.5-66.6) | not measured |+| baseline (A) fresh, `batch2` arm | 4,210-8,830 | 0 | 76-128 | 4 | 1,542.7 (1,301.4-1,712.5) | 79.1 (74.1-82.0) | not measured |+| baseline (A) follow-up, `batch2` arm | 4,398-9,071 | 4,203-8,958 | 128 | 4 | 227.3 (188.4-311.4) | 70.1 (62.3-71.3) | not measured |+| `--batch 2` (B) fresh, one request at a time | 4,210-8,830 | 0 | 128 | 4 | 1,404.0 (1,155.0-1,552.9) | 68.3 (66.2-69.4) | not measured |+| `--batch 2` (B) follow-up, one request at a time | 4,451-9,071 | 4,203-8,957 | 128 | 4 | 288.7 (174.1-300.7) | 62.8 (59.6-69.1) | not measured |+| baseline (A) fresh, `batch4` arm | 4,210-8,830 | 0 | 128 | 4 | 1,452.3 (956.0-1,798.1) | 71.2 (56.7-72.3) | not measured |+| baseline (A) follow-up, `batch4` arm | 4,451-9,071 | 4,338-8,823 | 127-128 | 4 | 213.9 (141.3-298.2) | 61.0 (57.8-68.0) | not measured |+| `--batch 4` (B) fresh, one request at a time | 4,210-8,830 | 0 | 128 | 4 | 1,117.7 (854.2-1,238.9) | 68.5 (66.0-74.9) | not measured |+| `--batch 4` (B) follow-up, one request at a time | 4,451-9,071 | 4,337-8,957 | 128 | 4 | 147.1 (144.7-256.3) | 60.9 (59.0-67.6) | not measured |++Four runs stopped before the 128-token cap (76, 76, 118 and 127 generated tokens: two in arm A+follow-ups of the `resident` and `batch2` arms, one in the pipeline arm's B follow-up and one in the+`batch4` arm's A follow-up) and are published as they are; their prompts are the reason those rows'+token counts differ slightly. The same baseline config was measured as the A side of all five arms:+fresh decode medians 77.1, 75.7, 72.1, 79.1 and 71.2 tok/s, a **71.2-79.1 tok/s spread on one+configuration**, which is the noise floor for any arm-to-arm difference discussed below.++### Soak: 30 minutes with `--resident-budget-gib 30`++[data/soak-summary.json](data/soak-summary.json), [data/soak-mem.csv](data/soak-mem.csv) and+[data/soak-engine.log](data/soak-engine.log):++- **survived: yes.** 239 prompts sent over 30 minutes (one fresh conversation each, 128 tokens,+ greedy), **239 completed, 0 errors**, all `finish_reason: length`. Request wall time 2.02 / 2.55 /+ 3.23 s (min / median / max). No `no progress`, NaN, crash, `never rang`, doorbell, abort, OOM or+ "killed" line appears in the soak's engine-log slice.+- **Samples:** 31 rows spanning 1,800.2 s, one every 60 s.+- **RAM** (`MemTotal - MemAvailable`, whole machine, includes page cache in use): first sample+ **22,713.6 MiB**, peak **24,009.0 MiB** (23.4 GiB) of 62.7 GiB installed.+- **Engine RSS:** first sample **10,810.3 MiB**, peak **11,180.1 MiB** (10.9 GiB).+- **VRAM** (amdgpu `mem_info_vram_used`, whole card): `0000:06:00.0` first 15.004 GiB, peak+ **15.054 GiB** of 16.0; `0000:2d:00.0` first 14.314 GiB, peak **14.440 GiB** of 16.0. These are+ 60 s samples; a peak between samples can be missed.+- Resident RAM mode was active for the whole soak: `resident RAM mode: 5.38 GiB of experts in RAM+ (page-locked), 4648 in the GPU cache; adaptive swaps exchange them with the GPU cache (no file+ reads)`, 9,413 resident experts on the token-graph hit path, 77% of the experts resident, and the+ decode expert-cache hit rate went from 95.9% on the first completed request to 97.2% on the last.+- **The harness's teardown failed, not the soak:** `sample_mem.py` looks for its stop file at the top+ of its loop, so it only noticed one full 60 s interval later, and `soak.py` waited 30 s - its+ `subprocess.TimeoutExpired` is the one traceback in [data/run-all.out](data/run-all.out). The+ samples, the per-prompt records and the engine slice were all written before that point;+ [scripts/soak_summary.py](scripts/soak_summary.py) rebuilt `soak-summary.json` from them, and+ [scripts/soak.py](scripts/soak.py) now waits out one whole interval so a repeat finishes cleanly.++### Per-pair detail: `--pipeline-windows 2` vs `--pipeline-windows 1`++The same prompt to both arms, one server restart per request, A always first in the pair:++| Pair | Prompt tokens | Generated A / B | Decode A tok/s | Decode B tok/s | B vs A |+| ---: | ---: | ---: | ---: | ---: | ---: |+| 1 | 1,757 | 409 / 414 | 66.4 | 60.5 | -8.9% |+| 2 | 2,334 | 500 / 500 | 72.6 | 59.7 | -17.8% |+| 3 | 2,913 | 500 / 500 | 67.8 | 68.3 | +0.7% |+| 4 | 3,584 | 500 / 500 | 68.8 | 68.1 | -1.0% |+| 5 | 4,238 | 500 / 256 | 73.2 | 63.3 | -13.5% |+| 6 | 1,757 | 336 / 258 | 67.4 | 63.5 | -5.8% |+| 7 | 2,334 | 500 / 500 | 66.9 | 63.8 | -4.6% |+| 8 | 2,913 | 500 / 500 | 71.0 | 69.7 | -1.8% |+| 9 | 3,584 | 500 / 500 | 74.3 | 64.6 | -13.1% |+| 10 | 4,238 | 500 / 500 | 69.9 | 63.9 | -8.6% |++Prompt tokens are identical within a pair, which is what makes the pairing useful. Decode is greedy+but not bit-reproducible across server restarts: prompt 0 generated 409 tokens in pair 1 and 336 in+pair 6 under arm A, and in 3 of the 10 pairs the two arms stopped at different token counts (pairs 1,+5 and 6). Those short runs are included, not thrown away.++### What the engine printed++- `--pipeline-windows 2: two verifiers per stage, the stages overlap across windows (decode too; the+ GDN snapshots beside the window)`+- `--pipeline-windows 1: two verifiers per stage, the stages overlap across windows`++The two settings print different start-up lines, so 0.1.40 does act on the flag. The install config+already carried `--pipeline-windows 2` under 0.1.39, where it was ignored; this report does not+compare versions, only this setting inside 0.1.40.++### Stage weights (#880)++| | `STRATA_STAGE_TRIM=1` (default, A) | `STRATA_STAGE_TRIM=0` (B) |+| --- | --- | --- |+| CUDA0 expert cache | 4,673 slots, 8.46 GiB | 3,832 slots, 6.93 GiB |+| CUDA1 expert cache | 4,765 slots, 9.62 GiB | 3,792 slots, 7.67 GiB |+| resident experts at start | **9,438** | **7,624** |+| engine's own share line | `77% of the experts resident` | not printed |+| CUDA1 free before the cache fill | 12.38 GiB of 15.98 | 10.43 GiB of 15.98 |+| free with everything loaded | 3,192 MiB | 3,170 MiB |+| decode expert-cache hit rate | 93.6-99.2% | 87.9-97.6% |+| fresh prefill median | 1,582.9 tok/s | 1,103.4 tok/s (-30.3%) |+| fresh decode median | 75.7 tok/s | 67.6 tok/s (-10.7%) |++Both sides print `CUDA0 loads the dense weights of layers 0-26 only` and+`CUDA1 loads the dense weights of layers 27-47 only`; what the trim removes is 1,814 resident experts+(a little over 2 GiB of slots across both cards), and the slow card pays for every expert it then+has to fetch.++### `--batch` (#776): slot sessions, real concurrency, doorbells++Arm B adds `--batch 2` or `--batch 4`, and the engine switches the pipeline window off by itself:++- `--pipeline-windows 2 is off: not with --batch slots`+- `--batch: 4 slot sessions on CUDA0 (0.52 GiB each); 11.16 GiB free` and the same on CUDA1+ (0.50 GiB each), `--batch 4: the slot sessions take 2.08 GiB of VRAM on CUDA0 that the expert+ cache would otherwise hold` (2 slots: 1.04 GiB)+- `strata verify: batch windows of up to 4 sequences (layers [0, 27))` and `(layers [27, 48))`++So the `--batch` rows in the table are the batch config *as a whole* - slot sessions taking VRAM+away from the expert cache **and** the window overlap switched off - not batch alone. Against the+baseline, fresh prefill fell from 1,582.8 to 1,404.0 (`--batch 2`) and 1,117.7 tok/s (`--batch 4`),+and fresh decode from 77.1 to 68.3 and 68.5 tok/s. All 36 runs of the two batch arms completed (9+requests per side, two sides, two arms) with no error and no stage waiting.++**Concurrency** ([`scripts/batch_concurrent.py`](scripts/batch_concurrent.py)): N fresh 500-token+greedy conversations posted at the same instant, per-request TTFT and wall time measured at the+client, decode taken from the server's own `[strata] done: N tokens in T s (X tok/s)` line (the+engine's completion line is one per prompt *chunk* under `--batch`, so it cannot be summed). Files:+[data/batch-concurrent-batch2.json](data/batch-concurrent-batch2.json),+[data/batch-concurrent-batch4.json](data/batch-concurrent-batch4.json), each with its+`.server.out` and `.engine.log` slice.++| Run | Slots filled | TTFT seconds, by slot | Wall seconds, by slot | Decode tok/s, by slot | Aggregate decode tok/s | Hung slots |+| --- | ---: | --- | --- | --- | ---: | ---: |+| `--batch 2`, one request at a time (the arm above, 128-token runs) | 1 | not measured | not measured | 68.3 (66.2-69.4) | 68.3 | 0 |+| `--batch 2`, 2 at once | 2 | 2.33, 6.26 | 19.13, 21.69 | 24.2, 32.4 | **56.6** | 0 |+| `--batch 4`, 4 at once | 4 | 3.22, 8.15, 13.36, 18.68 | 37.85, 42.03, 43.15, 43.85 | 13.1, 14.8, 16.8, 19.9 | **64.6** | 0 |++- **No doorbell was left ringing.** Every slot finished inside the 300 s per-slot timeout (worst+ 43.9 s), `hung_slots` is empty in both JSONs, and neither engine slice contains a `no progress`,+ `never rang`, stall, abort, NaN or OOM line. The windows visibly form: `strata batch: slot 3 takes+ 3584 tokens (copied in 111.7 ms)`, `strata verify: captured the batch window over slots 0,1,2,3`.+- **The slots did not buy throughput here.** One request at a time on the same config decoded at+ 68.3 tok/s; two at once totalled 56.6 and four at once 64.6 (the sum of the per-slot rates), so+ the batch kept the machine near a single request's output rate while each request fell to+ 24.2-32.4 tok/s with 2 slots (2.4x slower) and 13.1-19.9 tok/s with 4 (4.2x slower). TTFT also+ stacks, because prompts are admitted in turn: the fourth slot waited 18.7 s for its first token+ (`strata batch: the prompt was read in 2 parts, the slots decoding 1034 ms between them`).+- Caveats: the single-request reference row is from the arm's 128-token runs while the concurrent+ rows are 500-token runs, so it is a rate comparison and not a latency one, and it is one machine+ and one quantization, as the limitations below say.++## Correctness and limitations++- **No answer-quality check was run.** This report is speed and stability only: no `needle_bench.py`,+ no coding task with tests, no vision input. Nothing here says anything about answer quality.+- **Greedy is not bit-reproducible across restarts.** Same config, same prompt, same seed gave 409+ then 336 generated tokens for prompt 0 under arm A, and 3 of the 10 window pairs stopped at+ different points. Decode tok/s still comes from the engine's own decode timing, so the short runs+ are comparable, but they are noisier than the runs that hit the 500-token cap.+- **One machine, one quantization, one layer split, small synthetic prompts.** The longest prompt+ measured fresh is 4,238 tokens and the longest context used is that; the 262,144-token context,+ 128,000-token prompts, vision, tool use, concurrency beyond the batch runs, thinking and sampled+ decoding were not tested. The two cards differ by nearly a factor of nine in measured link+ bandwidth, so a machine with two identical links would show different numbers.+- **The baseline was measured five times** (once as the A side of each arm) and its fresh-decode+ medians were 77.1, 75.7, 72.1, 79.1 and 71.2 tok/s (71.2-79.1), plus 69.3 in the interleaved+ 500-token runs, which are a different workload. Differences smaller than that spread are not+ treated as effects here.+- **The expert profile changes while the server runs** (`--expert-profile-save`), so the arms do not+ see byte-identical profiles; each side starts from the file the previous side left behind.+- **Model revision unknown.** The GGUF files' repository revision was not recorded, only their names,+ sizes and download time, so a later revision of the same repository could differ.+- **Suggested comparison on this machine:** none. There is no second version, second card or second+ quantization measured here to compare against, and the report rules forbid a version-to-version+ claim from a single configuration.diff --git a/bench/results/2026-10-06-community-2x-rx-7900-gre/TRIMMED.md b/bench/results/2026-10-06-community-2x-rx-7900-gre/TRIMMED.mdnew file mode 100644index 000000000..7d7c637e7--- /dev/null+++ b/bench/results/2026-10-06-community-2x-rx-7900-gre/TRIMMED.md@@ -0,0 +1,62 @@+# Trimmed files++Ported from PR #1140 for 0.1.40.2. Raw dumps, logs and binaries were left out to keep the repository small;+the README, summaries, configs and per-run results are unchanged. The files below were in the original PR.++53 files, 1.3 MB:++| file | bytes | why |+|---|---:|---|+| `data/ab-batch2-A.json` | 9,280 | over the folder's size budget |+| `data/ab-batch2-B.json` | 9,777 | over the folder's size budget |+| `data/ab-batch2-run.out` | 17,050 | over the folder's size budget |+| `data/ab-batch2-server-A.out` | 3,588 | over the folder's size budget |+| `data/ab-batch2-server-B.out` | 3,654 | over the folder's size budget |+| `data/ab-batch4-A.json` | 9,042 | over the folder's size budget |+| `data/ab-batch4-B.json` | 9,515 | over the folder's size budget |+| `data/ab-batch4-run.out` | 16,550 | over the folder's size budget |+| `data/ab-batch4-server-A.out` | 3,765 | over the folder's size budget |+| `data/ab-batch4-server-B.out` | 3,903 | over the folder's size budget |+| `data/ab-pipeline-off-A.json` | 9,678 | over the folder's size budget |+| `data/ab-pipeline-off-B.json` | 9,502 | over the folder's size budget |+| `data/ab-pipeline-off-run.out` | 17,195 | over the folder's size budget |+| `data/ab-pipeline-off-server-A.out` | 3,537 | over the folder's size budget |+| `data/ab-pipeline-off-server-B.out` | 3,590 | over the folder's size budget |+| `data/ab-resident-A.json` | 9,629 | over the folder's size budget |+| `data/ab-resident-B.json` | 9,716 | over the folder's size budget |+| `data/ab-resident-run.out` | 17,356 | over the folder's size budget |+| `data/ab-resident-server-A.out` | 3,649 | over the folder's size budget |+| `data/ab-resident-server-B.out` | 3,768 | over the folder's size budget |+| `data/ab-stage-trim-off-A.json` | 9,553 | over the folder's size budget |+| `data/ab-stage-trim-off-B.json` | 9,645 | over the folder's size budget |+| `data/ab-stage-trim-off-run.out` | 17,215 | over the folder's size budget |+| `data/ab-stage-trim-off-server-A.out` | 3,597 | over the folder's size budget |+| `data/ab-stage-trim-off-server-B.out` | 3,972 | over the folder's size budget |+| `data/batch-concurrent-batch2.engine.log` | 9,408 | log/binary |+| `data/batch-concurrent-batch2.server.out` | 3,193 | over the folder's size budget |+| `data/batch-concurrent-batch4.engine.log` | 9,789 | log/binary |+| `data/batch-concurrent-batch4.json` | 3,417 | over the folder's size budget |+| `data/batch-concurrent-batch4.server.out` | 8,004 | over the folder's size budget |+| `data/engine-ab-batch2.log` | 22,754 | log/binary |+| `data/engine-ab-batch4.log` | 28,942 | log/binary |+| `data/engine-ab-pipeline-off.log` | 23,963 | log/binary |+| `data/engine-ab-resident.log` | 33,455 | log/binary |+| `data/engine-ab-stage-trim-off.log` | 29,554 | log/binary |+| `data/engine-interleave.log` | 170,347 | log/binary |+| `data/engine.log` | 283,947 | log/binary |+| `data/hardware.txt` | 11,601 | over the folder's size budget |+| `data/interleave500-server.out` | 33,909 | over the folder's size budget |+| `data/interleave500.json` | 19,569 | over the folder's size budget |+| `data/run-all.out` | 14,490 | over the folder's size budget |+| `data/soak-engine.log` | 168,668 | log/binary |+| `data/soak-server.out` | 60,607 | soak dump |+| `data/soak.json` | 87,931 | soak dump |+| `scripts/ab-run.sh` | 3,861 | over the folder's size budget |+| `scripts/batch_concurrent.py` | 6,703 | over the folder's size budget |+| `scripts/collect_hardware.sh` | 3,190 | over the folder's size budget |+| `scripts/interleave500.py` | 10,474 | over the folder's size budget |+| `scripts/run-all.sh` | 2,806 | over the folder's size budget |+| `scripts/sample_mem.py` | 3,225 | over the folder's size budget |+| `scripts/soak.py` | 9,469 | over the folder's size budget |+| `scripts/soak_summary.py` | 4,785 | over the folder's size budget |+| `scripts/summarize.py` | 7,082 | over the folder's size budget |diff --git a/bench/results/2026-10-06-community-2x-rx-7900-gre/data/batch-concurrent-batch2.json b/bench/results/2026-10-06-community-2x-rx-7900-gre/data/batch-concurrent-batch2.jsonnew file mode 100644index 000000000..4a4d8975f--- /dev/null+++ b/bench/results/2026-10-06-community-2x-rx-7900-gre/data/batch-concurrent-batch2.json@@ -0,0 +1,87 @@+{+ "batch": 2,+ "config": "<strata checkout>/bench/results/2026-10-06-community-2x-rx-7900-gre/data/cfg-batch2-B.json",+ "max_tokens": 500,+ "requests": [+ {+ "slot": 0,+ "prompt_id": 0,+ "ttft_s": 2.329,+ "wall_s": 19.13,+ "finish": "stop",+ "error": null,+ "text": "The source code defines a series of exported functions, `rule0` through `rule59`, each following a consistent pattern: they accept a single argument `x` and return `x + (n + 1)` if `x` is strictly equ"+ },+ {+ "slot": 1,+ "prompt_id": 1,+ "ttft_s": 6.257,+ "wall_s": 21.69,+ "finish": "length",+ "error": null,+ "text": "### Summary\n\nThis module defines a collection of 80 exported functions (`rule0` through `rule79`). Each function accepts a single numeric argument `x` and applies a specific conditional logic:\n1. If "+ }+ ],+ "hung_slots": [],+ "elapsed_s": 28.2,+ "server_done": [+ {+ "tokens": 406,+ "wall_s": 19.0,+ "decode_tps": 24.2,+ "finish": "stop",+ "cancelled": "False"+ },+ {+ "tokens": 500,+ "wall_s": 22.0,+ "decode_tps": 32.4,+ "finish": "length",+ "cancelled": "False"+ }+ ],+ "aggregate_decode_tps": 56.6,+ "engine_lines": [+ {+ "prompt_tokens": "1757",+ "reused": "0",+ "fresh": "1757",+ "prefill_ms": "2285",+ "prefill_tps": "768.9",+ "generated": "1",+ "decode_ms": "40",+ "decode_tps": "24.8"+ },+ {+ "prompt_tokens": "1758",+ "reused": "1757",+ "fresh": "1",+ "prefill_ms": "1",+ "prefill_tps": "1231.7",+ "generated": "1",+ "decode_ms": "26",+ "decode_tps": "38.4"+ },+ {+ "prompt_tokens": "2334",+ "reused": "0",+ "fresh": "2334",+ "prefill_ms": "3721",+ "prefill_tps": "627.2",+ "generated": "1",+ "decode_ms": "27",+ "decode_tps": "36.9"+ },+ {+ "prompt_tokens": "2710",+ "reused": "2709",+ "fresh": "1",+ "prefill_ms": "106",+ "prefill_tps": "9.4",+ "generated": "124",+ "decode_ms": "2362",+ "decode_tps": "52.5"+ }+ ],+ "engine_log_lines_found": 4+}diff --git a/bench/results/2026-10-06-community-2x-rx-7900-gre/data/cfg-batch2-B.json b/bench/results/2026-10-06-community-2x-rx-7900-gre/data/cfg-batch2-B.jsonnew file mode 100644index 000000000..e903e3acf--- /dev/null+++ b/bench/results/2026-10-06-community-2x-rx-7900-gre/data/cfg-batch2-B.json@@ -0,0 +1,75 @@+{+ "exe": "<strata checkout>/engine/strata",+ "args": [+ "--pack",+ "<data root>/packs/coder-iq1_m",+ "--native",+ "<data root>/models/coder-IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf",+ "--ple-gguf",+ "<data root>/models/coder-IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf",+ "--expert-profile",+ "<strata checkout>/expert-profile-learned-coder.bin",+ "--expert-cache",+ "auto",+ "--prefill",+ "auto",+ "--spec",+ "5",+ "--spec-min-p",+ "0.5",+ "--mtp",+ "<data root>/mtp/rt",+ "--max-context",+ "262144",+ "--kv",+ "int8",+ "--kv-resident",+ "32768",+ "--vram-reserve-mib",+ "3072",+ "--vram-reserve-later-mib",+ "800",+ "--pipeline-windows",+ "2",+ "--vision",+ "--batch",+ "2"+ ],+ "cwd": "<strata checkout>",+ "tokenizer": "<data root>/packs/coder-iq1_m/tokenizer",+ "model_name": "qwen3.8-flash-next-coder-iq1_m",+ "log": "<strata checkout>/strata-coder-iq1_m.log",+ "lib_dirs": [+ "<local opt>/rocm/lib"+ ],+ "port": 8080,+ "backend": "hip",+ "gpu": [+ 1,+ 0+ ],+ "reasoning_budget_tokens": 2048,+ "layer_split": "27",+ "fit_max_tokens": true,+ "env": {+ "STRATA_HIPBLASLT_TUNING": "<strata checkout>/tools/hip/gfx1100-hipblaslt-100202.txt",+ "STRATA_ADAPT_NOWAIT": "1",+ "STRATA_STAGE_TRIM": "1",+ "STRATA_PREFILL_HELP": "1",+ "STRATA_RING_BYTES": "1",+ "STRATA_SPLIT_OWN": "1",+ "STRATA_EXCHANGE_ROTATE": "1",+ "STRATA_PF_FUSED": "1"+ },+ "draft_vocab": "en",+ "expert_profile_save": "expert-profile-learned-coder.bin",+ "vision": {+ "exe": "<strata checkout>/engine/strata-vision",+ "mmproj": "<data root>/models/mmproj-Qwen3.8-Flash-Next-BF16.gguf",+ "model": "<data root>/models/coder-IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf",+ "gpu": false,+ "threads": 4,+ "min_tokens": 1024,+ "max_tokens": 1024+ }+}\ No newline at end of filediff --git a/bench/results/2026-10-06-community-2x-rx-7900-gre/data/cfg-batch4-B.json b/bench/results/2026-10-06-community-2x-rx-7900-gre/data/cfg-batch4-B.jsonnew file mode 100644index 000000000..672b1dabc--- /dev/null+++ b/bench/results/2026-10-06-community-2x-rx-7900-gre/data/cfg-batch4-B.json@@ -0,0 +1,75 @@+{+ "exe": "<strata checkout>/engine/strata",+ "args": [+ "--pack",+ "<data root>/packs/coder-iq1_m",+ "--native",+ "<data root>/models/coder-IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf",+ "--ple-gguf",+ "<data root>/models/coder-IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf",+ "--expert-profile",+ "<strata checkout>/expert-profile-learned-coder.bin",+ "--expert-cache",+ "auto",+ "--prefill",+ "auto",+ "--spec",+ "5",+ "--spec-min-p",+ "0.5",+ "--mtp",+ "<data root>/mtp/rt",+ "--max-context",+ "262144",+ "--kv",+ "int8",+ "--kv-resident",+ "32768",+ "--vram-reserve-mib",+ "3072",+ "--vram-reserve-later-mib",+ "800",+ "--pipeline-windows",+ "2",+ "--vision",+ "--batch",+ "4"+ ],+ "cwd": "<strata checkout>",+ "tokenizer": "<data root>/packs/coder-iq1_m/tokenizer",+ "model_name": "qwen3.8-flash-next-coder-iq1_m",+ "log": "<strata checkout>/strata-coder-iq1_m.log",+ "lib_dirs": [+ "<local opt>/rocm/lib"+ ],+ "port": 8080,+ "backend": "hip",+ "gpu": [+ 1,+ 0+ ],+ "reasoning_budget_tokens": 2048,+ "layer_split": "27",+ "fit_max_tokens": true,+ "env": {+ "STRATA_HIPBLASLT_TUNING": "<strata checkout>/tools/hip/gfx1100-hipblaslt-100202.txt",+ "STRATA_ADAPT_NOWAIT": "1",+ "STRATA_STAGE_TRIM": "1",+ "STRATA_PREFILL_HELP": "1",+ "STRATA_RING_BYTES": "1",+ "STRATA_SPLIT_OWN": "1",+ "STRATA_EXCHANGE_ROTATE": "1",+ "STRATA_PF_FUSED": "1"+ },+ "draft_vocab": "en",+ "expert_profile_save": "expert-profile-learned-coder.bin",+ "vision": {+ "exe": "<strata checkout>/engine/strata-vision",+ "mmproj": "<data root>/models/mmproj-Qwen3.8-Flash-Next-BF16.gguf",+ "model": "<data root>/models/coder-IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf",+ "gpu": false,+ "threads": 4,+ "min_tokens": 1024,+ "max_tokens": 1024+ }+}\ No newline at end of filediff --git a/bench/results/2026-10-06-community-2x-rx-7900-gre/data/cfg-interleave-B.json b/bench/results/2026-10-06-community-2x-rx-7900-gre/data/cfg-interleave-B.jsonnew file mode 100644index 000000000..f3b1a82ba--- /dev/null+++ b/bench/results/2026-10-06-community-2x-rx-7900-gre/data/cfg-interleave-B.json@@ -0,0 +1,75 @@+{+ "exe": "<strata checkout>/engine/strata",+ "args": [+ "--pack",+ "<data root>/packs/coder-iq1_m",+ "--native",+ "<data root>/models/coder-IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf",+ "--ple-gguf",+ "<data root>/models/coder-IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf",+ "--expert-profile",+ "<strata checkout>/expert-profile-learned-coder.bin",+ "--expert-cache",+ "auto",+ "--prefill",+ "auto",+ "--spec",+ "5",+ "--spec-min-p",+ "0.5",+ "--mtp",+ "<data root>/mtp/rt",+ "--max-context",+ "262144",+ "--kv",+ "int8",+ "--kv-resident",+ "32768",+ "--vram-reserve-mib",+ "3072",+ "--vram-reserve-later-mib",+ "800",+ "--pipeline-windows",+ "2",+ "--vision",+ "--pipeline-windows",+ "1"+ ],+ "cwd": "<strata checkout>",+ "tokenizer": "<data root>/packs/coder-iq1_m/tokenizer",+ "model_name": "qwen3.8-flash-next-coder-iq1_m",+ "log": "<strata checkout>/strata-coder-iq1_m.log",+ "lib_dirs": [+ "<local opt>/rocm/lib"+ ],+ "port": 8080,+ "backend": "hip",+ "gpu": [+ 1,+ 0+ ],+ "reasoning_budget_tokens": 2048,+ "layer_split": "27",+ "fit_max_tokens": true,+ "env": {+ "STRATA_HIPBLASLT_TUNING": "<strata checkout>/tools/hip/gfx1100-hipblaslt-100202.txt",+ "STRATA_ADAPT_NOWAIT": "1",+ "STRATA_STAGE_TRIM": "1",+ "STRATA_PREFILL_HELP": "1",+ "STRATA_RING_BYTES": "1",+ "STRATA_SPLIT_OWN": "1",+ "STRATA_EXCHANGE_ROTATE": "1",+ "STRATA_PF_FUSED": "1"+ },+ "draft_vocab": "en",+ "expert_profile_save": "expert-profile-learned-coder.bin",+ "vision": {+ "exe": "<strata checkout>/engine/strata-vision",+ "mmproj": "<data root>/models/mmproj-Qwen3.8-Flash-Next-BF16.gguf",+ "model": "<data root>/models/coder-IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf",+ "gpu": false,+ "threads": 4,+ "min_tokens": 1024,+ "max_tokens": 1024+ }+}diff --git a/bench/results/2026-10-06-community-2x-rx-7900-gre/data/cfg-pipeline-off-B.json b/bench/results/2026-10-06-community-2x-rx-7900-gre/data/cfg-pipeline-off-B.jsonnew file mode 100644index 000000000..827077ea5--- /dev/null+++ b/bench/results/2026-10-06-community-2x-rx-7900-gre/data/cfg-pipeline-off-B.json@@ -0,0 +1,75 @@+{+ "exe": "<strata checkout>/engine/strata",+ "args": [+ "--pack",+ "<data root>/packs/coder-iq1_m",+ "--native",+ "<data root>/models/coder-IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf",+ "--ple-gguf",+ "<data root>/models/coder-IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf",+ "--expert-profile",+ "<strata checkout>/expert-profile-learned-coder.bin",+ "--expert-cache",+ "auto",+ "--prefill",+ "auto",+ "--spec",+ "5",+ "--spec-min-p",+ "0.5",+ "--mtp",+ "<data root>/mtp/rt",+ "--max-context",+ "262144",+ "--kv",+ "int8",+ "--kv-resident",+ "32768",+ "--vram-reserve-mib",+ "3072",+ "--vram-reserve-later-mib",+ "800",+ "--pipeline-windows",+ "2",+ "--vision",+ "--pipeline-windows",+ "1"+ ],+ "cwd": "<strata checkout>",+ "tokenizer": "<data root>/packs/coder-iq1_m/tokenizer",+ "model_name": "qwen3.8-flash-next-coder-iq1_m",+ "log": "<strata checkout>/strata-coder-iq1_m.log",+ "lib_dirs": [+ "<local opt>/rocm/lib"+ ],+ "port": 8080,+ "backend": "hip",+ "gpu": [+ 1,+ 0+ ],+ "reasoning_budget_tokens": 2048,+ "layer_split": "27",+ "fit_max_tokens": true,+ "env": {+ "STRATA_HIPBLASLT_TUNING": "<strata checkout>/tools/hip/gfx1100-hipblaslt-100202.txt",+ "STRATA_ADAPT_NOWAIT": "1",+ "STRATA_STAGE_TRIM": "1",+ "STRATA_PREFILL_HELP": "1",+ "STRATA_RING_BYTES": "1",+ "STRATA_SPLIT_OWN": "1",+ "STRATA_EXCHANGE_ROTATE": "1",+ "STRATA_PF_FUSED": "1"+ },+ "draft_vocab": "en",+ "expert_profile_save": "expert-profile-learned-coder.bin",+ "vision": {+ "exe": "<strata checkout>/engine/strata-vision",+ "mmproj": "<data root>/models/mmproj-Qwen3.8-Flash-Next-BF16.gguf",+ "model": "<data root>/models/coder-IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf",+ "gpu": false,+ "threads": 4,+ "min_tokens": 1024,+ "max_tokens": 1024+ }+}\ No newline at end of filediff --git a/bench/results/2026-10-06-community-2x-rx-7900-gre/data/cfg-resident-B.json b/bench/results/2026-10-06-community-2x-rx-7900-gre/data/cfg-resident-B.jsonnew file mode 100644index 000000000..555dc8296--- /dev/null+++ b/bench/results/2026-10-06-community-2x-rx-7900-gre/data/cfg-resident-B.json@@ -0,0 +1,75 @@+{+ "exe": "<strata checkout>/engine/strata",+ "args": [+ "--pack",+ "<data root>/packs/coder-iq1_m",+ "--native",+ "<data root>/models/coder-IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf",+ "--ple-gguf",+ "<data root>/models/coder-IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf",+ "--expert-profile",+ "<strata checkout>/expert-profile-learned-coder.bin",+ "--expert-cache",+ "auto",+ "--prefill",+ "auto",+ "--spec",+ "5",+ "--spec-min-p",+ "0.5",+ "--mtp",+ "<data root>/mtp/rt",+ "--max-context",+ "262144",+ "--kv",+ "int8",+ "--kv-resident",+ "32768",+ "--vram-reserve-mib",+ "3072",+ "--vram-reserve-later-mib",+ "800",+ "--pipeline-windows",+ "2",+ "--vision",+ "--resident-budget-gib",+ "30"+ ],+ "cwd": "<strata checkout>",+ "tokenizer": "<data root>/packs/coder-iq1_m/tokenizer",+ "model_name": "qwen3.8-flash-next-coder-iq1_m",+ "log": "<strata checkout>/strata-coder-iq1_m.log",+ "lib_dirs": [+ "<local opt>/rocm/lib"+ ],+ "port": 8080,+ "backend": "hip",+ "gpu": [+ 1,+ 0+ ],+ "reasoning_budget_tokens": 2048,+ "layer_split": "27",+ "fit_max_tokens": true,+ "env": {+ "STRATA_HIPBLASLT_TUNING": "<strata checkout>/tools/hip/gfx1100-hipblaslt-100202.txt",+ "STRATA_ADAPT_NOWAIT": "1",+ "STRATA_STAGE_TRIM": "1",+ "STRATA_PREFILL_HELP": "1",+ "STRATA_RING_BYTES": "1",+ "STRATA_SPLIT_OWN": "1",+ "STRATA_EXCHANGE_ROTATE": "1",+ "STRATA_PF_FUSED": "1"+ },+ "draft_vocab": "en",+ "expert_profile_save": "expert-profile-learned-coder.bin",+ "vision": {+ "exe": "<strata checkout>/engine/strata-vision",+ "mmproj": "<data root>/models/mmproj-Qwen3.8-Flash-Next-BF16.gguf",+ "model": "<data root>/models/coder-IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf",+ "gpu": false,+ "threads": 4,+ "min_tokens": 1024,+ "max_tokens": 1024+ }+}\ No newline at end of filediff --git a/bench/results/2026-10-06-community-2x-rx-7900-gre/data/cfg-soak.json b/bench/results/2026-10-06-community-2x-rx-7900-gre/data/cfg-soak.jsonnew file mode 100644index 000000000..782f08bd1--- /dev/null+++ b/bench/results/2026-10-06-community-2x-rx-7900-gre/data/cfg-soak.json@@ -0,0 +1,75 @@+{+ "exe": "<strata checkout>/engine/strata",+ "args": [+ "--pack",+ "<data root>/packs/coder-iq1_m",+ "--native",+ "<data root>/models/coder-IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf",+ "--ple-gguf",+ "<data root>/models/coder-IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf",+ "--expert-profile",+ "<strata checkout>/expert-profile-learned-coder.bin",+ "--expert-cache",+ "auto",+ "--prefill",+ "auto",+ "--spec",+ "5",+ "--spec-min-p",+ "0.5",+ "--mtp",+ "<data root>/mtp/rt",+ "--max-context",+ "262144",+ "--kv",+ "int8",+ "--kv-resident",+ "32768",+ "--vram-reserve-mib",+ "3072",+ "--vram-reserve-later-mib",+ "800",+ "--pipeline-windows",+ "2",+ "--vision",+ "--resident-budget-gib",+ "30"+ ],+ "cwd": "<strata checkout>",+ "tokenizer": "<data root>/packs/coder-iq1_m/tokenizer",+ "model_name": "qwen3.8-flash-next-coder-iq1_m",+ "log": "<strata checkout>/strata-coder-iq1_m.log",+ "lib_dirs": [+ "<local opt>/rocm/lib"+ ],+ "port": 8080,+ "backend": "hip",+ "gpu": [+ 1,+ 0+ ],+ "reasoning_budget_tokens": 2048,+ "layer_split": "27",+ "fit_max_tokens": true,+ "env": {+ "STRATA_HIPBLASLT_TUNING": "<strata checkout>/tools/hip/gfx1100-hipblaslt-100202.txt",+ "STRATA_ADAPT_NOWAIT": "1",+ "STRATA_STAGE_TRIM": "1",+ "STRATA_PREFILL_HELP": "1",+ "STRATA_RING_BYTES": "1",+ "STRATA_SPLIT_OWN": "1",+ "STRATA_EXCHANGE_ROTATE": "1",+ "STRATA_PF_FUSED": "1"+ },+ "draft_vocab": "en",+ "expert_profile_save": "expert-profile-learned-coder.bin",+ "vision": {+ "exe": "<strata checkout>/engine/strata-vision",+ "mmproj": "<data root>/models/mmproj-Qwen3.8-Flash-Next-BF16.gguf",+ "model": "<data root>/models/coder-IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf",+ "gpu": false,+ "threads": 4,+ "min_tokens": 1024,+ "max_tokens": 1024+ }+}diff --git a/bench/results/2026-10-06-community-2x-rx-7900-gre/data/cfg-stage-trim-off-B.json b/bench/results/2026-10-06-community-2x-rx-7900-gre/data/cfg-stage-trim-off-B.jsonnew file mode 100644index 000000000..1b071ea23--- /dev/null+++ b/bench/results/2026-10-06-community-2x-rx-7900-gre/data/cfg-stage-trim-off-B.json@@ -0,0 +1,73 @@+{+ "exe": "<strata checkout>/engine/strata",+ "args": [+ "--pack",+ "<data root>/packs/coder-iq1_m",+ "--native",+ "<data root>/models/coder-IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf",+ "--ple-gguf",+ "<data root>/models/coder-IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf",+ "--expert-profile",+ "<strata checkout>/expert-profile-learned-coder.bin",+ "--expert-cache",+ "auto",+ "--prefill",+ "auto",+ "--spec",+ "5",+ "--spec-min-p",+ "0.5",+ "--mtp",+ "<data root>/mtp/rt",+ "--max-context",+ "262144",+ "--kv",+ "int8",+ "--kv-resident",+ "32768",+ "--vram-reserve-mib",+ "3072",+ "--vram-reserve-later-mib",+ "800",+ "--pipeline-windows",+ "2",+ "--vision"+ ],+ "cwd": "<strata checkout>",+ "tokenizer": "<data root>/packs/coder-iq1_m/tokenizer",+ "model_name": "qwen3.8-flash-next-coder-iq1_m",+ "log": "<strata checkout>/strata-coder-iq1_m.log",+ "lib_dirs": [+ "<local opt>/rocm/lib"+ ],+ "port": 8080,+ "backend": "hip",+ "gpu": [+ 1,+ 0+ ],+ "reasoning_budget_tokens": 2048,+ "layer_split": "27",+ "fit_max_tokens": true,+ "env": {+ "STRATA_HIPBLASLT_TUNING": "<strata checkout>/tools/hip/gfx1100-hipblaslt-100202.txt",+ "STRATA_ADAPT_NOWAIT": "1",+ "STRATA_STAGE_TRIM": "0",+ "STRATA_PREFILL_HELP": "1",+ "STRATA_RING_BYTES": "1",+ "STRATA_SPLIT_OWN": "1",+ "STRATA_EXCHANGE_ROTATE": "1",+ "STRATA_PF_FUSED": "1"+ },+ "draft_vocab": "en",+ "expert_profile_save": "expert-profile-learned-coder.bin",+ "vision": {+ "exe": "<strata checkout>/engine/strata-vision",+ "mmproj": "<data root>/models/mmproj-Qwen3.8-Flash-Next-BF16.gguf",+ "model": "<data root>/models/coder-IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf",+ "gpu": false,+ "threads": 4,+ "min_tokens": 1024,+ "max_tokens": 1024+ }+}\ No newline at end of filediff --git a/bench/results/2026-10-06-community-2x-rx-7900-gre/data/run-batch-concurrent.out b/bench/results/2026-10-06-community-2x-rx-7900-gre/data/run-batch-concurrent.outnew file mode 100644index 000000000..3dfa31b2f--- /dev/null+++ b/bench/results/2026-10-06-community-2x-rx-7900-gre/data/run-batch-concurrent.out@@ -0,0 +1,21 @@++[2026-10-06T23:11:53+11:00] === batch 2: 2 concurrent 500-token requests ===++[23:11:53] starting the server for --batch 2+[23:12:23] server ready; sending 2 concurrent requests+[23:12:42] slot 0: 19.13 s, ttft 2.329, finish=stop+[23:12:45] slot 1: 21.69 s, ttft 6.257, finish=length+[23:12:51] aggregate decode 56.6 tok/s over 2 finished request(s); 4 engine line(s); hung slots: []; wrote <strata checkout>/bench/results/2026-10-06-community-2x-rx-7900-gre/data/batch-concurrent-batch2.json++[2026-10-06T23:12:56+11:00] === batch 4: 4 concurrent 500-token requests ===++[23:12:56] starting the server for --batch 4+[23:13:24] server ready; sending 4 concurrent requests+[23:14:02] slot 0: 37.85 s, ttft 3.217, finish=stop+[23:14:06] slot 1: 42.03 s, ttft 8.154, finish=length+[23:14:08] slot 2: 43.15 s, ttft 13.357, finish=length+[23:14:08] slot 3: 43.85 s, ttft 18.675, finish=length+[23:14:15] aggregate decode 64.6 tok/s over 4 finished request(s); 5 engine line(s); hung slots: []; wrote <strata checkout>/bench/results/2026-10-06-community-2x-rx-7900-gre/data/batch-concurrent-batch4.json++[2026-10-06T23:14:15+11:00] === batch concurrency done ===+diff --git a/bench/results/2026-10-06-community-2x-rx-7900-gre/data/soak-mem.csv b/bench/results/2026-10-06-community-2x-rx-7900-gre/data/soak-mem.csvnew file mode 100644index 000000000..9e7d00081--- /dev/null+++ b/bench/results/2026-10-06-community-2x-rx-7900-gre/data/soak-mem.csv@@ -0,0 +1,32 @@+unix_s,0000:06:00.0_vram_used,0000:2d:00.0_vram_used,ram_used_mib,engine_rss_mib+1791285726.13,16109985792,15369101312,22713.6,10810.3+1791285786.14,16164057088,15449219072,22943.0,11179.2+1791285846.15,16164057088,15504908288,22676.0,11179.7+1791285906.16,16164200448,15492980736,22575.5,11179.8+1791285966.16,16164200448,15503187968,22899.4,11179.9+1791286026.17,16164200448,15496900608,23109.2,11179.9+1791286086.18,16164200448,15496900608,22855.4,11179.9+1791286146.19,16164200448,15464292352,22732.5,11179.9+1791286206.19,16164200448,15457988608,22771.4,11179.9+1791286266.2,16164200448,15457980416,22688.6,11179.9+1791286326.21,16164200448,15462920192,22912.9,11179.9+1791286386.22,16164200448,15456722944,23037.2,11180.1+1791286446.22,16164200448,15458516992,22885.9,11180.1+1791286506.23,16164200448,15458516992,22875.2,11180.1+1791286566.24,16164200448,15459295232,22889.7,11180.1+1791286626.24,16164200448,15454797824,23020.5,11180.1+1791286686.25,16164200448,15454797824,23125.9,11180.1+1791286746.26,16164200448,15454789632,22979.9,11180.1+1791286806.26,16164200448,15454797824,23548.4,11180.1+1791286866.27,16164200448,15454793728,23413.3,11180.1+1791286926.28,16164200448,15456886784,23322.3,11180.1+1791286986.29,16164200448,15454789632,23421.2,11180.1+1791287046.3,16164200448,15454789632,23595.9,11180.1+1791287106.31,16164200448,15454785536,23532.9,11180.1+1791287166.32,16164200448,15447945216,23669.5,11180.1+1791287226.32,16164200448,15447678976,23785.3,11180.1+1791287286.33,16164200448,15447683072,23536.7,11180.1+1791287346.34,16164200448,15447683072,23985.9,11180.1+1791287406.35,16164200448,15440838656,24009.0,11180.1+1791287466.36,16164200448,15444115456,23902.5,11180.1+1791287526.36,16164212736,15444127744,23930.5,11180.1diff --git a/bench/results/2026-10-06-community-2x-rx-7900-gre/data/soak-summary.json b/bench/results/2026-10-06-community-2x-rx-7900-gre/data/soak-summary.jsonnew file mode 100644index 000000000..920c3e77c--- /dev/null+++ b/bench/results/2026-10-06-community-2x-rx-7900-gre/data/soak-summary.json@@ -0,0 +1,43 @@+{+ "built_by": "scripts/soak_summary.py (soak.py's teardown raised TimeoutExpired waiting for sample_mem.py to notice its stop file)",+ "started": 1791285704.0868523,+ "minutes": 30.0,+ "interval_s": 60.0,+ "config": "<strata checkout>/bench/results/2026-10-06-community-2x-rx-7900-gre/data/cfg-soak.json",+ "samples": 31,+ "sample_span_s": 1800.2,+ "prompts": 239,+ "prompt_errors": [],+ "finish_reasons": {+ "length": 239+ },+ "wall_s_min_median_max": [+ 2.02,+ 2.55,+ 3.23+ ],+ "survived": true,+ "engine_rss_mib": {+ "first": 10810.3,+ "peak": 11180.1,+ "unit": "MiB"+ },+ "ram_used_mib": {+ "first": 22713.6,+ "peak": 24009.0,+ "unit": "MiB"+ },+ "vram_used": {+ "0000:06:00.0": {+ "first": 15.004,+ "peak": 15.054,+ "unit": "GiB"+ },+ "0000:2d:00.0": {+ "first": 14.314,+ "peak": 14.44,+ "unit": "GiB"+ }+ },+ "fault_lines": []+}diff --git a/bench/results/2026-10-06-community-2x-rx-7900-gre/data/summary.md b/bench/results/2026-10-06-community-2x-rx-7900-gre/data/summary.mdnew file mode 100644index 000000000..e46ef86d0--- /dev/null+++ b/bench/results/2026-10-06-community-2x-rx-7900-gre/data/summary.md@@ -0,0 +1,85 @@++## interleave500 (500 greedy tokens per request, one restart per request)++| arm | runs | prompt tok/s median (range) | decode tok/s median (range) | TTFT s median (range) | wall s median (range) | finish |+| --- | ---: | --- | --- | --- | --- | --- |+| A | 10 | 961.0 (841.5..1270.1) | 69.3 (66.4..74.3) | 2.9 (1.9..3.6) | 10.1 (6.9..10.7) | ['length', 'stop'] |+| B | 10 | 959.9 (839.6..1271.9) | 63.8 (59.7..69.7) | 2.9 (1.9..3.7) | 10.3 (6.0..11.5) | ['length', 'stop'] |+- pair 1: A 66.4 -> B 60.5 tok/s (-8.9%), prompt 926 -> 923 tok/s+- pair 2: A 72.6 -> B 59.7 tok/s (-17.8%), prompt 842 -> 854 tok/s+- pair 3: A 67.8 -> B 68.3 tok/s (+0.7%), prompt 972 -> 972 tok/s+- pair 4: A 68.8 -> B 68.1 tok/s (-1.0%), prompt 1270 -> 1267 tok/s+- pair 5: A 73.2 -> B 63.3 tok/s (-13.5%), prompt 1231 -> 1251 tok/s+- pair 6: A 67.4 -> B 63.5 tok/s (-5.8%), prompt 919 -> 913 tok/s+- pair 7: A 66.9 -> B 63.8 tok/s (-4.6%), prompt 852 -> 840 tok/s+- pair 8: A 71.0 -> B 69.7 tok/s (-1.8%), prompt 950 -> 948 tok/s+- pair 9: A 74.3 -> B 64.6 tok/s (-13.1%), prompt 1270 -> 1272 tok/s+- pair 10: A 69.9 -> B 63.9 tok/s (-8.6%), prompt 1205 -> 1154 tok/s+- B vs A decode change: median -7.2% (-17.8%..+0.7%) over 10 pairs+- prompt tokens: 1757..4238 (median 2913)+- reused: 0..0 (median 0)+- fresh: 1757..4238 (median 2913)+- generated: 256..500 (median 500)++## short arms (bench_prefill.py: 128 tokens, warmup + 4 fresh + 4 follow-up per arm)++| arm | side | kind | runs | prompt tok/s | decode tok/s | prompt read ms | decode ms |+| --- | --- | --- | ---: | --- | --- | --- | --- |+| batch2 | A | fresh | 4 | 1542.7 (1301.4..1712.5) | 79.1 (74.1..82.0) | 4195.5 (3055.0..5172.0) | 1295.5 (926.0..1727.0) |+| batch2 | A | followup | 4 | 227.3 (188.4..311.4) | 70.1 (62.3..71.3) | 668.0 (595.0..796.0) | 1827.0 (1796.0..2055.0) |+| batch2 | B | fresh | 4 | 1404.0 (1155.0..1552.9) | 68.3 (66.2..69.4) | 4665.5 (3348.0..5695.0) | 1874.0 (1844.0..1934.0) |+| batch2 | B | followup | 4 | 288.7 (174.1..300.7) | 62.8 (59.6..69.1) | 833.5 (655.0..877.0) | 2044.0 (1852.0..2147.0) |+| batch4 | A | fresh | 4 | 1452.3 (956.0..1798.1) | 71.2 (56.7..72.3) | 4657.5 (3505.0..5183.0) | 1798.0 (1771.0..2257.0) |+| batch4 | A | followup | 4 | 213.9 (141.3..298.2) | 61.0 (57.8..68.0) | 699.0 (569.0..832.0) | 2096.5 (1883.0..2211.0) |+| batch4 | B | fresh | 4 | 1117.7 (854.2..1238.9) | 68.5 (66.0..74.9) | 6027.5 (4196.0..7166.0) | 1869.5 (1709.0..1939.0) |+| batch4 | B | followup | 4 | 147.1 (144.7..256.3) | 60.9 (59.0..67.6) | 780.0 (771.0..967.0) | 2103.5 (1894.0..2168.0) |+| pipeline-off | A | fresh | 4 | 1582.8 (1302.1..1756.8) | 77.1 (70.9..83.9) | 4129.5 (2962.0..5062.0) | 1663.5 (1526.0..1804.0) |+| pipeline-off | A | followup | 4 | 185.8 (182.3..315.1) | 66.2 (60.0..73.2) | 622.0 (603.0..787.0) | 1933.5 (1750.0..2134.0) |+| pipeline-off | B | fresh | 4 | 1568.0 (1174.4..1738.6) | 70.0 (63.1..73.6) | 4332.0 (2997.0..5100.0) | 1829.5 (1738.0..2029.0) |+| pipeline-off | B | followup | 4 | 246.8 (182.7..313.1) | 62.8 (56.9..64.6) | 708.0 (592.0..819.0) | 2029.5 (1841.0..2249.0) |+| resident | A | fresh | 4 | 1558.5 (1235.2..1736.0) | 72.1 (63.9..78.5) | 4247.0 (3007.0..5143.0) | 1778.5 (968.0..2002.0) |+| resident | A | followup | 4 | 186.6 (181.1..301.3) | 63.4 (61.3..70.1) | 619.0 (598.0..823.0) | 2019.0 (1826.0..2086.0) |+| resident | B | fresh | 4 | 1550.0 (1313.5..1718.9) | 69.0 (58.0..72.1) | 4171.0 (3036.0..5155.0) | 1854.0 (1775.0..2208.0) |+| resident | B | followup | 4 | 243.9 (179.6..312.5) | 64.6 (60.5..66.6) | 714.5 (606.0..823.0) | 1981.0 (1921.0..2115.0) |+| stage-trim-off | A | fresh | 4 | 1582.9 (1229.7..1751.3) | 75.7 (67.6..84.7) | 4232.5 (2965.0..5058.0) | 1690.5 (1512.0..1892.0) |+| stage-trim-off | A | followup | 4 | 186.1 (180.4..193.3) | 73.5 (68.7..79.1) | 612.5 (585.0..632.0) | 1743.5 (1617.0..1863.0) |+| stage-trim-off | B | fresh | 4 | 1103.4 (883.2..1213.6) | 67.6 (57.7..77.1) | 6021.5 (4219.0..7303.0) | 1893.5 (1659.0..2218.0) |+| stage-trim-off | B | followup | 4 | 193.4 (132.3..254.3) | 70.9 (65.1..76.7) | 918.5 (813.0..1006.0) | 1805.5 (1669.0..1967.0) |++## soak++- built_by: scripts/soak_summary.py (soak.py's teardown raised TimeoutExpired waiting for sample_mem.py to notice its stop file)+- minutes: 30.0+- interval_s: 60.0+- samples: 31+- sample_span_s: 1800.2+- prompts: 239+- survived: True+- finish_reasons: {"length": 239}+- wall_s_min_median_max: [2.02, 2.55, 3.23]+- engine_rss_mib: {"first": 10810.3, "peak": 11180.1, "unit": "MiB"}+- ram_used_mib: {"first": 22713.6, "peak": 24009.0, "unit": "MiB"}+- vram_used: {"0000:06:00.0": {"first": 15.004, "peak": 15.054, "unit": "GiB"}, "0000:2d:00.0": {"first": 14.314, "peak": 14.44, "unit": "GiB"}}+- prompt_errors: 0+- fault_lines: 0+- first sample: {'unix_s': '1791285726.13', '0000:06:00.0_vram_used': '16109985792', '0000:2d:00.0_vram_used': '15369101312', 'ram_used_mib': '22713.6', 'engine_rss_mib': '10810.3'}+- last sample : {'unix_s': '1791287526.36', '0000:06:00.0_vram_used': '16164212736', '0000:2d:00.0_vram_used': '15444127744', 'ram_used_mib': '23930.5', 'engine_rss_mib': '11180.1'}++## batch concurrency++- batch2: slots=2 elapsed 28.2 s, hung_slots=[], aggregate_decode_tps=56.6+ slot 0: ttft 2.329 s, wall 19.13 s, finish stop, error None+ slot 1: ttft 6.257 s, wall 21.69 s, finish length, error None+ done: 406 tokens in 19.0 s (24.2 tok/s) finish stop, cancelled False+ done: 500 tokens in 22.0 s (32.4 tok/s) finish length, cancelled False+ engine lines kept: 4+- batch4: slots=4 elapsed 50.4 s, hung_slots=[], aggregate_decode_tps=64.6+ slot 0: ttft 3.217 s, wall 37.85 s, finish stop, error None+ slot 1: ttft 8.154 s, wall 42.03 s, finish length, error None+ slot 2: ttft 13.357 s, wall 43.15 s, finish length, error None+ slot 3: ttft 18.675 s, wall 43.85 s, finish length, error None+ done: 453 tokens in 38.0 s (13.1 tok/s) finish stop, cancelled False+ done: 500 tokens in 42.0 s (14.8 tok/s) finish length, cancelled False+ done: 500 tokens in 43.0 s (16.8 tok/s) finish length, cancelled False+ done: 500 tokens in 44.0 s (19.9 tok/s) finish length, cancelled False+ engine lines kept: 5diff --git a/bench/results/2026-10-06-community-2x-rx-7900-gre/scripts/build_cfg.py b/bench/results/2026-10-06-community-2x-rx-7900-gre/scripts/build_cfg.pynew file mode 100644index 000000000..145cdc875--- /dev/null+++ b/bench/results/2026-10-06-community-2x-rx-7900-gre/scripts/build_cfg.py@@ -0,0 +1,43 @@+#!/usr/bin/env python3+"""Build a server config: the current install config plus extra args/env.++The same builder scripts/ab-run.sh uses inline, factored out so the report's own+configs (the soak's, interleave500's B arm) can be reproduced from the script.++Usage:+ build_cfg.py OUT [--arg NAME VALUE]... [--env NAME=VALUE]...+"""+import json+import sys+from pathlib import Path++ROOT = Path(__file__).resolve().parents[4]+BASE = ROOT / 'strata-coder-iq1_m.json'+++def main():+ out = sys.argv[1]+ extras = sys.argv[2:]+ cfg = json.loads(BASE.read_text())+ args = list(cfg['args'])+ env = dict(cfg.get('env') or {})+ i = 0+ while i < len(extras):+ if extras[i] == '--env':+ k, _, v = extras[i + 1].partition('=')+ env[k] = v+ i += 2+ elif extras[i] == '--arg':+ args += [extras[i + 1], extras[i + 2]]+ i += 3+ else:+ raise SystemExit(f'unknown extra {extras[i]!r}')+ cfg['args'] = args+ if env:+ cfg['env'] = env+ Path(out).write_text(json.dumps(cfg, indent=2) + '\n')+ print(f'{out}: +args {extras}')+++if __name__ == '__main__':+ main()diff --git a/bench/results/2026-10-06-community-2x-rx-7900-gre/scripts/finalize.sh b/bench/results/2026-10-06-community-2x-rx-7900-gre/scripts/finalize.shnew file mode 100644index 000000000..3a4e9d7f6--- /dev/null+++ b/bench/results/2026-10-06-community-2x-rx-7900-gre/scripts/finalize.sh@@ -0,0 +1,25 @@+#!/usr/bin/env bash+# Everything that runs after the measurements: a fresh hardware snapshot (the+# first one was taken before the runs), the curated engine.log, the number+# tables, and the private-path rewrite. Run it last, before the commit.+set -u+REPORT="$(cd -- "$(dirname -- "$0")/.." && pwd)"+ROOT="$(cd -- "$REPORT/../../.." && pwd)"+DATA=$REPORT/data+S=$REPORT/scripts+PY=$ROOT/.venv/bin/python++step() { echo; echo "[$(date -Is)] === $* ==="; echo; }++step "hardware snapshot"+bash "$S/collect_hardware.sh" "$DATA/hardware.txt"++step "engine.log"+"$PY" "$S/make_engine_log.py"++step "summary tables"+"$PY" "$S/summarize.py" > "$DATA/summary.md"+tail -n +1 "$DATA/summary.md"++step "private paths"+"$PY" "$S/sanitize.py"diff --git a/bench/results/2026-10-06-community-2x-rx-7900-gre/scripts/make_engine_log.py b/bench/results/2026-10-06-community-2x-rx-7900-gre/scripts/make_engine_log.pynew file mode 100644index 000000000..91749880c--- /dev/null+++ b/bench/results/2026-10-06-community-2x-rx-7900-gre/scripts/make_engine_log.py@@ -0,0 +1,59 @@+#!/usr/bin/env python3+"""Assemble data/engine.log from the engine log slices this report collected.++The raw slices are one long block per server start (about 500 lines each, one+per configuration and per interleaved request), which is too much for a PR.+This keeps what the report is about from every slice:++ * the lines about the layer split, the PCIe probes, the expert caches,+ the resident stage, --batch and --pipeline-windows,+ * every completion line (`prompt N tokens = ...`) - the numbers in README,+ * the lines that say a feature was turned off or adjusted.++and prefixes each section with the slice's name and how many lines it had.++Usage: make_engine_log.py [--data DIR]+"""+import argparse+import re+from pathlib import Path++DATA = Path(__file__).resolve().parent.parent / 'data'++KEEP = re.compile(+ r'layer split|PCIe probe|pipeline-windows|--batch|resident|'+ r'expert cache|token graph|room for experts|prompt \d+ tokens =|'+ r'loads the dense weights|engine started|off:|WARNING|'+ r'session is up|KV streaming|GPU \d+:|decode expert cache hit|'+ r'strata mtp|strata batch|batch window|batch windows|no progress|\bnan\b', re.I)++ORDER = ['engine-interleave.log', 'engine-ab-pipeline-off.log',+ 'engine-ab-stage-trim-off.log', 'engine-ab-resident.log',+ 'soak-engine.log', 'engine-ab-batch2.log', 'engine-ab-batch4.log',+ 'batch-concurrent-batch2.engine.log',+ 'batch-concurrent-batch4.engine.log']+++def main():+ p = argparse.ArgumentParser(description=__doc__)+ p.add_argument('--data', type=Path, default=DATA)+ p.add_argument('--out', type=Path, default=None)+ args = p.parse_args()+ out = args.out or (args.data / 'engine.log')+ parts = ['= engine.log: the lines of each slice this report kept =\n',+ 'built by scripts/make_engine_log.py; the raw slices sit beside it\n']+ names = [n for n in ORDER if (args.data / n).exists()]+ names += sorted(n.name for n in args.data.glob('engine-*.log')+ if n.name not in names and n.name != 'engine.log')+ for name in names:+ text = (args.data / name).read_text(encoding='utf-8', errors='replace')+ lines = text.splitlines()+ kept = [ln for ln in lines if KEEP.search(ln)]+ parts.append(f'\n=== {name}: {len(lines)} lines, {len(kept)} kept ===\n')+ parts.extend(ln + '\n' for ln in kept)+ out.write_text(''.join(parts), encoding='utf-8')+ print(f'{out}: {out.stat().st_size} bytes from {len(names)} slice(s)')+++if __name__ == '__main__':+ main()diff --git a/bench/results/2026-10-06-community-2x-rx-7900-gre/scripts/pcie-topology.py b/bench/results/2026-10-06-community-2x-rx-7900-gre/scripts/pcie-topology.pynew file mode 100644index 000000000..f6dc14123--- /dev/null+++ b/bench/results/2026-10-06-community-2x-rx-7900-gre/scripts/pcie-topology.py@@ -0,0 +1,53 @@+#!/usr/bin/env python3+"""The PCIe path of every GPU, read from sysfs (no root needed).++Walks from each display card up through its bridges to the root port and prints+every hop's negotiated and maximum link speed and width. The card's own+`current_link_*` attributes are printed too; on this PC they claim x16 Gen4 for+both cards while the upstream ports of one of them are all 8.0 GT/s x4, so the+bridge chain is the reading that agrees with the engine's own probe.++Also prints the DRM slot, subsystem id and rocm-smi's view of each card.+"""+import os+import subprocess+import sys+from pathlib import Path+++def r(path, name):+ try:+ return Path(path, name).read_text().strip()+ except OSError:+ return '?'+++def main():+ out = sys.stdout+ smi = subprocess.run(['rocm-smi', '--showbus', '--showid'],+ capture_output=True, text=True).stdout+ for line in smi.splitlines():+ if 'PCI Bus' in line or 'Subsystem' in line or 'Device ID' in line:+ print(line, file=out)+ for dev in sorted(Path('/sys/bus/pci/devices').glob('*')):+ if not (dev / 'class').exists() or r(dev, 'class') != '0x030000':+ continue+ real = os.path.realpath(dev)+ # which DRM card is this endpoint?+ card = '?'+ for c in sorted(Path('/sys/class/drm').glob('card[0-9]*')):+ if c.name.count('-') == 0 and os.path.realpath(c / 'device') == real:+ card = c.name+ print(f'\n=== {dev.name} drm {card} subsystem {r(dev, "device")}', file=out)+ print(f' realpath {real}', file=out)+ p = real+ while p and p != '/sys/devices' and p != '/':+ name = os.path.basename(p)+ print(f' {name:15} class={r(p, "class")} device={r(p, "device"):<7} '+ f'current={r(p, "current_link_speed")} x{r(p, "current_link_width")} '+ f'max={r(p, "max_link_speed")} x{r(p, "max_link_width")}', file=out)+ p = os.path.dirname(p)+++if __name__ == '__main__':+ main()diff --git a/bench/results/2026-10-06-community-2x-rx-7900-gre/scripts/run-arm.sh b/bench/results/2026-10-06-community-2x-rx-7900-gre/scripts/run-arm.shnew file mode 100644index 000000000..a38897a0a--- /dev/null+++ b/bench/results/2026-10-06-community-2x-rx-7900-gre/scripts/run-arm.sh@@ -0,0 +1,43 @@+#!/usr/bin/env bash+# One arm of the A/B harness (scripts/ab-run.sh, the report's own copy of the+# harness), with everything it produced archived into the report's data/+# folder: the engine log slice (startup lines plus the requests), both arms'+# JSON, both server outputs and the printed summary.+#+# Usage: run-arm.sh LABEL [ab-run.sh extras ...]+# e.g. run-arm.sh pipeline-off --arg --pipeline-windows 1+set -u+REPORT="$(cd -- "$(dirname -- "$0")/.." && pwd)"+ROOT="$(cd -- "$REPORT/../../.." && pwd)"+DATA=$REPORT/data+WORK=$DATA/ab-work+LOG=$ROOT/strata-coder-iq1_m.log+LABEL=$1; shift++mkdir -p "$DATA" "$WORK"+off=$(stat -c %s "$LOG" 2>/dev/null || echo 0)+echo "[run-arm $LABEL] engine log offset $off, $(date -Is)"++# run-all.sh writes its extras the way build_cfg.py spells them ("--arg FLAG+# VALUE"), but ab-run.sh takes bare (FLAG, VALUE) pairs and crashes on a stray+# "--arg", so the markers are dropped here.+args=()+for a in "$@"; do+ [ "$a" = "--arg" ] && continue+ args+=("$a")+done++AB_OUT="$WORK" bash "$REPORT/scripts/ab-run.sh" "$LABEL" "${args[@]}" \+ > "$WORK/run.out" 2>&1+rc=$?+cp "$WORK/run.out" "$DATA/ab-$LABEL-run.out"+tail -c +$((off + 1)) "$LOG" > "$DATA/engine-ab-$LABEL.log"+for f in A B; do+ [ -f "$WORK/$f.json" ] && cp "$WORK/$f.json" "$DATA/ab-$LABEL-$f.json"+ [ -f "$WORK/server-$f.out" ] && cp "$WORK/server-$f.out" "$DATA/ab-$LABEL-server-$f.out"+done+cfgB=$WORK/cfg-$LABEL-B.json+[ -f "$cfgB" ] && cp "$cfgB" "$DATA/cfg-$LABEL-B.json"+rm -rf "$WORK"+echo "[run-arm $LABEL] ab-run.sh exit $rc, $(date -Is)"+exit $rcdiff --git a/bench/results/2026-10-06-community-2x-rx-7900-gre/scripts/run-batch-concurrent.sh b/bench/results/2026-10-06-community-2x-rx-7900-gre/scripts/run-batch-concurrent.shnew file mode 100644index 000000000..fec26980b--- /dev/null+++ b/bench/results/2026-10-06-community-2x-rx-7900-gre/scripts/run-batch-concurrent.sh@@ -0,0 +1,37 @@+#!/usr/bin/env bash+# The batch arms' concurrency test: N 500-token generations at once against the+# --batch N config. scripts/ab-run.sh (which measures one request at a time) runs+# first, in run-all.sh; this is the measurement that actually fills the slots.+#+# Usage: run-batch-concurrent.sh+set -u+REPORT="$(cd -- "$(dirname -- "$0")/.." && pwd)"+ROOT="$(cd -- "$REPORT/../../.." && pwd)"+DATA=$REPORT/data+S=$REPORT/scripts+PY=$ROOT/.venv/bin/python+MODEL=qwen3.8-flash-next-coder-iq1_m+LOG=$ROOT/strata-coder-iq1_m.log++step() { echo; echo "[$(date -Is)] === $* ==="; echo; }++kill_server() {+ pkill -f "serve/server.py" 2>/dev/null+ pkill -f "engine/strata --serve" 2>/dev/null+ sleep 5+}++for n in 2 4; do+ cfg=$DATA/cfg-batch$n-B.json+ if [ ! -f "$cfg" ]; then+ step "batch $n: $cfg missing, skipped"+ continue+ fi+ kill_server+ step "batch $n: $n concurrent 500-token requests"+ "$PY" "$S/batch_concurrent.py" --config "$cfg" --model "$MODEL" \+ --engine-log "$LOG" --out "$DATA/batch-concurrent-batch$n.json" --n "$n"+done++step "batch concurrency done"+kill_serverdiff --git a/bench/results/2026-10-06-community-2x-rx-7900-gre/scripts/sanitize.py b/bench/results/2026-10-06-community-2x-rx-7900-gre/scripts/sanitize.pynew file mode 100644index 000000000..b482271a8--- /dev/null+++ b/bench/results/2026-10-06-community-2x-rx-7900-gre/scripts/sanitize.py@@ -0,0 +1,66 @@+#!/usr/bin/env python3+"""Replace this machine's private paths in the report's data files before publishing.++The report rules say to remove credentials and private paths. Every file this+report ships is rewritten in place:++ <home>/Projects/Strata-data -> <data root>+ <home>/Projects/Strata -> <strata checkout>+ <home>/.local/opt -> <local opt>+ <home> -> <home>++Nothing else is touched: numbers, flags and log lines stay exactly as the+engine wrote them. Run it once, after every measurement is in data/.++Usage: sanitize.py [--data DIR] [--dry-run]+"""+import argparse+import sys+from pathlib import Path++DATA = Path(__file__).resolve().parent.parent / 'data'+HOME = Path.home()+# This machine's layout: where the checkout, its data root and the toolchain are.+CHECKOUT = HOME / 'Projects' / 'Strata'+DATA_ROOT = HOME / 'Projects' / 'Strata-data'+LOCAL_OPT = HOME / '.local' / 'opt'+REPLACEMENTS = [+ (str(DATA_ROOT), '<data root>'),+ (str(CHECKOUT), '<strata checkout>'),+ (str(LOCAL_OPT), '<local opt>'),+ (str(HOME), '<home>'),+]+SUFFIXES = {'.log', '.out', '.json', '.txt', '.csv', '.sh', '.py', '.md'}+++def sanitize(text):+ for old, new in REPLACEMENTS:+ text = text.replace(old, new)+ return text+++def main():+ p = argparse.ArgumentParser(description=__doc__)+ p.add_argument('--data', type=Path, default=DATA)+ p.add_argument('--dry-run', action='store_true')+ args = p.parse_args()+ files = [f for f in sorted(args.data.rglob('*'))+ if f.is_file() and f.suffix in SUFFIXES]+ readme = args.data.parent / 'README.md'+ if readme.exists():+ files.append(readme)+ changed = 0+ for f in files:+ before = f.read_text(encoding='utf-8', errors='replace')+ after = sanitize(before)+ if after != before:+ changed += 1+ hits = sum(before.count(old) for old, _ in REPLACEMENTS)+ print(f'{f.name}: {hits} path(s)')+ if not args.dry_run:+ f.write_text(after, encoding='utf-8')+ print(f'{changed} file(s) {"would be " if args.dry_run else ""}rewritten')+++if __name__ == '__main__':+ sys.exit(main())diff --git a/bench/results/COMMUNITY.md b/bench/results/COMMUNITY.mdindex 4f4df59c2..3ae6f9cbc 100644--- a/bench/results/COMMUNITY.md+++ b/bench/results/COMMUNITY.md@@ -76,3 +76,4 @@ Notes:- #777 and #811 are the same machine on two quants, kept as two folders.- The earlier community folders (`2026-09-30-community-rtx-5090`, `2026-10-03-community-2x-mi50`, `2026-10-04-community-2x-arc-pro-b60`) are listed in `docs/COMMUNITY_BENCHMARKS.md`.| [2026-10-06-community-rtxpro-v0140](2026-10-06-community-rtxpro-v0140/) | RTX PRO 6000 | Q4 / Q8 (MTP and ngram runs) | see the README | see the README | 0.1.40 | #1137 |+| [2026-10-06-community-2x-rx-7900-gre](2026-10-06-community-2x-rx-7900-gre/) | 2x RX 7900 GRE (gfx1100) | layer split, #848 / #854 | see the README | see the README | 0.1.40 | #1140 |