okami.mom/strata
git clone https://git.nkp.pet/okami.mom/strata
34ee68774
main
Community benchmark: Radeon AI PRO R9700 (gfx1201), Windows 11, Ryzen 9 9950X
Measured on 2026-10-03 by HarukiOtaku. Strata 0.1.38 (prebuilt Windows HIP engine), original Flash-Next IQ2_XS, one GPU, context limit 262,144 tokens. Greedy, 256-token cap, reasoning off, three runs per length; prompt and decode figures are the engine's own log values.
| Prompt tokens | Reused | Generated | Runs | Prompt tok/s (median, range) | Decode tok/s (median, range) | TTFT s (median, range) | Total s |
|---|---|---|---|---|---|---|---|
| 4,198 (4,195–4,199) | 0 | 256 (236–256) | 3 | 855.8 (820.7 – 863.5) | 99.8 (95.3 – 101.3) | 4.95 (4.89 – 5.16) | 7.4 |
| 33,467 | 0 | 256 | 3 | 1,182.1 (1,181.1 – 1,191.2) | 97.8 (95.3 – 101.2) | 28.39 (28.18 – 28.43) | 30.9 |
| 131,388 | 0 | 256 (249–256) | 3 | 1,231.7 (1,225.0 – 1,233.3) | 89.9 (86.2 – 91.0) | 106.90 (106.77 – 107.49) | 109.7 |
| 247,990 | 0 | 256 (250–256) | 3 | 1,130.1 (1,127.2 – 1,132.0) | 87.5 (75.1 – 87.5) | 219.84 (219.49 – 220.42) | 222.7 |
Read the medians with a band. The three reps inside one engine session agree to <1 % at 32K/128K/248K and ~5 % at 4K, but the same configuration measured again in a fresh session moved by up to 11.5 % at 32K (medians 1,182.1 vs 1,060.6) and 14.2 % at 4K (855.8 vs 749.3) — 13.4 % and 18.4 % if individual reps are compared — so treat a median as ±10–15 %, not a fixed figure. Only 4K and 32K have replicate sessions: 131,388 and 247,990 each ran in one session (the only other 128K requests are in the excluded void attempt).
Every run in the tables read its whole prompt (reused = 0) and no stall line appears in the
log. Six needle checks were found (6/6) at ~33.5K and ~131.4K prompt tokens, depths
10/50/90 % — one run each, so an outcome rather than a success rate. One earlier attempt
produced almost no usable answers (13 of its 15 rows empty) and is reported below as a
failure, not as data.
docs/AMD_HIP.md marks long contexts beyond 16K as not validated on RDNA4 and the
maintainer's R9700 validation is Linux at 4K/16K; the Windows AMD report I could find
(#499, RX 9070 XT — still an open,
unmerged PR) measures prompts to 31,059 tokens. The novelty here is Windows + gfx1201 out
to 248K, not the hardware.
Worth stating plainly what upstream does and does not claim. docs/AMD_HIP.md documents one
validated Windows AMD case — an RX 9070 XT on Windows 11 with an engine compiled on that
PC, 32K, 29.2 tok/s decode / ~181 tok/s prefill (0.1.34) — and then says: "The ready-made
zip itself has not run a model on a discrete card yet - please report." This run is that
report, on a different card (R9700, gfx1201) and through the ready-made zip. It is not
project-validated support: docs/AMD_HIP_PERFORMANCE.md excludes "Windows HIP, other AMD
architectures" from its claims, and docs/AMD_HIP.md says its RDNA4 table "must not be read
as a benchmark of every subsequent rebase" and that "long-context stress, broad answer-quality
equivalence, other AMD cards, and mixed-vendor inference are not validated here".
Not a controlled study: one OS session, one machine, one quant; prompts are synthetic code; GPU clocks and power limit are not recorded; the desktop was not isolated.
Hardware and software
- GPU: Radeon AI PRO R9700 32 GiB (gfx1201; Windows reports 32 GB, engine sees 31.9 GiB), stock clocks, power limit not recorded. The display runs on the integrated GPU, so the card is compute-only.
- PCIe: engine probe
54.7 GB/s host->device (best of 45.5 54.4 54.7 54.6); width/generation not measured. - CPU / RAM / storage: Ryzen 9 9950X 16-Core (AVX-512; the engine ran its default 15
expert-pool workers + host thread); Windows reports 61.5 GiB total physical memory
(the DIMM kit was not recorded, so no kit size is claimed); 2 TB-class NVMe on
D:(device model not recorded). - OS / driver: Windows 11 Pro, version 10.0.26300, AMD driver 32.0.31036.15 (iGPU 32.0.11024.2) — quoted from the machine in PROVENANCE.txt.
- Engine: repo
main99f3dbd0b21d1401b3769e0c0d963913607f380b; prebuilt Windows HIP engine 0.1.38 (each session logssession is up (engine 0.1.38); itsengine/BUILD.jsonreads prebuilt, hip, 0.1.38, ROCm 10.2.0a20260930, hipBLASLt 100500, gfx1201 — quoted verbatim in PROVENANCE.txt, no build hash). Ready-madestrata-windows-x64-hip.zip; HIP runtimeengine/amdhip64_7.dll. - Not captured: the Windows-AMD bundle
docs/AMD_HIP.mdasks for (strata-device --list-devices,--selftest, engine-log tail), the hipBLASLtSTRATA_HIPBLASLT_VERBOSE=1/fallbacks=0check, clocks/power/thermals, per-run peak memory, paging/OOM counters, the per-run answer text, and hashes for the IQ2_XS pack and the MTP tensors. The tuning table in use is upstream's owntools/hip/gfx1201-hipblaslt-100500.txt(32 rows, hipBLASLt 1.5.0 / ROCm 10.2.0a generation — the table is calibrated on a 2026-09-14 nightly while the engine reports a 2026-09-30 one, and upstream warns that a different 1.5.0 build may number its solutions differently) and the log shows it enabled, but it was not verified withSTRATA_HIPBLASLT_VERBOSE=1/fallbacks=0, and upstream's measured gain for it is +3.9 % on 4,210-token prompts.
Engine state of the measured sessions, condensed from engine-0.1.38.log (verbatim
excerpts):
expert cache auto: 25.78 GiB free, 700 MiB reserved (+143 MiB for the draft head) -> 17739 slots expert cache 18575 slots, 24.95 GiB of VRAM pre-filled 18575 of 18575 slots from the profile; slot 0 verified FileExpertSource: RAM budget 16.00 GiB: 6001 of the 8.07 GiB of experts the GPU cache does not hold the file tier reads unbuffered (5 of 16 probe reads from the file cache; 46.0 GiB available, 36.5 GiB of files) Windows budgets 31704 of this card's 32624 MiB for this process; free VRAM is counted within that KV streaming: 32768 of 262144 cells per QSA layer in VRAM, the K/V in 3.09 GiB of pinned RAM the prompt path borrows 3203 CUDA0 cache slots (4.34 GiB) PLE on, table 320001536 rows 15 expert-pool workers + the host thread
The previous engine (pilot, 131,072 context) logged large pages refused for 35456548864 B (GetLargePageMinimum=2097152, VirtualAlloc error 1314); using 4 KB pages, kept in
pilot-0.1.36-engine-startup.log; "Lock pages in memory" is
not enabled, which #42 documents as the expected desktop outcome for error 1314.
Model and configuration
ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF@ed59f92082b1e93c0e96d60a8b11aab089b52f09(unchanged since 2026-09-29, before this machine's 2026-10-02 download). ShardsIQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00001-of-00002.ggufand...-00002-of-00002.gguf. SHA-256 for both shards and fordata/expert-profile.binis in PROVENANCE.txt (the pack and the MTP draft tensors have no hash).- MTP draft head from
Qwen/Qwen3.8-Flash-Next(revision not recorded); the log calls it anexperimental native Q5_K head, 337715200 bytesand loads835 MiBof draft layer. Speculative decoding is on (--spec 4,--spec-min-p 0.5); draft acceptance was 62.1–83.8 % on the twelve headline runs, and 57–100 % across all 36 measured rows (the low end is a 13-token needle generation) — counts live in the log only. - Vision off (no
--vision, no mmproj; Windows AMD has no images), no--low-ram, no engine calibration, no custom control vectors, no API key.--kv int8and greedy 256-token sampling come from the launch configuration; the log shows the KV cell count but not the dtype.
Engine arguments as written in strata-iq2_xs.json (the launchers start serve/server.py,
which spawns the engine with these):
--pack D:\AI\Strata\Strata-main\Strata-data\packs\iq2_xs --native D:\AI\Strata\Strata-main\Strata-data\models\IQ2_XS\Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00001-of-00002.gguf --ple-gguf D:\AI\Strata\Strata-main\Strata-data\models\IQ2_XS\Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00002-of-00002.gguf --expert-profile D:\AI\Strata\Strata-main\Strata-main\data\expert-profile.bin --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp D:\AI\Strata\Strata-main\Strata-data\mtp\rt --max-context 262144 --kv int8 --kv-resident 32768 --mmap-experts --resident-budget-gib 16 env STRATA_HIPBLASLT_TUNING=...\tools\hip\gfx1201-hipblaslt-100500.txt
Method
- benchmark.py (standard library only) builds each request from synthetic
Python-like filler, sizes it in characters (calibration measured 2.52 chars/token, so
targets overshoot 2–3.5 %), and puts a fresh nonce in every prompt so no run can reuse a
cached prefix — hence
reused = 0by construction, not because caching is absent. - Each series runs a calibration and a 2,082-token warm-up first; both are excluded from the tables, as is engine loading. Reasoning is off, so the first token is answer text.
- Prompt/decode tok/s, token counts and cache states are the engine's log values; TTFT and
total latency are client-measured (HTTP + tokenisation + frontend included). No
"generated tokens ÷ total time" figure is used. As a cross-check, the client timers bracket
the engine's own clocks and never come out faster: TTFT ≥
read_msby 32–414 ms and total ≥read_ms + gen_msby 17–395 ms on every tabled row, so the engine's timings are corroborated as lower bounds rather than independently verified (its token counts have no external check at all). - The exact prompts cannot be reconstructed from this packet: the filler is deterministic but
the per-request seed and nonce are not saved (only
charsis), and the speed rows keep no answer text. benchmark.py is the reproducible instruction the guide asks for. - The three reps at a length are three different prompts of the same nominal size (the filler seed increments per rep), so each median mixes prompt-to-prompt variation with run-to-run noise. The headline runs also use the default prompt-kernel path — the fused kernel is only in the A/B leg.
- The switches
docs/DETAILS.mdrecommends for byte-identical repeats and clean A/B arms (--prompt-cache 0 --adapt-swaps 0 --pcie-frac 0, plusSTRATA_IQ_MT_MIN=1) were not used, so cache adaptation and PCIe-fraction rounding can move results between requests and between arms — one plausible contributor to the 10.8 % default-vs-default spread. - The log carries no timestamps or request ids, so a row is bound to a log line by token
count; the harness's
pairing_okcheck was added after these runs and is absent from the files. Re-run by hand: all 69 rows with ausageblock (36 measured, 15 void, 18 calibration/warm-up) match within ±1 and noread_msrepeats. - The
modelstring isqwen3.8-flash-next-iq2_xsin the standard/240K/void files andstrata(the harness's fallback alias) in the six A/B files. - Prompt targets are labels, not sizes; the measured
engine_prompt_tokensare reported per row. The needle is placed at 10/50/90 % of the character position and the repo'stools/needle_bench.pywas not used, so the recall check is this harness's own.
Full method detail, the label/session caveats and every disclosure: see METHOD-AND-DISCLOSURES.md.
Results
Per-run JSON: bench-output-standard.json (4K/32K/128K + needles), bench-output-240k.json (248K). "Tabled" = the 36 rows in a measured series across the nine JSON files (18 in the two headline files, 18 in the six A/B legs); the tables use the first 18. The log (engine-0.1.38.log) holds 71 request lines: 36 tabled, 15 rows of the failed attempt below, 18 calibration/warm-up, and 2 others (a 246,933-token request the harness did not produce, and a leftover 0.1.36 pilot line).
The failure: bench-output-standard-first-attempt-void.json
was made before the harness disabled reasoning — 13 of its 15 rows returned no answer text
(7 speed rows at 256 generated tokens and 6 needle rows at the 32-token cap), all six needles
missed, ttft_s is null on 7 of 9 speed rows. It is a failure outside the summary, not a
recall or throughput result.
Needle recall:
| Prompt tokens | Depth | Result | Prompt tok/s | Decode tok/s |
|---|---|---|---|---|
| 33,512 | 10 / 50 / 90 % | FOUND / FOUND / FOUND | 1,178.6 / 1,193.8 / 1,186.8 | 118.1 / 86.1 / 118.9 |
| 131,433 | 10 / 50 / 90 % | FOUND / FOUND / FOUND | 1,230.7 / 1,233.8 / 1,229.7 | 73.7 / 83.5 / 106.2 |
- Curve shape (one session). All four lengths ran inside a single engine session; the 4K→32K and 32K→128K segments each imply ≈1.5 s per-request overhead with ≈1,250 tok/s marginal, and 128K→248K is flatter (≈1,030 tok/s). The 32K→128K step is only +4.2 %, smaller than the 11.5 % session-to-session band, and 248K has no replicate session — so this is one session's shape, and a smooth quadratic fits the four medians about as well. The ≈1.5 s figure does not describe the calibration requests: the 346.4 tok/s calibration follows a 129,816-token needle request in the same session (the one following the 246,933-token request ran at 308.7 tok/s), while the same prompt as a fresh session's first request takes 5.36 s; see #519.
- Every engine start performs a ≈26.7 GB one-off read (26,741 MB and 26,779 MB by the two derivations below), which the log's cumulative counter folds into whichever request runs first: 31,214.5 MB on a 3,216-token calibration against 4,473 MB for the same prompt mid-session, and independently 175,996.2 − 149,217.3 MB in the other session. The 0.1.36 pilot's note that this was "NOT a one-time cost per engine start" describes that older build; on 0.1.38 the excess reproduces in all six later starts. A session's first request line therefore overstates that request's own reads, and short-prompt figures from a first request are not comparable with warm ones.
- SSD read volume (delta of the log's cumulative counter, near-identical across same-length runs — within ±0.1 % at 32K and 128K): 1.31 MB per prompt token at 4K, 0.80 at 32K, 0.63 at 128K, 0.60 at 248K (131,388 → 82,225 MB; 247,990 → 149,217 MB), i.e. ≈1.07–1.13 GB/s sustained at 4K falling to ≈0.68 GB/s at 248K, with a ≈3 GB per-request component that even the warm-up pays.
- Definitions follow the guide (prefill = freshly read tokens ÷ engine read time; decode =
generated ÷ engine gen time; TTFT = client wall clock, first token is answer text). Two
defensible alternatives would move the medians slightly: prefill taken from the client's
TTFT instead of the engine's read time gives ≈1,179 tok/s at 32K (published range
1,181.1–1,191.2), and decode over the client window (
total − TTFT) gives ≈88.0 tok/s at 248K (published max 87.5). Quoting the round target label instead of the measured prompt would understate occupancy by 2.1–3.3 %. - KV streaming hit VRAM for 94.3–99.4 % of block reads (4K 99.3, 32K 96.9–97.1, 128K
95.0–95.1, 248K 94.3–95.0), 0.05–0.42 GiB from RAM per run; the needle prompts saw
80.4–84.6 %. Decode expert-cache hit 99.4–99.9 % — the VRAM-resident share only;
--pcie-fracexperts are in neither counter (#588). - Decode is 99.8 / 97.8 / 89.9 / 87.5 tok/s; only the 32K→128K step (−8 %) is separable from noise (the 4K and 32K ranges both contain 95.3). TTFT is the engine's read time plus 32–414 ms of client/frontend overhead (22 ms on the tiny calibration/warm-up rows). The 248K run at 75.1 tok/s lowers the mean (83.4) but not the median (87.5). Three of these twelve runs stopped below the cap (236 / 249 / 250 tokens; eight of the 30 tabled speed rows did); removing them from their own three-run groups moves decode by −6.2 tok/s at 248K, −1.5 at 4K and +0.6 at 128K (32K unchanged), so the truncated runs do matter below the median.
- Against upstream's own R9700 row (
docs/AMD_HIP.md: Coder IQ1_M, Ubuntu 24.04 in a KVM/VFIO guest, engine 0.1.x, 12,288 slots): 4K prompt 982 tok/s, 4K decode 45.5, 16K prompt 1,402, 16K decode 48.3. Decode here is about twice that while 4K prompt is lower (855.8 vs 982) — different model, RAM, OS and engine, so neither direction is a controlled comparison; the opt-in matrix-core path (STRATA_HIP_WMMA=1) is documented to take the R9700's 4K prompt from 1,784 to 2,427 tok/s, so 855.8 is not a ceiling. - Environment flags.
STRATA_PF_FUSED=1: +0.8 % at 4K and +4.9 % at 32K against the slower of the twodefaultsessions (againstab-default2, 1,175.4 tok/s, it is −5.3 %), so both deltas sit inside the 11.5 % control band and neither is attributable to the flag. The string "fused" does not occur anywhere in the 732-line log, but nothing in this packet or upstream documents a banner the flag would print on HIP, so the only defensible statement is no observable effect in one session per length.STRATA_PLE_BATCH=0— the per-token PLE block #541 names as the stall workaround, not a speed option — measured −12.8 % againstab-default/ −21.3 % againstab-default2at 32K, in one session with no replicate. Raw legs: default, default2, fused, plebatch0, default4k, fused4k; only three launchers were saved, so the environment each leg ran with is not recorded per leg.
Correctness and limitations
- Recall: 6/6 exact-string needles in one run; the failed attempt scored 0/6, so this is an outcome, not a rate.
- Answer quality: not established here — this packet ran no quality, coding or tool-use check (an earlier out-of-harness look at long-context summaries exists but is not reproducible from these files; see METHOD-AND-DISCLOSURES.md §3).
- Stability: no stall line and every tabled request completed, but that is 30 requests on one machine — it is not evidence the card is stall-free, and this packet contains no stall at all (the earlier stall was observed outside it, and its dump is not attached). A stall family is reported on this card by other users: #541 (open; a different machine — CachyOS/ROCm 7.2.4, R9700) and #579 (gfx1201 RX 9070 XT, Ubuntu/ROCm 10, still on 0.1.38). The v0.1.38 notes credit #382 — the draft layer's prompt pass per group on HIP — as the fix for a gfx1201 prompt hang; that PR is closed without a GitHub merge (the maintainer's comment says it "went in by hand"), so no upstream source states the family is fully resolved.
- Engine version matters: 0.1.38 reads the file tier unbuffered and
#577 measures prompts 15–40 % slower in
that regime (
STRATA_UNBUFFERED_LOAD=0restores), so these prefill figures may understate a buffered configuration; no such leg was run. - No recall check at 248K: the 240K series ran no needles, so recall is evidenced only at 33,512 and 131,433 tokens.
- A/B caveat: each leg is one engine start at one length (4K or 32K only — none at
128K/248K), the legs ran sequentially rather than interleaved, so time, thermals and
page-cache state are confounded with the flag; and no leg records its environment variable
anywhere except the
.batfilename and the JSONtag. - Memory is a startup snapshot, not a peak; no paging/OOM counter was collected.
- 247,990 < 262,144: the longest prompt does not fill every token of the configured context window (94.6 % occupancy), and recall was checked only to 131,433 tokens — this is not a full-window or full-context-quality test.
- Not measured: clocks/thermals, power limit, PCIe width, the
strata-devicebundle, images, 384K/512K contexts, concurrency, sampled/thinking modes, quality baselines, and the opt-inSTRATA_HIP_WMMA/STRATA_SELECT_WMMAmatrix-core paths. - Session replication: 4K ran in 3 engine sessions and 32K in 5; 128K and 248K each ran in one (the only other 128K requests are the excluded void attempt).
- Variance: within a session <1 % at 32K/128K/248K and ~5 % at 4K; between sessions of the
same configuration, up to 11.5 % at 32K (1,182.1 vs 1,060.6) and 14.2 % at 4K (855.8 vs
749.3) — 13.4 % and 18.4 % if individual reps are compared (the
fused4kleg is a flag arm, not a baseline replicate, and is excluded from these bands). - Packaging: the folder mixes two engine generations (0.1.38 measurements plus 0.1.36
pilot files), and the log's first line is a leftover 246,700-token pilot request, not a
startup banner. The pilot tables are single requests on a different build with heavy prompt
reuse and are not verifiable from this packet. The pilot startup log's own PCIe probe
reads 8794.0 GB/s, which is not physically plausible; the 54.7 GB/s figure used above is the
host-clocked probe recorded in
engine-0.1.38.logline 7 (probe type introduced in 0.1.37, #377/#380). - Units: capacities in GiB (Windows' "GB" values converted; the engine prints MiB/GiB), read volumes in MB and rates in GB/s exactly as the engine's counter prints them, tokens as logged.
- Comparison caveat: synthetic prompts and reasoning off, and both the sizing and the
recall check are this harness's own, so the numbers are not directly comparable with
bench/results/2026-09-30-community-rtx-5090/.
1# Community benchmark: Radeon AI PRO R9700 (gfx1201), Windows 11, Ryzen 9 9950X 2 3Measured on 2026-10-03 by [HarukiOtaku](https://github.com/HarukiOtaku). Strata **0.1.38** 4(prebuilt Windows HIP engine), original Flash-Next **IQ2_XS**, one GPU, context limit 5262,144 tokens. Greedy, 256-token cap, reasoning off, three runs per length; prompt and 6decode figures are the engine's own log values. 7 8| Prompt tokens | Reused | Generated | Runs | Prompt tok/s (median, range) | Decode tok/s (median, range) | TTFT s (median, range) | Total s | 9| ---: | ---: | --- | ---: | --- | --- | --- | ---: | 10| 4,198 (4,195–4,199) | 0 | 256 (236–256) | 3 | **855.8** (820.7 – 863.5) | **99.8** (95.3 – 101.3) | 4.95 (4.89 – 5.16) | 7.4 | 11| 33,467 | 0 | 256 | 3 | **1,182.1** (1,181.1 – 1,191.2) | **97.8** (95.3 – 101.2) | 28.39 (28.18 – 28.43) | 30.9 | 12| 131,388 | 0 | 256 (249–256) | 3 | **1,231.7** (1,225.0 – 1,233.3) | **89.9** (86.2 – 91.0) | 106.90 (106.77 – 107.49) | 109.7 | 13| 247,990 | 0 | 256 (250–256) | 3 | **1,130.1** (1,127.2 – 1,132.0) | **87.5** (75.1 – 87.5) | 219.84 (219.49 – 220.42) | 222.7 | 14 15**Read the medians with a band.** The three reps inside one engine session agree to <1 % at 1632K/128K/248K and ~5 % at 4K, but the same configuration measured again in a fresh session 17moved by up to **11.5 % at 32K** (medians 1,182.1 vs 1,060.6) and **14.2 % at 4K** (855.8 vs 18749.3) — 13.4 % and 18.4 % if individual reps are compared — so treat a median as ±10–15 %, 19not a fixed figure. Only 4K and 32K have replicate sessions: **131,388 and 247,990 each ran in 20one session** (the only other 128K requests are in the excluded void attempt). 21 22Every run in the tables read its whole prompt (`reused = 0`) and no stall line appears in the 23log. Six needle checks were found (**6/6**) at ~33.5K and ~131.4K prompt tokens, depths 2410/50/90 % — one run each, so an outcome rather than a success rate. One earlier attempt 25produced almost no usable answers (13 of its 15 rows empty) and is reported below as a 26failure, not as data. 27 28`docs/AMD_HIP.md` marks long contexts beyond 16K as **not validated** on RDNA4 and the 29maintainer's R9700 validation is Linux at 4K/16K; the Windows AMD report I could find 30([#499](https://github.com/Niko1221/Strata/issues/499), RX 9070 XT — still an **open, 31unmerged** PR) measures prompts to 31,059 tokens. The novelty here is **Windows + gfx1201 out 32to 248K**, not the hardware. 33 34Worth stating plainly what upstream does and does not claim. `docs/AMD_HIP.md` documents one 35validated Windows AMD case — an RX 9070 XT on Windows 11 with an engine **compiled on that 36PC**, 32K, 29.2 tok/s decode / ~181 tok/s prefill (0.1.34) — and then says: "The ready-made 37zip itself has not run a model on a discrete card yet - please report." This run is that 38report, on a different card (R9700, gfx1201) and through the ready-made zip. It is **not** 39project-validated support: `docs/AMD_HIP_PERFORMANCE.md` excludes "Windows HIP, other AMD 40architectures" from its claims, and `docs/AMD_HIP.md` says its RDNA4 table "must not be read 41as a benchmark of every subsequent rebase" and that "long-context stress, broad answer-quality 42equivalence, other AMD cards, and mixed-vendor inference are not validated here". 43 44**Not a controlled study:** one OS session, one machine, one quant; prompts are synthetic 45code; GPU clocks and power limit are not recorded; the desktop was not isolated. 46 47## Hardware and software 48 49- **GPU:** Radeon AI PRO R9700 32 GiB (gfx1201; Windows reports 32 GB, engine sees 31.9 GiB), 50stock clocks, **power limit not recorded**. The display runs on the integrated GPU, so the 51 card is compute-only. 52 - **PCIe:** engine probe `54.7 GB/s host->device (best of 45.5 54.4 54.7 54.6)`; 53**width/generation not measured**. 54 - **CPU / RAM / storage:** Ryzen 9 9950X 16-Core (AVX-512; the engine ran its default 15 55expert-pool workers + host thread); Windows reports **61.5 GiB total physical memory** 56 (the DIMM kit was not recorded, so no kit size is claimed); 2 TB-class NVMe on `D:` 57 (**device model not recorded**). 58 - **OS / driver:** Windows 11 Pro, version **10.0.26300**, AMD driver **32.0.31036.15** 59(iGPU 32.0.11024.2) — quoted from the machine in [PROVENANCE.txt](PROVENANCE.txt). 60 - **Engine:** repo `main` `99f3dbd0b21d1401b3769e0c0d963913607f380b`; prebuilt Windows HIP 61engine **0.1.38** (each session logs `session is up (engine 0.1.38)`; its `engine/BUILD.json` 62 reads prebuilt, hip, 0.1.38, ROCm 10.2.0a20260930, hipBLASLt 100500, gfx1201 — **quoted 63 verbatim in [PROVENANCE.txt](PROVENANCE.txt)**, no build hash). Ready-made 64 `strata-windows-x64-hip.zip`; HIP runtime `engine/amdhip64_7.dll`. 65 - **Not captured:** the Windows-AMD bundle `docs/AMD_HIP.md` asks for 66(`strata-device --list-devices`, `--selftest`, engine-log tail), the hipBLASLt 67 `STRATA_HIPBLASLT_VERBOSE=1`/`fallbacks=0` check, clocks/power/thermals, per-run peak 68 memory, paging/OOM counters, the per-run answer text, and hashes for the IQ2_XS pack and the 69 MTP tensors. The tuning table in use is 70 upstream's own `tools/hip/gfx1201-hipblaslt-100500.txt` (32 rows, hipBLASLt 1.5.0 / 71 ROCm 10.2.0a generation — the table is calibrated on a 2026-09-14 nightly while the engine 72 reports a 2026-09-30 one, and upstream warns that a different 1.5.0 build may number its 73 solutions differently) and the log shows it enabled, but it was 74 not verified with `STRATA_HIPBLASLT_VERBOSE=1`/`fallbacks=0`, and upstream's measured gain 75 for it is +3.9 % on 4,210-token prompts. 76 77 Engine state of the measured sessions, condensed from `engine-0.1.38.log` (verbatim 78excerpts): 79 80``` text 81expert cache auto: 25.78 GiB free, 700 MiB reserved (+143 MiB for the draft head) -> 17739 slots 82expert cache 18575 slots, 24.95 GiB of VRAM 83pre-filled 18575 of 18575 slots from the profile; slot 0 verified 84FileExpertSource: RAM budget 16.00 GiB: 6001 of the 8.07 GiB of experts the GPU cache does not hold 85the file tier reads unbuffered (5 of 16 probe reads from the file cache; 46.0 GiB available, 36.5 GiB of files) 86Windows budgets 31704 of this card's 32624 MiB for this process; free VRAM is counted within that 87KV streaming: 32768 of 262144 cells per QSA layer in VRAM, the K/V in 3.09 GiB of pinned RAM 88the prompt path borrows 3203 CUDA0 cache slots (4.34 GiB) 89PLE on, table 320001536 rows 9015 expert-pool workers + the host thread 91``` 92 93The previous engine (pilot, 131,072 context) logged `large pages refused for 35456548864 B 94(GetLargePageMinimum=2097152, VirtualAlloc error 1314); using 4 KB pages`, kept in 95[pilot-0.1.36-engine-startup.log](pilot-0.1.36-engine-startup.log); "Lock pages in memory" is 96not enabled, which #42 documents as the expected desktop outcome for error 1314. 97 98## Model and configuration 99 100- `ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF` @ 101`ed59f92082b1e93c0e96d60a8b11aab089b52f09` (unchanged since 2026-09-29, before this 102machine's 2026-10-02 download). Shards 103`IQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00001-of-00002.gguf` and `...-00002-of-00002.gguf`. 104**SHA-256 for both shards and for `data/expert-profile.bin` is in 105[PROVENANCE.txt](PROVENANCE.txt)** (the pack and the MTP draft tensors have no hash). 106- MTP draft head from `Qwen/Qwen3.8-Flash-Next` (revision not recorded); the log calls it an 107`experimental native Q5_K head, 337715200 bytes` and loads `835 MiB` of draft layer. 108Speculative decoding is on (`--spec 4`, `--spec-min-p 0.5`); draft acceptance was 10962.1–83.8 % on the twelve headline runs, and 57–100 % across all 36 measured rows (the low 110end is a 13-token needle generation) — counts live in the log only. 111- Vision off (no `--vision`, no mmproj; Windows AMD has no images), no `--low-ram`, no engine 112calibration, no custom control vectors, no API key. `--kv int8` and greedy 256-token 113sampling come from the launch configuration; the log shows the KV cell count but not the 114dtype. 115 116Engine arguments as written in `strata-iq2_xs.json` (the launchers start `serve/server.py`, 117which spawns the engine with these): 118 119``` text 120--pack D:\AI\Strata\Strata-main\Strata-data\packs\iq2_xs 121--native D:\AI\Strata\Strata-main\Strata-data\models\IQ2_XS\Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00001-of-00002.gguf 122--ple-gguf D:\AI\Strata\Strata-main\Strata-data\models\IQ2_XS\Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00002-of-00002.gguf 123--expert-profile D:\AI\Strata\Strata-main\Strata-main\data\expert-profile.bin 124--expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 125--mtp D:\AI\Strata\Strata-main\Strata-data\mtp\rt 126--max-context 262144 --kv int8 --kv-resident 32768 --mmap-experts --resident-budget-gib 16 127env STRATA_HIPBLASLT_TUNING=...\tools\hip\gfx1201-hipblaslt-100500.txt 128``` 129 130## Method 131 132- [benchmark.py](benchmark.py) (standard library only) builds each request from synthetic 133Python-like filler, sizes it in **characters** (calibration measured 2.52 chars/token, so 134targets overshoot 2–3.5 %), and puts a **fresh nonce in every prompt** so no run can reuse a 135cached prefix — hence `reused = 0` by construction, not because caching is absent. 136- Each series runs a calibration and a 2,082-token warm-up first; both are excluded from the 137tables, as is engine loading. Reasoning is off, so the first token is answer text. 138- **Prompt/decode tok/s, token counts and cache states are the engine's log values; TTFT and 139total latency are client-measured** (HTTP + tokenisation + frontend included). No 140"generated tokens ÷ total time" figure is used. As a cross-check, the client timers bracket 141the engine's own clocks and **never come out faster**: TTFT ≥ `read_ms` by 32–414 ms and 142total ≥ `read_ms + gen_ms` by 17–395 ms on every tabled row, so the engine's timings are 143corroborated as lower bounds rather than independently verified (its token counts have no 144external check at all). 145- The exact prompts cannot be reconstructed from this packet: the filler is deterministic but 146the per-request seed and nonce are not saved (only `chars` is), and the speed rows keep no 147answer text. [benchmark.py](benchmark.py) is the reproducible instruction the guide asks for. 148- The three reps at a length are three **different** prompts of the same nominal size (the 149filler seed increments per rep), so each median mixes prompt-to-prompt variation with 150run-to-run noise. The headline runs also use the **default prompt-kernel path** — the fused 151kernel is only in the A/B leg. 152- The switches `docs/DETAILS.md` recommends for byte-identical repeats and clean A/B arms 153(`--prompt-cache 0 --adapt-swaps 0 --pcie-frac 0`, plus `STRATA_IQ_MT_MIN=1`) were **not** 154used, so cache adaptation and PCIe-fraction rounding can move results between requests and 155between arms — one plausible contributor to the 10.8 % default-vs-default spread. 156- The log carries **no timestamps or request ids**, so a row is bound to a log line by token 157count; the harness's `pairing_ok` check was added after these runs and is absent from the 158files. Re-run by hand: all 69 rows with a `usage` block (36 measured, 15 void, 18 159calibration/warm-up) match within ±1 and no `read_ms` repeats. 160- The `model` string is `qwen3.8-flash-next-iq2_xs` in the standard/240K/void files and 161`strata` (the harness's fallback alias) in the six A/B files. 162- Prompt targets are labels, not sizes; the measured `engine_prompt_tokens` are reported 163per row. The needle is placed at 10/50/90 % of the **character** position and the repo's 164`tools/needle_bench.py` was **not** used, so the recall check is this harness's own. 165 166Full method detail, the label/session caveats and every disclosure: see 167[METHOD-AND-DISCLOSURES.md](METHOD-AND-DISCLOSURES.md). 168 169## Results 170 171Per-run JSON: [bench-output-standard.json](bench-output-standard.json) (4K/32K/128K + 172needles), [bench-output-240k.json](bench-output-240k.json) (248K). "Tabled" = the 36 rows in 173a measured series across the nine JSON files (18 in the two headline files, 18 in the six A/B 174legs); the tables use the first 18. The log 175([engine-0.1.38.log](engine-0.1.38.log)) holds 71 request lines: 36 tabled, 15 rows of the 176failed attempt below, 18 calibration/warm-up, and 2 others (a 246,933-token request the 177harness did not produce, and a leftover 0.1.36 pilot line). 178 179**The failure:** [bench-output-standard-first-attempt-void.json](bench-output-standard-first-attempt-void.json) 180was made before the harness disabled reasoning — 13 of its 15 rows returned no answer text 181(7 speed rows at 256 generated tokens and 6 needle rows at the 32-token cap), all six needles 182missed, `ttft_s` is null on 7 of 9 speed rows. It is a failure outside the summary, not a 183recall or throughput result. 184 185Needle recall: 186 187| Prompt tokens | Depth | Result | Prompt tok/s | Decode tok/s | 188| ---: | ---: | --- | ---: | ---: | 189| 33,512 | 10 / 50 / 90 % | **FOUND / FOUND / FOUND** | 1,178.6 / 1,193.8 / 1,186.8 | 118.1 / 86.1 / 118.9 | 190| 131,433 | 10 / 50 / 90 % | **FOUND / FOUND / FOUND** | 1,230.7 / 1,233.8 / 1,229.7 | 73.7 / 83.5 / 106.2 | 191 192- **Curve shape (one session).** All four lengths ran inside a single engine session; the 1934K→32K and 32K→128K segments each imply ≈1.5 s per-request overhead with ≈1,250 tok/s 194marginal, and 128K→248K is flatter (≈1,030 tok/s). The 32K→128K step is only +4.2 %, 195*smaller* than the 11.5 % session-to-session band, and 248K has no replicate session — so 196this is one session's shape, and a smooth quadratic fits the four medians about as well. 197The ≈1.5 s figure does not describe the calibration requests: the 346.4 tok/s calibration 198follows a 129,816-token needle request in the same session (the one following the 199246,933-token request ran at 308.7 tok/s), while the same prompt as a fresh session's first 200request takes 5.36 s; see [#519](https://github.com/Niko1221/Strata/issues/519). 201- **Every engine start performs a ≈26.7 GB one-off read** (26,741 MB and 26,779 MB by the two 202derivations below), which the log's cumulative counter folds into whichever request runs 203first: 31,214.5 MB on a 3,216-token calibration against 4,473 MB for the same prompt 204mid-session, and independently 175,996.2 − 149,217.3 MB in the other session. The 0.1.36 205pilot's note that this was "NOT a one-time cost per engine start" describes that older build; 206on 0.1.38 the excess reproduces in all six later starts. A session's first request line 207therefore overstates that request's own reads, and short-prompt figures from a first request 208are not comparable with warm ones. 209- **SSD read volume** (delta of the log's cumulative counter, near-identical across 210same-length runs — within ±0.1 % at 32K and 128K): 1.31 MB per prompt token at 4K, 0.80 at 21132K, 0.63 at 128K, 0.60 at 248K (131,388 → 82,225 MB; 247,990 → 149,217 MB), i.e. 212≈1.07–1.13 GB/s sustained at 4K falling to ≈0.68 GB/s at 248K, with a ≈3 GB 213per-request component that even the warm-up pays. 214- **Definitions follow the guide** (prefill = freshly read tokens ÷ engine read time; decode = 215generated ÷ engine gen time; TTFT = client wall clock, first token is answer text). Two 216defensible alternatives would move the medians slightly: prefill taken from the client's 217TTFT instead of the engine's read time gives ≈1,179 tok/s at 32K (published range 2181,181.1–1,191.2), and decode over the client window (`total − TTFT`) gives ≈88.0 tok/s at 219248K (published max 87.5). Quoting the round target label instead of the measured prompt 220would understate occupancy by 2.1–3.3 %. 221- **KV streaming** hit VRAM for 94.3–99.4 % of block reads (4K 99.3, 32K 96.9–97.1, 128K 22295.0–95.1, 248K 94.3–95.0), 0.05–0.42 GiB from RAM per run; the needle prompts saw 22380.4–84.6 %. Decode expert-cache hit 99.4–99.9 % — the VRAM-resident share only; 224`--pcie-frac` experts are in neither counter ([#588](https://github.com/Niko1221/Strata/issues/588)). 225- **Decode** is 99.8 / 97.8 / 89.9 / 87.5 tok/s; only the 32K→128K step (−8 %) is separable 226from noise (the 4K and 32K ranges both contain 95.3). TTFT is the engine's read time plus 22732–414 ms of client/frontend overhead (22 ms on the tiny calibration/warm-up rows). The 248K run at 75.1 tok/s lowers the 228mean (83.4) but not the median (87.5). Three of these twelve runs stopped below the cap 229(236 / 249 / 250 tokens; eight of the 30 tabled speed rows did); removing them from their 230own three-run groups moves decode by **−6.2 tok/s at 248K**, −1.5 at 4K and +0.6 at 128K 231(32K unchanged), so the truncated runs do matter below the median. 232- **Against upstream's own R9700 row** (`docs/AMD_HIP.md`: Coder IQ1_M, Ubuntu 24.04 in a 233KVM/VFIO guest, engine 0.1.x, 12,288 slots): 4K prompt **982 tok/s**, 4K decode **45.5**, 23416K prompt 1,402, 16K decode 48.3. Decode here is about twice that while **4K prompt is 235lower (855.8 vs 982)** — different model, RAM, OS and engine, so neither direction is a 236controlled comparison; the opt-in matrix-core path (`STRATA_HIP_WMMA=1`) is documented to 237take the R9700's 4K prompt from 1,784 to 2,427 tok/s, so 855.8 is **not** a ceiling. 238- **Environment flags.** `STRATA_PF_FUSED=1`: +0.8 % at 4K and +4.9 % at 32K against the 239slower of the two `default` sessions (against `ab-default2`, 1,175.4 tok/s, it is −5.3 %), 240so both deltas sit inside the 11.5 % control band and neither is attributable to the flag. 241The string "fused" does not occur anywhere in the 732-line log, but nothing in this packet 242or upstream documents a banner the flag would print on HIP, so the only defensible statement 243is **no observable effect in one session per length**. `STRATA_PLE_BATCH=0` — the per-token 244PLE block [#541](https://github.com/Niko1221/Strata/issues/541) names as the stall 245workaround, not a speed option — measured −12.8 % against `ab-default` / −21.3 % against 246`ab-default2` at 32K, in one session with no replicate. Raw legs: 247[default](bench-output-ab-default.json), [default2](bench-output-ab-default2.json), 248[fused](bench-output-ab-fused.json), [plebatch0](bench-output-ab-plebatch0.json), 249[default4k](bench-output-ab-default4k.json), [fused4k](bench-output-ab-fused4k.json); only 250three launchers were saved, so **the environment each leg ran with is not recorded per 251leg**. 252 253## Correctness and limitations 254 255- **Recall:** 6/6 exact-string needles in one run; the failed attempt scored 0/6, so this is 256an outcome, not a rate. 257- **Answer quality:** not established here — this packet ran no quality, coding or tool-use 258check (an earlier out-of-harness look at long-context summaries exists but is **not 259reproducible from these files**; see METHOD-AND-DISCLOSURES.md §3). 260- **Stability:** no stall line and every tabled request completed, but that is 30 requests on 261one machine — it is not evidence the card is stall-free, and **this packet contains no stall 262at all** (the earlier stall was observed outside it, and its dump is not attached). A stall 263family is reported on this card by other users: 264[#541](https://github.com/Niko1221/Strata/issues/541) (open; a different machine — 265CachyOS/ROCm 7.2.4, R9700) and [#579](https://github.com/Niko1221/Strata/issues/579) 266(gfx1201 RX 9070 XT, Ubuntu/ROCm 10, still on 0.1.38). The v0.1.38 notes credit 267[#382](https://github.com/Niko1221/Strata/issues/382) — the draft layer's prompt pass per 268group on HIP — as the fix for a gfx1201 prompt hang; that PR is closed without a GitHub merge 269(the maintainer's comment says it "went in by hand"), so no upstream source states the family 270is fully resolved. 271- **Engine version matters:** 0.1.38 reads the file tier unbuffered and 272[#577](https://github.com/Niko1221/Strata/issues/577) measures prompts 15–40 % slower in 273that regime (`STRATA_UNBUFFERED_LOAD=0` restores), so these prefill figures may *understate* 274a buffered configuration; no such leg was run. 275- **No recall check at 248K:** the 240K series ran no needles, so recall is evidenced only at 27633,512 and 131,433 tokens. 277- **A/B caveat:** each leg is one engine start at one length (4K or 32K only — none at 278128K/248K), the legs ran sequentially rather than interleaved, so time, thermals and 279page-cache state are confounded with the flag; and no leg records its environment variable 280anywhere except the `.bat` filename and the JSON `tag`. 281- **Memory is a startup snapshot, not a peak**; no paging/OOM counter was collected. 282- **247,990 < 262,144:** the longest prompt does not fill every token of the configured 283context window (94.6 % occupancy), and recall was checked only to 131,433 tokens — this is 284not a full-window or full-context-quality test. 285- **Not measured:** clocks/thermals, power limit, PCIe width, the `strata-device` bundle, 286images, 384K/512K contexts, concurrency, sampled/thinking modes, quality baselines, and the 287opt-in `STRATA_HIP_WMMA`/`STRATA_SELECT_WMMA` matrix-core paths. 288- **Session replication:** 4K ran in 3 engine sessions and 32K in 5; **128K and 248K each ran 289in one** (the only other 128K requests are the excluded void attempt). 290- **Variance:** within a session <1 % at 32K/128K/248K and ~5 % at 4K; between sessions of the 291*same* configuration, up to 11.5 % at 32K (1,182.1 vs 1,060.6) and 14.2 % at 4K (855.8 vs 292749.3) — 13.4 % and 18.4 % if individual reps are compared (the `fused4k` leg is a flag arm, 293not a baseline replicate, and is excluded from these bands). 294- **Packaging:** the folder mixes two engine generations (0.1.38 measurements plus 0.1.36 295pilot files), and the log's first line is a leftover 246,700-token pilot request, not a 296startup banner. The pilot tables are single requests on a different build with heavy prompt 297reuse and are **not** verifiable from this packet. The pilot startup log's own PCIe probe 298reads 8794.0 GB/s, which is not physically plausible; the 54.7 GB/s figure used above is the 299host-clocked probe recorded in `engine-0.1.38.log` line 7 (probe type introduced in 0.1.37, 300#377/#380). 301- **Units:** capacities in GiB (Windows' "GB" values converted; the engine prints MiB/GiB), 302read volumes in MB and rates in GB/s exactly as the engine's counter prints them, tokens as 303logged. 304- **Comparison caveat:** synthetic prompts and reasoning off, and both the sizing and the 305recall check are this harness's own, so the numbers are not directly comparable with 306`bench/results/2026-09-30-community-rtx-5090/`.