From 50f046f247e6f7d5107dd9bcbb390fdb18b32961 Mon Sep 17 00:00:00 2001 From: dontaskmeformyname <209386967+dontaskmeformyname@users.noreply.github.com> Date: Sat, 5 Dec 2026 17:28:57 +0100 Subject: [PATCH] [Benchmark] RX 7900 XTX (gfx1100): Flash-Next ISTA, Coder, Uncensored MTP; Flint, Ornith, Nex Three measurement sets on one RX 7900 XTX (gfx1100), PolyStrata v0.2.20-poly.6 (ce7010d6) on 2026-12-01 and v0.2.20-poly.7 (0d73bb29) on 2026-12-05, engine 0.1.66. Measurement only, no engine changes. 1. Qwen3.8-Flash-Next ISTA IQ3_S, 262K, with tools/strata_bench.py --runs 3 --long: two no-MTP runs and one with an MTP head prepared from the BF16 base checkpoint. Decode chat 54.8/54.6 vs 76.3 tok/s, agent 60.4/60.2 vs 93.2; 4K prompt 1783/1640 vs 1847, 16K 2830/2481 vs 2676, 32K 3440/3292 vs 2800. The 32K drop is reported as measured; the MTP arm holds 8158 vs 8724 experts. 2. Flint, Ornith and Nex re-run against the earlier community runs (#156, #182): chat decode +15.1/+14.9/+20.0 %, agent +4.5/+13.9/+16.2 %. Prefill is mixed: Ornith +4.5..+13.0 %, Nex 16K/32K +3.6/+5.6 % but 4K -17.4 %, Flint 4K -15.9 %, 16K -1.8 %. Short-chat TTFT rose from 0.09-0.15 s to 0.44-0.48 s. vs llama.cpp on the same Ornith GGUF: 4K decode +29.1 % vs llama and +39.2 % vs llama-mtp; 32K +0.8/+3.1 %; 32K prompt -27.0 %. RAM was 30.6 GiB then, 90 GiB now; all three models fit in VRAM at 64K (engine logs: 12032/12032, 10496/10496, 10240/10240 routed experts). 3. Qwen3.8-Flash-Next Coder IQ1_M (58.4 GB) and Uncensored IQ3_XXS (85.2 GB), 262K, on v0.2.20-poly.7 (0d73bb29), same suite: experts come from RAM on the 24 GiB card. Coder: chat decode 61.5/63.1 vs 91.0 tok/s (+46.1 %), agent 64.1/63.4 vs 97.7 (+53.3 %), 4K prompt 2273/2060 vs 2333 (+7.7 %), 16K 2278/2412 vs 2666 (+13.7 %), 32K 2539/2518 vs 2166 (-14.3 %); cache 8846/8847 vs 8280 slots of 12288. Uncensored: chat 52.3/51.9 vs 73.9 (+41.8 %), agent 61.7/63.1 vs 86.1 (+38.0 %), 4K 1606/1512 vs 1405 (-9.9 %), 16K 2526/2153 vs 2146 (-8.3 %), 32K 2549/2583 vs 2165 (-15.6 %); cache 8975/8980 vs 8465 slots of 24576. poly.7, so not comparable with the poly.6 sets above; drift between the no-MTP runs up to 14.8 %. Thanks to VecSzn, who merged #156 and #182 and maintains PolyStrata's AMD/HIP path, the MTP draft layer and the benchmark tool. The numbers above are the result; the regressions (4K prefill on Flint/Nex, short-prompt TTFT, 32K prompt vs llama.cpp) are in the reports and not hidden. --- .../README.md | 156 +++ .../suite-mtp/README.md | 61 + .../suite-mtp/engine-log-excerpt.txt | 7 + .../suite-mtp/results.json | 1030 +++++++++++++++++ .../suite-nomtp-r2/README.md | 61 + .../suite-nomtp-r2/engine-log-excerpt.txt | 7 + .../suite-nomtp-r2/results.json | 1028 ++++++++++++++++ .../suite-nomtp/README.md | 61 + .../suite-nomtp/engine-log-excerpt.txt | 7 + .../suite-nomtp/results.json | 1028 ++++++++++++++++ .../README.md | 245 ++++ .../suite-flint/README.md | 66 ++ .../suite-flint/engine-log-excerpt.txt | 5 + .../suite-flint/results.json | 903 +++++++++++++++ .../suite-nex/README.md | 67 ++ .../suite-nex/engine-log-excerpt.txt | 5 + .../suite-nex/results.json | 991 ++++++++++++++++ .../suite-ornith/README.md | 67 ++ .../suite-ornith/engine-log-excerpt.txt | 5 + .../suite-ornith/results.json | 989 ++++++++++++++++ .../vs-llama/engine-log-excerpt.txt | 4 + .../vs-llama/llama-mtp.jsonl | 18 + .../vs-llama/llama.jsonl | 18 + .../vs-llama/machine.json | 53 + .../vs-llama/polystrata.jsonl | 18 + .../vs-llama/summary.txt | 14 + .../README.md | 192 +++ .../coder-mtp/README.md | 61 + .../coder-mtp/config.json | 57 + .../coder-mtp/engine-log-excerpt.txt | 11 + .../coder-mtp/results.json | 1030 +++++++++++++++++ .../coder-nomtp-r2/README.md | 61 + .../coder-nomtp-r2/config.json | 55 + .../coder-nomtp-r2/engine-log-excerpt.txt | 9 + .../coder-nomtp-r2/results.json | 1028 ++++++++++++++++ .../coder-nomtp/README.md | 61 + .../coder-nomtp/config.json | 55 + .../coder-nomtp/engine-log-excerpt.txt | 9 + .../coder-nomtp/results.json | 1028 ++++++++++++++++ .../uncensored-mtp/README.md | 61 + .../uncensored-mtp/config.json | 57 + .../uncensored-mtp/engine-log-excerpt.txt | 12 + .../uncensored-mtp/results.json | 1030 +++++++++++++++++ .../uncensored-nomtp-r2/README.md | 61 + .../uncensored-nomtp-r2/config.json | 55 + .../engine-log-excerpt.txt | 10 + .../uncensored-nomtp-r2/results.json | 1028 ++++++++++++++++ .../uncensored-nomtp/README.md | 61 + .../uncensored-nomtp/config.json | 55 + .../uncensored-nomtp/engine-log-excerpt.txt | 10 + .../uncensored-nomtp/results.json | 1028 ++++++++++++++++ docs/bench-results/README.md | 10 +- 52 files changed, 14048 insertions(+), 1 deletion(-) create mode 100644 docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/README.md create mode 100644 docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-mtp/README.md create mode 100644 docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-mtp/engine-log-excerpt.txt create mode 100644 docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-mtp/results.json create mode 100644 docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-nomtp-r2/README.md create mode 100644 docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-nomtp-r2/engine-log-excerpt.txt create mode 100644 docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-nomtp-r2/results.json create mode 100644 docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-nomtp/README.md create mode 100644 docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-nomtp/engine-log-excerpt.txt create mode 100644 docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-nomtp/results.json create mode 100644 docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/README.md create mode 100644 docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-flint/README.md create mode 100644 docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-flint/engine-log-excerpt.txt create mode 100644 docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-flint/results.json create mode 100644 docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-nex/README.md create mode 100644 docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-nex/engine-log-excerpt.txt create mode 100644 docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-nex/results.json create mode 100644 docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-ornith/README.md create mode 100644 docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-ornith/engine-log-excerpt.txt create mode 100644 docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-ornith/results.json create mode 100644 docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/vs-llama/engine-log-excerpt.txt create mode 100644 docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/vs-llama/llama-mtp.jsonl create mode 100644 docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/vs-llama/llama.jsonl create mode 100644 docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/vs-llama/machine.json create mode 100644 docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/vs-llama/polystrata.jsonl create mode 100644 docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/vs-llama/summary.txt create mode 100644 docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/README.md create mode 100644 docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-mtp/README.md create mode 100644 docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-mtp/config.json create mode 100644 docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-mtp/engine-log-excerpt.txt create mode 100644 docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-mtp/results.json create mode 100644 docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp-r2/README.md create mode 100644 docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp-r2/config.json create mode 100644 docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp-r2/engine-log-excerpt.txt create mode 100644 docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp-r2/results.json create mode 100644 docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp/README.md create mode 100644 docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp/config.json create mode 100644 docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp/engine-log-excerpt.txt create mode 100644 docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp/results.json create mode 100644 docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-mtp/README.md create mode 100644 docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-mtp/config.json create mode 100644 docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-mtp/engine-log-excerpt.txt create mode 100644 docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-mtp/results.json create mode 100644 docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp-r2/README.md create mode 100644 docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp-r2/config.json create mode 100644 docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp-r2/engine-log-excerpt.txt create mode 100644 docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp-r2/results.json create mode 100644 docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp/README.md create mode 100644 docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp/config.json create mode 100644 docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp/engine-log-excerpt.txt create mode 100644 docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp/results.json diff --git a/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/README.md b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/README.md new file mode 100644 index 0000000000..e2a9faf2c0 --- /dev/null +++ b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/README.md @@ -0,0 +1,156 @@ +# Community benchmark on AMD Radeon RX 7900 XTX + +Measured on 2026-12-01 by @dontaskmeformyname. Qwen3.8-Flash-Next ISTA IQ3_S on this card, with and +without `--mtp`. Measurement only, no engine changes. The same PolyStrata build and the +same model files ran twice without MTP and once with the MTP draft head, on one card, in the order +`suite-nomtp` → `suite-mtp` → `suite-nomtp-r2`. + +## Hardware and software + +- GPU: AMD Radeon RX 7900 XTX (gfx1100), 24 GiB (24,560 MiB), one card. It only drives the monitor (HDMI); the + desktop renders on the CPU's integrated GPU (KWin with `KWIN_DRM_DEVICES`, integrated GPU first). +- CPU / RAM: AMD Ryzen 7 7800X3D (8 cores, 16 threads); 90.0 GiB installed RAM. +- Storage: NVMe CT1000T700SSD3 and a Samsung SSD 860 PRO 2TB SATA; model files on the NVMe. +- OS: CachyOS Linux, kernel 7.3.6-3-cachyos. +- ROCm: 10.2.0 in `/opt/rocm/.info/version`; the installed package set is mixed + (`rocm-core` 10.2-1.1, `hip-runtime-amd` 10.1-2, `hipblaslt` 10.1-1, `rocblas` 10.1-2). + HIP backend. `hipconfig --version` reports `7.16.0-0000000`. +- PolyStrata: **v0.2.20-poly.6**, source checkout `ce7010d6cd1e15e6defed027360fd49de9afb246`; + engine 0.1.66 (`strata --version`), the production build installed as `~/models/bin/strata`. + The `strata_commit` field in `results.json` is `null` because that binary is not a git checkout; + the commit above is the production source revision it was built from. +- Background load: nothing else on the GPU; other desktop programs were not closed or measured. + +## Model and configuration + +- Model: **Qwen3.8-Flash-Next GSQ-RCO IQ3_S** from the model card + [ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF](https://huggingface.co/ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF), + revision `ed59f92082b1e93c0e96d60a8b11aab089b52f09`, folder `IQ3_S`, two shards: + `Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf` (54,817,524,224 B, + SHA-256 `4c1eb2ceb4915e1192f4f386021897bde56a97f40a0bb78bb86465e0f7d2aca3`) and + `...-00002-of-00002.gguf` (28,800,138,432 B, + SHA-256 `316b46f3a2dbd68c900f43136ab9449f9dcc3725dfd8c794847c204bc161e113`). +- Pack `ista-iq3_s`, tokenizer from that pack, expert profile `terminal/data/expert-profile.bin`, + context 262,144, KV `int8`, `--kv-resident 32768`, PLE table from shard 00002, vision on + (not exercised by this suite). +- The GSQ-RCO GGUF contains **no MTP head**. The MTP arm uses a head prepared from the BF16 checkpoint + [Qwen/Qwen3.8-Flash-Next](https://huggingface.co/Qwen/Qwen3.8-Flash-Next) revision `de4b8e4d43b917e7706784d8bb445c9af86a3540`: 31 `mtp.*` + tensors fetched and SHA-256-verified (5.214 GB), packed as Q2_0 (`mtp-q2_0.gguf`, 889,017,216 B, + SHA-256 `a22206a4d74eafbf31063a84610292535fb3b49af9a339963817fd04aed81e4d`), and written as + the runtime folder `rt/` with `experts.bin` (707,788,800 B, + SHA-256 `09398406be61f1f54c93861f449e48b8df0bfccbc9ec9b2b7636775a6ea9244f`), + `dense.bin` (116,099,072 B, SHA-256 `c724dc0b0822ada5d2977bf5bde821605feabaa64ea2e0045b67ca656329070a`), + `dense.txt`, and `draft_vocab.bin` (425,196 B, + SHA-256 `b1e1d3a7a9e4bf862dcd5923ce661fb59bbd07907e594df5cf86a62ac235cb91`). + The engine log at start: `draft layer loaded (Q2_0 S2), 835 MiB of VRAM (experts 675, dense 111)`; + with the packed 106,299-token head the expert cache holds 8,158 experts (15.47 GiB) instead of + 8,724 (16.55 GiB) without MTP. + +The launch command for the MTP arm (the no-MTP arm is identical without the last two lines): + +```text +strata --pack /packs/ista-iq3_s \ + --native /ista-flash-next-iq3_s/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf \ + --ple-gguf /ista-flash-next-iq3_s/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf \ + --expert-profile .../PolyStrata/terminal/data/expert-profile.bin \ + --expert-cache auto --prefill auto:16384 --spec 4 --spec-min-p 0.5 \ + --max-context 262144 --kv int8 --vision --kv-resident 32768 --vram-reserve-mib 1024 \ + --conversation-cache-mib 8192 --conversation-cache-slots 8 --prompt-cache 12 \ + --mtp /packs/qwen38-flash-next-mtp/rt +``` + +Both arms also ran with the production `cmd_prefix` environment: the gfx1100 hipBLASLt table +`gfx1100-hipblaslt-100401.txt`, `STRATA_SCORES_THREAD=1`, `STRATA_KV_HOST_DMA=1`, +`STRATA_EXPDEC=1`. The only configuration difference between the arms is `--mtp` (their log paths +also differ). Thinking is off for this suite, as the tool does it. + +## Method + +The community guide's quick suite, exactly `python terminal/tools/strata_bench.py --runs 3 --long`, +with the server started by the tool from the run config. Model loading is not timed. One warm-up chat +and a 1K prompt are discarded; every measured prompt carries a unique tag, so the fresh-prompt tests +cannot reuse the conversation cache. Speeds are the engine's own `prompt_per_second` / +`predicted_per_second`; first-token time is measured by the client over loopback HTTP. No request was +retried. Suite duration after loading: 130 s (no MTP), 143 s (MTP), 156 s (no MTP, second run). +This is **not** the draft standard protocol (`strata bench run`); it is the quick speed check the +community guide and the earlier reports in this folder use. + +## Results + +Medians with the observed minimum and maximum; `n` is the number of requests that returned tokens. +`Capped` output was 24 tokens for the prompt tests, 100 for chat and up to 64 for an agent turn. + +| Configuration | Case | Actual prompt tokens | Reused | n | Prompt tok/s | Decode tok/s | TTFT s | +| --- | --- | ---: | ---: | ---: | --- | --- | --- | +| no MTP (r1) | short chat | 46 (43-51) | 0 | 9 | not measured | 54.8 (52.8-57.6) | 0.58 (0.52-0.79) | +| no MTP (r1) | 4K fresh | 4,019 | 0 | 3 | 1,783.4 (1,687.5-1,858.8) | not measured | 2.27 (2.18-2.40) | +| no MTP (r1) | 16K fresh | 16,058 | 0 | 3 | 2,829.7 (2,465.5-3,151.7) | not measured | 5.70 (5.12-6.54) | +| no MTP (r1) | 32K fresh | 32,049 | 0 | 3 | 3,439.8 (3,336.5-3,442.5) | not measured | 9.35 (9.34-9.64) | +| no MTP (r1) | agent, follow-ups | 14,987 at the last turn | 69.23 % | 15 | see below | 60.4 (52.5-66.1) | 1.71 (1.18-2.61) | +| **MTP** | short chat | 46 (43-51) | 0 | 9 | not measured | **76.3 (67.8-90.9)** | 0.75 (0.30-1.27) | +| **MTP** | 4K fresh | 4,019 | 0 | 3 | **1,847.1 (1,312.9-1,867.3)** | not measured | 2.20 (2.17-3.08) | +| **MTP** | 16K fresh | 16,058 | 0 | 3 | 2,675.7 (2,406.8-3,132.5) | not measured | 6.03 (5.17-6.70) | +| **MTP** | 32K fresh | 32,049 | 0 | 3 | 2,799.9 (2,765.1-3,147.8) | not measured | 11.48 (10.22-11.62) | +| **MTP** | agent, follow-ups | 14,935 at the last turn | 69.21 % | 15 | see below | **93.2 (74.4-130.9)** | 2.17 (1.30-4.39) | +| no MTP (r2) | short chat | 46 (43-51) | 0 | 9 | not measured | 54.6 (54.0-57.6) | 0.53 (0.36-0.85) | +| no MTP (r2) | 4K fresh | 4,019 | 0 | 3 | 1,640.1 (1,569.9-1,793.1) | not measured | 2.47 (2.26-2.58) | +| no MTP (r2) | 16K fresh | 16,058 | 0 | 3 | 2,481.2 (2,373.1-3,362.4) | not measured | 6.50 (4.86-6.79) | +| no MTP (r2) | 32K fresh | 32,049 | 0 | 3 | 3,291.6 (2,689.3-3,436.1) | not measured | 9.77 (9.36-11.95) | +| no MTP (r2) | agent, follow-ups | 14,909 at the last turn | 69.24 % | 15 | see below | 60.2 (36.6-67.0) | 2.43 (1.33-6.46) | + +The two no-MTP runs differ by −2.9 % (chat decode), −8.0 % (4K prompt), −12.3 % (16K prompt), +−4.3 % (32K prompt) and −0.3 % (agent decode); that spread is the run-to-run noise of this machine +that day. + +Against the mean of the two no-MTP runs: + +| Case | MTP vs no MTP | +| --- | ---: | +| short chat decode | **+39.5 %** (76.3 vs 54.7 tok/s) | +| agent decode (follow-up turns) | **+54.6 %** (93.2 vs 60.3 tok/s) | +| 4K prompt | +7.9 % (1,847.1 vs 1,711.8 tok/s) | +| 16K prompt | +0.8 % (2,675.7 vs 2,655.5 tok/s) | +| 32K prompt | **−16.8 %** (2,799.9 vs 3,365.7 tok/s) | +| chat TTFT | 0.75 s vs 0.56 s | +| agent TTFT | 2.17 s vs 2.07 s | +| 32K TTFT | 11.48 s vs 9.56 s | + +Draft acceptance over all requests in the run: 58.1 % with MTP (1,076 of 1,852 offered) versus +24.4 % (74 of 303) and 22.5 % (86 of 382) in the two no-MTP runs; the no-MTP runs can only offer +suffix/prompt-lookup drafts. Per-run request data and the other cases are in each sub-folder's +`results.json`; its `README.md` and `engine-log-excerpt.txt` carry the same numbers and the startup +lines. + +### Agent session + +| Arm | Cache hit | Re-read tokens per session | Decode tok/s | Turn-0 TTFT | +| --- | ---: | ---: | ---: | ---: | +| no MTP (r1) | 69.3 % | 5 | 60.4 (52.5-66.1) | 1.56 s (1.27-3.44) | +| MTP | 69.2 % | 5 | 93.2 (74.4-130.9) | 2.59 s (1.99-4.17) | +| no MTP (r2) | 69.2 % | 5 | 60.2 (36.6-67.0) | 4.76 s (3.56-6.46) | + +The corpus is the tool's `repo_docs` (`README.md`, `docs/HOW_IT_WORKS.md`, `docs/DETAILS.md`, +`docs/INSTALL.md`, `docs/MODELS.md`, SHA-256 prefix `53e7037ff848`). + +## Correctness and limitations + +- This suite is a speed check, not an accuracy test. It includes no task with a pass/fail answer. +- Separate checks on the same day and build, **not part of this suite**: a llama-swap smoke request + on the production MTP config returned `391` for `17 × 23`, and its engine log contained + `draft layer loaded`; the earlier `bench_openai.py` T2 run (thinking on, temperature 0.6) on the + same MTP config scored `rechnen` 3/3 and the `get_weather` tool call 3/3. These are small checks, + not a quality evaluation. +- Prompt speed with MTP is lower at 32K than in both no-MTP runs. The MTP arm also holds 566 fewer + experts in VRAM (8,158 vs 8,724; 15.47 vs 16.55 GiB), because the draft layer and its packed head + take about 1 GiB. The 32K result is therefore reported as measured; this run cannot separate that + cache effect from the order (the MTP arm ran second) and from clock/thermal drift, which was not + logged. +- One card, one day, one quantization, one model file; the order was `no MTP → MTP → no MTP`, not + randomized. No `--clients` concurrency run. No vision, recall, coding or long-context needle test. +- The MTP head comes from the BF16 source checkpoint, not from the IQ3_S uploader, because the + GSQ-RCO GGUF carries no MTP tensors. Its speed and acceptance on another quantization or another + IQ3_S upload are not tested. +- `gpu_driver` and `cuda` are `null` in `results.json`: the tool does not read an AMD driver version + and this machine has no CUDA. The ROCm line above was read from the installed packages. +- This is the community guide's quick suite, not the draft standard protocol; the report makes no + standard-benchmark claim. diff --git a/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-mtp/README.md b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-mtp/README.md new file mode 100644 index 0000000000..b16f9ce9f9 --- /dev/null +++ b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-mtp/README.md @@ -0,0 +1,61 @@ +# Community benchmark on AMD Radeon RX 7900 XTX + +Measured on 2026-12-01 with `tools/strata_bench.py` (suite 1, 3 runs per test, medians with ranges). Speeds are the engine's own timings; first-token times are measured by the client over HTTP. Speed only: no correctness check was run. + +## Hardware and software + +- GPU and VRAM: AMD Radeon RX 7900 XTX, 24 GiB VRAM +- CPU: AMD Ryzen 7 7800X3D 8-Core Processor (8 cores, 16 threads); installed RAM: 90.0 GiB; storage: sda Samsung SSD 860 PRO 2TB sata; zram0; nvme0n1 CT1000T700SSD3 nvme +- OS: Linux 7.3.6-3-cachyos; GPU driver: not read; CUDA (driver supports up to): not read +- PolyStrata: project 0.1.66, commit not a git checkout; engine 0.1.66 +- Background workloads: not recorded (GPU power limit/draw read above) + +## Model and configuration + +- Model and quantization: ista-qwen3.8-flash-next-gsq-rco-iq3_s +- Context: 262144 tokens; parallel slots: 1 +- Settings: the production configuration plus `--mtp` (hip backend); thinking off for the suite; temperature 0 + +```text +strata --pack ista-iq3_s --native Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf --ple-gguf Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf --expert-profile expert-profile.bin --expert-cache auto --prefill auto:16384 --spec 4 --spec-min-p 0.5 --max-context 262144 --kv int8 --vision --kv-resident 32768 --vram-reserve-mib 1024 --conversation-cache-mib 8192 --conversation-cache-slots 8 --prompt-cache 12 --mtp rt +``` + +## Method + +Run by `python tools/strata_bench.py --long` against the HTTP API of a PolyStrata server (started by the benchmark from the install configuration); model loading is not timed. One warm-up chat and a 1K prompt are discarded first. Every prompt starts with a unique tag, so the conversation cache cannot help the fresh-prompt tests. + +- short chat: the three questions of `tools/ab_engine.py`, up to 100 new tokens, 3 runs +- 4K / 16K prompts: generated word lists sized by a calibration request, 24 new tokens, 3 fresh prompts each +- agent session: system prompt and four tools, then 5 turns that each add about 1500 words of a project file and continue from the model's own earlier answers (the way agent clients resend a conversation), 64 new tokens per turn, 3 sessions; the cache numbers come from the answer's usage (`cached_tokens`) and timings (`prompt_n`) +- concurrency (when run): N requests sent at the same moment, total tokens over the wall time of the burst, latency over all requests + +## Results + +| 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 | +| --- | ---: | ---: | ---: | ---: | --- | --- | --- | +| short chat | 46 (43-51) | 0 | 100 (100-100) | 9 | not measured | 76.3 (67.8-90.9) | 0.75 (0.30-1.27) | +| 4K prompt, fresh | 4019 (4019-4019) | 0 (0-0) | 24 cap | 3 | 1847.1 (1312.9-1867.3) | not measured | 2.20 (2.17-3.08) | +| 16K prompt, fresh | 16058 (16058-16058) | 0 (0-0) | 24 cap | 3 | 2675.7 (2406.8-3132.5) | not measured | 6.03 (5.17-6.70) | +| 32K prompt, fresh | 32049 (32049-32049) | 0 (0-0) | 24 cap | 3 | 2799.9 (2765.1-3147.8) | not measured | 11.48 (10.22-11.62) | +| agent session, follow-up turns | 14935 (14909-14942) at the last turn | see below | up to 64 | 3 | see below | 93.2 (74.4-130.9) | 2.17 (1.30-4.39) | + +Ranges are the lowest and highest of the runs; `Runs` counts requests that returned a token. + +### Agent session (conversation cache) + +Cache hit over the follow-up turns: 69.2 % (69.2-69.2); earlier-turn tokens read again per session: 5 (5-5) (earlier turns that the cache did not hold; the 14100 (14100-14100) new tokens of the files are read once); first turn (nothing cached) first token: 2.59 s (1.99-4.17). Corpus: `repo_docs` (53e7037ff848) [README.md, docs/HOW_IT_WORKS.md, docs/DETAILS.md, docs/INSTALL.md, docs/MODELS.md]. + +| Turn (run 1) | Prompt tokens | Reused | Read | Prompt tok/s | First token (s) | Decode tok/s | +| ---: | ---: | ---: | ---: | ---: | ---: | ---: | +| 0 | 609 | 0 | 609 | 309.5 | 1.991 | 30.8 | +| 1 | 4075 | 630 | 3445 | 1174.8 | 2.958 | 77.0 | +| 2 | 5739 | 4138 | 1601 | 366.3 | 4.393 | 92.8 | +| 3 | 9110 | 5802 | 3308 | 1023.8 | 3.256 | 74.4 | +| 4 | 11951 | 9150 | 2801 | 899.5 | 3.137 | 112.9 | +| 5 | 14935 | 11985 | 2950 | 755.1 | 3.932 | 90.4 | + +Per-request data: `results.json`. Engine log lines from the start: `engine-log-excerpt.txt` (when this run started the server). + +## Correctness and limitations + +Not measured: this is a speed suite. The conversation uses the model's own replies, so token counts differ a little between runs. Machine details come from the server, `nvidia-smi`/`rocm-smi` and the OS; background load is not recorded. Total time of the suite: 143 s. diff --git a/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-mtp/engine-log-excerpt.txt b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-mtp/engine-log-excerpt.txt new file mode 100644 index 0000000000..b9d0914761 --- /dev/null +++ b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-mtp/engine-log-excerpt.txt @@ -0,0 +1,7 @@ +[strata] Drafting: MTP (the DFlash2 drafter isn't downloaded yet) +[strata] loading the experts into RAM (about 55 GB) and locking part of them for the GPU. + Please wait and don't close this window; the server says when it is ready. +[strata] filling the GPU's expert cache (8158 experts, 15.47 GiB of VRAM) ... +[strata] almost ready ... +[strata] note: 951 MiB of VRAM free with the model loaded. If this AMD card also drives your desktop and the desktop or apps crash after the start (the driver moves the expert cache to RAM and the OOM killer ends the session), keep more VRAM free: ./setup.sh --vram-reserve-mib 3072 (remembered; the expert cache gets 2.0 GB less, a few % of speed) +ready: http://127.0.0.1:8095/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 262144 tokens, images on) diff --git a/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-mtp/results.json b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-mtp/results.json new file mode 100644 index 0000000000..a13708d42b --- /dev/null +++ b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-mtp/results.json @@ -0,0 +1,1030 @@ +{ + "schema": 1, + "tool": "tools/strata_bench.py", + "date": "2026-12-01", + "params": { + "runs": 3, + "think": false, + "clients": 0, + "long": true, + "started_server": true, + "command": "python tools/strata_bench.py --long" + }, + "elapsed_s": 142.91263723373413, + "machine": { + "gpu": [ + "AMD Radeon RX 7900 XTX" + ], + "gpu_vram_mib": 24560.0, + "gpu_driver": null, + "gpu_detail": [ + {} + ], + "cuda": null, + "engine_build": null, + "cpu": "AMD Ryzen 7 7800X3D 8-Core Processor", + "cpu_cores": 8, + "storage": "sda Samsung SSD 860 PRO 2TB sata; zram0; nvme0n1 CT1000T700SSD3 nvme", + "cpu_threads": 16, + "ram_gib": 90.0, + "os": "Linux 7.3.6-3-cachyos", + "python": "3.14.10", + "strata_version": "0.1.66", + "strata_commit": null, + "engine_version": "0.1.66", + "model": "ista-qwen3.8-flash-next-gsq-rco-iq3_s", + "quant": "IQ3_S", + "context": 262144, + "parallel_slots": 1, + "config": { + "exe": "strata", + "args": [ + "--pack", + "ista-iq3_s", + "--native", + "Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf", + "--ple-gguf", + "Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf", + "--expert-profile", + "expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto:16384", + "--spec", + "4", + "--spec-min-p", + "0.5", + "--max-context", + "262144", + "--kv", + "int8", + "--vision", + "--kv-resident", + "32768", + "--vram-reserve-mib", + "1024", + "--conversation-cache-mib", + "8192", + "--conversation-cache-slots", + "8", + "--prompt-cache", + "12", + "--mtp", + "rt" + ], + "model_name": "ista-qwen3.8-flash-next-gsq-rco-iq3_s", + "display_name": "Qwen3.8-Flash-Next GSQ-RCO IQ3_S (ISTA)", + "lib_dirs": [ + "/opt/rocm/lib" + ], + "gpu": 0, + "gpus_asked": true, + "backend": "hip", + "host": "127.0.0.1", + "open_browser": false, + "vision": { + "exe": "/models/bin/strata-vision", + "mmproj": "/models/mmproj/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/models/ista-flash-next-iq3_s/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf" + }, + "cmd_prefix": "gfx1100-hipblaslt-100401.txt STRATA_SCORES_THREAD=1 STRATA_KV_HOST_DMA=1 STRATA_EXPDEC=1 " + }, + "launch": "strata --pack ista-iq3_s --native Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf --ple-gguf Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf --expert-profile expert-profile.bin --expert-cache auto --prefill auto:16384 --spec 4 --spec-min-p 0.5 --max-context 262144 --kv int8 --vision --kv-resident 32768 --vram-reserve-mib 1024 --conversation-cache-mib 8192 --conversation-cache-slots 8 --prompt-cache 12 --mtp rt", + "engine_info": { + "model": "ista-qwen3.8-flash-next-gsq-rco-iq3_s", + "max_context": 262144, + "images": true, + "gen": 1, + "version": "0.1.66", + "logit_bias": 1, + "context": 262144, + "kv": "int8", + "kv_resident": 32768, + "expert_slots": 8158, + "experts": 24576, + "expert_cache_mib": 15841, + "expert_slots_primary": 8158, + "expert_cache_primary_mib": 15841, + "spec": 6, + "mtp_max": 4, + "lookup": 3, + "vram_free_mib": 951, + "cvec": 0, + "arena_mib": 47962, + "pool_workers": 7, + "pcie_frac": "0.15", + "spec_min_p": "0.50", + "conversation_cache_mib": 8192, + "conversation_cache_slots": 8, + "conversation_cache_min_free_mib": 2560, + "conversation_cache_min_tokens": 1024, + "tail_role_token": -1, + "vram_elastic": 0, + "prefill_cap": 16384, + "prefill_stages": 1, + "stream_all_min": 3072, + "prefill_pipe": 0, + "engine": "0.1.66", + "drafting": "mtp", + "drafting_note": "Drafting: MTP (the DFlash2 drafter isn't downloaded yet)" + }, + "vram_after": { + "elastic": false + } + }, + "results": { + "chat": { + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 0.936, + "total_s": 2.022, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 55.5, + "prompt_tps_source": "engine", + "decode_tps": 90.9, + "decode_tps_source": "engine", + "prompt_ms": 918.6, + "decode_ms": 1100.2, + "drafts_offered": 88, + "drafts_accepted": 70, + "run": 0, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.168, + "total_s": 2.561, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 37.4, + "prompt_tps_source": "engine", + "decode_tps": 71.1, + "decode_tps_source": "engine", + "prompt_ms": 1150.1, + "decode_ms": 1407.3, + "drafts_offered": 95, + "drafts_accepted": 54, + "run": 0, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.75, + "total_s": 2.074, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 62.8, + "prompt_tps_source": "engine", + "decode_tps": 74.7, + "decode_tps_source": "engine", + "prompt_ms": 732.1, + "decode_ms": 1339.0, + "drafts_offered": 88, + "drafts_accepted": 54, + "run": 0, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.271, + "total_s": 2.465, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 40.7, + "prompt_tps_source": "engine", + "decode_tps": 82.7, + "decode_tps_source": "engine", + "prompt_ms": 1253.1, + "decode_ms": 1208.5, + "drafts_offered": 88, + "drafts_accepted": 69, + "run": 1, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.001, + "total_s": 2.459, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 43.8, + "prompt_tps_source": "engine", + "decode_tps": 67.8, + "decode_tps_source": "engine", + "prompt_ms": 982.6, + "decode_ms": 1473.9, + "drafts_offered": 105, + "drafts_accepted": 47, + "run": 1, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.32, + "total_s": 1.643, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 152.1, + "prompt_tps_source": "engine", + "decode_tps": 74.7, + "decode_tps_source": "engine", + "prompt_ms": 302.4, + "decode_ms": 1338.0, + "drafts_offered": 94, + "drafts_accepted": 52, + "run": 1, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.518, + "total_s": 1.685, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 102.0, + "prompt_tps_source": "engine", + "decode_tps": 84.6, + "decode_tps_source": "engine", + "prompt_ms": 499.8, + "decode_ms": 1182.4, + "drafts_offered": 87, + "drafts_accepted": 70, + "run": 2, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.304, + "total_s": 1.582, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 150.2, + "prompt_tps_source": "engine", + "decode_tps": 77.4, + "decode_tps_source": "engine", + "prompt_ms": 286.3, + "decode_ms": 1292.3, + "drafts_offered": 95, + "drafts_accepted": 55, + "run": 2, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.314, + "total_s": 1.611, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 155.1, + "prompt_tps_source": "engine", + "decode_tps": 76.3, + "decode_tps_source": "engine", + "prompt_ms": 296.6, + "decode_ms": 1310.8, + "drafts_offered": 98, + "drafts_accepted": 54, + "run": 2, + "prompt": 2 + } + ], + "decode_tps": { + "median": 76.3, + "min": 67.8, + "max": 90.9, + "n": 9 + }, + "ttft_s": { + "median": 0.75, + "min": 0.304, + "max": 1.271, + "n": 9 + }, + "generated_tokens": { + "median": 100, + "min": 100, + "max": 100, + "n": 9 + }, + "prompt_tokens": { + "median": 46, + "min": 43, + "max": 51, + "n": 9 + } + }, + "prompts": { + "4K": { + "target_tokens": 4096, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 2.174, + "total_s": 2.591, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 1867.3, + "prompt_tps_source": "engine", + "decode_tps": 55.6, + "decode_tps_source": "engine", + "prompt_ms": 2152.3, + "decode_ms": 431.9, + "drafts_offered": 30, + "drafts_accepted": 10, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.196, + "total_s": 2.522, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 1847.1, + "prompt_tps_source": "engine", + "decode_tps": 70.4, + "decode_tps_source": "engine", + "prompt_ms": 2175.9, + "decode_ms": 341.1, + "drafts_offered": 28, + "drafts_accepted": 10, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.082, + "total_s": 3.318, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 1312.9, + "prompt_tps_source": "engine", + "decode_tps": 95.8, + "decode_tps_source": "engine", + "prompt_ms": 3061.1, + "decode_ms": 250.6, + "drafts_offered": 23, + "drafts_accepted": 13, + "run": 2 + } + ], + "prompt_tps": { + "median": 1847.1, + "min": 1312.9, + "max": 1867.3, + "n": 3 + }, + "ttft_s": { + "median": 2.196, + "min": 2.174, + "max": 3.082, + "n": 3 + }, + "prompt_tokens": { + "median": 4019, + "min": 4019, + "max": 4019, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "16K": { + "target_tokens": 16384, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 5.172, + "total_s": 5.526, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 3132.5, + "prompt_tps_source": "engine", + "decode_tps": 65.1, + "decode_tps_source": "engine", + "prompt_ms": 5126.3, + "decode_ms": 368.9, + "drafts_offered": 30, + "drafts_accepted": 8, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 6.699, + "total_s": 6.994, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 2406.8, + "prompt_tps_source": "engine", + "decode_tps": 77.5, + "decode_tps_source": "engine", + "prompt_ms": 6671.9, + "decode_ms": 309.6, + "drafts_offered": 28, + "drafts_accepted": 11, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 6.03, + "total_s": 6.325, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 2675.7, + "prompt_tps_source": "engine", + "decode_tps": 77.2, + "decode_tps_source": "engine", + "prompt_ms": 6001.4, + "decode_ms": 311.0, + "drafts_offered": 19, + "drafts_accepted": 11, + "run": 2 + } + ], + "prompt_tps": { + "median": 2675.7, + "min": 2406.8, + "max": 3132.5, + "n": 3 + }, + "ttft_s": { + "median": 6.03, + "min": 5.172, + "max": 6.699, + "n": 3 + }, + "prompt_tokens": { + "median": 16058, + "min": 16058, + "max": 16058, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "32K": { + "target_tokens": 32768, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 11.481, + "total_s": 11.823, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 2799.9, + "prompt_tps_source": "engine", + "decode_tps": 67.0, + "decode_tps_source": "engine", + "prompt_ms": 11446.4, + "decode_ms": 358.2, + "drafts_offered": 21, + "drafts_accepted": 12, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 10.217, + "total_s": 10.591, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 3147.8, + "prompt_tps_source": "engine", + "decode_tps": 61.8, + "decode_tps_source": "engine", + "prompt_ms": 10181.4, + "decode_ms": 388.4, + "drafts_offered": 28, + "drafts_accepted": 8, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 11.624, + "total_s": 11.965, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 2765.1, + "prompt_tps_source": "engine", + "decode_tps": 67.3, + "decode_tps_source": "engine", + "prompt_ms": 11590.5, + "decode_ms": 356.6, + "drafts_offered": 27, + "drafts_accepted": 8, + "run": 2 + } + ], + "prompt_tps": { + "median": 2799.9, + "min": 2765.1, + "max": 3147.8, + "n": 3 + }, + "ttft_s": { + "median": 11.481, + "min": 10.217, + "max": 11.624, + "n": 3 + }, + "prompt_tokens": { + "median": 32049, + "min": 32049, + "max": 32049, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + } + }, + "agent": { + "corpus": "repo_docs", + "corpus_files": [ + "README.md", + "docs/HOW_IT_WORKS.md", + "docs/DETAILS.md", + "docs/INSTALL.md", + "docs/MODELS.md" + ], + "corpus_sha256": "53e7037ff848", + "sessions": [ + [ + { + "ok": true, + "err": null, + "ttft_s": 1.991, + "total_s": 2.688, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 22, + "prompt_tps": 309.5, + "prompt_tps_source": "engine", + "decode_tps": 30.8, + "decode_tps_source": "engine", + "prompt_ms": 1968.0, + "decode_ms": 714.1, + "drafts_offered": 25, + "drafts_accepted": 12, + "run": 0, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.958, + "total_s": 3.773, + "prompt_tokens": 4075, + "reused_tokens": 630, + "read_tokens": 3445, + "generated_tokens": 64, + "prompt_tps": 1174.8, + "prompt_tps_source": "engine", + "decode_tps": 77.0, + "decode_tps_source": "engine", + "prompt_ms": 2932.3, + "decode_ms": 831.4, + "drafts_offered": 63, + "drafts_accepted": 38, + "run": 0, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.393, + "total_s": 5.068, + "prompt_tokens": 5739, + "reused_tokens": 4138, + "read_tokens": 1601, + "generated_tokens": 64, + "prompt_tps": 366.3, + "prompt_tps_source": "engine", + "decode_tps": 92.8, + "decode_tps_source": "engine", + "prompt_ms": 4370.5, + "decode_ms": 689.4, + "drafts_offered": 58, + "drafts_accepted": 41, + "run": 0, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.256, + "total_s": 3.791, + "prompt_tokens": 9110, + "reused_tokens": 5802, + "read_tokens": 3308, + "generated_tokens": 41, + "prompt_tps": 1023.8, + "prompt_tps_source": "engine", + "decode_tps": 74.4, + "decode_tps_source": "engine", + "prompt_ms": 3231.0, + "decode_ms": 550.8, + "drafts_offered": 55, + "drafts_accepted": 20, + "run": 0, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.137, + "total_s": 3.432, + "prompt_tokens": 11951, + "reused_tokens": 9150, + "read_tokens": 2801, + "generated_tokens": 35, + "prompt_tps": 899.5, + "prompt_tps_source": "engine", + "decode_tps": 112.9, + "decode_tps_source": "engine", + "prompt_ms": 3113.9, + "decode_ms": 310.1, + "drafts_offered": 33, + "drafts_accepted": 23, + "run": 0, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.932, + "total_s": 4.625, + "prompt_tokens": 14935, + "reused_tokens": 11985, + "read_tokens": 2950, + "generated_tokens": 64, + "prompt_tps": 755.1, + "prompt_tps_source": "engine", + "decode_tps": 90.4, + "decode_tps_source": "engine", + "prompt_ms": 3906.8, + "decode_ms": 707.8, + "drafts_offered": 62, + "drafts_accepted": 39, + "run": 0, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 2.593, + "total_s": 2.898, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 24, + "prompt_tps": 236.5, + "prompt_tps_source": "engine", + "decode_tps": 75.2, + "decode_tps_source": "engine", + "prompt_ms": 2575.0, + "decode_ms": 319.3, + "drafts_offered": 25, + "drafts_accepted": 14, + "run": 1, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.133, + "total_s": 2.787, + "prompt_tokens": 4077, + "reused_tokens": 632, + "read_tokens": 3445, + "generated_tokens": 64, + "prompt_tps": 1630.9, + "prompt_tps_source": "engine", + "decode_tps": 95.6, + "decode_tps_source": "engine", + "prompt_ms": 2112.3, + "decode_ms": 669.2, + "drafts_offered": 66, + "drafts_accepted": 38, + "run": 1, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.304, + "total_s": 1.889, + "prompt_tokens": 5741, + "reused_tokens": 4140, + "read_tokens": 1601, + "generated_tokens": 64, + "prompt_tps": 1247.8, + "prompt_tps_source": "engine", + "decode_tps": 106.6, + "decode_tps_source": "engine", + "prompt_ms": 1283.1, + "decode_ms": 600.4, + "drafts_offered": 59, + "drafts_accepted": 43, + "run": 1, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.173, + "total_s": 2.682, + "prompt_tokens": 9112, + "reused_tokens": 5804, + "read_tokens": 3308, + "generated_tokens": 45, + "prompt_tps": 1538.0, + "prompt_tps_source": "engine", + "decode_tps": 85.8, + "decode_tps_source": "engine", + "prompt_ms": 2150.9, + "decode_ms": 524.4, + "drafts_offered": 53, + "drafts_accepted": 25, + "run": 1, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.606, + "total_s": 1.866, + "prompt_tokens": 11957, + "reused_tokens": 9156, + "read_tokens": 2801, + "generated_tokens": 36, + "prompt_tps": 1768.8, + "prompt_tps_source": "engine", + "decode_tps": 130.9, + "decode_tps_source": "engine", + "prompt_ms": 1583.6, + "decode_ms": 275.0, + "drafts_offered": 28, + "drafts_accepted": 25, + "run": 1, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.928, + "total_s": 2.125, + "prompt_tokens": 14942, + "reused_tokens": 11992, + "read_tokens": 2950, + "generated_tokens": 22, + "prompt_tps": 1548.2, + "prompt_tps_source": "engine", + "decode_tps": 103.8, + "decode_tps_source": "engine", + "prompt_ms": 1905.5, + "decode_ms": 212.0, + "drafts_offered": 21, + "drafts_accepted": 14, + "run": 1, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 4.167, + "total_s": 4.403, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 19, + "prompt_tps": 146.8, + "prompt_tps_source": "engine", + "decode_tps": 75.6, + "decode_tps_source": "engine", + "prompt_ms": 4148.5, + "decode_ms": 251.4, + "drafts_offered": 22, + "drafts_accepted": 10, + "run": 2, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.419, + "total_s": 3.048, + "prompt_tokens": 4072, + "reused_tokens": 627, + "read_tokens": 3445, + "generated_tokens": 64, + "prompt_tps": 1436.4, + "prompt_tps_source": "engine", + "decode_tps": 99.2, + "decode_tps_source": "engine", + "prompt_ms": 2398.3, + "decode_ms": 644.9, + "drafts_offered": 62, + "drafts_accepted": 38, + "run": 2, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.425, + "total_s": 2.087, + "prompt_tokens": 5736, + "reused_tokens": 4135, + "read_tokens": 1601, + "generated_tokens": 64, + "prompt_tps": 1139.7, + "prompt_tps_source": "engine", + "decode_tps": 94.5, + "decode_tps_source": "engine", + "prompt_ms": 1404.7, + "decode_ms": 677.1, + "drafts_offered": 70, + "drafts_accepted": 39, + "run": 2, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.522, + "total_s": 2.936, + "prompt_tokens": 9107, + "reused_tokens": 5799, + "read_tokens": 3308, + "generated_tokens": 40, + "prompt_tps": 1323.7, + "prompt_tps_source": "engine", + "decode_tps": 93.2, + "decode_tps_source": "engine", + "prompt_ms": 2499.0, + "decode_ms": 429.2, + "drafts_offered": 44, + "drafts_accepted": 23, + "run": 2, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.072, + "total_s": 2.199, + "prompt_tokens": 11947, + "reused_tokens": 9146, + "read_tokens": 2801, + "generated_tokens": 13, + "prompt_tps": 1366.0, + "prompt_tps_source": "engine", + "decode_tps": 91.7, + "decode_tps_source": "engine", + "prompt_ms": 2050.5, + "decode_ms": 141.8, + "drafts_offered": 13, + "drafts_accepted": 7, + "run": 2, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.061, + "total_s": 2.263, + "prompt_tokens": 14909, + "reused_tokens": 11959, + "read_tokens": 2950, + "generated_tokens": 20, + "prompt_tps": 1447.3, + "prompt_tps_source": "engine", + "decode_tps": 92.3, + "decode_tps_source": "engine", + "prompt_ms": 2038.3, + "decode_ms": 216.7, + "drafts_offered": 21, + "drafts_accepted": 11, + "run": 2, + "turn": 5 + } + ] + ], + "hit_pct": { + "median": 69.21, + "min": 69.184, + "max": 69.223, + "n": 3 + }, + "reread_tokens": { + "median": 5, + "min": 5, + "max": 5, + "n": 3 + }, + "new_tokens": { + "median": 14100, + "min": 14100, + "max": 14100, + "n": 3 + }, + "turn_ttft_s": { + "median": 2.173, + "min": 1.304, + "max": 4.393, + "n": 15 + }, + "last_turn_prompt_tokens": { + "median": 14935, + "min": 14909, + "max": 14942, + "n": 3 + }, + "turn_decode_tps": { + "median": 93.2, + "min": 74.4, + "max": 130.9, + "n": 15 + }, + "first_turn_ttft_s": { + "median": 2.593, + "min": 1.991, + "max": 4.167, + "n": 3 + } + }, + "clients": {}, + "skipped": {}, + "failures": [] + } +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-nomtp-r2/README.md b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-nomtp-r2/README.md new file mode 100644 index 0000000000..72cd0fcacd --- /dev/null +++ b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-nomtp-r2/README.md @@ -0,0 +1,61 @@ +# Community benchmark on AMD Radeon RX 7900 XTX + +Measured on 2026-12-01 with `tools/strata_bench.py` (suite 1, 3 runs per test, medians with ranges). Speeds are the engine's own timings; first-token times are measured by the client over HTTP. Speed only: no correctness check was run. + +## Hardware and software + +- GPU and VRAM: AMD Radeon RX 7900 XTX, 24 GiB VRAM +- CPU: AMD Ryzen 7 7800X3D 8-Core Processor (8 cores, 16 threads); installed RAM: 90.0 GiB; storage: sda Samsung SSD 860 PRO 2TB sata; zram0; nvme0n1 CT1000T700SSD3 nvme +- OS: Linux 7.3.6-3-cachyos; GPU driver: not read; CUDA (driver supports up to): not read +- PolyStrata: project 0.1.66, commit not a git checkout; engine 0.1.66 +- Background workloads: not recorded (GPU power limit/draw read above) + +## Model and configuration + +- Model and quantization: ista-qwen3.8-flash-next-gsq-rco-iq3_s +- Context: 262144 tokens; parallel slots: 1 +- Settings: the install's own configuration, unchanged (hip backend); thinking off for the suite; temperature 0 + +```text +strata --pack ista-iq3_s --native Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf --ple-gguf Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf --expert-profile expert-profile.bin --expert-cache auto --prefill auto:16384 --spec 4 --spec-min-p 0.5 --max-context 262144 --kv int8 --vision --kv-resident 32768 --vram-reserve-mib 1024 --conversation-cache-mib 8192 --conversation-cache-slots 8 --prompt-cache 12 +``` + +## Method + +Run by `python tools/strata_bench.py --long` against the HTTP API of a PolyStrata server (started by the benchmark from the install configuration); model loading is not timed. One warm-up chat and a 1K prompt are discarded first. Every prompt starts with a unique tag, so the conversation cache cannot help the fresh-prompt tests. + +- short chat: the three questions of `tools/ab_engine.py`, up to 100 new tokens, 3 runs +- 4K / 16K prompts: generated word lists sized by a calibration request, 24 new tokens, 3 fresh prompts each +- agent session: system prompt and four tools, then 5 turns that each add about 1500 words of a project file and continue from the model's own earlier answers (the way agent clients resend a conversation), 64 new tokens per turn, 3 sessions; the cache numbers come from the answer's usage (`cached_tokens`) and timings (`prompt_n`) +- concurrency (when run): N requests sent at the same moment, total tokens over the wall time of the burst, latency over all requests + +## Results + +| 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 | +| --- | ---: | ---: | ---: | ---: | --- | --- | --- | +| short chat | 46 (43-51) | 0 | 100 (100-100) | 9 | not measured | 54.6 (54.0-57.6) | 0.53 (0.36-0.85) | +| 4K prompt, fresh | 4019 (4019-4019) | 0 (0-0) | 24 cap | 3 | 1640.1 (1569.9-1793.1) | not measured | 2.47 (2.26-2.58) | +| 16K prompt, fresh | 16058 (16058-16058) | 0 (0-0) | 24 cap | 3 | 2481.2 (2373.1-3362.4) | not measured | 6.50 (4.86-6.79) | +| 32K prompt, fresh | 32049 (32049-32049) | 0 (0-0) | 24 cap | 3 | 3291.6 (2689.3-3436.1) | not measured | 9.77 (9.36-11.95) | +| agent session, follow-up turns | 14954 (14953-14971) at the last turn | see below | up to 64 | 3 | see below | 60.2 (36.6-67.0) | 2.43 (1.33-4.21) | + +Ranges are the lowest and highest of the runs; `Runs` counts requests that returned a token. + +### Agent session (conversation cache) + +Cache hit over the follow-up turns: 69.2 % (69.2-69.3); earlier-turn tokens read again per session: 5 (5-5) (earlier turns that the cache did not hold; the 14100 (14100-14101) new tokens of the files are read once); first turn (nothing cached) first token: 4.76 s (3.56-6.46). Corpus: `repo_docs` (53e7037ff848) [README.md, docs/HOW_IT_WORKS.md, docs/DETAILS.md, docs/INSTALL.md, docs/MODELS.md]. + +| Turn (run 1) | Prompt tokens | Reused | Read | Prompt tok/s | First token (s) | Decode tok/s | +| ---: | ---: | ---: | ---: | ---: | ---: | ---: | +| 0 | 609 | 0 | 609 | 172.2 | 3.558 | 55.0 | +| 1 | 4074 | 629 | 3445 | 1171.4 | 2.964 | 53.9 | +| 2 | 5738 | 4137 | 1601 | 381.8 | 4.215 | 54.6 | +| 3 | 9109 | 5801 | 3308 | 1162.9 | 2.869 | 58.2 | +| 4 | 11968 | 9167 | 2801 | 913.4 | 3.091 | 63.2 | +| 5 | 14953 | 12003 | 2950 | 1264.6 | 2.359 | 61.7 | + +Per-request data: `results.json`. Engine log lines from the start: `engine-log-excerpt.txt` (when this run started the server). + +## Correctness and limitations + +Not measured: this is a speed suite. The conversation uses the model's own replies, so token counts differ a little between runs. Machine details come from the server, `nvidia-smi`/`rocm-smi` and the OS; background load is not recorded. Total time of the suite: 156 s. diff --git a/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-nomtp-r2/engine-log-excerpt.txt b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-nomtp-r2/engine-log-excerpt.txt new file mode 100644 index 0000000000..cca26f190f --- /dev/null +++ b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-nomtp-r2/engine-log-excerpt.txt @@ -0,0 +1,7 @@ +[strata] Drafting: MTP (the DFlash2 drafter isn't downloaded yet) +[strata] loading the experts into RAM (about 55 GB) and locking part of them for the GPU. + Please wait and don't close this window; the server says when it is ready. +[strata] filling the GPU's expert cache (8722 experts, 16.54 GiB of VRAM) ... +[strata] almost ready ... +[strata] note: 1123 MiB of VRAM free with the model loaded. If this AMD card also drives your desktop and the desktop or apps crash after the start (the driver moves the expert cache to RAM and the OOM killer ends the session), keep more VRAM free: ./setup.sh --vram-reserve-mib 3072 (remembered; the expert cache gets 2.0 GB less, a few % of speed) +ready: http://127.0.0.1:8095/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 262144 tokens, images on) diff --git a/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-nomtp-r2/results.json b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-nomtp-r2/results.json new file mode 100644 index 0000000000..af99cf8d84 --- /dev/null +++ b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-nomtp-r2/results.json @@ -0,0 +1,1028 @@ +{ + "schema": 1, + "tool": "tools/strata_bench.py", + "date": "2026-12-01", + "params": { + "runs": 3, + "think": false, + "clients": 0, + "long": true, + "started_server": true, + "command": "python tools/strata_bench.py --long" + }, + "elapsed_s": 155.81937265396118, + "machine": { + "gpu": [ + "AMD Radeon RX 7900 XTX" + ], + "gpu_vram_mib": 24560.0, + "gpu_driver": null, + "gpu_detail": [ + {} + ], + "cuda": null, + "engine_build": null, + "cpu": "AMD Ryzen 7 7800X3D 8-Core Processor", + "cpu_cores": 8, + "storage": "sda Samsung SSD 860 PRO 2TB sata; zram0; nvme0n1 CT1000T700SSD3 nvme", + "cpu_threads": 16, + "ram_gib": 90.0, + "os": "Linux 7.3.6-3-cachyos", + "python": "3.14.10", + "strata_version": "0.1.66", + "strata_commit": null, + "engine_version": "0.1.66", + "model": "ista-qwen3.8-flash-next-gsq-rco-iq3_s", + "quant": "IQ3_S", + "context": 262144, + "parallel_slots": 1, + "config": { + "exe": "strata", + "args": [ + "--pack", + "ista-iq3_s", + "--native", + "Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf", + "--ple-gguf", + "Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf", + "--expert-profile", + "expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto:16384", + "--spec", + "4", + "--spec-min-p", + "0.5", + "--max-context", + "262144", + "--kv", + "int8", + "--vision", + "--kv-resident", + "32768", + "--vram-reserve-mib", + "1024", + "--conversation-cache-mib", + "8192", + "--conversation-cache-slots", + "8", + "--prompt-cache", + "12" + ], + "model_name": "ista-qwen3.8-flash-next-gsq-rco-iq3_s", + "display_name": "Qwen3.8-Flash-Next GSQ-RCO IQ3_S (ISTA)", + "lib_dirs": [ + "/opt/rocm/lib" + ], + "gpu": 0, + "gpus_asked": true, + "backend": "hip", + "host": "127.0.0.1", + "open_browser": false, + "vision": { + "exe": "/models/bin/strata-vision", + "mmproj": "/models/mmproj/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/models/ista-flash-next-iq3_s/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf" + }, + "cmd_prefix": "gfx1100-hipblaslt-100401.txt STRATA_SCORES_THREAD=1 STRATA_KV_HOST_DMA=1 STRATA_EXPDEC=1 " + }, + "launch": "strata --pack ista-iq3_s --native Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf --ple-gguf Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf --expert-profile expert-profile.bin --expert-cache auto --prefill auto:16384 --spec 4 --spec-min-p 0.5 --max-context 262144 --kv int8 --vision --kv-resident 32768 --vram-reserve-mib 1024 --conversation-cache-mib 8192 --conversation-cache-slots 8 --prompt-cache 12", + "engine_info": { + "model": "ista-qwen3.8-flash-next-gsq-rco-iq3_s", + "max_context": 262144, + "images": true, + "gen": 1, + "version": "0.1.66", + "logit_bias": 1, + "context": 262144, + "kv": "int8", + "kv_resident": 32768, + "expert_slots": 8722, + "experts": 24576, + "expert_cache_mib": 16938, + "expert_slots_primary": 8722, + "expert_cache_primary_mib": 16938, + "spec": 6, + "mtp_max": 4, + "lookup": 3, + "vram_free_mib": 1123, + "cvec": 0, + "arena_mib": 47962, + "pool_workers": 7, + "pcie_frac": "0.15", + "spec_min_p": "0.50", + "conversation_cache_mib": 8192, + "conversation_cache_slots": 8, + "conversation_cache_min_free_mib": 2560, + "conversation_cache_min_tokens": 1024, + "tail_role_token": -1, + "vram_elastic": 0, + "prefill_cap": 16384, + "prefill_stages": 1, + "stream_all_min": 3072, + "prefill_pipe": 0, + "engine": "0.1.66", + "drafting": "off", + "drafting_note": "Drafting: off (the DFlash2 drafter isn't downloaded yet)" + }, + "vram_after": { + "elastic": false + } + }, + "results": { + "chat": { + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 0.453, + "total_s": 2.174, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 117.1, + "prompt_tps_source": "engine", + "decode_tps": 57.6, + "decode_tps_source": "engine", + "prompt_ms": 435.5, + "decode_ms": 1735.6, + "drafts_offered": 20, + "drafts_accepted": 10, + "run": 0, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.723, + "total_s": 2.56, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 61.0, + "prompt_tps_source": "engine", + "decode_tps": 54.0, + "decode_tps_source": "engine", + "prompt_ms": 705.3, + "decode_ms": 1851.5, + "drafts_offered": 2, + "drafts_accepted": 0, + "run": 0, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.848, + "total_s": 2.661, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 55.4, + "prompt_tps_source": "engine", + "decode_tps": 54.7, + "decode_tps_source": "engine", + "prompt_ms": 830.2, + "decode_ms": 1828.3, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.487, + "total_s": 2.306, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 108.6, + "prompt_tps_source": "engine", + "decode_tps": 54.6, + "decode_tps_source": "engine", + "prompt_ms": 469.8, + "decode_ms": 1833.0, + "drafts_offered": 20, + "drafts_accepted": 10, + "run": 1, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.528, + "total_s": 2.346, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 84.6, + "prompt_tps_source": "engine", + "decode_tps": 54.6, + "decode_tps_source": "engine", + "prompt_ms": 508.1, + "decode_ms": 1832.7, + "drafts_offered": 2, + "drafts_accepted": 0, + "run": 1, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.606, + "total_s": 2.399, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 78.2, + "prompt_tps_source": "engine", + "decode_tps": 55.3, + "decode_tps_source": "engine", + "prompt_ms": 588.1, + "decode_ms": 1808.4, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.594, + "total_s": 2.424, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 88.5, + "prompt_tps_source": "engine", + "decode_tps": 54.2, + "decode_tps_source": "engine", + "prompt_ms": 576.2, + "decode_ms": 1844.4, + "drafts_offered": 20, + "drafts_accepted": 9, + "run": 2, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.396, + "total_s": 2.227, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 114.2, + "prompt_tps_source": "engine", + "decode_tps": 54.1, + "decode_tps_source": "engine", + "prompt_ms": 376.5, + "decode_ms": 1847.5, + "drafts_offered": 1, + "drafts_accepted": 0, + "run": 2, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.36, + "total_s": 2.184, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 134.5, + "prompt_tps_source": "engine", + "decode_tps": 54.4, + "decode_tps_source": "engine", + "prompt_ms": 342.0, + "decode_ms": 1838.9, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2, + "prompt": 2 + } + ], + "decode_tps": { + "median": 54.6, + "min": 54.0, + "max": 57.6, + "n": 9 + }, + "ttft_s": { + "median": 0.528, + "min": 0.36, + "max": 0.848, + "n": 9 + }, + "generated_tokens": { + "median": 100, + "min": 100, + "max": 100, + "n": 9 + }, + "prompt_tokens": { + "median": 46, + "min": 43, + "max": 51, + "n": 9 + } + }, + "prompts": { + "4K": { + "target_tokens": 4096, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 2.263, + "total_s": 2.699, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 1793.1, + "prompt_tps_source": "engine", + "decode_tps": 53.2, + "decode_tps_source": "engine", + "prompt_ms": 2241.4, + "decode_ms": 451.4, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.583, + "total_s": 2.978, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 1569.9, + "prompt_tps_source": "engine", + "decode_tps": 58.5, + "decode_tps_source": "engine", + "prompt_ms": 2560.0, + "decode_ms": 410.6, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.471, + "total_s": 2.844, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 1640.1, + "prompt_tps_source": "engine", + "decode_tps": 61.8, + "decode_tps_source": "engine", + "prompt_ms": 2450.4, + "decode_ms": 388.2, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2 + } + ], + "prompt_tps": { + "median": 1640.1, + "min": 1569.9, + "max": 1793.1, + "n": 3 + }, + "ttft_s": { + "median": 2.471, + "min": 2.263, + "max": 2.583, + "n": 3 + }, + "prompt_tokens": { + "median": 4019, + "min": 4019, + "max": 4019, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "16K": { + "target_tokens": 16384, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 4.862, + "total_s": 5.24, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 3362.4, + "prompt_tps_source": "engine", + "decode_tps": 61.1, + "decode_tps_source": "engine", + "prompt_ms": 4775.7, + "decode_ms": 393.1, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 6.498, + "total_s": 6.87, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 2481.2, + "prompt_tps_source": "engine", + "decode_tps": 62.0, + "decode_tps_source": "engine", + "prompt_ms": 6471.9, + "decode_ms": 387.4, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 6.793, + "total_s": 7.168, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 2373.1, + "prompt_tps_source": "engine", + "decode_tps": 61.4, + "decode_tps_source": "engine", + "prompt_ms": 6766.6, + "decode_ms": 390.8, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2 + } + ], + "prompt_tps": { + "median": 2481.2, + "min": 2373.1, + "max": 3362.4, + "n": 3 + }, + "ttft_s": { + "median": 6.498, + "min": 4.862, + "max": 6.793, + "n": 3 + }, + "prompt_tokens": { + "median": 16058, + "min": 16058, + "max": 16058, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "32K": { + "target_tokens": 32768, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 11.952, + "total_s": 12.397, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 2689.3, + "prompt_tps_source": "engine", + "decode_tps": 52.0, + "decode_tps_source": "engine", + "prompt_ms": 11917.2, + "decode_ms": 461.8, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 9.363, + "total_s": 9.749, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 3436.1, + "prompt_tps_source": "engine", + "decode_tps": 59.8, + "decode_tps_source": "engine", + "prompt_ms": 9327.1, + "decode_ms": 401.5, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 9.772, + "total_s": 10.147, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 3291.6, + "prompt_tps_source": "engine", + "decode_tps": 61.4, + "decode_tps_source": "engine", + "prompt_ms": 9736.7, + "decode_ms": 390.8, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2 + } + ], + "prompt_tps": { + "median": 3291.6, + "min": 2689.3, + "max": 3436.1, + "n": 3 + }, + "ttft_s": { + "median": 9.772, + "min": 9.363, + "max": 11.952, + "n": 3 + }, + "prompt_tokens": { + "median": 32049, + "min": 32049, + "max": 32049, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + } + }, + "agent": { + "corpus": "repo_docs", + "corpus_files": [ + "README.md", + "docs/HOW_IT_WORKS.md", + "docs/DETAILS.md", + "docs/INSTALL.md", + "docs/MODELS.md" + ], + "corpus_sha256": "53e7037ff848", + "sessions": [ + [ + { + "ok": true, + "err": null, + "ttft_s": 3.558, + "total_s": 3.924, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 21, + "prompt_tps": 172.2, + "prompt_tps_source": "engine", + "decode_tps": 55.0, + "decode_tps_source": "engine", + "prompt_ms": 3536.3, + "decode_ms": 381.9, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.964, + "total_s": 4.136, + "prompt_tokens": 4074, + "reused_tokens": 629, + "read_tokens": 3445, + "generated_tokens": 64, + "prompt_tps": 1171.4, + "prompt_tps_source": "engine", + "decode_tps": 53.9, + "decode_tps_source": "engine", + "prompt_ms": 2940.8, + "decode_ms": 1186.5, + "drafts_offered": 5, + "drafts_accepted": 0, + "run": 0, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.215, + "total_s": 5.372, + "prompt_tokens": 5738, + "reused_tokens": 4137, + "read_tokens": 1601, + "generated_tokens": 64, + "prompt_tps": 381.8, + "prompt_tps_source": "engine", + "decode_tps": 54.6, + "decode_tps_source": "engine", + "prompt_ms": 4192.9, + "decode_ms": 1171.4, + "drafts_offered": 28, + "drafts_accepted": 4, + "run": 0, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.869, + "total_s": 3.868, + "prompt_tokens": 9109, + "reused_tokens": 5801, + "read_tokens": 3308, + "generated_tokens": 59, + "prompt_tps": 1162.9, + "prompt_tps_source": "engine", + "decode_tps": 58.2, + "decode_tps_source": "engine", + "prompt_ms": 2844.6, + "decode_ms": 1014.3, + "drafts_offered": 40, + "drafts_accepted": 8, + "run": 0, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.091, + "total_s": 3.645, + "prompt_tokens": 11968, + "reused_tokens": 9167, + "read_tokens": 2801, + "generated_tokens": 36, + "prompt_tps": 913.4, + "prompt_tps_source": "engine", + "decode_tps": 63.2, + "decode_tps_source": "engine", + "prompt_ms": 3066.4, + "decode_ms": 569.7, + "drafts_offered": 12, + "drafts_accepted": 3, + "run": 0, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.359, + "total_s": 2.733, + "prompt_tokens": 14953, + "reused_tokens": 12003, + "read_tokens": 2950, + "generated_tokens": 24, + "prompt_tps": 1264.6, + "prompt_tps_source": "engine", + "decode_tps": 61.7, + "decode_tps_source": "engine", + "prompt_ms": 2332.8, + "decode_ms": 388.9, + "drafts_offered": 16, + "drafts_accepted": 4, + "run": 0, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 6.465, + "total_s": 6.766, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 19, + "prompt_tps": 94.5, + "prompt_tps_source": "engine", + "decode_tps": 60.2, + "decode_tps_source": "engine", + "prompt_ms": 6447.5, + "decode_ms": 315.6, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.092, + "total_s": 4.139, + "prompt_tokens": 4072, + "reused_tokens": 627, + "read_tokens": 3445, + "generated_tokens": 64, + "prompt_tps": 1121.7, + "prompt_tps_source": "engine", + "decode_tps": 60.2, + "decode_tps_source": "engine", + "prompt_ms": 3071.2, + "decode_ms": 1062.4, + "drafts_offered": 8, + "drafts_accepted": 0, + "run": 1, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.094, + "total_s": 3.129, + "prompt_tokens": 5736, + "reused_tokens": 4135, + "read_tokens": 1601, + "generated_tokens": 64, + "prompt_tps": 771.8, + "prompt_tps_source": "engine", + "decode_tps": 61.0, + "decode_tps_source": "engine", + "prompt_ms": 2074.3, + "decode_ms": 1049.5, + "drafts_offered": 20, + "drafts_accepted": 4, + "run": 1, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.094, + "total_s": 4.034, + "prompt_tokens": 9107, + "reused_tokens": 5799, + "read_tokens": 3308, + "generated_tokens": 64, + "prompt_tps": 1076.7, + "prompt_tps_source": "engine", + "decode_tps": 67.0, + "decode_tps_source": "engine", + "prompt_ms": 3072.3, + "decode_ms": 955.4, + "drafts_offered": 48, + "drafts_accepted": 14, + "run": 1, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.998, + "total_s": 2.495, + "prompt_tokens": 11972, + "reused_tokens": 9170, + "read_tokens": 2802, + "generated_tokens": 33, + "prompt_tps": 1417.9, + "prompt_tps_source": "engine", + "decode_tps": 64.4, + "decode_tps_source": "engine", + "prompt_ms": 1976.1, + "decode_ms": 512.1, + "drafts_offered": 12, + "drafts_accepted": 3, + "run": 1, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.194, + "total_s": 2.463, + "prompt_tokens": 14954, + "reused_tokens": 12004, + "read_tokens": 2950, + "generated_tokens": 19, + "prompt_tps": 1358.6, + "prompt_tps_source": "engine", + "decode_tps": 66.7, + "decode_tps_source": "engine", + "prompt_ms": 2171.4, + "decode_ms": 284.8, + "drafts_offered": 4, + "drafts_accepted": 2, + "run": 1, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 4.762, + "total_s": 5.159, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 24, + "prompt_tps": 128.4, + "prompt_tps_source": "engine", + "decode_tps": 58.3, + "decode_tps_source": "engine", + "prompt_ms": 4743.9, + "decode_ms": 411.8, + "drafts_offered": 4, + "drafts_accepted": 0, + "run": 2, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.006, + "total_s": 3.121, + "prompt_tokens": 4077, + "reused_tokens": 632, + "read_tokens": 3445, + "generated_tokens": 64, + "prompt_tps": 1734.8, + "prompt_tps_source": "engine", + "decode_tps": 56.6, + "decode_tps_source": "engine", + "prompt_ms": 1985.8, + "decode_ms": 1130.0, + "drafts_offered": 24, + "drafts_accepted": 0, + "run": 2, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.329, + "total_s": 2.39, + "prompt_tokens": 5741, + "reused_tokens": 4140, + "read_tokens": 1601, + "generated_tokens": 64, + "prompt_tps": 1223.6, + "prompt_tps_source": "engine", + "decode_tps": 59.5, + "decode_tps_source": "engine", + "prompt_ms": 1308.4, + "decode_ms": 1076.3, + "drafts_offered": 32, + "drafts_accepted": 4, + "run": 2, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.009, + "total_s": 5.607, + "prompt_tokens": 9112, + "reused_tokens": 5804, + "read_tokens": 3308, + "generated_tokens": 59, + "prompt_tps": 829.5, + "prompt_tps_source": "engine", + "decode_tps": 36.6, + "decode_tps_source": "engine", + "prompt_ms": 3988.0, + "decode_ms": 1612.6, + "drafts_offered": 40, + "drafts_accepted": 7, + "run": 2, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.433, + "total_s": 3.249, + "prompt_tokens": 11971, + "reused_tokens": 9170, + "read_tokens": 2801, + "generated_tokens": 51, + "prompt_tps": 1162.5, + "prompt_tps_source": "engine", + "decode_tps": 61.4, + "decode_tps_source": "engine", + "prompt_ms": 2409.5, + "decode_ms": 831.0, + "drafts_offered": 16, + "drafts_accepted": 4, + "run": 2, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.217, + "total_s": 2.643, + "prompt_tokens": 14971, + "reused_tokens": 12021, + "read_tokens": 2950, + "generated_tokens": 25, + "prompt_tps": 1345.1, + "prompt_tps_source": "engine", + "decode_tps": 56.7, + "decode_tps_source": "engine", + "prompt_ms": 2193.1, + "decode_ms": 441.1, + "drafts_offered": 8, + "drafts_accepted": 0, + "run": 2, + "turn": 5 + } + ] + ], + "hit_pct": { + "median": 69.231, + "min": 69.228, + "max": 69.251, + "n": 3 + }, + "reread_tokens": { + "median": 5, + "min": 5, + "max": 5, + "n": 3 + }, + "new_tokens": { + "median": 14100, + "min": 14100, + "max": 14101, + "n": 3 + }, + "turn_ttft_s": { + "median": 2.433, + "min": 1.329, + "max": 4.215, + "n": 15 + }, + "last_turn_prompt_tokens": { + "median": 14954, + "min": 14953, + "max": 14971, + "n": 3 + }, + "turn_decode_tps": { + "median": 60.2, + "min": 36.6, + "max": 67.0, + "n": 15 + }, + "first_turn_ttft_s": { + "median": 4.762, + "min": 3.558, + "max": 6.465, + "n": 3 + } + }, + "clients": {}, + "skipped": {}, + "failures": [] + } +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-nomtp/README.md b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-nomtp/README.md new file mode 100644 index 0000000000..925abdb807 --- /dev/null +++ b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-nomtp/README.md @@ -0,0 +1,61 @@ +# Community benchmark on AMD Radeon RX 7900 XTX + +Measured on 2026-12-01 with `tools/strata_bench.py` (suite 1, 3 runs per test, medians with ranges). Speeds are the engine's own timings; first-token times are measured by the client over HTTP. Speed only: no correctness check was run. + +## Hardware and software + +- GPU and VRAM: AMD Radeon RX 7900 XTX, 24 GiB VRAM +- CPU: AMD Ryzen 7 7800X3D 8-Core Processor (8 cores, 16 threads); installed RAM: 90.0 GiB; storage: sda Samsung SSD 860 PRO 2TB sata; zram0; nvme0n1 CT1000T700SSD3 nvme +- OS: Linux 7.3.6-3-cachyos; GPU driver: not read; CUDA (driver supports up to): not read +- PolyStrata: project 0.1.66, commit not a git checkout; engine 0.1.66 +- Background workloads: not recorded (GPU power limit/draw read above) + +## Model and configuration + +- Model and quantization: ista-qwen3.8-flash-next-gsq-rco-iq3_s +- Context: 262144 tokens; parallel slots: 1 +- Settings: the install's own configuration, unchanged (hip backend); thinking off for the suite; temperature 0 + +```text +strata --pack ista-iq3_s --native Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf --ple-gguf Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf --expert-profile expert-profile.bin --expert-cache auto --prefill auto:16384 --spec 4 --spec-min-p 0.5 --max-context 262144 --kv int8 --vision --kv-resident 32768 --vram-reserve-mib 1024 --conversation-cache-mib 8192 --conversation-cache-slots 8 --prompt-cache 12 +``` + +## Method + +Run by `python tools/strata_bench.py --long` against the HTTP API of a PolyStrata server (started by the benchmark from the install configuration); model loading is not timed. One warm-up chat and a 1K prompt are discarded first. Every prompt starts with a unique tag, so the conversation cache cannot help the fresh-prompt tests. + +- short chat: the three questions of `tools/ab_engine.py`, up to 100 new tokens, 3 runs +- 4K / 16K prompts: generated word lists sized by a calibration request, 24 new tokens, 3 fresh prompts each +- agent session: system prompt and four tools, then 5 turns that each add about 1500 words of a project file and continue from the model's own earlier answers (the way agent clients resend a conversation), 64 new tokens per turn, 3 sessions; the cache numbers come from the answer's usage (`cached_tokens`) and timings (`prompt_n`) +- concurrency (when run): N requests sent at the same moment, total tokens over the wall time of the burst, latency over all requests + +## Results + +| 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 | +| --- | ---: | ---: | ---: | ---: | --- | --- | --- | +| short chat | 46 (43-51) | 0 | 100 (100-100) | 9 | not measured | 54.8 (52.8-57.6) | 0.58 (0.52-0.79) | +| 4K prompt, fresh | 4019 (4019-4019) | 0 (0-0) | 24 cap | 3 | 1783.4 (1687.5-1858.8) | not measured | 2.27 (2.18-2.40) | +| 16K prompt, fresh | 16058 (16058-16058) | 0 (0-0) | 24 cap | 3 | 2829.7 (2465.5-3151.7) | not measured | 5.70 (5.12-6.54) | +| 32K prompt, fresh | 32049 (32049-32049) | 0 (0-0) | 24 cap | 3 | 3439.8 (3336.5-3442.5) | not measured | 9.35 (9.34-9.64) | +| agent session, follow-up turns | 14987 (14916-14988) at the last turn | see below | up to 64 | 3 | see below | 60.4 (52.5-66.1) | 1.71 (1.18-2.61) | + +Ranges are the lowest and highest of the runs; `Runs` counts requests that returned a token. + +### Agent session (conversation cache) + +Cache hit over the follow-up turns: 69.3 % (69.2-69.3); earlier-turn tokens read again per session: 5 (5-5) (earlier turns that the cache did not hold; the 14101 (14100-14102) new tokens of the files are read once); first turn (nothing cached) first token: 1.56 s (1.27-3.44). Corpus: `repo_docs` (53e7037ff848) [README.md, docs/HOW_IT_WORKS.md, docs/DETAILS.md, docs/INSTALL.md, docs/MODELS.md]. + +| Turn (run 1) | Prompt tokens | Reused | Read | Prompt tok/s | First token (s) | Decode tok/s | +| ---: | ---: | ---: | ---: | ---: | ---: | ---: | +| 0 | 609 | 0 | 609 | 178.4 | 3.435 | 55.0 | +| 1 | 4074 | 629 | 3445 | 1702.9 | 2.049 | 52.5 | +| 2 | 5738 | 4137 | 1601 | 1300.0 | 1.256 | 54.3 | +| 3 | 9109 | 5801 | 3308 | 1671.0 | 2.008 | 58.0 | +| 4 | 11974 | 9172 | 2802 | 1795.9 | 1.586 | 58.0 | +| 5 | 14988 | 12037 | 2951 | 1743.8 | 1.718 | 58.6 | + +Per-request data: `results.json`. Engine log lines from the start: `engine-log-excerpt.txt` (when this run started the server). + +## Correctness and limitations + +Not measured: this is a speed suite. The conversation uses the model's own replies, so token counts differ a little between runs. Machine details come from the server, `nvidia-smi`/`rocm-smi` and the OS; background load is not recorded. Total time of the suite: 130 s. diff --git a/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-nomtp/engine-log-excerpt.txt b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-nomtp/engine-log-excerpt.txt new file mode 100644 index 0000000000..63ca884dc9 --- /dev/null +++ b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-nomtp/engine-log-excerpt.txt @@ -0,0 +1,7 @@ +[strata] Drafting: MTP (the DFlash2 drafter isn't downloaded yet) +[strata] loading the experts into RAM (about 55 GB) and locking part of them for the GPU. + Please wait and don't close this window; the server says when it is ready. +[strata] filling the GPU's expert cache (8724 experts, 16.55 GiB of VRAM) ... +[strata] almost ready ... +[strata] note: 1123 MiB of VRAM free with the model loaded. If this AMD card also drives your desktop and the desktop or apps crash after the start (the driver moves the expert cache to RAM and the OOM killer ends the session), keep more VRAM free: ./setup.sh --vram-reserve-mib 3072 (remembered; the expert cache gets 2.0 GB less, a few % of speed) +ready: http://127.0.0.1:8095/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 262144 tokens, images on) diff --git a/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-nomtp/results.json b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-nomtp/results.json new file mode 100644 index 0000000000..0f3445dd49 --- /dev/null +++ b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/suite-nomtp/results.json @@ -0,0 +1,1028 @@ +{ + "schema": 1, + "tool": "tools/strata_bench.py", + "date": "2026-12-01", + "params": { + "runs": 3, + "think": false, + "clients": 0, + "long": true, + "started_server": true, + "command": "python tools/strata_bench.py --long" + }, + "elapsed_s": 130.05793380737305, + "machine": { + "gpu": [ + "AMD Radeon RX 7900 XTX" + ], + "gpu_vram_mib": 24560.0, + "gpu_driver": null, + "gpu_detail": [ + {} + ], + "cuda": null, + "engine_build": null, + "cpu": "AMD Ryzen 7 7800X3D 8-Core Processor", + "cpu_cores": 8, + "storage": "sda Samsung SSD 860 PRO 2TB sata; zram0; nvme0n1 CT1000T700SSD3 nvme", + "cpu_threads": 16, + "ram_gib": 90.0, + "os": "Linux 7.3.6-3-cachyos", + "python": "3.14.10", + "strata_version": "0.1.66", + "strata_commit": null, + "engine_version": "0.1.66", + "model": "ista-qwen3.8-flash-next-gsq-rco-iq3_s", + "quant": "IQ3_S", + "context": 262144, + "parallel_slots": 1, + "config": { + "exe": "strata", + "args": [ + "--pack", + "ista-iq3_s", + "--native", + "Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf", + "--ple-gguf", + "Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf", + "--expert-profile", + "expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto:16384", + "--spec", + "4", + "--spec-min-p", + "0.5", + "--max-context", + "262144", + "--kv", + "int8", + "--vision", + "--kv-resident", + "32768", + "--vram-reserve-mib", + "1024", + "--conversation-cache-mib", + "8192", + "--conversation-cache-slots", + "8", + "--prompt-cache", + "12" + ], + "model_name": "ista-qwen3.8-flash-next-gsq-rco-iq3_s", + "display_name": "Qwen3.8-Flash-Next GSQ-RCO IQ3_S (ISTA)", + "lib_dirs": [ + "/opt/rocm/lib" + ], + "gpu": 0, + "gpus_asked": true, + "backend": "hip", + "host": "127.0.0.1", + "open_browser": false, + "vision": { + "exe": "/models/bin/strata-vision", + "mmproj": "/models/mmproj/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/models/ista-flash-next-iq3_s/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf" + }, + "cmd_prefix": "gfx1100-hipblaslt-100401.txt STRATA_SCORES_THREAD=1 STRATA_KV_HOST_DMA=1 STRATA_EXPDEC=1 " + }, + "launch": "strata --pack ista-iq3_s --native Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf --ple-gguf Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf --expert-profile expert-profile.bin --expert-cache auto --prefill auto:16384 --spec 4 --spec-min-p 0.5 --max-context 262144 --kv int8 --vision --kv-resident 32768 --vram-reserve-mib 1024 --conversation-cache-mib 8192 --conversation-cache-slots 8 --prompt-cache 12", + "engine_info": { + "model": "ista-qwen3.8-flash-next-gsq-rco-iq3_s", + "max_context": 262144, + "images": true, + "gen": 1, + "version": "0.1.66", + "logit_bias": 1, + "context": 262144, + "kv": "int8", + "kv_resident": 32768, + "expert_slots": 8724, + "experts": 24576, + "expert_cache_mib": 16942, + "expert_slots_primary": 8724, + "expert_cache_primary_mib": 16942, + "spec": 6, + "mtp_max": 4, + "lookup": 3, + "vram_free_mib": 1123, + "cvec": 0, + "arena_mib": 47962, + "pool_workers": 7, + "pcie_frac": "0.15", + "spec_min_p": "0.50", + "conversation_cache_mib": 8192, + "conversation_cache_slots": 8, + "conversation_cache_min_free_mib": 2560, + "conversation_cache_min_tokens": 1024, + "tail_role_token": -1, + "vram_elastic": 0, + "prefill_cap": 16384, + "prefill_stages": 1, + "stream_all_min": 3072, + "prefill_pipe": 0, + "engine": "0.1.66", + "drafting": "off", + "drafting_note": "Drafting: off (the DFlash2 drafter isn't downloaded yet)" + }, + "vram_after": { + "elastic": false + } + }, + "results": { + "chat": { + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 0.584, + "total_s": 2.307, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 90.1, + "prompt_tps_source": "engine", + "decode_tps": 57.6, + "decode_tps_source": "engine", + "prompt_ms": 566.1, + "decode_ms": 1737.0, + "drafts_offered": 20, + "drafts_accepted": 10, + "run": 0, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.573, + "total_s": 2.452, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 77.6, + "prompt_tps_source": "engine", + "decode_tps": 52.8, + "decode_tps_source": "engine", + "prompt_ms": 553.8, + "decode_ms": 1895.5, + "drafts_offered": 2, + "drafts_accepted": 0, + "run": 0, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.524, + "total_s": 2.334, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 90.9, + "prompt_tps_source": "engine", + "decode_tps": 54.8, + "decode_tps_source": "engine", + "prompt_ms": 505.8, + "decode_ms": 1824.8, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.623, + "total_s": 2.444, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 84.3, + "prompt_tps_source": "engine", + "decode_tps": 54.5, + "decode_tps_source": "engine", + "prompt_ms": 605.3, + "decode_ms": 1835.9, + "drafts_offered": 20, + "drafts_accepted": 10, + "run": 1, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.79, + "total_s": 2.593, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 55.8, + "prompt_tps_source": "engine", + "decode_tps": 55.0, + "decode_tps_source": "engine", + "prompt_ms": 771.1, + "decode_ms": 1819.2, + "drafts_offered": 2, + "drafts_accepted": 0, + "run": 1, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.537, + "total_s": 2.333, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 88.7, + "prompt_tps_source": "engine", + "decode_tps": 55.2, + "decode_tps_source": "engine", + "prompt_ms": 518.8, + "decode_ms": 1811.5, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.671, + "total_s": 2.544, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 78.1, + "prompt_tps_source": "engine", + "decode_tps": 53.0, + "decode_tps_source": "engine", + "prompt_ms": 653.2, + "decode_ms": 1887.3, + "drafts_offered": 20, + "drafts_accepted": 9, + "run": 2, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.621, + "total_s": 2.42, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 71.5, + "prompt_tps_source": "engine", + "decode_tps": 55.1, + "decode_tps_source": "engine", + "prompt_ms": 601.6, + "decode_ms": 1815.4, + "drafts_offered": 1, + "drafts_accepted": 0, + "run": 2, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.568, + "total_s": 2.379, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 83.7, + "prompt_tps_source": "engine", + "decode_tps": 54.8, + "decode_tps_source": "engine", + "prompt_ms": 549.4, + "decode_ms": 1826.1, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2, + "prompt": 2 + } + ], + "decode_tps": { + "median": 54.8, + "min": 52.8, + "max": 57.6, + "n": 9 + }, + "ttft_s": { + "median": 0.584, + "min": 0.524, + "max": 0.79, + "n": 9 + }, + "generated_tokens": { + "median": 100, + "min": 100, + "max": 100, + "n": 9 + }, + "prompt_tokens": { + "median": 46, + "min": 43, + "max": 51, + "n": 9 + } + }, + "prompts": { + "4K": { + "target_tokens": 4096, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 2.183, + "total_s": 2.646, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 1858.8, + "prompt_tps_source": "engine", + "decode_tps": 50.1, + "decode_tps_source": "engine", + "prompt_ms": 2162.2, + "decode_ms": 478.7, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.275, + "total_s": 2.664, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 1783.4, + "prompt_tps_source": "engine", + "decode_tps": 59.3, + "decode_tps_source": "engine", + "prompt_ms": 2253.5, + "decode_ms": 404.6, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.402, + "total_s": 2.773, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 1687.5, + "prompt_tps_source": "engine", + "decode_tps": 62.2, + "decode_tps_source": "engine", + "prompt_ms": 2381.6, + "decode_ms": 385.7, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2 + } + ], + "prompt_tps": { + "median": 1783.4, + "min": 1687.5, + "max": 1858.8, + "n": 3 + }, + "ttft_s": { + "median": 2.275, + "min": 2.183, + "max": 2.402, + "n": 3 + }, + "prompt_tokens": { + "median": 4019, + "min": 4019, + "max": 4019, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "16K": { + "target_tokens": 16384, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 5.124, + "total_s": 5.503, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 3151.7, + "prompt_tps_source": "engine", + "decode_tps": 60.9, + "decode_tps_source": "engine", + "prompt_ms": 5095.0, + "decode_ms": 394.0, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 5.701, + "total_s": 6.077, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 2829.7, + "prompt_tps_source": "engine", + "decode_tps": 61.3, + "decode_tps_source": "engine", + "prompt_ms": 5674.8, + "decode_ms": 391.4, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 6.539, + "total_s": 6.919, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 2465.5, + "prompt_tps_source": "engine", + "decode_tps": 60.7, + "decode_tps_source": "engine", + "prompt_ms": 6513.0, + "decode_ms": 395.6, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2 + } + ], + "prompt_tps": { + "median": 2829.7, + "min": 2465.5, + "max": 3151.7, + "n": 3 + }, + "ttft_s": { + "median": 5.701, + "min": 5.124, + "max": 6.539, + "n": 3 + }, + "prompt_tokens": { + "median": 16058, + "min": 16058, + "max": 16058, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "32K": { + "target_tokens": 32768, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 9.639, + "total_s": 10.087, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 3336.5, + "prompt_tps_source": "engine", + "decode_tps": 51.8, + "decode_tps_source": "engine", + "prompt_ms": 9605.6, + "decode_ms": 463.2, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 9.352, + "total_s": 9.736, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 3439.8, + "prompt_tps_source": "engine", + "decode_tps": 60.0, + "decode_tps_source": "engine", + "prompt_ms": 9317.2, + "decode_ms": 399.7, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 9.344, + "total_s": 9.719, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 3442.5, + "prompt_tps_source": "engine", + "decode_tps": 61.4, + "decode_tps_source": "engine", + "prompt_ms": 9309.7, + "decode_ms": 390.9, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2 + } + ], + "prompt_tps": { + "median": 3439.8, + "min": 3336.5, + "max": 3442.5, + "n": 3 + }, + "ttft_s": { + "median": 9.352, + "min": 9.344, + "max": 9.639, + "n": 3 + }, + "prompt_tokens": { + "median": 32049, + "min": 32049, + "max": 32049, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + } + }, + "agent": { + "corpus": "repo_docs", + "corpus_files": [ + "README.md", + "docs/HOW_IT_WORKS.md", + "docs/DETAILS.md", + "docs/INSTALL.md", + "docs/MODELS.md" + ], + "corpus_sha256": "53e7037ff848", + "sessions": [ + [ + { + "ok": true, + "err": null, + "ttft_s": 3.435, + "total_s": 3.802, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 21, + "prompt_tps": 178.4, + "prompt_tps_source": "engine", + "decode_tps": 55.0, + "decode_tps_source": "engine", + "prompt_ms": 3414.3, + "decode_ms": 381.8, + "drafts_offered": 2, + "drafts_accepted": 1, + "run": 0, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.049, + "total_s": 3.251, + "prompt_tokens": 4074, + "reused_tokens": 629, + "read_tokens": 3445, + "generated_tokens": 64, + "prompt_tps": 1702.9, + "prompt_tps_source": "engine", + "decode_tps": 52.5, + "decode_tps_source": "engine", + "prompt_ms": 2023.0, + "decode_ms": 1218.0, + "drafts_offered": 5, + "drafts_accepted": 0, + "run": 0, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.256, + "total_s": 2.421, + "prompt_tokens": 5738, + "reused_tokens": 4137, + "read_tokens": 1601, + "generated_tokens": 64, + "prompt_tps": 1300.0, + "prompt_tps_source": "engine", + "decode_tps": 54.3, + "decode_tps_source": "engine", + "prompt_ms": 1231.5, + "decode_ms": 1179.5, + "drafts_offered": 23, + "drafts_accepted": 4, + "run": 0, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.008, + "total_s": 3.096, + "prompt_tokens": 9109, + "reused_tokens": 5801, + "read_tokens": 3308, + "generated_tokens": 64, + "prompt_tps": 1671.0, + "prompt_tps_source": "engine", + "decode_tps": 58.0, + "decode_tps_source": "engine", + "prompt_ms": 1979.6, + "decode_ms": 1103.3, + "drafts_offered": 36, + "drafts_accepted": 5, + "run": 0, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.586, + "total_s": 2.674, + "prompt_tokens": 11974, + "reused_tokens": 9172, + "read_tokens": 2802, + "generated_tokens": 64, + "prompt_tps": 1795.9, + "prompt_tps_source": "engine", + "decode_tps": 58.0, + "decode_tps_source": "engine", + "prompt_ms": 1560.2, + "decode_ms": 1103.8, + "drafts_offered": 10, + "drafts_accepted": 3, + "run": 0, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.718, + "total_s": 2.367, + "prompt_tokens": 14988, + "reused_tokens": 12037, + "read_tokens": 2951, + "generated_tokens": 39, + "prompt_tps": 1743.8, + "prompt_tps_source": "engine", + "decode_tps": 58.6, + "decode_tps_source": "engine", + "prompt_ms": 1692.3, + "decode_ms": 665.4, + "drafts_offered": 5, + "drafts_accepted": 0, + "run": 0, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 1.558, + "total_s": 1.863, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 19, + "prompt_tps": 395.5, + "prompt_tps_source": "engine", + "decode_tps": 59.5, + "decode_tps_source": "engine", + "prompt_ms": 1540.0, + "decode_ms": 319.5, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.031, + "total_s": 3.064, + "prompt_tokens": 4072, + "reused_tokens": 627, + "read_tokens": 3445, + "generated_tokens": 64, + "prompt_tps": 1714.4, + "prompt_tps_source": "engine", + "decode_tps": 61.1, + "decode_tps_source": "engine", + "prompt_ms": 2009.5, + "decode_ms": 1048.2, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.181, + "total_s": 2.225, + "prompt_tokens": 5736, + "reused_tokens": 4135, + "read_tokens": 1601, + "generated_tokens": 64, + "prompt_tps": 1380.2, + "prompt_tps_source": "engine", + "decode_tps": 60.4, + "decode_tps_source": "engine", + "prompt_ms": 1160.0, + "decode_ms": 1060.1, + "drafts_offered": 9, + "drafts_accepted": 3, + "run": 1, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.614, + "total_s": 3.162, + "prompt_tokens": 9107, + "reused_tokens": 5799, + "read_tokens": 3308, + "generated_tokens": 36, + "prompt_tps": 1275.7, + "prompt_tps_source": "engine", + "decode_tps": 63.9, + "decode_tps_source": "engine", + "prompt_ms": 2593.0, + "decode_ms": 563.2, + "drafts_offered": 36, + "drafts_accepted": 7, + "run": 1, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.649, + "total_s": 2.013, + "prompt_tokens": 11943, + "reused_tokens": 9142, + "read_tokens": 2801, + "generated_tokens": 24, + "prompt_tps": 1722.4, + "prompt_tps_source": "engine", + "decode_tps": 63.2, + "decode_tps_source": "engine", + "prompt_ms": 1626.2, + "decode_ms": 379.5, + "drafts_offered": 12, + "drafts_accepted": 3, + "run": 1, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.713, + "total_s": 1.97, + "prompt_tokens": 14916, + "reused_tokens": 11966, + "read_tokens": 2950, + "generated_tokens": 18, + "prompt_tps": 1745.6, + "prompt_tps_source": "engine", + "decode_tps": 66.1, + "decode_tps_source": "engine", + "prompt_ms": 1690.0, + "decode_ms": 272.2, + "drafts_offered": 4, + "drafts_accepted": 2, + "run": 1, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 1.271, + "total_s": 1.668, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 24, + "prompt_tps": 486.7, + "prompt_tps_source": "engine", + "decode_tps": 58.2, + "decode_tps_source": "engine", + "prompt_ms": 1251.2, + "decode_ms": 412.4, + "drafts_offered": 4, + "drafts_accepted": 0, + "run": 2, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.063, + "total_s": 3.109, + "prompt_tokens": 4077, + "reused_tokens": 632, + "read_tokens": 3445, + "generated_tokens": 64, + "prompt_tps": 1686.4, + "prompt_tps_source": "engine", + "decode_tps": 60.3, + "decode_tps_source": "engine", + "prompt_ms": 2042.8, + "decode_ms": 1061.1, + "drafts_offered": 4, + "drafts_accepted": 0, + "run": 2, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.189, + "total_s": 2.224, + "prompt_tokens": 5741, + "reused_tokens": 4140, + "read_tokens": 1601, + "generated_tokens": 64, + "prompt_tps": 1370.7, + "prompt_tps_source": "engine", + "decode_tps": 61.0, + "decode_tps_source": "engine", + "prompt_ms": 1168.0, + "decode_ms": 1049.6, + "drafts_offered": 16, + "drafts_accepted": 4, + "run": 2, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.018, + "total_s": 2.968, + "prompt_tokens": 9112, + "reused_tokens": 5804, + "read_tokens": 3308, + "generated_tokens": 61, + "prompt_tps": 1657.2, + "prompt_tps_source": "engine", + "decode_tps": 63.2, + "decode_tps_source": "engine", + "prompt_ms": 1996.1, + "decode_ms": 964.9, + "drafts_offered": 40, + "drafts_accepted": 9, + "run": 2, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.603, + "total_s": 2.648, + "prompt_tokens": 11973, + "reused_tokens": 9172, + "read_tokens": 2801, + "generated_tokens": 64, + "prompt_tps": 1771.9, + "prompt_tps_source": "engine", + "decode_tps": 60.4, + "decode_tps_source": "engine", + "prompt_ms": 1580.8, + "decode_ms": 1060.2, + "drafts_offered": 16, + "drafts_accepted": 4, + "run": 2, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.699, + "total_s": 2.352, + "prompt_tokens": 14987, + "reused_tokens": 12036, + "read_tokens": 2951, + "generated_tokens": 38, + "prompt_tps": 1761.2, + "prompt_tps_source": "engine", + "decode_tps": 56.9, + "decode_tps_source": "engine", + "prompt_ms": 1675.6, + "decode_ms": 668.1, + "drafts_offered": 16, + "drafts_accepted": 0, + "run": 2, + "turn": 5 + } + ] + ], + "hit_pct": { + "median": 69.254, + "min": 69.186, + "max": 69.261, + "n": 3 + }, + "reread_tokens": { + "median": 5, + "min": 5, + "max": 5, + "n": 3 + }, + "new_tokens": { + "median": 14101, + "min": 14100, + "max": 14102, + "n": 3 + }, + "turn_ttft_s": { + "median": 1.713, + "min": 1.181, + "max": 2.614, + "n": 15 + }, + "last_turn_prompt_tokens": { + "median": 14987, + "min": 14916, + "max": 14988, + "n": 3 + }, + "turn_decode_tps": { + "median": 60.4, + "min": 52.5, + "max": 66.1, + "n": 15 + }, + "first_turn_ttft_s": { + "median": 1.558, + "min": 1.271, + "max": 3.435, + "n": 3 + } + }, + "clients": {}, + "skipped": {}, + "failures": [] + } +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/README.md b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/README.md new file mode 100644 index 0000000000..e5a66e541c --- /dev/null +++ b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/README.md @@ -0,0 +1,245 @@ +# Community benchmark on AMD Radeon RX 7900 XTX + +Measured on 2026-12-01 by @dontaskmeformyname. Flint, Ornith and Nex re-run on PolyStrata 0.2.20-poly.6 +on one RX 7900 XTX (gfx1100). Measurement only, no engine changes. Three earlier community runs were repeated with the +current engine on the same card: Flint (PR #156) and Ornith 1.5 plus Nex-N2.5-mini (PR #182). The same Ornith GGUF +was also run through `tools/bench/bench_vs_llama.py` against llama.cpp, as in the earlier report. This is not a +controlled A/B: the engine, the OS, the ROCm stack, llama.cpp and the installed RAM all changed. Every known +difference is listed under [Differences from the earlier runs](#differences-from-the-earlier-runs). + +## Thanks + +Thanks to **VecSzn**, who merged the earlier reports (#156 and #182) and maintains PolyStrata's AMD/HIP path, its MTP +draft layer and its benchmark tool. The numbers below are the result: decode is 4.5–20.0 % faster than on 0.1.45 on +all three models. The same runs also measured regressions: 4K prefill is 15.9 % slower on Flint and 17.4 % slower +on Nex, the short-chat first token is about 0.3 s later on all three models, and at 32K PolyStrata's decode lead over +plain llama.cpp fell from +16.9 % to +0.8 %. They are reported as measured, not smoothed away. + +## Hardware and software + +| | Old (2026-11-10 / 2026-11-15) | New (2026-12-01) | +| --- | --- | --- | +| GPU | AMD Radeon RX 7900 XTX (gfx1100), 24 GiB, one card | Same card, 25,753,026,560 B (24,560 MiB); it only drives the monitor, the desktop renders on the integrated GPU | +| CPU | AMD Ryzen 7 7800X3D, 8 cores / 16 threads | Same | +| RAM | **30.6 GiB** | **90.0 GiB** (96 GB DDR5-6000 installed; 90.0 GiB visible to the OS) | +| OS / kernel | CachyOS, 7.3.3-1 (Flint) and 7.3.4-1 (Ornith, Nex) | CachyOS, 7.3.6-3-cachyos | +| ROCm | 7.2.4 | 10.2.0 in `/opt/rocm`; installed package set mixed (`rocm-core` 10.2-1.1, `hip-runtime-amd` 10.1-2, `hipblaslt` 10.1-1, `rocblas` 10.1-2) | +| PolyStrata | Flint: `0.1.45-poly.7` (PR #156; its `results.json` records engine 0.1.45, commit `fabae0d6`). Ornith/Nex: 0.1.45 (PR #182; Ornith `67dde645`, Nex `4eab97d5`) | **v0.2.20-poly.6**, commit `ce7010d6cd1e15e6defed027360fd49de9afb246` | +| Engine | 0.1.45, built on this machine | 0.1.66 (`~/models/bin/strata-poly`, SHA-256 `ef701f73…`; same commit as `~/models/bin/strata`, SHA-256 `12775147…`); the build uses `-DSTRATA_Q6K_EXPERTS=ON` | +| llama.cpp (only `vs-llama`) | `0a66ac7`, version `0.9.0-dev`, HIP source build | `9a278b02b`, `1.1.0-dev` build 12855, HIP source build | + +## Model and configuration + +The old `results.json` files contain only the model name and quantization, no file size or hash, so a byte-for-byte +comparison with the old files is not possible. The files used now are: + +| Model | File | Size | SHA-256 | +| --- | --- | ---: | --- | +| Flint 40B-A2.5B UD-Q3_K_XL | `flint-UD-Q3_K_XL.gguf` | 18,494,977,472 B | `91b8d85a…c350c` | +| Ornith 1.5 35B-A3B APEX-MTP-I-Compact | `Ornith-1.5-35B-A3B-APEX-MTP-I-Compact.gguf` | 17,437,861,408 B | `67e6cdff…f4165` | +| Nex-N2.5-mini IQ4_XS | `nex-agi_Nex-N2.5-mini-IQ4_XS.gguf` | 19,886,930,048 B | `0ade6400…c1690` | + +The hashes match the values recorded at download time (the `.done` markers; Nex has only a `whole` marker). + +## Method + +The community guide's quick suite, `terminal/tools/strata_bench.py --runs 3 --long`, started the server from each +model's configuration. Flint ran without `--long`, exactly as in the old run. Model loading is not timed; one warm-up +chat and a 1K prompt are discarded; every measured prompt carries a unique tag, so the conversation cache cannot +help the fresh-prompt tests. Speeds are the engine's own `prompt_per_second` / `predicted_per_second`; first-token +time is measured by the client over loopback HTTP. Each model ran in its own systemd unit +(`systemd-run --user --wait --unit=alte-… -p MemorySwapMax=0`), with `HIP_VISIBLE_DEVICES=0`, `llama-swap` stopped +and the GPU exclusive. `bge-m3-embed.service` (llama-server, CPU, port 8081) kept running; it did not run in the old +measurements, and its load was not recorded. + +Configurations: + +- **Flint:** production config, 65,536 context, `--expert-profile`, `--kv-whole`, `--prompt-batch 2048`, + `--conversation-cache-mib 0`. The old run did not start the server (`started_server: false`), so its command is + not recorded. +- **Ornith:** 65,536 context, `--expert-profile`, `--conversation-cache-mib auto`, `--vram-reserve-mib 0`, + `--kv-whole`. Its GGUF contains an MTP head; the log shows draft acceptance, so the embedded head was active. +- **Nex:** 65,536 context, `--expert-profile`, `--conversation-cache-mib auto`, `--tail-skip 6`, + `--prompt-batch 2048`, `--kv-whole`. Its GGUF has no `mtp.*` tensors, so it reads one token at a time. + +## Results + +Medians. Δ is (new − old) / old; positive is faster for throughput and slower for TTFT. The old values are the +medians from PR #156 and PR #182; the new values and their ranges are in the sub-folders. + +### Flint 40B-A2.5B UD-Q3_K_XL + +| Metric | Old (0.1.45-poly.7) | New (0.2.20-poly.6) | Δ | +| --- | ---: | ---: | ---: | +| Chat decode tok/s | 120.9 | **139.1** | **+15.1 %** | +| Agent session decode tok/s | 111.4 | **116.4** | **+4.5 %** | +| 4K prompt tok/s | 3495.9 | 2941.6 | **−15.9 %** | +| 16K prompt tok/s | 2315.4 | 2273.8 | −1.8 % | +| 32K prompt tok/s | not run | not run | — | +| Agent cache hit | 68.3 % | 68.2 % | −0.1 % | + +### Ornith 1.5 35B-A3B APEX-MTP-I-Compact + +| Metric | Old (0.1.45) | New (0.2.20-poly.6) | Δ | +| --- | ---: | ---: | ---: | +| Chat decode tok/s | 153.7 | **176.6** | **+14.9 %** | +| Agent session decode tok/s | 138.3 | **157.5** | **+13.9 %** | +| 4K prompt tok/s | 3434.7 | **3882.7** | **+13.0 %** | +| 16K prompt tok/s | 2798.7 | **3028.3** | **+8.2 %** | +| 32K prompt tok/s | 2188.6 | **2287.1** | **+4.5 %** | +| Agent cache hit | 68.6 % | 68.6 % | +0.0 % | + +### Nex-N2.5-mini IQ4_XS + +| Metric | Old (0.1.45) | New (0.2.20-poly.6) | Δ | +| --- | ---: | ---: | ---: | +| Chat decode tok/s | 113.2 | **135.8** | **+20.0 %** | +| Agent session decode tok/s | 105.8 | **122.9** | **+16.2 %** | +| 4K prompt tok/s | 4106.9 | 3393.3 | **−17.4 %** | +| 16K prompt tok/s | 3065.1 | **3176.1** | **+3.6 %** | +| 32K prompt tok/s | 2261.0 | **2388.3** | **+5.6 %** | +| Agent cache hit | 68.6 % | 68.7 % | +0.0 % | + +The Nex 4K drop is stable over all three new requests (3287–3481 tok/s), so it is not one outlier. The cause was not +isolated; the launch arguments are the same here, so this run points at the engine's 4K +prefill path, not at a setting. + +### First-token time + +| Model | Chat TTFT s | 4K TTFT s | 16K TTFT s | 32K TTFT s | +| --- | ---: | ---: | ---: | ---: | +| Flint | 0.094 → **0.481** (+412 %) | 1.198 → 1.496 (+24.9 %) | 7.106 → 7.313 (+2.9 %) | — | +| Ornith | 0.153 → **0.473** (+209 %) | 1.198 → 1.415 (+18.1 %) | 5.766 → 5.682 (−1.5 %) | 14.670 → 14.439 (−1.6 %) | +| Nex | 0.118 → **0.443** (+275 %) | 1.002 → 1.257 (+25.4 %) | 5.263 → 5.135 (−2.4 %) | 14.205 → 13.501 (−5.0 %) | + +All three short-chat first tokens are about 0.3 s later. The new engine's own log records 69–131 ms of prompt time +for Ornith's 43–51-token chat prompts and 234–397 ms for Flint and Nex, while the client's medians were +0.44–0.48 s on all three. The old client saw 0.09–0.15 s. For 4K, the new engine logs 0.96–1.39 s of prompt time +and the client saw 1.26–1.50 s. This report does not separate engine, server and client contributions, and does +not name a cause. It reports the difference as measured. + +## VRAM and RAM + +**RAM:** 30.6 GiB at the old measurements, **90.0 GiB now** (96 GB DDR5-6000). The conversation cache is auto-sized +from free RAM, so it grew: Ornith 7,424 → 8,192 MiB, Nex 7,936 → 8,192 MiB. Flint's auto `pool_workers` value fell +16 → 11. The expert cache also moved slightly: Flint 15,807 → 15,855 MiB (11,995 → 12,032 slots), Ornith +14,973 → 15,039 MiB (10,475 → 10,496), Nex 16,447 → 16,451 MiB (10,238 → 10,240). These are condition changes, not +model changes; they are part of why this is not a clean A/B. + +**VRAM:** all three models fit at 65,536 context. The new engine logs, quoted in each sub-folder's +`engine-log-excerpt.txt`: + +| Model | Engine line | VRAM free at the end | +| --- | --- | ---: | +| Flint | 12,032 of 12,032 routed experts in VRAM (15.5 GiB) | 2,841 MiB | +| Ornith | 10,496 of 10,496 routed experts in VRAM (14.7 GiB) | 4,504 MiB | +| Nex | 10,240 of 10,240 routed experts in VRAM (16.1 GiB) | 2,056 MiB | + +For the old runs, the result files report 11,995 / 10,475 / 10,238 expert slots and 3,631 / 5,150 / 2,686 MiB free. +The old Ornith/Nex report states that all experts ran from VRAM. The old Flint run has no engine log in this folder +(it did not start the server), so its expert placement is not proven by a log line. + +## PolyStrata vs llama.cpp on the same Ornith file (`vs-llama/`) + +Run exactly as `docs/COMMUNITY_BENCHMARKS.md` describes: `bench_vs_llama.py run --rounds 3`, then `summary`. +Configs: `polystrata` (the install's config with `--max-context 36864`), `llama-mtp` +(`--fit on -fa on -ctk q8_0 -ctv q8_0 --spec-type draft-mtp --spec-draft-n-max 2`) and `llama` (the same without +speculation). Context 36,864 for all three; 256 new tokens per request; the 4K prompt twice and the 32K prompt once +per round, at temperature 0 and 0.7. The rounds alternate the engine order; no errors. + +| Config | Cell | Temp | n | Decode tok/s, old → new (Δ) | Prompt tok/s, old → new (Δ) | TTFT s, old → new (Δ) | +| --- | --- | ---: | ---: | --- | --- | --- | +| polystrata | 4K | 0.0 | 6 | 136.10 → **157.60** (+15.8 %) | 3515.2 → **4095.2** (+16.5 %) | 1.15 → 0.99 (−13.9 %) | +| polystrata | 4K | 0.7 | 6 | 141.60 → **152.80** (+7.9 %) | 3489.2 → **4082.0** (+17.0 %) | 1.16 → 0.99 (−14.7 %) | +| polystrata | 32K | 0.0 | 3 | 104.70 → **111.90** (+6.9 %) | 2104.5 → **2289.8** (+8.8 %) | 15.23 → 14.00 (−8.1 %) | +| polystrata | 32K | 0.7 | 3 | 101.70 → **109.20** (+7.4 %) | 2074.4 → **2273.5** (+9.6 %) | 15.45 → 14.10 (−8.7 %) | +| llama | 4K | 0.0 | 6 | 113.26 → **122.10** (+7.8 %) | 3350.5 → **4024.1** (+20.1 %) | 1.21 → 1.01 (−16.5 %) | +| llama | 4K | 0.7 | 6 | 113.32 → **122.08** (+7.7 %) | 3345.4 → **4006.6** (+19.8 %) | 1.21 → 1.01 (−16.5 %) | +| llama | 32K | 0.0 | 3 | 89.54 → **111.00** (+24.0 %) | 2664.3 → **3135.1** (+17.7 %) | 12.03 → 10.22 (−15.0 %) | +| llama | 32K | 0.7 | 3 | 89.39 → **111.02** (+24.2 %) | 2650.7 → **3148.7** (+18.8 %) | 12.09 → 10.18 (−15.8 %) | +| llama-mtp | 4K | 0.0 | 6 | 117.09 → 113.25 (−3.3 %) | 3222.8 → **3839.3** (+19.1 %) | 1.26 → 1.06 (−15.9 %) | +| llama-mtp | 4K | 0.7 | 6 | 111.34 → **119.89** (+7.7 %) | 3210.7 → **3832.3** (+19.4 %) | 1.26 → 1.06 (−15.9 %) | +| llama-mtp | 32K | 0.0 | 3 | 103.59 → **108.55** (+4.8 %) | 2501.0 → **2951.9** (+18.0 %) | 12.81 → 10.86 (−15.2 %) | +| llama-mtp | 32K | 0.7 | 3 | 101.27 → 97.18 (−4.0 %) | 2496.4 → **2939.8** (+17.8 %) | 12.84 → 10.90 (−15.1 %) | + +Draft acceptance: PolyStrata 0.58–0.62 (old 0.61–0.66); llama-mtp 0.29–0.38 (old 0.30–0.37). VRAM peak: PolyStrata +19,418 MiB (old 18,938), llama 17,354 (old 16,709), llama-mtp 18,592 (old 18,116), on a 24,560 MiB card. The +PolyStrata engine log proves 10,496 of 10,496 routed experts in VRAM at 36,864 context; the llama.cpp server log does +not print its backend buffer sizes, so its placement rests on the card peak and the 17.4 GB file, not on a log line. + +Computed from the medians above (temperature 0; old value in brackets): + +| | Decode vs llama | Decode vs llama-mtp | Prompt vs llama | Prompt vs llama-mtp | +| --- | ---: | ---: | ---: | ---: | +| 4K | **+29.1 %** (+20.2 %) | **+39.2 %** (+16.2 %) | +1.8 % (+4.9 %) | +6.7 % (+9.1 %) | +| 32K | +0.8 % (+16.9 %) | +3.1 % (+1.1 %) | −27.0 % (−21.0 %) | −22.4 % (−15.9 %) | + +What this shows on gfx1100, for this file: + +- **4K:** PolyStrata decodes 29.1 % faster than plain llama.cpp and 39.2 % faster than llama.cpp with `draft-mtp` + (old +20.2 % / +16.2 %). The lead grew. +- **32K:** PolyStrata and llama.cpp with `draft-mtp` decode about the same (+3.1 %); against plain llama.cpp the + lead fell to +0.8 %, because llama.cpp itself gained 24.0 % against its old build. +- **Prompt at 32K:** llama.cpp reads it 27.0 % faster, so the first token comes 3.8 s earlier (10.2 s vs 14.0 s). +- **llama.cpp also improved on its own:** decode +7.7–24.2 %, prompt +17.7–20.1 % against the old llama.cpp build. + The changed PolyStrata-vs-llama ratio therefore mixes two improvements; it is not a PolyStrata regression alone. + +## What this shows + +- Decode improved on all three models: +4.5…+20.0 % chat, +4.5…+16.2 % agent session. Ornith, whose GGUF contains + an MTP head, has the highest decode (176.6 tok/s chat, 157.5 tok/s agent). +- Prefill is mixed. Ornith improves at every length (+4.5…+13.0 %); Nex improves at 16K/32K (+3.6/+5.6 %) but drops + 17.4 % at 4K; Flint drops 15.9 % at 4K and is flat at 16K. +- Short-chat first-token time is about 0.3 s later on all three models. The engine's own prompt time (69–397 ms + depending on the model) does not account for the whole difference; the old client saw 0.09–0.15 s. This is a + measured regression, not a rounding effect. +- Against llama.cpp, PolyStrata is clearly ahead at 4K decode and level at 32K decode; its 32K prompt is 27.0 % + slower. Both engines got faster than their old builds. +- All three models fit in VRAM at 65,536 context. The extra RAM changed auto-sized caches; it did not change whether + the models fit in VRAM. + +## Differences from the earlier runs + +- **RAM:** 30.6 GiB → 90.0 GiB (96 GB DDR5-6000). Auto-sized settings changed: conversation cache Ornith + 7,424 → 8,192 MiB and Nex 7,936 → 8,192 MiB; Flint `pool_workers` 16 → 11; expert cache slots as listed under + [VRAM and RAM](#vram-and-ram). +- **PolyStrata and engine:** 0.1.45 (Flint `0.1.45-poly.7`) → v0.2.20-poly.6, engine 0.1.45 → 0.1.66. The old + `strata-poly` was built in the checkout; the new binary is the production build (same commit as `strata`). The new + build uses `-DSTRATA_Q6K_EXPERTS=ON`. +- **OS and ROCm:** kernel 7.3.3-1 / 7.3.4-1 → 7.3.6-3-cachyos; ROCm 7.2.4 → 10.2.0, with a mixed 10.1/10.2 package + set. +- **llama.cpp:** `0a66ac7` (`0.9.0-dev`) → `9a278b02b` (`1.1.0-dev`, build 12855). This is a different engine + version, not only a different PolyStrata version; its own numbers moved by up to +24.2 %. +- **Flint:** the old run did not start the server (`started_server: false`, `config: {}`, `launch: null`), so its + command is not recorded. The new run used the production config with `--prompt-batch 2048`; whether the old run had + that flag is unknown. The old run also had no `--long`, so there is no old 32K value. +- **Ornith/Nex:** the launch arguments are the old ones (absolute paths instead of relative). Ornith's MTP head is + the one inside the GGUF, unchanged; Nex still has no MTP head. +- **Benchmark tool:** `tools/strata_bench.py` → `terminal/tools/strata_bench.py` (+179/−29 lines), but the test + definitions (chat questions, 4K/16K/32K, agent session, sampling) are unchanged. New: the agent corpus is resolved + through `doc_root()` and logged as `corpus_sha256` (`repo_docs`, `53e7037ff848`). +- **Agent corpus:** the project documents grew, so the last agent turn has slightly different token counts: Flint + 13,383 → 13,511, Ornith 15,030 → 14,937, Nex 15,062 → 14,970. +- **Background load:** `bge-m3-embed.service` (CPU) ran during all new runs; the old runs did not record it. +- **First-token time:** the short-chat values are about 0.3 s higher; see [First-token time](#first-token-time). + This report does not assign a cause. +- **Order and repetition:** the old numbers are single runs from their own days; the new numbers are one run per + model on 2026-12-01, with 3 requests per case. The ranges in the sub-folders are within that run, not a second-day + repeat. Run-to-run drift is therefore unknown. + +## Correctness and limitations + +- One machine, one day, one quantization and one file per model. No second file, no vision, no recall, no long-context + needle test, no concurrency run. +- Speed only. The suite has no pass/fail task, so this is not a quality or accuracy statement. +- Not a controlled A/B: the engine, OS, ROCm, llama.cpp and RAM all changed. The old Flint command is not recorded. + A clean comparison would need the old build on this machine on the same day; that was not part of this run. +- The card also drives the monitor (the desktop renders on the integrated GPU); clocks and temperatures were not + logged. The GPU was otherwise idle. +- Old model hashes are unavailable, so the old and new runs cannot be proven to use byte-identical files. +- Paths in the copied raw data are placeholders (``, ``, ``). + +Sub-folders: [`suite-flint/`](suite-flint/), [`suite-ornith/`](suite-ornith/), [`suite-nex/`](suite-nex/), +[`vs-llama/`](vs-llama/). The three suite folders each have `README.md`, `results.json` and an +`engine-log-excerpt.txt`; `vs-llama/` has the raw `.jsonl` files, `machine.json`, `summary.txt` and an +`engine-log-excerpt.txt`. diff --git a/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-flint/README.md b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-flint/README.md new file mode 100644 index 0000000000..bc44326d93 --- /dev/null +++ b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-flint/README.md @@ -0,0 +1,66 @@ +# Community benchmark on AMD Radeon RX 7900 XTX (gfx1100) + +Measured on 2026-12-01 with `terminal/tools/strata_bench.py` (suite 1, 3 runs per test, medians with ranges). Speeds are the engine's own timings; first-token times are measured by the client over HTTP. Speed only: no correctness check was run. + +## Hardware and software + +- GPU and VRAM: AMD Radeon RX 7900 XTX (gfx1100), 24 GiB (24,560 MiB), one card; the desktop also uses it +- CPU: AMD Ryzen 7 7800X3D (8 cores, 16 threads); installed RAM: 90.0 GiB (96 GB DDR5-6000); storage: NVMe CT1000T700SSD3 and a Samsung SSD 860 PRO 2TB SATA +- OS: CachyOS Linux, kernel 7.3.6-3-cachyos; ROCm 10.2.0 in `/opt/rocm` (installed package set mixed 10.1/10.2); HIP backend +- PolyStrata: **v0.2.20-poly.6**, source checkout `ce7010d6cd1e15e6defed027360fd49de9afb246`; engine 0.1.66 (`strata --version`). `strata_commit` in `results.json` is `null` because the `strata-poly` binary is not a git checkout; the commit above is the source revision it was built from. +- Background load: `llama-swap` was stopped, the GPU was exclusive; `bge-m3-embed.service` (llama-server, CPU, port 8081) kept running. Its load was not measured. + +## Model and configuration + +- Model: **Flint 40B-A2.5B UD-Q3_K_XL**, file size 18,494,977,472 B, SHA-256 `91b8d85a…c350c`. The earlier `results.json` files carry no size or hash; the hash here is the file present now and matches the value recorded at download time (the `.done` marker). +- Model id: `flint-40b-a2.5b-ud-q3_k_xl`; quantization UD-Q3_K_XL. +- Context: 65536 tokens; parallel slots: 1 +- Settings: the install's own configuration, unchanged (hip backend); thinking off for the suite; temperature 0 + +```text +strata-poly --model flint-UD-Q3_K_XL.gguf --max-context 65536 --expert-profile expert-profile.txt --conversation-cache-mib 0 --prompt-batch 2048 --kv-whole +``` + + +## Method + +Run by `python terminal/tools/strata_bench.py` against the HTTP API of a PolyStrata server (started by the benchmark from the install configuration); model loading is not timed. One warm-up chat and a 1K prompt are discarded first. Every prompt starts with a unique tag, so the conversation cache cannot help the fresh-prompt tests. + +- short chat: the three questions of `terminal/tools/ab_engine.py`, up to 100 new tokens, 3 runs +- 4K / 16K prompts: generated word lists sized by a calibration request, 24 new tokens, 3 fresh prompts each +- agent session: system prompt and four tools, then 5 turns that each add about 1500 words of a project file and continue from the model's own earlier answers (the way agent clients resend a conversation), 64 new tokens per turn, 3 sessions; the cache numbers come from the answer's usage (`cached_tokens`) and timings (`prompt_n`) +- concurrency (when run): N requests sent at the same moment, total tokens over the wall time of the burst, latency over all requests + +## Results + +| 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 | +| --- | ---: | ---: | ---: | ---: | --- | --- | --- | +| short chat | 30 (27-34) | 0 | 100 (100-100) | 9 | not measured | 139.1 (126.9-164.7) | 0.48 (0.45-0.49) | +| 4K prompt, fresh | 4100 (4100-4100) | 0 (0-0) | 24 cap | 3 | 2941.6 (2938.6-2966.7) | not measured | 1.50 (1.48-1.50) | +| 16K prompt, fresh | 16388 (16388-16388) | 0 (0-0) | 24 cap | 3 | 2273.8 (2268.9-2274.2) | not measured | 7.31 (7.31-7.33) | +| agent session, follow-up turns | 13511 (13511-13522) at the last turn | see below | up to 64 | 3 | see below | 116.4 (104.1-135.8) | 1.64 (0.99-1.99) | + +Ranges are the lowest and highest of the runs; `Runs` counts requests that returned a token. + +### Agent session (conversation cache) + +Cache hit over the follow-up turns: 68.2 % (68.2-68.2); earlier-turn tokens read again per session: 325 (325-325) (earlier turns that the cache did not hold; the 12733 (12733-12744) new tokens of the files are read once); first turn (nothing cached) first token: 0.58 s (0.57-0.59). Corpus: `repo_docs` (53e7037ff848) [README.md, docs/HOW_IT_WORKS.md, docs/DETAILS.md, docs/INSTALL.md, docs/MODELS.md]. + +| Turn (run 1) | Prompt tokens | Reused | Read | Prompt tok/s | First token (s) | Decode tok/s | +| ---: | ---: | ---: | ---: | ---: | ---: | ---: | +| 0 | 458 | 0 | 458 | 984.1 | 0.573 | 131.1 | +| 1 | 3590 | 457 | 3133 | 2579.9 | 1.318 | 122.3 | +| 2 | 5125 | 3589 | 1536 | 1736.0 | 0.991 | 117.1 | +| 3 | 8149 | 5124 | 3025 | 1962.9 | 1.66 | 130.8 | +| 4 | 10717 | 8148 | 2569 | 1518.5 | 1.819 | 110.7 | +| 5 | 13511 | 10716 | 2795 | 1491.7 | 1.983 | 104.1 | + +Per-request data: `results.json`. Engine log lines from the start: `engine-log-excerpt.txt` (when this run started the server). + +## Compared with the earlier run + +The same model was measured before on the same card with PolyStrata 0.1.45. The old values, the difference in percent and every known condition change are in the [folder README](../README.md). This page stays the plain record of the 2026-12-01 run. The old run used `tools/strata_bench.py` (the tool now lives at `terminal/tools/strata_bench.py`), without `--long`. + +## Correctness and limitations + +Not measured: this is a speed suite. The conversation uses the model's own replies, so token counts differ a little between runs. Machine details come from the server, the amdgpu sysfs counter and the OS; background load is not recorded. The paths in `results.json` are relative; the engine log excerpt has placeholders for the private paths. Total time of the suite: 75 s. diff --git a/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-flint/engine-log-excerpt.txt b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-flint/engine-log-excerpt.txt new file mode 100644 index 0000000000..affe74cdbf --- /dev/null +++ b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-flint/engine-log-excerpt.txt @@ -0,0 +1,5 @@ +[strata] 2026-12-01 01:10:17 engine started: /bin/strata-poly --serve --model /flint-UD-Q3_K_XL/flint-UD-Q3_K_XL.gguf --max-context 65536 --expert-profile /packs/flint-ud-q3_k_xl/expert-profile.txt --conversation-cache-mib 0 --prompt-batch 2048 --kv-whole +strata-poly: loaded in 6.5 s; 12032 of 12032 routed experts in VRAM (15.5 GiB), 11 CPU threads +strata-poly: ready for requests (context 65536); an engine that waits for one uses no CPU +strata-poly: 84102 of 188519 prompt tokens were not read again (44.6%); 0 conversations parked in 0 MiB, 0 pushed out; 2841 MiB of VRAM free at the end +strata-poly: the engine ends (exit code 0) diff --git a/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-flint/results.json b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-flint/results.json new file mode 100644 index 0000000000..d14659dea4 --- /dev/null +++ b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-flint/results.json @@ -0,0 +1,903 @@ +{ + "schema": 1, + "tool": "tools/strata_bench.py", + "date": "2026-12-01", + "params": { + "runs": 3, + "think": false, + "clients": 0, + "long": false, + "started_server": true, + "command": "python tools/strata_bench.py" + }, + "elapsed_s": 75.1105842590332, + "machine": { + "gpu": [ + "AMD Radeon RX 7900 XTX" + ], + "gpu_vram_mib": 24560.0, + "gpu_driver": null, + "gpu_detail": [ + {} + ], + "cuda": null, + "engine_build": null, + "cpu": "AMD Ryzen 7 7800X3D 8-Core Processor", + "cpu_cores": 8, + "storage": "sda Samsung SSD 860 PRO 2TB sata; zram0; nvme0n1 CT1000T700SSD3 nvme", + "cpu_threads": 16, + "ram_gib": 90.0, + "os": "Linux 7.3.6-3-cachyos", + "python": "3.14.10", + "strata_version": "0.1.66", + "strata_commit": null, + "engine_version": "0.1.66", + "model": "flint-40b-a2.5b-ud-q3_k_xl", + "quant": "UD-Q3_K_XL", + "context": 65536, + "parallel_slots": 1, + "config": { + "exe": "strata-poly", + "args": [ + "--model", + "flint-UD-Q3_K_XL.gguf", + "--max-context", + "65536", + "--expert-profile", + "expert-profile.txt", + "--conversation-cache-mib", + "0", + "--prompt-batch", + "2048", + "--kv-whole" + ], + "model_name": "flint-40b-a2.5b-ud-q3_k_xl", + "display_name": "Flint 40B-A2.5B UD-Q3_K_XL", + "lib_dirs": [ + "/opt/rocm/lib" + ], + "port": 8097, + "gpu": 0, + "gpus_asked": true, + "backend": "hip", + "host": "127.0.0.1", + "open_browser": false + }, + "launch": "strata-poly --model flint-UD-Q3_K_XL.gguf --max-context 65536 --expert-profile expert-profile.txt --conversation-cache-mib 0 --prompt-batch 2048 --kv-whole", + "engine_info": { + "model": "flint-40b-a2.5b-ud-q3_k_xl", + "max_context": 65536, + "images": false, + "gen": 1, + "version": "0.1.66", + "context": 65536, + "expert_slots": 12032, + "expert_cache_mib": 15855, + "pool_workers": 11, + "conversation_cache_mib": 0, + "conversation_cache_slots": 4, + "conversation_cache_min_free_mib": 2560, + "vram_free_mib": 2910, + "vram_elastic": 1, + "batch_slots": 0, + "co_read": 0, + "sessions": 1, + "pinned_tokens": 0, + "pinned_slots": 0, + "engine": "0.1.66", + "drafting": "off", + "drafting_note": "" + }, + "vram_after": { + "elastic": true + } + }, + "results": { + "chat": { + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 0.482, + "total_s": 1.194, + "prompt_tokens": 34, + "reused_tokens": 0, + "read_tokens": 34, + "generated_tokens": 100, + "prompt_tps": 91.8, + "prompt_tps_source": "engine", + "decode_tps": 138.8, + "decode_tps_source": "engine", + "prompt_ms": 370.2, + "decode_ms": 720.5, + "drafts_offered": 27, + "drafts_accepted": 14, + "run": 0, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.465, + "total_s": 1.198, + "prompt_tokens": 27, + "reused_tokens": 0, + "read_tokens": 27, + "generated_tokens": 100, + "prompt_tps": 72.5, + "prompt_tps_source": "engine", + "decode_tps": 134.9, + "decode_tps_source": "engine", + "prompt_ms": 372.3, + "decode_ms": 741.4, + "drafts_offered": 24, + "drafts_accepted": 12, + "run": 0, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.474, + "total_s": 1.185, + "prompt_tokens": 30, + "reused_tokens": 0, + "read_tokens": 30, + "generated_tokens": 100, + "prompt_tps": 79.1, + "prompt_tps_source": "engine", + "decode_tps": 139.1, + "decode_tps_source": "engine", + "prompt_ms": 379.5, + "decode_ms": 719.1, + "drafts_offered": 21, + "drafts_accepted": 14, + "run": 0, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.468, + "total_s": 1.068, + "prompt_tokens": 34, + "reused_tokens": 0, + "read_tokens": 34, + "generated_tokens": 100, + "prompt_tps": 92.6, + "prompt_tps_source": "engine", + "decode_tps": 164.4, + "decode_tps_source": "engine", + "prompt_ms": 367.2, + "decode_ms": 608.1, + "drafts_offered": 33, + "drafts_accepted": 28, + "run": 1, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.481, + "total_s": 1.21, + "prompt_tokens": 27, + "reused_tokens": 0, + "read_tokens": 27, + "generated_tokens": 100, + "prompt_tps": 71.1, + "prompt_tps_source": "engine", + "decode_tps": 135.6, + "decode_tps_source": "engine", + "prompt_ms": 379.9, + "decode_ms": 737.5, + "drafts_offered": 24, + "drafts_accepted": 12, + "run": 1, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.489, + "total_s": 1.156, + "prompt_tokens": 30, + "reused_tokens": 0, + "read_tokens": 30, + "generated_tokens": 100, + "prompt_tps": 76.9, + "prompt_tps_source": "engine", + "decode_tps": 148.1, + "decode_tps_source": "engine", + "prompt_ms": 389.9, + "decode_ms": 675.2, + "drafts_offered": 33, + "drafts_accepted": 20, + "run": 1, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.45, + "total_s": 1.049, + "prompt_tokens": 34, + "reused_tokens": 0, + "read_tokens": 34, + "generated_tokens": 100, + "prompt_tps": 95.9, + "prompt_tps_source": "engine", + "decode_tps": 164.7, + "decode_tps_source": "engine", + "prompt_ms": 354.6, + "decode_ms": 607.3, + "drafts_offered": 33, + "drafts_accepted": 28, + "run": 2, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.493, + "total_s": 1.272, + "prompt_tokens": 27, + "reused_tokens": 0, + "read_tokens": 27, + "generated_tokens": 100, + "prompt_tps": 71.4, + "prompt_tps_source": "engine", + "decode_tps": 126.9, + "decode_tps_source": "engine", + "prompt_ms": 377.9, + "decode_ms": 787.8, + "drafts_offered": 21, + "drafts_accepted": 6, + "run": 2, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.486, + "total_s": 1.147, + "prompt_tokens": 30, + "reused_tokens": 0, + "read_tokens": 30, + "generated_tokens": 100, + "prompt_tps": 78.9, + "prompt_tps_source": "engine", + "decode_tps": 149.5, + "decode_tps_source": "engine", + "prompt_ms": 380.4, + "decode_ms": 669.0, + "drafts_offered": 33, + "drafts_accepted": 20, + "run": 2, + "prompt": 2 + } + ], + "decode_tps": { + "median": 139.1, + "min": 126.9, + "max": 164.7, + "n": 9 + }, + "ttft_s": { + "median": 0.481, + "min": 0.45, + "max": 0.493, + "n": 9 + }, + "generated_tokens": { + "median": 100, + "min": 100, + "max": 100, + "n": 9 + }, + "prompt_tokens": { + "median": 30, + "min": 27, + "max": 34, + "n": 9 + } + }, + "prompts": { + "4K": { + "target_tokens": 4096, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 1.482, + "total_s": 1.665, + "prompt_tokens": 4100, + "reused_tokens": 0, + "read_tokens": 4100, + "generated_tokens": 24, + "prompt_tps": 2966.7, + "prompt_tps_source": "engine", + "decode_tps": 125.3, + "decode_tps_source": "engine", + "prompt_ms": 1382.0, + "decode_ms": 191.6, + "drafts_offered": 6, + "drafts_accepted": 3, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.496, + "total_s": 1.69, + "prompt_tokens": 4100, + "reused_tokens": 0, + "read_tokens": 4100, + "generated_tokens": 24, + "prompt_tps": 2938.6, + "prompt_tps_source": "engine", + "decode_tps": 118.0, + "decode_tps_source": "engine", + "prompt_ms": 1395.2, + "decode_ms": 203.4, + "drafts_offered": 6, + "drafts_accepted": 2, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.499, + "total_s": 1.688, + "prompt_tokens": 4100, + "reused_tokens": 0, + "read_tokens": 4100, + "generated_tokens": 24, + "prompt_tps": 2941.6, + "prompt_tps_source": "engine", + "decode_tps": 121.3, + "decode_tps_source": "engine", + "prompt_ms": 1393.8, + "decode_ms": 197.8, + "drafts_offered": 6, + "drafts_accepted": 2, + "run": 2 + } + ], + "prompt_tps": { + "median": 2941.6, + "min": 2938.6, + "max": 2966.7, + "n": 3 + }, + "ttft_s": { + "median": 1.496, + "min": 1.482, + "max": 1.499, + "n": 3 + }, + "prompt_tokens": { + "median": 4100, + "min": 4100, + "max": 4100, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "16K": { + "target_tokens": 16384, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 7.309, + "total_s": 7.546, + "prompt_tokens": 16388, + "reused_tokens": 0, + "read_tokens": 16388, + "generated_tokens": 24, + "prompt_tps": 2274.2, + "prompt_tps_source": "engine", + "decode_tps": 96.7, + "decode_tps_source": "engine", + "prompt_ms": 7206.0, + "decode_ms": 248.2, + "drafts_offered": 6, + "drafts_accepted": 2, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 7.313, + "total_s": 7.549, + "prompt_tokens": 16388, + "reused_tokens": 0, + "read_tokens": 16388, + "generated_tokens": 24, + "prompt_tps": 2273.8, + "prompt_tps_source": "engine", + "decode_tps": 97.4, + "decode_tps_source": "engine", + "prompt_ms": 7207.3, + "decode_ms": 246.5, + "drafts_offered": 6, + "drafts_accepted": 2, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 7.326, + "total_s": 7.563, + "prompt_tokens": 16388, + "reused_tokens": 0, + "read_tokens": 16388, + "generated_tokens": 24, + "prompt_tps": 2268.9, + "prompt_tps_source": "engine", + "decode_tps": 97.0, + "decode_tps_source": "engine", + "prompt_ms": 7222.9, + "decode_ms": 247.3, + "drafts_offered": 6, + "drafts_accepted": 2, + "run": 2 + } + ], + "prompt_tps": { + "median": 2273.8, + "min": 2268.9, + "max": 2274.2, + "n": 3 + }, + "ttft_s": { + "median": 7.313, + "min": 7.309, + "max": 7.326, + "n": 3 + }, + "prompt_tokens": { + "median": 16388, + "min": 16388, + "max": 16388, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + } + }, + "agent": { + "corpus": "repo_docs", + "corpus_files": [ + "README.md", + "docs/HOW_IT_WORKS.md", + "docs/DETAILS.md", + "docs/INSTALL.md", + "docs/MODELS.md" + ], + "corpus_sha256": "53e7037ff848", + "sessions": [ + [ + { + "ok": true, + "err": null, + "ttft_s": 0.573, + "total_s": 1.053, + "prompt_tokens": 458, + "reused_tokens": 0, + "read_tokens": 458, + "generated_tokens": 64, + "prompt_tps": 984.1, + "prompt_tps_source": "engine", + "decode_tps": 131.1, + "decode_tps_source": "engine", + "prompt_ms": 465.4, + "decode_ms": 488.2, + "drafts_offered": 18, + "drafts_accepted": 7, + "run": 0, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.318, + "total_s": 1.833, + "prompt_tokens": 3590, + "reused_tokens": 457, + "read_tokens": 3133, + "generated_tokens": 64, + "prompt_tps": 2579.9, + "prompt_tps_source": "engine", + "decode_tps": 122.3, + "decode_tps_source": "engine", + "prompt_ms": 1214.4, + "decode_ms": 523.4, + "drafts_offered": 21, + "drafts_accepted": 7, + "run": 0, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.991, + "total_s": 1.529, + "prompt_tokens": 5125, + "reused_tokens": 3589, + "read_tokens": 1536, + "generated_tokens": 64, + "prompt_tps": 1736.0, + "prompt_tps_source": "engine", + "decode_tps": 117.1, + "decode_tps_source": "engine", + "prompt_ms": 884.8, + "decode_ms": 546.4, + "drafts_offered": 21, + "drafts_accepted": 4, + "run": 0, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.66, + "total_s": 2.139, + "prompt_tokens": 8149, + "reused_tokens": 5124, + "read_tokens": 3025, + "generated_tokens": 64, + "prompt_tps": 1962.9, + "prompt_tps_source": "engine", + "decode_tps": 130.8, + "decode_tps_source": "engine", + "prompt_ms": 1541.1, + "decode_ms": 489.4, + "drafts_offered": 27, + "drafts_accepted": 15, + "run": 0, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.819, + "total_s": 2.387, + "prompt_tokens": 10717, + "reused_tokens": 8148, + "read_tokens": 2569, + "generated_tokens": 64, + "prompt_tps": 1518.5, + "prompt_tps_source": "engine", + "decode_tps": 110.7, + "decode_tps_source": "engine", + "prompt_ms": 1691.8, + "decode_ms": 578.3, + "drafts_offered": 21, + "drafts_accepted": 7, + "run": 0, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.983, + "total_s": 2.587, + "prompt_tokens": 13511, + "reused_tokens": 10716, + "read_tokens": 2795, + "generated_tokens": 64, + "prompt_tps": 1491.7, + "prompt_tps_source": "engine", + "decode_tps": 104.1, + "decode_tps_source": "engine", + "prompt_ms": 1873.7, + "decode_ms": 614.5, + "drafts_offered": 18, + "drafts_accepted": 6, + "run": 0, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 0.586, + "total_s": 1.067, + "prompt_tokens": 458, + "reused_tokens": 0, + "read_tokens": 458, + "generated_tokens": 64, + "prompt_tps": 954.4, + "prompt_tps_source": "engine", + "decode_tps": 130.7, + "decode_tps_source": "engine", + "prompt_ms": 479.9, + "decode_ms": 489.5, + "drafts_offered": 18, + "drafts_accepted": 7, + "run": 1, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.294, + "total_s": 1.795, + "prompt_tokens": 3590, + "reused_tokens": 457, + "read_tokens": 3133, + "generated_tokens": 64, + "prompt_tps": 2632.3, + "prompt_tps_source": "engine", + "decode_tps": 125.6, + "decode_tps_source": "engine", + "prompt_ms": 1190.2, + "decode_ms": 509.4, + "drafts_offered": 21, + "drafts_accepted": 7, + "run": 1, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.018, + "total_s": 1.553, + "prompt_tokens": 5125, + "reused_tokens": 3589, + "read_tokens": 1536, + "generated_tokens": 64, + "prompt_tps": 1680.2, + "prompt_tps_source": "engine", + "decode_tps": 117.6, + "decode_tps_source": "engine", + "prompt_ms": 914.2, + "decode_ms": 544.4, + "drafts_offered": 18, + "drafts_accepted": 4, + "run": 1, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.639, + "total_s": 2.203, + "prompt_tokens": 8149, + "reused_tokens": 5124, + "read_tokens": 3025, + "generated_tokens": 64, + "prompt_tps": 1971.6, + "prompt_tps_source": "engine", + "decode_tps": 111.6, + "decode_tps_source": "engine", + "prompt_ms": 1534.3, + "decode_ms": 573.3, + "drafts_offered": 24, + "drafts_accepted": 6, + "run": 1, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.731, + "total_s": 2.312, + "prompt_tokens": 10717, + "reused_tokens": 8148, + "read_tokens": 2569, + "generated_tokens": 64, + "prompt_tps": 1581.3, + "prompt_tps_source": "engine", + "decode_tps": 108.3, + "decode_tps_source": "engine", + "prompt_ms": 1624.6, + "decode_ms": 591.0, + "drafts_offered": 21, + "drafts_accepted": 6, + "run": 1, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.981, + "total_s": 2.573, + "prompt_tokens": 13511, + "reused_tokens": 10716, + "read_tokens": 2795, + "generated_tokens": 64, + "prompt_tps": 1496.0, + "prompt_tps_source": "engine", + "decode_tps": 106.2, + "decode_tps_source": "engine", + "prompt_ms": 1868.3, + "decode_ms": 602.7, + "drafts_offered": 21, + "drafts_accepted": 7, + "run": 1, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 0.579, + "total_s": 1.057, + "prompt_tokens": 458, + "reused_tokens": 0, + "read_tokens": 458, + "generated_tokens": 64, + "prompt_tps": 968.5, + "prompt_tps_source": "engine", + "decode_tps": 131.5, + "decode_tps_source": "engine", + "prompt_ms": 472.9, + "decode_ms": 486.6, + "drafts_offered": 18, + "drafts_accepted": 7, + "run": 2, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.277, + "total_s": 1.74, + "prompt_tokens": 3590, + "reused_tokens": 457, + "read_tokens": 3133, + "generated_tokens": 64, + "prompt_tps": 2675.3, + "prompt_tps_source": "engine", + "decode_tps": 135.8, + "decode_tps_source": "engine", + "prompt_ms": 1171.1, + "decode_ms": 471.3, + "drafts_offered": 24, + "drafts_accepted": 12, + "run": 2, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.03, + "total_s": 1.571, + "prompt_tokens": 5125, + "reused_tokens": 3589, + "read_tokens": 1536, + "generated_tokens": 64, + "prompt_tps": 1686.4, + "prompt_tps_source": "engine", + "decode_tps": 116.4, + "decode_tps_source": "engine", + "prompt_ms": 910.8, + "decode_ms": 549.6, + "drafts_offered": 21, + "drafts_accepted": 4, + "run": 2, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.636, + "total_s": 2.172, + "prompt_tokens": 8149, + "reused_tokens": 5124, + "read_tokens": 3025, + "generated_tokens": 64, + "prompt_tps": 1977.0, + "prompt_tps_source": "engine", + "decode_tps": 117.3, + "decode_tps_source": "engine", + "prompt_ms": 1530.1, + "decode_ms": 545.4, + "drafts_offered": 15, + "drafts_accepted": 7, + "run": 2, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.712, + "total_s": 2.282, + "prompt_tokens": 10717, + "reused_tokens": 8148, + "read_tokens": 2569, + "generated_tokens": 64, + "prompt_tps": 1599.8, + "prompt_tps_source": "engine", + "decode_tps": 110.4, + "decode_tps_source": "engine", + "prompt_ms": 1605.8, + "decode_ms": 579.9, + "drafts_offered": 27, + "drafts_accepted": 9, + "run": 2, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.992, + "total_s": 2.593, + "prompt_tokens": 13522, + "reused_tokens": 10716, + "read_tokens": 2806, + "generated_tokens": 64, + "prompt_tps": 1489.9, + "prompt_tps_source": "engine", + "decode_tps": 104.6, + "decode_tps_source": "engine", + "prompt_ms": 1883.3, + "decode_ms": 611.7, + "drafts_offered": 15, + "drafts_accepted": 5, + "run": 2, + "turn": 5 + } + ] + ], + "hit_pct": { + "median": 68.223, + "min": 68.204, + "max": 68.223, + "n": 3 + }, + "reread_tokens": { + "median": 325, + "min": 325, + "max": 325, + "n": 3 + }, + "new_tokens": { + "median": 12733, + "min": 12733, + "max": 12744, + "n": 3 + }, + "turn_ttft_s": { + "median": 1.639, + "min": 0.991, + "max": 1.992, + "n": 15 + }, + "last_turn_prompt_tokens": { + "median": 13511, + "min": 13511, + "max": 13522, + "n": 3 + }, + "turn_decode_tps": { + "median": 116.4, + "min": 104.1, + "max": 135.8, + "n": 15 + }, + "first_turn_ttft_s": { + "median": 0.579, + "min": 0.573, + "max": 0.586, + "n": 3 + } + }, + "clients": {}, + "skipped": {}, + "failures": [] + } +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-nex/README.md b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-nex/README.md new file mode 100644 index 0000000000..77e4e5c804 --- /dev/null +++ b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-nex/README.md @@ -0,0 +1,67 @@ +# Community benchmark on AMD Radeon RX 7900 XTX (gfx1100) + +Measured on 2026-12-01 with `terminal/tools/strata_bench.py` (suite 1, 3 runs per test, medians with ranges). Speeds are the engine's own timings; first-token times are measured by the client over HTTP. Speed only: no correctness check was run. + +## Hardware and software + +- GPU and VRAM: AMD Radeon RX 7900 XTX (gfx1100), 24 GiB (24,560 MiB), one card; the desktop also uses it +- CPU: AMD Ryzen 7 7800X3D (8 cores, 16 threads); installed RAM: 90.0 GiB (96 GB DDR5-6000); storage: NVMe CT1000T700SSD3 and a Samsung SSD 860 PRO 2TB SATA +- OS: CachyOS Linux, kernel 7.3.6-3-cachyos; ROCm 10.2.0 in `/opt/rocm` (installed package set mixed 10.1/10.2); HIP backend +- PolyStrata: **v0.2.20-poly.6**, source checkout `ce7010d6cd1e15e6defed027360fd49de9afb246`; engine 0.1.66 (`strata --version`). `strata_commit` in `results.json` is `null` because the `strata-poly` binary is not a git checkout; the commit above is the source revision it was built from. +- Background load: `llama-swap` was stopped, the GPU was exclusive; `bge-m3-embed.service` (llama-server, CPU, port 8081) kept running. Its load was not measured. + +## Model and configuration + +- Model: **Nex-N2.5-mini IQ4_XS**, file size 19,886,930,048 B, SHA-256 `0ade6400…c1690`. The earlier `results.json` files carry no size or hash; the hash here is the file present now and matches the value recorded at download time (the `whole` marker). +- Model id: `nex-agi_nex-n2.5-mini-iq4_xs`; quantization IQ4_XS. +- Context: 65536 tokens; parallel slots: 1 +- Settings: the install's own configuration, unchanged (hip backend); thinking off for the suite; temperature 0 + +```text +strata-poly --model nex-agi_Nex-N2.5-mini-IQ4_XS.gguf --max-context 65536 --expert-profile expert-profile.txt --conversation-cache-mib auto --tail-skip 6 --prompt-batch 2048 --kv-whole +``` + + +## Method + +Run by `python terminal/tools/strata_bench.py --long` against the HTTP API of a PolyStrata server (started by the benchmark from the install configuration); model loading is not timed. One warm-up chat and a 1K prompt are discarded first. Every prompt starts with a unique tag, so the conversation cache cannot help the fresh-prompt tests. + +- short chat: the three questions of `terminal/tools/ab_engine.py`, up to 100 new tokens, 3 runs +- 4K / 16K prompts: generated word lists sized by a calibration request, 24 new tokens, 3 fresh prompts each +- agent session: system prompt and four tools, then 5 turns that each add about 1500 words of a project file and continue from the model's own earlier answers (the way agent clients resend a conversation), 64 new tokens per turn, 3 sessions; the cache numbers come from the answer's usage (`cached_tokens`) and timings (`prompt_n`) +- concurrency (when run): N requests sent at the same moment, total tokens over the wall time of the burst, latency over all requests + +## Results + +| 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 | +| --- | ---: | ---: | ---: | ---: | --- | --- | --- | +| short chat | 44 (41-49) | 0 | 100 (100-100) | 9 | not measured | 135.8 (133.8-141.5) | 0.44 (0.44-0.48) | +| 4K prompt, fresh | 4019 (4019-4019) | 0 (0-0) | 24 cap | 3 | 3393.3 (3287.3-3481.2) | not measured | 1.26 (1.23-1.31) | +| 16K prompt, fresh | 16058 (16058-16058) | 0 (0-0) | 24 cap | 3 | 3176.1 (3167.8-3180.7) | not measured | 5.13 (5.12-5.15) | +| 32K prompt, fresh | 32049 (32049-32049) | 0 (0-0) | 24 cap | 3 | 2388.3 (2379.8-2399.4) | not measured | 13.50 (13.44-13.55) | +| agent session, follow-up turns | 14970 (14960-14975) at the last turn | see below | up to 64 | 3 | see below | 122.9 (109.2-137.3) | 1.43 (0.90-1.66) | + +Ranges are the lowest and highest of the runs; `Runs` counts requests that returned a token. + +### Agent session (conversation cache) + +Cache hit over the follow-up turns: 68.7 % (68.7-68.7); earlier-turn tokens read again per session: 275 (264-279) (earlier turns that the cache did not hold; the 14094 (14093-14094) new tokens of the files are read once); first turn (nothing cached) first token: 0.58 s (0.58-0.61). Corpus: `repo_docs` (53e7037ff848) [README.md, docs/HOW_IT_WORKS.md, docs/DETAILS.md, docs/INSTALL.md, docs/MODELS.md]. + +| Turn (run 1) | Prompt tokens | Reused | Read | Prompt tok/s | First token (s) | Decode tok/s | +| ---: | ---: | ---: | ---: | ---: | ---: | ---: | +| 0 | 607 | 0 | 607 | 1132.7 | 0.612 | 150.2 | +| 1 | 4075 | 606 | 3469 | 3190.5 | 1.162 | 130.1 | +| 2 | 5732 | 4074 | 1658 | 2034.9 | 0.905 | 137.3 | +| 3 | 9102 | 5731 | 3371 | 2429.2 | 1.468 | 119.3 | +| 4 | 11964 | 9101 | 2863 | 2103.0 | 1.441 | 121.4 | +| 5 | 14975 | 11963 | 3012 | 1906.1 | 1.662 | 109.2 | + +Per-request data: `results.json`. Engine log lines from the start: `engine-log-excerpt.txt` (when this run started the server). + +## Compared with the earlier run + +The same model was measured before on the same card with PolyStrata 0.1.45. The old values, the difference in percent and every known condition change are in the [folder README](../README.md). This page stays the plain record of the 2026-12-01 run. The old run used `tools/strata_bench.py` (now `terminal/tools/strata_bench.py`). + +## Correctness and limitations + +Not measured: this is a speed suite. The conversation uses the model's own replies, so token counts differ a little between runs. Machine details come from the server, the amdgpu sysfs counter and the OS; background load is not recorded. The paths in `results.json` are relative; the engine log excerpt has placeholders for the private paths. Total time of the suite: 104 s. diff --git a/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-nex/engine-log-excerpt.txt b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-nex/engine-log-excerpt.txt new file mode 100644 index 0000000000..bcab52e35b --- /dev/null +++ b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-nex/engine-log-excerpt.txt @@ -0,0 +1,5 @@ +[strata] 2026-12-01 01:13:44 engine started: /bin/strata-poly --serve --model /nex-n2.5-mini/nex-agi_Nex-N2.5-mini-IQ4_XS.gguf --max-context 65536 --expert-profile /packs/qwen36-nex-agi_nex-n2.5-mini-iq4_xs/expert-profile.txt --conversation-cache-mib auto --tail-skip 6 --prompt-batch 2048 --kv-whole +strata-poly: loaded in 6.4 s; 10240 of 10240 routed experts in VRAM (16.1 GiB), 11 CPU threads +strata-poly: ready for requests (context 65536); an engine that waits for one uses no CPU +strata-poly: 94405 of 298327 prompt tokens were not read again (31.6%); 4 conversations parked in 2800 MiB, 20 pushed out; 2056 MiB of VRAM free at the end +strata-poly: the engine ends (exit code 0) diff --git a/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-nex/results.json b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-nex/results.json new file mode 100644 index 0000000000..7ca48e82bc --- /dev/null +++ b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-nex/results.json @@ -0,0 +1,991 @@ +{ + "schema": 1, + "tool": "tools/strata_bench.py", + "date": "2026-12-01", + "params": { + "runs": 3, + "think": false, + "clients": 0, + "long": true, + "started_server": true, + "command": "python tools/strata_bench.py --long" + }, + "elapsed_s": 103.80627775192261, + "machine": { + "gpu": [ + "AMD Radeon RX 7900 XTX" + ], + "gpu_vram_mib": 24560.0, + "gpu_driver": null, + "gpu_detail": [ + {} + ], + "cuda": null, + "engine_build": null, + "cpu": "AMD Ryzen 7 7800X3D 8-Core Processor", + "cpu_cores": 8, + "storage": "sda Samsung SSD 860 PRO 2TB sata; zram0; nvme0n1 CT1000T700SSD3 nvme", + "cpu_threads": 16, + "ram_gib": 90.0, + "os": "Linux 7.3.6-3-cachyos", + "python": "3.14.10", + "strata_version": "0.1.66", + "strata_commit": null, + "engine_version": "0.1.66", + "model": "nex-agi_nex-n2.5-mini-iq4_xs", + "quant": "IQ4_XS", + "context": 65536, + "parallel_slots": 1, + "config": { + "exe": "strata-poly", + "args": [ + "--model", + "nex-agi_Nex-N2.5-mini-IQ4_XS.gguf", + "--max-context", + "65536", + "--expert-profile", + "expert-profile.txt", + "--conversation-cache-mib", + "auto", + "--tail-skip", + "6", + "--prompt-batch", + "2048", + "--kv-whole" + ], + "model_name": "nex-agi_nex-n2.5-mini-iq4_xs", + "display_name": "nex-agi_Nex-N2.5-mini-IQ4_XS", + "lib_dirs": [ + "/opt/rocm/lib" + ], + "port": 8099, + "gpu": 0, + "gpus_asked": true, + "backend": "hip", + "host": "127.0.0.1", + "open_browser": false + }, + "launch": "strata-poly --model nex-agi_Nex-N2.5-mini-IQ4_XS.gguf --max-context 65536 --expert-profile expert-profile.txt --conversation-cache-mib auto --tail-skip 6 --prompt-batch 2048 --kv-whole", + "engine_info": { + "model": "nex-agi_nex-n2.5-mini-iq4_xs", + "max_context": 65536, + "images": false, + "gen": 1, + "version": "0.1.66", + "context": 65536, + "expert_slots": 10240, + "expert_cache_mib": 16451, + "pool_workers": 11, + "conversation_cache_mib": 8192, + "conversation_cache_slots": 4, + "conversation_cache_min_free_mib": 2560, + "vram_free_mib": 2096, + "vram_elastic": 1, + "batch_slots": 0, + "co_read": 0, + "sessions": 1, + "pinned_tokens": 0, + "pinned_slots": 0, + "engine": "0.1.66", + "drafting": "off", + "drafting_note": "" + }, + "vram_after": { + "elastic": true + } + }, + "results": { + "chat": { + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 0.438, + "total_s": 1.149, + "prompt_tokens": 49, + "reused_tokens": 0, + "read_tokens": 49, + "generated_tokens": 100, + "prompt_tps": 134.8, + "prompt_tps_source": "engine", + "decode_tps": 139.1, + "decode_tps_source": "engine", + "prompt_ms": 363.6, + "decode_ms": 718.9, + "drafts_offered": 24, + "drafts_accepted": 6, + "run": 0, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.443, + "total_s": 1.172, + "prompt_tokens": 41, + "reused_tokens": 0, + "read_tokens": 41, + "generated_tokens": 100, + "prompt_tps": 175.1, + "prompt_tps_source": "engine", + "decode_tps": 135.8, + "decode_tps_source": "engine", + "prompt_ms": 234.2, + "decode_ms": 736.3, + "drafts_offered": 6, + "drafts_accepted": 3, + "run": 0, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.464, + "total_s": 1.2, + "prompt_tokens": 44, + "reused_tokens": 0, + "read_tokens": 44, + "generated_tokens": 100, + "prompt_tps": 112.7, + "prompt_tps_source": "engine", + "decode_tps": 134.5, + "decode_tps_source": "engine", + "prompt_ms": 390.5, + "decode_ms": 743.7, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.446, + "total_s": 1.163, + "prompt_tokens": 49, + "reused_tokens": 0, + "read_tokens": 49, + "generated_tokens": 100, + "prompt_tps": 132.5, + "prompt_tps_source": "engine", + "decode_tps": 138.0, + "decode_tps_source": "engine", + "prompt_ms": 369.8, + "decode_ms": 724.4, + "drafts_offered": 21, + "drafts_accepted": 4, + "run": 1, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.476, + "total_s": 1.212, + "prompt_tokens": 41, + "reused_tokens": 0, + "read_tokens": 41, + "generated_tokens": 100, + "prompt_tps": 106.4, + "prompt_tps_source": "engine", + "decode_tps": 134.5, + "decode_tps_source": "engine", + "prompt_ms": 385.3, + "decode_ms": 743.3, + "drafts_offered": 6, + "drafts_accepted": 0, + "run": 1, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.474, + "total_s": 1.213, + "prompt_tokens": 44, + "reused_tokens": 0, + "read_tokens": 44, + "generated_tokens": 100, + "prompt_tps": 110.8, + "prompt_tps_source": "engine", + "decode_tps": 133.8, + "decode_tps_source": "engine", + "prompt_ms": 397.1, + "decode_ms": 747.3, + "drafts_offered": 3, + "drafts_accepted": 0, + "run": 1, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.436, + "total_s": 1.135, + "prompt_tokens": 49, + "reused_tokens": 0, + "read_tokens": 49, + "generated_tokens": 100, + "prompt_tps": 135.7, + "prompt_tps_source": "engine", + "decode_tps": 141.5, + "decode_tps_source": "engine", + "prompt_ms": 361.2, + "decode_ms": 706.9, + "drafts_offered": 18, + "drafts_accepted": 6, + "run": 2, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.438, + "total_s": 1.169, + "prompt_tokens": 41, + "reused_tokens": 0, + "read_tokens": 41, + "generated_tokens": 100, + "prompt_tps": 113.3, + "prompt_tps_source": "engine", + "decode_tps": 135.4, + "decode_tps_source": "engine", + "prompt_ms": 361.9, + "decode_ms": 738.3, + "drafts_offered": 6, + "drafts_accepted": 0, + "run": 2, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.437, + "total_s": 1.166, + "prompt_tokens": 44, + "reused_tokens": 0, + "read_tokens": 44, + "generated_tokens": 100, + "prompt_tps": 121.7, + "prompt_tps_source": "engine", + "decode_tps": 135.8, + "decode_tps_source": "engine", + "prompt_ms": 361.5, + "decode_ms": 736.6, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2, + "prompt": 2 + } + ], + "decode_tps": { + "median": 135.8, + "min": 133.8, + "max": 141.5, + "n": 9 + }, + "ttft_s": { + "median": 0.443, + "min": 0.436, + "max": 0.476, + "n": 9 + }, + "generated_tokens": { + "median": 100, + "min": 100, + "max": 100, + "n": 9 + }, + "prompt_tokens": { + "median": 44, + "min": 41, + "max": 49, + "n": 9 + } + }, + "prompts": { + "4K": { + "target_tokens": 4096, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 1.23, + "total_s": 1.407, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 3481.2, + "prompt_tps_source": "engine", + "decode_tps": 129.7, + "decode_tps_source": "engine", + "prompt_ms": 1154.5, + "decode_ms": 185.0, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.314, + "total_s": 1.487, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 3287.3, + "prompt_tps_source": "engine", + "decode_tps": 132.8, + "decode_tps_source": "engine", + "prompt_ms": 1222.6, + "decode_ms": 180.7, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.257, + "total_s": 1.43, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 3393.3, + "prompt_tps_source": "engine", + "decode_tps": 132.5, + "decode_tps_source": "engine", + "prompt_ms": 1184.4, + "decode_ms": 181.1, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2 + } + ], + "prompt_tps": { + "median": 3393.3, + "min": 3287.3, + "max": 3481.2, + "n": 3 + }, + "ttft_s": { + "median": 1.257, + "min": 1.23, + "max": 1.314, + "n": 3 + }, + "prompt_tokens": { + "median": 4019, + "min": 4019, + "max": 4019, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "16K": { + "target_tokens": 16384, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 5.121, + "total_s": 5.324, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 3180.7, + "prompt_tps_source": "engine", + "decode_tps": 112.5, + "decode_tps_source": "engine", + "prompt_ms": 5048.6, + "decode_ms": 213.3, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 5.149, + "total_s": 5.351, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 3167.8, + "prompt_tps_source": "engine", + "decode_tps": 113.7, + "decode_tps_source": "engine", + "prompt_ms": 5069.2, + "decode_ms": 211.0, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 5.135, + "total_s": 5.336, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 3176.1, + "prompt_tps_source": "engine", + "decode_tps": 113.5, + "decode_tps_source": "engine", + "prompt_ms": 5055.9, + "decode_ms": 211.4, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2 + } + ], + "prompt_tps": { + "median": 3176.1, + "min": 3167.8, + "max": 3180.7, + "n": 3 + }, + "ttft_s": { + "median": 5.135, + "min": 5.121, + "max": 5.149, + "n": 3 + }, + "prompt_tokens": { + "median": 16058, + "min": 16058, + "max": 16058, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "32K": { + "target_tokens": 32768, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 13.435, + "total_s": 13.677, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 2399.4, + "prompt_tps_source": "engine", + "decode_tps": 94.6, + "decode_tps_source": "engine", + "prompt_ms": 13357.0, + "decode_ms": 253.8, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 13.501, + "total_s": 13.743, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 2388.3, + "prompt_tps_source": "engine", + "decode_tps": 94.6, + "decode_tps_source": "engine", + "prompt_ms": 13419.2, + "decode_ms": 253.6, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 13.549, + "total_s": 13.791, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 2379.8, + "prompt_tps_source": "engine", + "decode_tps": 94.6, + "decode_tps_source": "engine", + "prompt_ms": 13467.1, + "decode_ms": 253.6, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2 + } + ], + "prompt_tps": { + "median": 2388.3, + "min": 2379.8, + "max": 2399.4, + "n": 3 + }, + "ttft_s": { + "median": 13.501, + "min": 13.435, + "max": 13.549, + "n": 3 + }, + "prompt_tokens": { + "median": 32049, + "min": 32049, + "max": 32049, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + } + }, + "agent": { + "corpus": "repo_docs", + "corpus_files": [ + "README.md", + "docs/HOW_IT_WORKS.md", + "docs/DETAILS.md", + "docs/INSTALL.md", + "docs/MODELS.md" + ], + "corpus_sha256": "53e7037ff848", + "sessions": [ + [ + { + "ok": true, + "err": null, + "ttft_s": 0.612, + "total_s": 0.771, + "prompt_tokens": 607, + "reused_tokens": 0, + "read_tokens": 607, + "generated_tokens": 25, + "prompt_tps": 1132.7, + "prompt_tps_source": "engine", + "decode_tps": 150.2, + "decode_tps_source": "engine", + "prompt_ms": 535.9, + "decode_ms": 166.4, + "drafts_offered": 3, + "drafts_accepted": 2, + "run": 0, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.162, + "total_s": 1.607, + "prompt_tokens": 4075, + "reused_tokens": 606, + "read_tokens": 3469, + "generated_tokens": 59, + "prompt_tps": 3190.5, + "prompt_tps_source": "engine", + "decode_tps": 130.1, + "decode_tps_source": "engine", + "prompt_ms": 1087.3, + "decode_ms": 453.4, + "drafts_offered": 9, + "drafts_accepted": 2, + "run": 0, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.905, + "total_s": 1.363, + "prompt_tokens": 5732, + "reused_tokens": 4074, + "read_tokens": 1658, + "generated_tokens": 64, + "prompt_tps": 2034.9, + "prompt_tps_source": "engine", + "decode_tps": 137.3, + "decode_tps_source": "engine", + "prompt_ms": 814.8, + "decode_ms": 466.0, + "drafts_offered": 12, + "drafts_accepted": 6, + "run": 0, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.468, + "total_s": 1.987, + "prompt_tokens": 9102, + "reused_tokens": 5731, + "read_tokens": 3371, + "generated_tokens": 63, + "prompt_tps": 2429.2, + "prompt_tps_source": "engine", + "decode_tps": 119.3, + "decode_tps_source": "engine", + "prompt_ms": 1387.7, + "decode_ms": 528.0, + "drafts_offered": 15, + "drafts_accepted": 1, + "run": 0, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.441, + "total_s": 1.95, + "prompt_tokens": 11964, + "reused_tokens": 9101, + "read_tokens": 2863, + "generated_tokens": 63, + "prompt_tps": 2103.0, + "prompt_tps_source": "engine", + "decode_tps": 121.4, + "decode_tps_source": "engine", + "prompt_ms": 1361.4, + "decode_ms": 518.9, + "drafts_offered": 21, + "drafts_accepted": 5, + "run": 0, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.662, + "total_s": 2.193, + "prompt_tokens": 14975, + "reused_tokens": 11963, + "read_tokens": 3012, + "generated_tokens": 59, + "prompt_tps": 1906.1, + "prompt_tps_source": "engine", + "decode_tps": 109.2, + "decode_tps_source": "engine", + "prompt_ms": 1580.2, + "decode_ms": 540.4, + "drafts_offered": 19, + "drafts_accepted": 1, + "run": 0, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 0.579, + "total_s": 0.746, + "prompt_tokens": 607, + "reused_tokens": 0, + "read_tokens": 607, + "generated_tokens": 25, + "prompt_tps": 1215.0, + "prompt_tps_source": "engine", + "decode_tps": 143.1, + "decode_tps_source": "engine", + "prompt_ms": 499.6, + "decode_ms": 174.7, + "drafts_offered": 2, + "drafts_accepted": 1, + "run": 1, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.168, + "total_s": 1.611, + "prompt_tokens": 4075, + "reused_tokens": 606, + "read_tokens": 3469, + "generated_tokens": 59, + "prompt_tps": 3171.2, + "prompt_tps_source": "engine", + "decode_tps": 130.8, + "decode_tps_source": "engine", + "prompt_ms": 1093.9, + "decode_ms": 451.2, + "drafts_offered": 4, + "drafts_accepted": 1, + "run": 1, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.9, + "total_s": 1.343, + "prompt_tokens": 5732, + "reused_tokens": 4074, + "read_tokens": 1658, + "generated_tokens": 61, + "prompt_tps": 2016.8, + "prompt_tps_source": "engine", + "decode_tps": 135.2, + "decode_tps_source": "engine", + "prompt_ms": 822.1, + "decode_ms": 451.1, + "drafts_offered": 7, + "drafts_accepted": 4, + "run": 1, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.514, + "total_s": 2.019, + "prompt_tokens": 9098, + "reused_tokens": 5731, + "read_tokens": 3367, + "generated_tokens": 62, + "prompt_tps": 2345.4, + "prompt_tps_source": "engine", + "decode_tps": 120.5, + "decode_tps_source": "engine", + "prompt_ms": 1435.6, + "decode_ms": 514.5, + "drafts_offered": 6, + "drafts_accepted": 2, + "run": 1, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.4, + "total_s": 1.904, + "prompt_tokens": 11959, + "reused_tokens": 9097, + "read_tokens": 2862, + "generated_tokens": 63, + "prompt_tps": 2158.7, + "prompt_tps_source": "engine", + "decode_tps": 122.8, + "decode_tps_source": "engine", + "prompt_ms": 1325.8, + "decode_ms": 513.1, + "drafts_offered": 10, + "drafts_accepted": 4, + "run": 1, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.64, + "total_s": 2.144, + "prompt_tokens": 14970, + "reused_tokens": 11958, + "read_tokens": 3012, + "generated_tokens": 58, + "prompt_tps": 1931.5, + "prompt_tps_source": "engine", + "decode_tps": 113.0, + "decode_tps_source": "engine", + "prompt_ms": 1559.4, + "decode_ms": 513.5, + "drafts_offered": 8, + "drafts_accepted": 1, + "run": 1, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 0.583, + "total_s": 0.747, + "prompt_tokens": 607, + "reused_tokens": 0, + "read_tokens": 607, + "generated_tokens": 25, + "prompt_tps": 1206.5, + "prompt_tps_source": "engine", + "decode_tps": 145.3, + "decode_tps_source": "engine", + "prompt_ms": 503.1, + "decode_ms": 172.1, + "drafts_offered": 2, + "drafts_accepted": 1, + "run": 2, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.152, + "total_s": 1.568, + "prompt_tokens": 4075, + "reused_tokens": 606, + "read_tokens": 3469, + "generated_tokens": 56, + "prompt_tps": 3209.7, + "prompt_tps_source": "engine", + "decode_tps": 132.2, + "decode_tps_source": "engine", + "prompt_ms": 1080.8, + "decode_ms": 423.7, + "drafts_offered": 5, + "drafts_accepted": 1, + "run": 2, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.899, + "total_s": 1.358, + "prompt_tokens": 5729, + "reused_tokens": 4074, + "read_tokens": 1655, + "generated_tokens": 64, + "prompt_tps": 2014.9, + "prompt_tps_source": "engine", + "decode_tps": 137.1, + "decode_tps_source": "engine", + "prompt_ms": 821.4, + "decode_ms": 466.7, + "drafts_offered": 7, + "drafts_accepted": 5, + "run": 2, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.468, + "total_s": 1.955, + "prompt_tokens": 9099, + "reused_tokens": 5728, + "read_tokens": 3371, + "generated_tokens": 61, + "prompt_tps": 2424.8, + "prompt_tps_source": "engine", + "decode_tps": 122.9, + "decode_tps_source": "engine", + "prompt_ms": 1390.2, + "decode_ms": 496.4, + "drafts_offered": 5, + "drafts_accepted": 1, + "run": 2, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.428, + "total_s": 1.838, + "prompt_tokens": 11959, + "reused_tokens": 9098, + "read_tokens": 2861, + "generated_tokens": 53, + "prompt_tps": 2119.7, + "prompt_tps_source": "engine", + "decode_tps": 126.4, + "decode_tps_source": "engine", + "prompt_ms": 1349.7, + "decode_ms": 419.2, + "drafts_offered": 10, + "drafts_accepted": 5, + "run": 2, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.635, + "total_s": 2.122, + "prompt_tokens": 14960, + "reused_tokens": 11958, + "read_tokens": 3002, + "generated_tokens": 56, + "prompt_tps": 1931.3, + "prompt_tps_source": "engine", + "decode_tps": 112.8, + "decode_tps_source": "engine", + "prompt_ms": 1554.4, + "decode_ms": 496.3, + "drafts_offered": 8, + "drafts_accepted": 1, + "run": 2, + "turn": 5 + } + ] + ], + "hit_pct": { + "median": 68.652, + "min": 68.651, + "max": 68.666, + "n": 3 + }, + "reread_tokens": { + "median": 275, + "min": 264, + "max": 279, + "n": 3 + }, + "new_tokens": { + "median": 14094, + "min": 14093, + "max": 14094, + "n": 3 + }, + "turn_ttft_s": { + "median": 1.428, + "min": 0.899, + "max": 1.662, + "n": 15 + }, + "last_turn_prompt_tokens": { + "median": 14970, + "min": 14960, + "max": 14975, + "n": 3 + }, + "turn_decode_tps": { + "median": 122.9, + "min": 109.2, + "max": 137.3, + "n": 15 + }, + "first_turn_ttft_s": { + "median": 0.583, + "min": 0.579, + "max": 0.612, + "n": 3 + } + }, + "clients": {}, + "skipped": {}, + "failures": [] + } +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-ornith/README.md b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-ornith/README.md new file mode 100644 index 0000000000..c3d155910f --- /dev/null +++ b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-ornith/README.md @@ -0,0 +1,67 @@ +# Community benchmark on AMD Radeon RX 7900 XTX (gfx1100) + +Measured on 2026-12-01 with `terminal/tools/strata_bench.py` (suite 1, 3 runs per test, medians with ranges). Speeds are the engine's own timings; first-token times are measured by the client over HTTP. Speed only: no correctness check was run. + +## Hardware and software + +- GPU and VRAM: AMD Radeon RX 7900 XTX (gfx1100), 24 GiB (24,560 MiB), one card; the desktop also uses it +- CPU: AMD Ryzen 7 7800X3D (8 cores, 16 threads); installed RAM: 90.0 GiB (96 GB DDR5-6000); storage: NVMe CT1000T700SSD3 and a Samsung SSD 860 PRO 2TB SATA +- OS: CachyOS Linux, kernel 7.3.6-3-cachyos; ROCm 10.2.0 in `/opt/rocm` (installed package set mixed 10.1/10.2); HIP backend +- PolyStrata: **v0.2.20-poly.6**, source checkout `ce7010d6cd1e15e6defed027360fd49de9afb246`; engine 0.1.66 (`strata --version`). `strata_commit` in `results.json` is `null` because the `strata-poly` binary is not a git checkout; the commit above is the source revision it was built from. +- Background load: `llama-swap` was stopped, the GPU was exclusive; `bge-m3-embed.service` (llama-server, CPU, port 8081) kept running. Its load was not measured. + +## Model and configuration + +- Model: **Ornith 1.5 35B-A3B APEX-MTP-I-Compact**, file size 17,437,861,408 B, SHA-256 `67e6cdff…f4165`. The earlier `results.json` files carry no size or hash; the hash here is the file present now and matches the value recorded at download time (the `.done` marker). +- Model id: `ornith-1.5-35b-a3b-apex-i-compact`; quantization APEX-MTP-I-Compact (from the GGUF name). +- Context: 65536 tokens; parallel slots: 1 +- Settings: the install's own configuration, unchanged (hip backend); thinking off for the suite; temperature 0 + +```text +strata-poly --model Ornith-1.5-35B-A3B-APEX-MTP-I-Compact.gguf --max-context 65536 --expert-profile expert-profile.txt --conversation-cache-mib auto --vram-reserve-mib 0 --kv-whole +``` + + +## Method + +Run by `python terminal/tools/strata_bench.py --long` against the HTTP API of a PolyStrata server (started by the benchmark from the install configuration); model loading is not timed. One warm-up chat and a 1K prompt are discarded first. Every prompt starts with a unique tag, so the conversation cache cannot help the fresh-prompt tests. + +- short chat: the three questions of `terminal/tools/ab_engine.py`, up to 100 new tokens, 3 runs +- 4K / 16K prompts: generated word lists sized by a calibration request, 24 new tokens, 3 fresh prompts each +- agent session: system prompt and four tools, then 5 turns that each add about 1500 words of a project file and continue from the model's own earlier answers (the way agent clients resend a conversation), 64 new tokens per turn, 3 sessions; the cache numbers come from the answer's usage (`cached_tokens`) and timings (`prompt_n`) +- concurrency (when run): N requests sent at the same moment, total tokens over the wall time of the burst, latency over all requests + +## Results + +| 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 | +| --- | ---: | ---: | ---: | ---: | --- | --- | --- | +| short chat | 46 (43-51) | 0 | 100 (100-100) | 9 | not measured | 176.6 (164.2-208.1) | 0.47 (0.46-0.58) | +| 4K prompt, fresh | 4019 (4019-4019) | 0 (0-0) | 24 cap | 3 | 3882.7 (3817.1-4169.5) | not measured | 1.42 (1.35-1.46) | +| 16K prompt, fresh | 16058 (16058-16058) | 0 (0-0) | 24 cap | 3 | 3028.3 (3012.2-3083.2) | not measured | 5.68 (5.59-5.75) | +| 32K prompt, fresh | 32049 (32049-32049) | 0 (0-0) | 24 cap | 3 | 2287.1 (2277.0-2312.8) | not measured | 14.44 (14.29-14.50) | +| agent session, follow-up turns | 14937 (14930-14953) at the last turn | see below | up to 64 | 3 | see below | 157.5 (126.9-172.0) | 1.54 (0.97-1.74) | + +Ranges are the lowest and highest of the runs; `Runs` counts requests that returned a token. + +### Agent session (conversation cache) + +Cache hit over the follow-up turns: 68.6 % (68.6-68.6); earlier-turn tokens read again per session: 284 (278-301) (earlier turns that the cache did not hold; the 14078 (14078-14079) new tokens of the files are read once); first turn (nothing cached) first token: 0.65 s (0.62-0.75). Corpus: `repo_docs` (53e7037ff848) [README.md, docs/HOW_IT_WORKS.md, docs/DETAILS.md, docs/INSTALL.md, docs/MODELS.md]. + +| Turn (run 1) | Prompt tokens | Reused | Read | Prompt tok/s | First token (s) | Decode tok/s | +| ---: | ---: | ---: | ---: | ---: | ---: | ---: | +| 0 | 609 | 0 | 609 | 1821.2 | 0.749 | 193.9 | +| 1 | 4068 | 602 | 3466 | 3785.5 | 1.295 | 148.0 | +| 2 | 5716 | 4061 | 1655 | 2545.0 | 1.035 | 160.3 | +| 3 | 9083 | 5709 | 3374 | 2911.9 | 1.545 | 172.0 | +| 4 | 11934 | 9076 | 2858 | 2478.1 | 1.548 | 152.8 | +| 5 | 14937 | 11927 | 3010 | 2283.8 | 1.735 | 126.9 | + +Per-request data: `results.json`. Engine log lines from the start: `engine-log-excerpt.txt` (when this run started the server). + +## Compared with the earlier run + +The same model was measured before on the same card with PolyStrata 0.1.45. The old values, the difference in percent and every known condition change are in the [folder README](../README.md). This page stays the plain record of the 2026-12-01 run. The old run used `tools/strata_bench.py` (now `terminal/tools/strata_bench.py`). + +## Correctness and limitations + +Not measured: this is a speed suite. The conversation uses the model's own replies, so token counts differ a little between runs. Machine details come from the server, the amdgpu sysfs counter and the OS; background load is not recorded. The paths in `results.json` are relative; the engine log excerpt has placeholders for the private paths. Total time of the suite: 108 s. diff --git a/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-ornith/engine-log-excerpt.txt b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-ornith/engine-log-excerpt.txt new file mode 100644 index 0000000000..42a7702f64 --- /dev/null +++ b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-ornith/engine-log-excerpt.txt @@ -0,0 +1,5 @@ +[strata] 2026-12-01 01:11:44 engine started: /bin/strata-poly --serve --model /ornith-APEX-I-COMPACT/Ornith-1.5-35B-A3B-APEX-MTP-I-Compact.gguf --max-context 65536 --expert-profile /packs/ornith-apex-i-compact/expert-profile.txt --conversation-cache-mib auto --vram-reserve-mib 0 --kv-whole +strata-poly: loaded in 6.1 s; 10496 of 10496 routed experts in VRAM (14.7 GiB), 11 CPU threads +strata-poly: ready for requests (context 65536); an engine that waits for one uses no CPU +strata-poly: 94232 of 298183 prompt tokens were not read again (31.6%); 4 conversations parked in 2954 MiB, 20 pushed out; 4504 MiB of VRAM free at the end +strata-poly: the engine ends (exit code 0) diff --git a/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-ornith/results.json b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-ornith/results.json new file mode 100644 index 0000000000..6349ebd3b9 --- /dev/null +++ b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/suite-ornith/results.json @@ -0,0 +1,989 @@ +{ + "schema": 1, + "tool": "tools/strata_bench.py", + "date": "2026-12-01", + "params": { + "runs": 3, + "think": false, + "clients": 0, + "long": true, + "started_server": true, + "command": "python tools/strata_bench.py --long" + }, + "elapsed_s": 107.56613445281982, + "machine": { + "gpu": [ + "AMD Radeon RX 7900 XTX" + ], + "gpu_vram_mib": 24560.0, + "gpu_driver": null, + "gpu_detail": [ + {} + ], + "cuda": null, + "engine_build": null, + "cpu": "AMD Ryzen 7 7800X3D 8-Core Processor", + "cpu_cores": 8, + "storage": "sda Samsung SSD 860 PRO 2TB sata; zram0; nvme0n1 CT1000T700SSD3 nvme", + "cpu_threads": 16, + "ram_gib": 90.0, + "os": "Linux 7.3.6-3-cachyos", + "python": "3.14.10", + "strata_version": "0.1.66", + "strata_commit": null, + "engine_version": "0.1.66", + "model": "ornith-1.5-35b-a3b-apex-i-compact", + "quant": null, + "context": 65536, + "parallel_slots": 1, + "config": { + "exe": "strata-poly", + "args": [ + "--model", + "Ornith-1.5-35B-A3B-APEX-MTP-I-Compact.gguf", + "--max-context", + "65536", + "--expert-profile", + "expert-profile.txt", + "--conversation-cache-mib", + "auto", + "--vram-reserve-mib", + "0", + "--kv-whole" + ], + "model_name": "ornith-1.5-35b-a3b-apex-i-compact", + "display_name": "Ornith 1.5 35B-A3B APEX-I-COMPACT", + "lib_dirs": [ + "/opt/rocm/lib" + ], + "port": 8098, + "gpu": 0, + "gpus_asked": true, + "backend": "hip", + "host": "127.0.0.1", + "open_browser": false + }, + "launch": "strata-poly --model Ornith-1.5-35B-A3B-APEX-MTP-I-Compact.gguf --max-context 65536 --expert-profile expert-profile.txt --conversation-cache-mib auto --vram-reserve-mib 0 --kv-whole", + "engine_info": { + "model": "ornith-1.5-35b-a3b-apex-i-compact", + "max_context": 65536, + "images": false, + "gen": 1, + "version": "0.1.66", + "context": 65536, + "expert_slots": 10496, + "expert_cache_mib": 15039, + "pool_workers": 11, + "conversation_cache_mib": 8192, + "conversation_cache_slots": 4, + "conversation_cache_min_free_mib": 2560, + "vram_free_mib": 4576, + "vram_elastic": 1, + "batch_slots": 0, + "co_read": 0, + "sessions": 1, + "pinned_tokens": 0, + "pinned_slots": 0, + "engine": "0.1.66", + "drafting": "off", + "drafting_note": "" + }, + "vram_after": { + "elastic": true + } + }, + "results": { + "chat": { + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 0.578, + "total_s": 1.059, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 389.9, + "prompt_tps_source": "engine", + "decode_tps": 207.9, + "decode_tps_source": "engine", + "prompt_ms": 130.8, + "decode_ms": 481.1, + "drafts_offered": 63, + "drafts_accepted": 52, + "run": 0, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.473, + "total_s": 1.065, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 485.3, + "prompt_tps_source": "engine", + "decode_tps": 169.1, + "decode_tps_source": "engine", + "prompt_ms": 88.6, + "decode_ms": 591.4, + "drafts_offered": 48, + "drafts_accepted": 36, + "run": 0, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.55, + "total_s": 1.148, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 481.2, + "prompt_tps_source": "engine", + "decode_tps": 167.1, + "decode_tps_source": "engine", + "prompt_ms": 95.6, + "decode_ms": 598.6, + "drafts_offered": 48, + "drafts_accepted": 32, + "run": 0, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.492, + "total_s": 0.972, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 579.5, + "prompt_tps_source": "engine", + "decode_tps": 208.1, + "decode_tps_source": "engine", + "prompt_ms": 88.0, + "decode_ms": 480.5, + "drafts_offered": 61, + "drafts_accepted": 52, + "run": 1, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.472, + "total_s": 1.033, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 523.1, + "prompt_tps_source": "engine", + "decode_tps": 178.3, + "decode_tps_source": "engine", + "prompt_ms": 82.2, + "decode_ms": 560.8, + "drafts_offered": 50, + "drafts_accepted": 37, + "run": 1, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.461, + "total_s": 1.04, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 590.5, + "prompt_tps_source": "engine", + "decode_tps": 172.9, + "decode_tps_source": "engine", + "prompt_ms": 77.9, + "decode_ms": 578.3, + "drafts_offered": 48, + "drafts_accepted": 35, + "run": 1, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.476, + "total_s": 0.96, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 706.4, + "prompt_tps_source": "engine", + "decode_tps": 206.2, + "decode_tps_source": "engine", + "prompt_ms": 72.2, + "decode_ms": 484.9, + "drafts_offered": 61, + "drafts_accepted": 50, + "run": 2, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.457, + "total_s": 1.065, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 620.5, + "prompt_tps_source": "engine", + "decode_tps": 164.2, + "decode_tps_source": "engine", + "prompt_ms": 69.3, + "decode_ms": 608.9, + "drafts_offered": 51, + "drafts_accepted": 31, + "run": 2, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.46, + "total_s": 1.026, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 586.0, + "prompt_tps_source": "engine", + "decode_tps": 176.6, + "decode_tps_source": "engine", + "prompt_ms": 78.5, + "decode_ms": 566.2, + "drafts_offered": 48, + "drafts_accepted": 35, + "run": 2, + "prompt": 2 + } + ], + "decode_tps": { + "median": 176.6, + "min": 164.2, + "max": 208.1, + "n": 9 + }, + "ttft_s": { + "median": 0.473, + "min": 0.457, + "max": 0.578, + "n": 9 + }, + "generated_tokens": { + "median": 100, + "min": 100, + "max": 100, + "n": 9 + }, + "prompt_tokens": { + "median": 46, + "min": 43, + "max": 51, + "n": 9 + } + }, + "prompts": { + "4K": { + "target_tokens": 4096, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 1.346, + "total_s": 1.516, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 4169.5, + "prompt_tps_source": "engine", + "decode_tps": 141.6, + "decode_tps_source": "engine", + "prompt_ms": 963.9, + "decode_ms": 169.5, + "drafts_offered": 13, + "drafts_accepted": 8, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.46, + "total_s": 1.612, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 3817.1, + "prompt_tps_source": "engine", + "decode_tps": 158.2, + "decode_tps_source": "engine", + "prompt_ms": 1052.9, + "decode_ms": 151.7, + "drafts_offered": 11, + "drafts_accepted": 7, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.415, + "total_s": 1.563, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 3882.7, + "prompt_tps_source": "engine", + "decode_tps": 162.5, + "decode_tps_source": "engine", + "prompt_ms": 1035.1, + "decode_ms": 147.7, + "drafts_offered": 10, + "drafts_accepted": 8, + "run": 2 + } + ], + "prompt_tps": { + "median": 3882.7, + "min": 3817.1, + "max": 4169.5, + "n": 3 + }, + "ttft_s": { + "median": 1.415, + "min": 1.346, + "max": 1.46, + "n": 3 + }, + "prompt_tokens": { + "median": 4019, + "min": 4019, + "max": 4019, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "16K": { + "target_tokens": 16384, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 5.591, + "total_s": 5.763, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 3083.2, + "prompt_tps_source": "engine", + "decode_tps": 139.3, + "decode_tps_source": "engine", + "prompt_ms": 5208.2, + "decode_ms": 172.3, + "drafts_offered": 10, + "drafts_accepted": 8, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 5.746, + "total_s": 5.917, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 3012.2, + "prompt_tps_source": "engine", + "decode_tps": 139.9, + "decode_tps_source": "engine", + "prompt_ms": 5330.9, + "decode_ms": 171.5, + "drafts_offered": 9, + "drafts_accepted": 7, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 5.682, + "total_s": 5.861, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 3028.3, + "prompt_tps_source": "engine", + "decode_tps": 134.3, + "decode_tps_source": "engine", + "prompt_ms": 5302.7, + "decode_ms": 178.7, + "drafts_offered": 8, + "drafts_accepted": 6, + "run": 2 + } + ], + "prompt_tps": { + "median": 3028.3, + "min": 3012.2, + "max": 3083.2, + "n": 3 + }, + "ttft_s": { + "median": 5.682, + "min": 5.591, + "max": 5.746, + "n": 3 + }, + "prompt_tokens": { + "median": 16058, + "min": 16058, + "max": 16058, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "32K": { + "target_tokens": 32768, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 14.295, + "total_s": 14.533, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 2312.8, + "prompt_tps_source": "engine", + "decode_tps": 100.7, + "decode_tps_source": "engine", + "prompt_ms": 13857.4, + "decode_ms": 238.4, + "drafts_offered": 9, + "drafts_accepted": 5, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 14.439, + "total_s": 14.675, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 2287.1, + "prompt_tps_source": "engine", + "decode_tps": 101.5, + "decode_tps_source": "engine", + "prompt_ms": 14012.7, + "decode_ms": 236.4, + "drafts_offered": 9, + "drafts_accepted": 5, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 14.5, + "total_s": 14.694, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 2277.0, + "prompt_tps_source": "engine", + "decode_tps": 123.1, + "decode_tps_source": "engine", + "prompt_ms": 14074.9, + "decode_ms": 195.0, + "drafts_offered": 13, + "drafts_accepted": 10, + "run": 2 + } + ], + "prompt_tps": { + "median": 2287.1, + "min": 2277.0, + "max": 2312.8, + "n": 3 + }, + "ttft_s": { + "median": 14.439, + "min": 14.295, + "max": 14.5, + "n": 3 + }, + "prompt_tokens": { + "median": 32049, + "min": 32049, + "max": 32049, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + } + }, + "agent": { + "corpus": "repo_docs", + "corpus_files": [ + "README.md", + "docs/HOW_IT_WORKS.md", + "docs/DETAILS.md", + "docs/INSTALL.md", + "docs/MODELS.md" + ], + "corpus_sha256": "53e7037ff848", + "sessions": [ + [ + { + "ok": true, + "err": null, + "ttft_s": 0.749, + "total_s": 0.847, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 19, + "prompt_tps": 1821.2, + "prompt_tps_source": "engine", + "decode_tps": 193.9, + "decode_tps_source": "engine", + "prompt_ms": 334.4, + "decode_ms": 98.0, + "drafts_offered": 12, + "drafts_accepted": 8, + "run": 0, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.295, + "total_s": 1.653, + "prompt_tokens": 4068, + "reused_tokens": 602, + "read_tokens": 3466, + "generated_tokens": 53, + "prompt_tps": 3785.5, + "prompt_tps_source": "engine", + "decode_tps": 148.0, + "decode_tps_source": "engine", + "prompt_ms": 915.6, + "decode_ms": 358.1, + "drafts_offered": 32, + "drafts_accepted": 17, + "run": 0, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.035, + "total_s": 1.434, + "prompt_tokens": 5716, + "reused_tokens": 4061, + "read_tokens": 1655, + "generated_tokens": 64, + "prompt_tps": 2545.0, + "prompt_tps_source": "engine", + "decode_tps": 160.3, + "decode_tps_source": "engine", + "prompt_ms": 650.3, + "decode_ms": 399.3, + "drafts_offered": 35, + "drafts_accepted": 23, + "run": 0, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.545, + "total_s": 1.864, + "prompt_tokens": 9083, + "reused_tokens": 5709, + "read_tokens": 3374, + "generated_tokens": 55, + "prompt_tps": 2911.9, + "prompt_tps_source": "engine", + "decode_tps": 172.0, + "decode_tps_source": "engine", + "prompt_ms": 1158.7, + "decode_ms": 319.7, + "drafts_offered": 27, + "drafts_accepted": 24, + "run": 0, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.548, + "total_s": 1.927, + "prompt_tokens": 11934, + "reused_tokens": 9076, + "read_tokens": 2858, + "generated_tokens": 58, + "prompt_tps": 2478.1, + "prompt_tps_source": "engine", + "decode_tps": 152.8, + "decode_tps_source": "engine", + "prompt_ms": 1153.3, + "decode_ms": 379.5, + "drafts_offered": 27, + "drafts_accepted": 21, + "run": 0, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.735, + "total_s": 2.199, + "prompt_tokens": 14937, + "reused_tokens": 11927, + "read_tokens": 3010, + "generated_tokens": 59, + "prompt_tps": 2283.8, + "prompt_tps_source": "engine", + "decode_tps": 126.9, + "decode_tps_source": "engine", + "prompt_ms": 1318.0, + "decode_ms": 464.8, + "drafts_offered": 40, + "drafts_accepted": 18, + "run": 0, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 0.648, + "total_s": 0.873, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 38, + "prompt_tps": 3100.8, + "prompt_tps_source": "engine", + "decode_tps": 168.4, + "decode_tps_source": "engine", + "prompt_ms": 196.4, + "decode_ms": 225.6, + "drafts_offered": 28, + "drafts_accepted": 15, + "run": 1, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.304, + "total_s": 1.63, + "prompt_tokens": 4087, + "reused_tokens": 602, + "read_tokens": 3485, + "generated_tokens": 55, + "prompt_tps": 3827.6, + "prompt_tps_source": "engine", + "decode_tps": 168.9, + "decode_tps_source": "engine", + "prompt_ms": 910.5, + "decode_ms": 325.6, + "drafts_offered": 29, + "drafts_accepted": 20, + "run": 1, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.975, + "total_s": 1.336, + "prompt_tokens": 5737, + "reused_tokens": 4080, + "read_tokens": 1657, + "generated_tokens": 57, + "prompt_tps": 2955.8, + "prompt_tps_source": "engine", + "decode_tps": 157.5, + "decode_tps_source": "engine", + "prompt_ms": 560.6, + "decode_ms": 362.0, + "drafts_offered": 30, + "drafts_accepted": 20, + "run": 1, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.542, + "total_s": 1.894, + "prompt_tokens": 9096, + "reused_tokens": 5730, + "read_tokens": 3366, + "generated_tokens": 59, + "prompt_tps": 2958.1, + "prompt_tps_source": "engine", + "decode_tps": 167.6, + "decode_tps_source": "engine", + "prompt_ms": 1137.9, + "decode_ms": 352.0, + "drafts_offered": 31, + "drafts_accepted": 25, + "run": 1, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.558, + "total_s": 1.97, + "prompt_tokens": 11951, + "reused_tokens": 9089, + "read_tokens": 2862, + "generated_tokens": 57, + "prompt_tps": 2524.0, + "prompt_tps_source": "engine", + "decode_tps": 138.0, + "decode_tps_source": "engine", + "prompt_ms": 1133.9, + "decode_ms": 412.9, + "drafts_offered": 36, + "drafts_accepted": 19, + "run": 1, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.718, + "total_s": 2.141, + "prompt_tokens": 14953, + "reused_tokens": 11944, + "read_tokens": 3009, + "generated_tokens": 58, + "prompt_tps": 2304.0, + "prompt_tps_source": "engine", + "decode_tps": 136.8, + "decode_tps_source": "engine", + "prompt_ms": 1306.0, + "decode_ms": 424.0, + "drafts_offered": 31, + "drafts_accepted": 19, + "run": 1, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 0.619, + "total_s": 0.824, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 36, + "prompt_tps": 3205.3, + "prompt_tps_source": "engine", + "decode_tps": 175.7, + "decode_tps_source": "engine", + "prompt_ms": 190.0, + "decode_ms": 204.9, + "drafts_offered": 25, + "drafts_accepted": 14, + "run": 2, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.293, + "total_s": 1.593, + "prompt_tokens": 4085, + "reused_tokens": 602, + "read_tokens": 3483, + "generated_tokens": 50, + "prompt_tps": 3853.7, + "prompt_tps_source": "engine", + "decode_tps": 166.3, + "decode_tps_source": "engine", + "prompt_ms": 903.8, + "decode_ms": 300.6, + "drafts_offered": 26, + "drafts_accepted": 18, + "run": 2, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.974, + "total_s": 1.301, + "prompt_tokens": 5730, + "reused_tokens": 4078, + "read_tokens": 1652, + "generated_tokens": 54, + "prompt_tps": 2944.7, + "prompt_tps_source": "engine", + "decode_tps": 165.4, + "decode_tps_source": "engine", + "prompt_ms": 561.0, + "decode_ms": 326.4, + "drafts_offered": 30, + "drafts_accepted": 20, + "run": 2, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.545, + "total_s": 1.87, + "prompt_tokens": 9086, + "reused_tokens": 5723, + "read_tokens": 3363, + "generated_tokens": 55, + "prompt_tps": 2947.4, + "prompt_tps_source": "engine", + "decode_tps": 168.8, + "decode_tps_source": "engine", + "prompt_ms": 1141.0, + "decode_ms": 325.8, + "drafts_offered": 28, + "drafts_accepted": 23, + "run": 2, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.555, + "total_s": 1.883, + "prompt_tokens": 11937, + "reused_tokens": 9079, + "read_tokens": 2858, + "generated_tokens": 48, + "prompt_tps": 2522.7, + "prompt_tps_source": "engine", + "decode_tps": 146.0, + "decode_tps_source": "engine", + "prompt_ms": 1132.9, + "decode_ms": 328.7, + "drafts_offered": 26, + "drafts_accepted": 17, + "run": 2, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.726, + "total_s": 2.187, + "prompt_tokens": 14930, + "reused_tokens": 11930, + "read_tokens": 3000, + "generated_tokens": 64, + "prompt_tps": 2283.5, + "prompt_tps_source": "engine", + "decode_tps": 138.7, + "decode_tps_source": "engine", + "prompt_ms": 1313.8, + "decode_ms": 461.3, + "drafts_offered": 42, + "drafts_accepted": 24, + "run": 2, + "turn": 5 + } + ] + ], + "hit_pct": { + "median": 68.621, + "min": 68.597, + "max": 68.633, + "n": 3 + }, + "reread_tokens": { + "median": 284, + "min": 278, + "max": 301, + "n": 3 + }, + "new_tokens": { + "median": 14078, + "min": 14078, + "max": 14079, + "n": 3 + }, + "turn_ttft_s": { + "median": 1.545, + "min": 0.974, + "max": 1.735, + "n": 15 + }, + "last_turn_prompt_tokens": { + "median": 14937, + "min": 14930, + "max": 14953, + "n": 3 + }, + "turn_decode_tps": { + "median": 157.5, + "min": 126.9, + "max": 172.0, + "n": 15 + }, + "first_turn_ttft_s": { + "median": 0.648, + "min": 0.619, + "max": 0.749, + "n": 3 + } + }, + "clients": {}, + "skipped": {}, + "failures": [] + } +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/vs-llama/engine-log-excerpt.txt b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/vs-llama/engine-log-excerpt.txt new file mode 100644 index 0000000000..f33d723ba4 --- /dev/null +++ b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/vs-llama/engine-log-excerpt.txt @@ -0,0 +1,4 @@ +[strata] 2026-12-01 01:15:39 engine started: /bin/strata-poly --serve --model /ornith-APEX-I-COMPACT/Ornith-1.5-35B-A3B-APEX-MTP-I-Compact.gguf --max-context 36864 --expert-profile /packs/ornith-apex-i-compact/expert-profile.txt --conversation-cache-mib auto --vram-reserve-mib 0 --kv-whole +strata-poly: loaded in 4.2 s; 10496 of 10496 routed experts in VRAM (14.7 GiB), 11 CPU threads +strata-poly: ready for requests (context 36864); an engine that waits for one uses no CPU +# rounds 2 and 3 started the same command and logged the same "10496 of 10496 routed experts in VRAM" lines. diff --git a/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/vs-llama/llama-mtp.jsonl b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/vs-llama/llama-mtp.jsonl new file mode 100644 index 0000000000..3fca9a4e04 --- /dev/null +++ b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/vs-llama/llama-mtp.jsonl @@ -0,0 +1,18 @@ +{"wall_s": 2.28, "prompt_n": 4052, "prompt_ms": 1066.059, "prompt_tps": 3800.9153339543122, "pred_n": 149, "pred_tps": 123.71220195181075, "draft_n": 168, "draft_acc": 64, "text": "Strata is an open-source local LLM engine that uses mixture-of-experts quantization (Q2_0, IQ2_XS, IQ3, and Coder models) with MTP speculative decoding to run large models efficiently on consumer GPUs, with detailed benchmark tables showing prompt-processing and output speeds measured on an RTX 5070", "config": "llama-mtp", "round": 0, "cell": "4k", "temp": 0.0, "rep": 0, "vram_peak_mib": 18586, "vram_base_mib": 649, "rss_peak_gib": 16.64, "sys_used_delta_gib": 1.04, "load_s": 4.0, "cmd": "/bin/llama-server -m /ornith-APEX-I-COMPACT/Ornith-1.5-35B-A3B-APEX-MTP-I-Compact.gguf --port 8190 --host 127.0.0.1 -np 1 --no-webui --jinja --fit on -c 36864 -fa on -ctk q8_0 -ctv q8_0 --spec-type draft-mtp --spec-draft-n-max 2"} +{"wall_s": 2.13, "prompt_n": 4052, "prompt_ms": 1065.503, "prompt_tps": 3802.898724827617, "pred_n": 113, "pred_tps": 107.51160549384304, "draft_n": 146, "draft_acc": 39, "text": "Strata is an open-source LLM inference engine whose technical page documents its measured performance (prompt and output token speeds across quantized models on an RTX 5070), its configurable settings, and how its MoE architecture works. The engine offers numerous performance and quality trade-offs\u2014", "config": "llama-mtp", "round": 0, "cell": "4k", "temp": 0.0, "rep": 1, "vram_peak_mib": 18586, "vram_base_mib": 649, "rss_peak_gib": 16.64, "sys_used_delta_gib": 1.29, "load_s": 4.0, "cmd": null} +{"wall_s": 2.52, "prompt_n": 4052, "prompt_ms": 1064.409, "prompt_tps": 3806.8073456725747, "pred_n": 171, "pred_tps": 118.29181058836954, "draft_n": 202, "draft_acc": 69, "text": "Here's a three-sentence summary:\n\nStrata is an open-source engine for running MoE (mixture-of-experts) quantized LLMs, with this page detailing its technical specifications, measured performance, and configuration options. Benchmarks on an RTX 5070 show token processing speeds ranging from ~500-1,60", "config": "llama-mtp", "round": 0, "cell": "4k", "temp": 0.7, "rep": 0, "vram_peak_mib": 18589, "vram_base_mib": 649, "rss_peak_gib": 16.64, "sys_used_delta_gib": 1.51, "load_s": 4.0, "cmd": "/bin/llama-server -m /ornith-APEX-I-COMPACT/Ornith-1.5-35B-A3B-APEX-MTP-I-Compact.gguf --port 8190 --host 127.0.0.1 -np 1 --no-webui --jinja --fit on -c 36864 -fa on -ctk q8_0 -ctv q8_0 --spec-type draft-mtp --spec-draft-n-max 2"} +{"wall_s": 2.85, "prompt_n": 4052, "prompt_ms": 1069.272, "prompt_tps": 3789.4941605129475, "pred_n": 205, "pred_tps": 115.59344199872395, "draft_n": 250, "draft_acc": 79, "text": "Here's a three-sentence summary of the Strata technical documentation:\n\nStrata is an open-source LLM inference engine that uses mixture-of-experts quantization with MTP speculative decoding to run large models efficiently on consumer GPUs, achieving measured speeds like Q2_0 writing 1,299 tokens/s o", "config": "llama-mtp", "round": 0, "cell": "4k", "temp": 0.7, "rep": 1, "vram_peak_mib": 18590, "vram_base_mib": 649, "rss_peak_gib": 16.64, "sys_used_delta_gib": 1.76, "load_s": 4.0, "cmd": null} +{"wall_s": 12.51, "prompt_n": 32050, "prompt_ms": 10979.709, "prompt_tps": 2919.0208957268355, "pred_n": 143, "pred_tps": 94.89714018780278, "draft_n": 182, "draft_acc": 51, "text": "Strata is a local AI engine that runs large mixture-of-experts models (Qwen3.8-Flash-Next and its variants) on consumer PCs by keeping frequently-used experts on the GPU while computing the rest on the CPU, enabling 262K-token contexts on machines with modest VRAM. It ships with speculative decoding", "config": "llama-mtp", "round": 0, "cell": "32k", "temp": 0.0, "rep": 0, "vram_peak_mib": 18592, "vram_base_mib": 649, "rss_peak_gib": 16.64, "sys_used_delta_gib": 2.01, "load_s": 4.0, "cmd": "/bin/llama-server -m /ornith-APEX-I-COMPACT/Ornith-1.5-35B-A3B-APEX-MTP-I-Compact.gguf --port 8190 --host 127.0.0.1 -np 1 --no-webui --jinja --fit on -c 36864 -fa on -ctk q8_0 -ctv q8_0 --spec-type draft-mtp --spec-draft-n-max 2"} +{"wall_s": 12.9, "prompt_n": 32050, "prompt_ms": 11023.653, "prompt_tps": 2907.384693621978, "pred_n": 170, "pred_tps": 97.17815343107883, "draft_n": 212, "draft_acc": 63, "text": "Strata is an open-source engine that runs 66-76 GB mixture-of-experts models like Qwen3.8-Flash-Next (and the Swift 1.5 and Coder variants) on consumer GPUs from 12 GB onward, using speculative decoding, an adaptive expert cache, and optional low-RAM modes so it works even on machines without much R", "config": "llama-mtp", "round": 0, "cell": "32k", "temp": 0.7, "rep": 0, "vram_peak_mib": 18592, "vram_base_mib": 649, "rss_peak_gib": 16.64, "sys_used_delta_gib": 2.63, "load_s": 4.0, "cmd": "/bin/llama-server -m /ornith-APEX-I-COMPACT/Ornith-1.5-35B-A3B-APEX-MTP-I-Compact.gguf --port 8190 --host 127.0.0.1 -np 1 --no-webui --jinja --fit on -c 36864 -fa on -ctk q8_0 -ctv q8_0 --spec-type draft-mtp --spec-draft-n-max 2"} +{"wall_s": 2.27, "prompt_n": 4052, "prompt_ms": 1053.39, "prompt_tps": 3846.6285041627502, "pred_n": 137, "pred_tps": 113.0624545360075, "draft_n": 172, "draft_acc": 50, "text": "Strata is an open-source inference engine for mixture-of-experts models, and this page documents its technical details including measured performance, configuration options, and how it works. Speed benchmarks show that prompt processing and output speeds vary by model, context length, and GPU, with ", "config": "llama-mtp", "round": 1, "cell": "4k", "temp": 0.0, "rep": 0, "vram_peak_mib": 18586, "vram_base_mib": 649, "rss_peak_gib": 16.64, "sys_used_delta_gib": 1.04, "load_s": 4.0, "cmd": null} +{"wall_s": 2.46, "prompt_n": 4052, "prompt_ms": 1055.864, "prompt_tps": 3837.615450474682, "pred_n": 168, "pred_tps": 120.42067918705226, "draft_n": 198, "draft_acc": 68, "text": "Strata is a technical documentation page describing the performance, configuration, and internal workings of a quantized mixture-of-experts language model engine, complete with benchmark tables measuring prompt-processing and output speeds across different models (Q2_0, IQ2_XS, IQ3_XXS, IQ3_S, Coder", "config": "llama-mtp", "round": 1, "cell": "4k", "temp": 0.0, "rep": 1, "vram_peak_mib": 18588, "vram_base_mib": 649, "rss_peak_gib": 16.64, "sys_used_delta_gib": 1.27, "load_s": 4.0, "cmd": null} +{"wall_s": 2.36, "prompt_n": 4052, "prompt_ms": 1056.88, "prompt_tps": 3833.926273559912, "pred_n": 139, "pred_tps": 107.6056113987092, "draft_n": 184, "draft_acc": 46, "text": "# Summary\n\nStrata is a technical documentation page detailing the performance, configuration, and mechanics of an LLM engine that uses mixture-of-experts quantization with speculative decoding, featuring benchmarked speed measurements across various GPUs and context lengths.\n\nThe document explains n", "config": "llama-mtp", "round": 1, "cell": "4k", "temp": 0.7, "rep": 0, "vram_peak_mib": 18589, "vram_base_mib": 649, "rss_peak_gib": 16.64, "sys_used_delta_gib": 1.52, "load_s": 4.0, "cmd": null} +{"wall_s": 2.52, "prompt_n": 4052, "prompt_ms": 1056.758, "prompt_tps": 3834.368890512302, "pred_n": 178, "pred_tps": 122.35214745300156, "draft_n": 208, "draft_acc": 73, "text": "Here's a three-sentence summary of the Strata technical documentation:\n\nStrata is an LLM engine that uses MTP speculative decoding and mixture-of-experts quantization to deliver fast performance, with measured benchmarks showing Q2_0 processing prompts at ~1,300 tokens/s and generating ~93 tokens/s ", "config": "llama-mtp", "round": 1, "cell": "4k", "temp": 0.7, "rep": 1, "vram_peak_mib": 18590, "vram_base_mib": 649, "rss_peak_gib": 16.64, "sys_used_delta_gib": 1.76, "load_s": 4.0, "cmd": null} +{"wall_s": 12.26, "prompt_n": 32050, "prompt_ms": 10857.305, "prompt_tps": 2951.929599472429, "pred_n": 149, "pred_tps": 108.54824786258965, "draft_n": 168, "draft_acc": 64, "text": "Strata is a local AI engine that runs large mixture-of-experts models (Qwen3.8-Flash-Next and its variants) on consumer PCs by keeping frequently-used experts on the GPU while computing the rest on the CPU, enabling 34-55 GB models to run on machines with modest VRAM. It ships with speculative decod", "config": "llama-mtp", "round": 1, "cell": "32k", "temp": 0.0, "rep": 0, "vram_peak_mib": 18592, "vram_base_mib": 649, "rss_peak_gib": 16.64, "sys_used_delta_gib": 2.0, "load_s": 4.0, "cmd": null} +{"wall_s": 12.36, "prompt_n": 32050, "prompt_ms": 10902.267, "prompt_tps": 2939.755557261623, "pred_n": 127, "pred_tps": 94.99461320229102, "draft_n": 160, "draft_acc": 46, "text": "Strata is an open-source engine that runs large mixture-of-experts models like Qwen3.8-Flash-Next locally by keeping the most-used experts on the GPU and computing the rest on the CPU, enabling 66-76 GB models to run on ordinary PCs. It ships with detailed documentation covering measured benchmark s", "config": "llama-mtp", "round": 1, "cell": "32k", "temp": 0.7, "rep": 0, "vram_peak_mib": 18592, "vram_base_mib": 649, "rss_peak_gib": 16.64, "sys_used_delta_gib": 2.6, "load_s": 4.0, "cmd": null} +{"wall_s": 2.13, "prompt_n": 4052, "prompt_ms": 1054.253, "prompt_tps": 3843.4796960501894, "pred_n": 113, "pred_tps": 105.52369430916369, "draft_n": 152, "draft_acc": 36, "text": "Strata is a technical documentation page describing the performance, configuration, and internal workings of a quantized mixture-of-experts language model engine (currently at version 0.1.36). It reports measured speed benchmarks on an RTX 5070 across various context lengths and quantization levels,", "config": "llama-mtp", "round": 2, "cell": "4k", "temp": 0.0, "rep": 0, "vram_peak_mib": 18586, "vram_base_mib": 649, "rss_peak_gib": 16.64, "sys_used_delta_gib": 1.08, "load_s": 4.0, "cmd": null} +{"wall_s": 2.12, "prompt_n": 4052, "prompt_ms": 1054.927, "prompt_tps": 3841.02407085988, "pred_n": 120, "pred_tps": 113.43975062320366, "draft_n": 150, "draft_acc": 44, "text": "Strata is an open-source inference engine for mixture-of-experts models, with this page documenting its technical details including measured performance, configuration options, and how it works. The engine achieves significant speed improvements through techniques like speculative decoding (MTP), KV", "config": "llama-mtp", "round": 2, "cell": "4k", "temp": 0.0, "rep": 1, "vram_peak_mib": 18588, "vram_base_mib": 649, "rss_peak_gib": 16.64, "sys_used_delta_gib": 1.33, "load_s": 4.0, "cmd": null} +{"wall_s": 2.91, "prompt_n": 4052, "prompt_ms": 1056.533, "prompt_tps": 3835.1854603689617, "pred_n": 225, "pred_tps": 122.07437054040255, "draft_n": 264, "draft_acc": 92, "text": "Here's a three-sentence summary of the Strata technical documentation:\n\nStrata is an open-source inference engine for MoE (mixture-of-experts) models that achieves high throughput through speculative decoding (MTP), custom quantized kernels, and a prompt-processing path that runs fused int8 tensor-c", "config": "llama-mtp", "round": 2, "cell": "4k", "temp": 0.7, "rep": 0, "vram_peak_mib": 18589, "vram_base_mib": 649, "rss_peak_gib": 16.64, "sys_used_delta_gib": 1.58, "load_s": 4.0, "cmd": null} +{"wall_s": 2.79, "prompt_n": 4052, "prompt_ms": 1057.766, "prompt_tps": 3830.71492182581, "pred_n": 209, "pred_tps": 121.48106443110359, "draft_n": 246, "draft_acc": 85, "text": "Here's a three-sentence summary of the Strata technical documentation:\n\nStrata is an inference engine for mixture-of-experts language models that achieves strong speed on consumer GPUs (like the RTX 5070) through techniques such as MTP speculative decoding, KV cache streaming to fit more experts on ", "config": "llama-mtp", "round": 2, "cell": "4k", "temp": 0.7, "rep": 1, "vram_peak_mib": 18590, "vram_base_mib": 649, "rss_peak_gib": 16.64, "sys_used_delta_gib": 1.83, "load_s": 4.0, "cmd": null} +{"wall_s": 12.27, "prompt_n": 32050, "prompt_ms": 10855.298, "prompt_tps": 2952.475371933594, "pred_n": 151, "pred_tps": 108.96735991701047, "draft_n": 170, "draft_acc": 65, "text": "Strata is a local AI engine that runs large mixture-of-experts models (Qwen3.8-Flash-Next and its variants) on consumer PCs by keeping the most-used experts on the GPU while computing the rest on the CPU, enabling 66-76 GB models to run on machines with modest RAM. It ships with three quantized mode", "config": "llama-mtp", "round": 2, "cell": "32k", "temp": 0.0, "rep": 0, "vram_peak_mib": 18592, "vram_base_mib": 649, "rss_peak_gib": 16.64, "sys_used_delta_gib": 2.08, "load_s": 4.0, "cmd": null} +{"wall_s": 12.64, "prompt_n": 32050, "prompt_ms": 10901.93, "prompt_tps": 2939.8464308613247, "pred_n": 184, "pred_tps": 113.08589151540656, "draft_n": 200, "draft_acc": 83, "text": "Strata is an open-source local AI system that runs large mixture-of-experts models (based on Qwen3.8-Flash-Next) on consumer PCs by keeping the most-used experts on the GPU and computing the rest on the CPU in real time, with an optional MTP speculative-decoding layer for faster output. It offers th", "config": "llama-mtp", "round": 2, "cell": "32k", "temp": 0.7, "rep": 0, "vram_peak_mib": 18592, "vram_base_mib": 649, "rss_peak_gib": 16.64, "sys_used_delta_gib": 2.33, "load_s": 4.0, "cmd": null} diff --git a/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/vs-llama/llama.jsonl b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/vs-llama/llama.jsonl new file mode 100644 index 0000000000..3e443299ea --- /dev/null +++ b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/vs-llama/llama.jsonl @@ -0,0 +1,18 @@ +{"wall_s": 2.37, "prompt_n": 4050, "prompt_ms": 1006.792, "prompt_tps": 4022.6779712194775, "pred_n": 165, "pred_tps": 121.69909749730257, "draft_n": null, "draft_acc": null, "text": "Strata is an open-source LLM inference engine whose technical documentation details its performance, measured on an RTX 5070, showing prompt and output speeds (tokens/s) across context lengths from 1K to the model's full 262K window for several quantized models (Q2_0, IQ2_XS, IQ3_XXS, IQ3_S, Coder).", "config": "llama", "round": 0, "cell": "4k", "temp": 0.0, "rep": 0, "vram_peak_mib": 17350, "vram_base_mib": 649, "rss_peak_gib": 16.59, "sys_used_delta_gib": 0.93, "load_s": 2.0, "cmd": "/bin/llama-server -m /ornith-APEX-I-COMPACT/Ornith-1.5-35B-A3B-APEX-MTP-I-Compact.gguf --port 8190 --host 127.0.0.1 -np 1 --no-webui --jinja --fit on -c 36864 -fa on -ctk q8_0 -ctv q8_0"} +{"wall_s": 2.27, "prompt_n": 4050, "prompt_ms": 1006.1, "prompt_tps": 4025.444786800517, "pred_n": 152, "pred_tps": 120.91007653367626, "draft_n": null, "draft_acc": null, "text": "Strata is an open-source LLM inference engine whose technical documentation covers its measured performance, configuration options, and underlying mechanics. The document details benchmark results showing token processing and generation speeds across various quantized models (Q2_0, IQ2_XS, IQ3_XXS, ", "config": "llama", "round": 0, "cell": "4k", "temp": 0.0, "rep": 1, "vram_peak_mib": 17351, "vram_base_mib": 649, "rss_peak_gib": 16.59, "sys_used_delta_gib": 1.17, "load_s": 2.0, "cmd": null} +{"wall_s": 2.33, "prompt_n": 4050, "prompt_ms": 1009.243, "prompt_tps": 4012.9086850243198, "pred_n": 159, "pred_tps": 121.84654584322051, "draft_n": null, "draft_acc": null, "text": "# Summary\n\nStrata is a technical benchmarking tool for measuring the inference performance of quantized Mixture-of-Experts (MoE) language models, with detailed speed measurements (prompt processing and output tokens/s) across various context lengths (1K to 262K) and model variants like Q2_0, IQ2_XS,", "config": "llama", "round": 0, "cell": "4k", "temp": 0.7, "rep": 0, "vram_peak_mib": 17351, "vram_base_mib": 649, "rss_peak_gib": 16.59, "sys_used_delta_gib": 1.41, "load_s": 2.0, "cmd": "/bin/llama-server -m /ornith-APEX-I-COMPACT/Ornith-1.5-35B-A3B-APEX-MTP-I-Compact.gguf --port 8190 --host 127.0.0.1 -np 1 --no-webui --jinja --fit on -c 36864 -fa on -ctk q8_0 -ctv q8_0"} +{"wall_s": 2.28, "prompt_n": 4050, "prompt_ms": 1014.689, "prompt_tps": 3991.3707549800974, "pred_n": 153, "pred_tps": 121.77789314630813, "draft_n": null, "draft_acc": null, "text": "# Summary\n\nStrata is an open-source LLM inference engine whose technical details page documents benchmarked performance (prompt/output speed across models like Q2_0, IQ2_XS, and Coder on an RTX 5070), configurable features such as KV caching variants and low-RAM modes, and how its mixture-of-experts", "config": "llama", "round": 0, "cell": "4k", "temp": 0.7, "rep": 1, "vram_peak_mib": 17352, "vram_base_mib": 649, "rss_peak_gib": 16.59, "sys_used_delta_gib": 1.64, "load_s": 2.0, "cmd": null} +{"wall_s": 11.36, "prompt_n": 32048, "prompt_ms": 10222.403, "prompt_tps": 3135.0749916629193, "pred_n": 121, "pred_tps": 109.46268417096613, "draft_n": null, "draft_acc": null, "text": "Strata is a local LLM engine that runs large mixture-of-experts models (Qwen3.8-Flash-Next and its variants) by keeping the most-used experts on the GPU while computing the rest on the CPU, enabling 66-76 GB models to run on consumer hardware. It ships with a web chat app, an OpenAI/Anthropic-compat", "config": "llama", "round": 0, "cell": "32k", "temp": 0.0, "rep": 0, "vram_peak_mib": 17354, "vram_base_mib": 649, "rss_peak_gib": 16.59, "sys_used_delta_gib": 1.79, "load_s": 2.0, "cmd": "/bin/llama-server -m /ornith-APEX-I-COMPACT/Ornith-1.5-35B-A3B-APEX-MTP-I-Compact.gguf --port 8190 --host 127.0.0.1 -np 1 --no-webui --jinja --fit on -c 36864 -fa on -ctk q8_0 -ctv q8_0"} +{"wall_s": 11.43, "prompt_n": 32048, "prompt_ms": 10256.625, "prompt_tps": 3124.6145783822653, "pred_n": 120, "pred_tps": 109.2447697918933, "draft_n": null, "draft_acc": null, "text": "The document is comprehensive technical documentation for Strata, a local LLM inference engine that runs a mixture-of-experts model (based on Qwen3.8-Flash-Next) across a three-tier memory system of GPU VRAM, system RAM, and SSD. It covers installation (Windows/Linux), configurable options like cont", "config": "llama", "round": 0, "cell": "32k", "temp": 0.7, "rep": 0, "vram_peak_mib": 17354, "vram_base_mib": 649, "rss_peak_gib": 16.59, "sys_used_delta_gib": 2.27, "load_s": 2.0, "cmd": "/bin/llama-server -m /ornith-APEX-I-COMPACT/Ornith-1.5-35B-A3B-APEX-MTP-I-Compact.gguf --port 8190 --host 127.0.0.1 -np 1 --no-webui --jinja --fit on -c 36864 -fa on -ctk q8_0 -ctv q8_0"} +{"wall_s": 2.54, "prompt_n": 4050, "prompt_ms": 1008.295, "prompt_tps": 4016.6816259130514, "pred_n": 186, "pred_tps": 121.94720015820178, "draft_n": null, "draft_acc": null, "text": "Strata is an open-source LLM inference engine that uses mixture-of-experts quantization (Q2_0, IQ2_XS, IQ3, Coder) with speculative decoding to run large models efficiently on consumer GPUs, with performance measured on an RTX 5070 showing prompt processing speeds of roughly 1,300-2,200 tokens/s and", "config": "llama", "round": 1, "cell": "4k", "temp": 0.0, "rep": 0, "vram_peak_mib": 17350, "vram_base_mib": 649, "rss_peak_gib": 16.59, "sys_used_delta_gib": 0.9, "load_s": 2.0, "cmd": null} +{"wall_s": 2.33, "prompt_n": 4050, "prompt_ms": 1014.412, "prompt_tps": 3992.460657011155, "pred_n": 159, "pred_tps": 122.25137513453454, "draft_n": null, "draft_acc": null, "text": "Strata is an open-source LLM inference engine whose technical documentation covers its measured performance, configuration options, and underlying mechanics. The document details benchmark results showing token processing and generation speeds across various quantized models (Q2_0, IQ2_XS, IQ3_XXS, ", "config": "llama", "round": 1, "cell": "4k", "temp": 0.0, "rep": 1, "vram_peak_mib": 17351, "vram_base_mib": 649, "rss_peak_gib": 16.59, "sys_used_delta_gib": 1.12, "load_s": 2.0, "cmd": null} +{"wall_s": 2.44, "prompt_n": 4050, "prompt_ms": 1014.2, "prompt_tps": 3993.29520804575, "pred_n": 173, "pred_tps": 121.90497790472277, "draft_n": null, "draft_acc": null, "text": "# Summary\n\nStrata is an open-source inference engine for quantized mixture-of-experts language models, offering a range of models (Q2_0, IQ2_XS, IQ3_XXS, IQ3_S, and Coder) that run on consumer GPUs with memory-efficient techniques like KV streaming, 4-bit KV caches, and a low-RAM mode that maps expe", "config": "llama", "round": 1, "cell": "4k", "temp": 0.7, "rep": 0, "vram_peak_mib": 17351, "vram_base_mib": 649, "rss_peak_gib": 16.59, "sys_used_delta_gib": 1.44, "load_s": 2.0, "cmd": null} +{"wall_s": 2.95, "prompt_n": 4050, "prompt_ms": 1012.445, "prompt_tps": 4000.217295754337, "pred_n": 235, "pred_tps": 122.24594002426112, "draft_n": null, "draft_acc": null, "text": "Here is a three-sentence summary of the Strata technical documentation:\n\nStrata is a quantized Mixture-of-Experts language model engine whose performance is measured on an RTX 5070, with prompt-processing speeds of roughly 1,300\u20132,200 tokens/s and output speeds of 43\u201393 tokens/s depending on model q", "config": "llama", "round": 1, "cell": "4k", "temp": 0.7, "rep": 1, "vram_peak_mib": 17352, "vram_base_mib": 649, "rss_peak_gib": 16.59, "sys_used_delta_gib": 1.68, "load_s": 2.0, "cmd": null} +{"wall_s": 11.45, "prompt_n": 32048, "prompt_ms": 10231.634, "prompt_tps": 3132.2465209369298, "pred_n": 132, "pred_tps": 111.00377921263578, "draft_n": null, "draft_acc": null, "text": "Strata is a local AI engine that runs large mixture-of-experts models (Qwen3.8-Flash-Next and its variants) on consumer PCs by keeping frequently-used experts on the GPU while computing the rest on the CPU, streaming context from RAM and reading an n-gram table from the SSD. It ships with a web chat", "config": "llama", "round": 1, "cell": "32k", "temp": 0.0, "rep": 0, "vram_peak_mib": 17354, "vram_base_mib": 649, "rss_peak_gib": 16.59, "sys_used_delta_gib": 2.28, "load_s": 2.0, "cmd": null} +{"wall_s": 11.84, "prompt_n": 32048, "prompt_ms": 10178.302, "prompt_tps": 3148.6587841469036, "pred_n": 175, "pred_tps": 111.27439883046769, "draft_n": null, "draft_acc": null, "text": "Here is a summary of the Strata documentation:\n\nStrata is a local LLM runtime that runs ISTA-DASLab's GSQ-RCO quantized Qwen3.8-Flash-Next models (Q2_0, IQ2_XS, IQ3_XXS, and a code-specialized Coder) on consumer GPUs, using an expert cache on VRAM combined with CPU computation of uncached experts to", "config": "llama", "round": 1, "cell": "32k", "temp": 0.7, "rep": 0, "vram_peak_mib": 17354, "vram_base_mib": 649, "rss_peak_gib": 16.59, "sys_used_delta_gib": 2.69, "load_s": 2.0, "cmd": null} +{"wall_s": 2.39, "prompt_n": 4050, "prompt_ms": 995.648, "prompt_tps": 4067.702641897538, "pred_n": 171, "pred_tps": 123.97158279624469, "draft_n": null, "draft_acc": null, "text": "Strata is an open-source LLM inference engine whose technical documentation details its performance, measured on an RTX 5070, across various quantized models (Q2_0, IQ2_XS, IQ3_XXS/S, Coder) at context lengths from 1K to the full 262K window, showing both prompt-processing and output token rates. Th", "config": "llama", "round": 2, "cell": "4k", "temp": 0.0, "rep": 0, "vram_peak_mib": 17350, "vram_base_mib": 649, "rss_peak_gib": 16.59, "sys_used_delta_gib": 0.84, "load_s": 2.0, "cmd": null} +{"wall_s": 2.3, "prompt_n": 4050, "prompt_ms": 998.687, "prompt_tps": 4055.3246412539665, "pred_n": 159, "pred_tps": 123.69629584396104, "draft_n": null, "draft_acc": null, "text": "Strata is an open-source LLM inference engine whose technical documentation covers its measured performance, configuration options, and underlying mechanics. The document details benchmark results showing token processing and generation speeds across various quantized models (Q2_0, IQ2_XS, IQ3_XXS, ", "config": "llama", "round": 2, "cell": "4k", "temp": 0.0, "rep": 1, "vram_peak_mib": 17351, "vram_base_mib": 649, "rss_peak_gib": 16.59, "sys_used_delta_gib": 1.06, "load_s": 2.0, "cmd": null} +{"wall_s": 2.24, "prompt_n": 4050, "prompt_ms": 998.477, "prompt_tps": 4056.177558421476, "pred_n": 152, "pred_tps": 123.55477731501557, "draft_n": null, "draft_acc": null, "text": "Here's a three-sentence summary:\n\nStrata is an open-source inference engine for Mixtral-style MoE models that offers a detailed technical reference covering measured performance, configuration options, and installation across Windows and Linux. The documentation reports benchmarked speed figures for", "config": "llama", "round": 2, "cell": "4k", "temp": 0.7, "rep": 0, "vram_peak_mib": 17351, "vram_base_mib": 649, "rss_peak_gib": 16.59, "sys_used_delta_gib": 1.28, "load_s": 2.0, "cmd": null} +{"wall_s": 2.43, "prompt_n": 4050, "prompt_ms": 999.135, "prompt_tps": 4053.506282934739, "pred_n": 176, "pred_tps": 123.80457836405338, "draft_n": null, "draft_acc": null, "text": "Here is a three-sentence summary of the text:\n\nStrata is an open-source inference engine whose technical documentation covers measured performance, configuration options, and how the system works, with benchmark tables showing prompt-processing and output speeds (tokens/s) across models like Q2_0, I", "config": "llama", "round": 2, "cell": "4k", "temp": 0.7, "rep": 1, "vram_peak_mib": 17352, "vram_base_mib": 649, "rss_peak_gib": 16.59, "sys_used_delta_gib": 1.51, "load_s": 2.0, "cmd": null} +{"wall_s": 11.46, "prompt_n": 32048, "prompt_ms": 10103.413, "prompt_tps": 3171.997423049023, "pred_n": 147, "pred_tps": 110.99977343881861, "draft_n": null, "draft_acc": null, "text": "Strata is a local LLM engine that runs large mixture-of-experts models (Qwen3.8-Flash-Next and its variants) by keeping the most-used \"experts\" on the GPU and computing the rest on the CPU in parallel, enabling 66-76 GB models to run on consumer PCs with 32-64 GB of RAM. It ships with a web chat app", "config": "llama", "round": 2, "cell": "32k", "temp": 0.0, "rep": 0, "vram_peak_mib": 17354, "vram_base_mib": 649, "rss_peak_gib": 16.59, "sys_used_delta_gib": 1.73, "load_s": 2.0, "cmd": null} +{"wall_s": 11.91, "prompt_n": 32048, "prompt_ms": 10151.763, "prompt_tps": 3156.8900889431716, "pred_n": 188, "pred_tps": 111.01698084868029, "draft_n": null, "draft_acc": null, "text": "Strata is an open-source local AI framework that runs large mixture-of-experts models (based on Qwen3.8-Flash-Next) on consumer PCs by splitting computation across three memory tiers: the GPU holds the most-used experts, RAM computes experts that don't fit in VRAM, and the SSD stores a large n-gram ", "config": "llama", "round": 2, "cell": "32k", "temp": 0.7, "rep": 0, "vram_peak_mib": 17354, "vram_base_mib": 649, "rss_peak_gib": 16.59, "sys_used_delta_gib": 2.17, "load_s": 2.0, "cmd": null} diff --git a/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/vs-llama/machine.json b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/vs-llama/machine.json new file mode 100644 index 0000000000..238fb5daf7 --- /dev/null +++ b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/vs-llama/machine.json @@ -0,0 +1,53 @@ +{ + "gguf": "/ornith-APEX-I-COMPACT/Ornith-1.5-35B-A3B-APEX-MTP-I-Compact.gguf", + "llama_server": "/bin/llama-server", + "strata_cfg": "/configs/ornith.json", + "serve": "/terminal/serve", + "cwd": "", + "configs": [ + { + "name": "polystrata", + "kind": "strata", + "args": [], + "override": { + "--max-context": "36864" + } + }, + { + "name": "llama-mtp", + "kind": "llama", + "args": [ + "--fit", + "on", + "-c", + "36864", + "-fa", + "on", + "-ctk", + "q8_0", + "-ctv", + "q8_0", + "--spec-type", + "draft-mtp", + "--spec-draft-n-max", + "2" + ] + }, + { + "name": "llama", + "kind": "llama", + "args": [ + "--fit", + "on", + "-c", + "36864", + "-fa", + "on", + "-ctk", + "q8_0", + "-ctv", + "q8_0" + ] + } + ] +} diff --git a/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/vs-llama/polystrata.jsonl b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/vs-llama/polystrata.jsonl new file mode 100644 index 0000000000..3fffda24de --- /dev/null +++ b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/vs-llama/polystrata.jsonl @@ -0,0 +1,18 @@ +{"wall_s": 2.09, "prompt_n": 4052, "prompt_ms": 980.8, "prompt_tps": 4131.3, "pred_n": 113, "pred_tps": 158.0, "draft_n": 60, "draft_acc": 37, "text": "This page documents Strata's technical details, presenting benchmarked speed measurements (prompt processing and output tokens/s) across models and context lengths on an RTX 5070, alongside configurable settings like KV streaming, 4-bit KV cache, and the draft layer's vocabulary. It explains install", "config": "polystrata", "round": 0, "cell": "4k", "temp": 0.0, "rep": 0, "vram_peak_mib": 19416, "vram_base_mib": 649, "rss_peak_gib": 17.18, "sys_used_delta_gib": 0.97, "load_s": 6.0, "cmd": "/.venv/bin/python /terminal/serve/server.py --engine strata --config /vs-llama/strata-cfg-polystrata.json --port 8190"} +{"wall_s": 2.42, "prompt_n": 4052, "prompt_ms": 993.9, "prompt_tps": 4076.9, "pred_n": 167, "pred_tps": 163.2, "draft_n": 91, "draft_acc": 60, "text": "This page documents the technical details of Strata, a GPU-based language model engine, covering its measured performance, configuration options, and how it works. It provides benchmark tables showing prompt processing and output speeds (in tokens/second) for various quantized models (Q2_0, IQ2_XS, ", "config": "polystrata", "round": 0, "cell": "4k", "temp": 0.0, "rep": 1, "vram_peak_mib": 19416, "vram_base_mib": 649, "rss_peak_gib": 17.22, "sys_used_delta_gib": 1.04, "load_s": 6.0, "cmd": null} +{"wall_s": 1.91, "prompt_n": 4052, "prompt_ms": 989.9, "prompt_tps": 4093.3, "pred_n": 75, "pred_tps": 146.3, "draft_n": 39, "draft_acc": 20, "text": "This page documents the technical details of \"Strata,\" an AI inference engine, including measured performance benchmarks across various GPU models and context lengths. It explains various optimization features like speculative decoding, KV cache formats, low-RAM modes, and draft layer configurations", "config": "polystrata", "round": 0, "cell": "4k", "temp": 0.7, "rep": 0, "vram_peak_mib": 19416, "vram_base_mib": 649, "rss_peak_gib": 17.22, "sys_used_delta_gib": 1.04, "load_s": 6.0, "cmd": "/.venv/bin/python /terminal/serve/server.py --engine strata --config /vs-llama/strata-cfg-polystrata.json --port 8190"} +{"wall_s": 1.92, "prompt_n": 4052, "prompt_ms": 988.2, "prompt_tps": 4100.4, "pred_n": 76, "pred_tps": 148.0, "draft_n": 45, "draft_acc": 22, "text": "This page documents the technical details of \"Strata,\" an AI model engine, covering its measured performance, configuration options, and how its engine works. It includes benchmark tables showing prompt processing and output speeds across different models and context lengths, along with explanations", "config": "polystrata", "round": 0, "cell": "4k", "temp": 0.7, "rep": 1, "vram_peak_mib": 19417, "vram_base_mib": 649, "rss_peak_gib": 17.22, "sys_used_delta_gib": 1.04, "load_s": 6.0, "cmd": null} +{"wall_s": 16.01, "prompt_n": 32056, "prompt_ms": 13984.9, "prompt_tps": 2292.2, "pred_n": 175, "pred_tps": 108.5, "draft_n": 100, "draft_acc": 56, "text": "Strata is a local AI engine that runs large mixture-of-experts models (Qwen3.8-Flash-Next and its variants) by splitting computation across three memory tiers: the GPU holds the most-used experts and runs attention, the CPU computes the remaining experts in parallel, and the SSD holds a large n-gram", "config": "polystrata", "round": 0, "cell": "32k", "temp": 0.0, "rep": 0, "vram_peak_mib": 19418, "vram_base_mib": 649, "rss_peak_gib": 17.45, "sys_used_delta_gib": 1.23, "load_s": 6.0, "cmd": "/.venv/bin/python /terminal/serve/server.py --engine strata --config /vs-llama/strata-cfg-polystrata.json --port 8190"} +{"wall_s": 16.13, "prompt_n": 32056, "prompt_ms": 14065.7, "prompt_tps": 2279.0, "pred_n": 179, "pred_tps": 109.2, "draft_n": 104, "draft_acc": 64, "text": "Strata is a local LLM engine that runs multi-expert models (Qwen3.8-Flash-Next in Q2_0, IQ2_XS, IQ3_XXS, plus code and fine-tune variants) by keeping the most-used experts on the GPU and computing the rest on the CPU, with measurements, installation, and configuration details across Windows and Linu", "config": "polystrata", "round": 0, "cell": "32k", "temp": 0.7, "rep": 0, "vram_peak_mib": 19418, "vram_base_mib": 649, "rss_peak_gib": 18.23, "sys_used_delta_gib": 2.05, "load_s": 6.0, "cmd": "/.venv/bin/python /terminal/serve/server.py --engine strata --config /vs-llama/strata-cfg-polystrata.json --port 8190"} +{"wall_s": 1.91, "prompt_n": 4052, "prompt_ms": 981.3, "prompt_tps": 4129.2, "pred_n": 81, "pred_tps": 147.9, "draft_n": 38, "draft_acc": 20, "text": "This is a technical documentation page for \"Strata,\" an AI model engine, detailing its measured performance (prompt processing and output speeds across various models and context lengths), configuration options, and system requirements. It covers GPU benchmarks, KV cache strategies, speculative deco", "config": "polystrata", "round": 1, "cell": "4k", "temp": 0.0, "rep": 0, "vram_peak_mib": 19416, "vram_base_mib": 649, "rss_peak_gib": 17.18, "sys_used_delta_gib": 1.05, "load_s": 6.0, "cmd": null} +{"wall_s": 2.42, "prompt_n": 4052, "prompt_ms": 992.3, "prompt_tps": 4083.4, "pred_n": 159, "pred_tps": 156.3, "draft_n": 98, "draft_acc": 56, "text": "This page documents the technical details of Strata, a quantized Mixture-of-Experts language model engine, covering its measured performance, configuration options, and how it works. It presents benchmark tables showing prompt-processing and output speeds (tokens/s) across various context lengths an", "config": "polystrata", "round": 1, "cell": "4k", "temp": 0.0, "rep": 1, "vram_peak_mib": 19416, "vram_base_mib": 649, "rss_peak_gib": 17.22, "sys_used_delta_gib": 1.05, "load_s": 6.0, "cmd": null} +{"wall_s": 2.4, "prompt_n": 4052, "prompt_ms": 992.6, "prompt_tps": 4082.2, "pred_n": 151, "pred_tps": 154.7, "draft_n": 83, "draft_acc": 51, "text": "This is a technical documentation page for \"Strata,\" an AI inference engine, presenting benchmark speed measurements (prompt processing and output tokens per second) across various quantized models on an RTX 5070, along with explanations of configurable settings like KV caching strategies, low-RAM m", "config": "polystrata", "round": 1, "cell": "4k", "temp": 0.7, "rep": 0, "vram_peak_mib": 19416, "vram_base_mib": 649, "rss_peak_gib": 17.22, "sys_used_delta_gib": 1.05, "load_s": 6.0, "cmd": null} +{"wall_s": 2.45, "prompt_n": 4052, "prompt_ms": 1014.4, "prompt_tps": 3994.5, "pred_n": 152, "pred_tps": 151.5, "draft_n": 78, "draft_acc": 46, "text": "Strata is an open-source LLM inference engine whose technical documentation details its measured performance (prompt and output speeds in tokens/s across context lengths and quantizations, tested on an RTX 5070), its installation and configuration options for Windows and Linux, and its API, MCP tool", "config": "polystrata", "round": 1, "cell": "4k", "temp": 0.7, "rep": 1, "vram_peak_mib": 19417, "vram_base_mib": 649, "rss_peak_gib": 17.23, "sys_used_delta_gib": 1.05, "load_s": 6.0, "cmd": null} +{"wall_s": 16.18, "prompt_n": 32056, "prompt_ms": 14161.5, "prompt_tps": 2263.6, "pred_n": 179, "pred_tps": 111.9, "draft_n": 111, "draft_acc": 67, "text": "Strata is a local LLM server that runs ISTA-DASLab's GSQ-RCO quantized Qwen3.8-Flash-Next models (Q2_0, IQ2_XS, IQ3_XXS, plus a code-focused Coder and Swift 1.5 fine-tune) by splitting 24,576 experts across GPU VRAM, RAM and SSD tiers with speculative decoding and an adaptive cache. It ships a ready", "config": "polystrata", "round": 1, "cell": "32k", "temp": 0.0, "rep": 0, "vram_peak_mib": 19418, "vram_base_mib": 649, "rss_peak_gib": 17.45, "sys_used_delta_gib": 1.05, "load_s": 6.0, "cmd": null} +{"wall_s": 15.79, "prompt_n": 32056, "prompt_ms": 14236.2, "prompt_tps": 2251.7, "pred_n": 110, "pred_tps": 98.0, "draft_n": 61, "draft_acc": 28, "text": "Strata is a local AI engine that runs large MoE models (Qwen3.8-Flash-Next and its variants) across a three-tier memory system, keeping frequently-used experts on the GPU, all experts in RAM, and slow data on the SSD. It achieves high throughput through speculative decoding and fast prompt processin", "config": "polystrata", "round": 1, "cell": "32k", "temp": 0.7, "rep": 0, "vram_peak_mib": 19418, "vram_base_mib": 649, "rss_peak_gib": 18.23, "sys_used_delta_gib": 1.05, "load_s": 6.0, "cmd": null} +{"wall_s": 2.21, "prompt_n": 4052, "prompt_ms": 988.2, "prompt_tps": 4100.4, "pred_n": 137, "pred_tps": 164.8, "draft_n": 71, "draft_acc": 50, "text": "This is a technical documentation page for \"Strata,\" an AI model engine, detailing its performance benchmarks, configuration options, and internal workings.\n\nThe page presents measured speed data (prompt processing and output tokens per second) across various models and context lengths on an RTX 507", "config": "polystrata", "round": 2, "cell": "4k", "temp": 0.0, "rep": 0, "vram_peak_mib": 19415, "vram_base_mib": 649, "rss_peak_gib": 17.19, "sys_used_delta_gib": 0.98, "load_s": 6.0, "cmd": null} +{"wall_s": 2.55, "prompt_n": 4052, "prompt_ms": 990.7, "prompt_tps": 4090.0, "pred_n": 178, "pred_tps": 157.2, "draft_n": 100, "draft_acc": 61, "text": "This page documents the technical details of Strata, a quantized MoL (mixture-of-locals) language model engine, covering its measured performance, configuration options, and how it works. It presents benchmark speed tables (prompt processing and output tokens/s) across various context lengths and qu", "config": "polystrata", "round": 2, "cell": "4k", "temp": 0.0, "rep": 1, "vram_peak_mib": 19417, "vram_base_mib": 649, "rss_peak_gib": 17.23, "sys_used_delta_gib": 1.06, "load_s": 6.0, "cmd": null} +{"wall_s": 1.88, "prompt_n": 4052, "prompt_ms": 993.5, "prompt_tps": 4078.5, "pred_n": 77, "pred_tps": 154.2, "draft_n": 43, "draft_acc": 25, "text": "This is Strata's technical documentation page covering its performance, configuration options, and underlying engine mechanics. It includes benchmark tables showing speed measurements across different GPU models and context lengths, along with detailed explanations of various features like speculati", "config": "polystrata", "round": 2, "cell": "4k", "temp": 0.7, "rep": 0, "vram_peak_mib": 19417, "vram_base_mib": 649, "rss_peak_gib": 17.23, "sys_used_delta_gib": 1.06, "load_s": 6.0, "cmd": null} +{"wall_s": 2.42, "prompt_n": 4052, "prompt_ms": 992.7, "prompt_tps": 4081.8, "pred_n": 156, "pred_tps": 154.1, "draft_n": 89, "draft_acc": 52, "text": "Strata is an open-source LLM inference engine whose performance page documents measured speed (tokens/s) across several quantized models on an RTX 5070, noting that newer engine versions (e.g., 0.1.36) deliver 16-22% faster prompt processing and faster decoding via fused tensor-core and cluster kern", "config": "polystrata", "round": 2, "cell": "4k", "temp": 0.7, "rep": 1, "vram_peak_mib": 19417, "vram_base_mib": 649, "rss_peak_gib": 17.23, "sys_used_delta_gib": 1.06, "load_s": 6.0, "cmd": null} +{"wall_s": 15.9, "prompt_n": 32056, "prompt_ms": 13999.7, "prompt_tps": 2289.8, "pred_n": 172, "pred_tps": 113.6, "draft_n": 91, "draft_acc": 61, "text": "Strata is a local LLM engine that runs 24,576-expert GSQ-RCO quantizations of Qwen3.8-Flash-Next (plus the code-specialist Coder and Swift 1.5 fine-tune) across a GPU/RAM/SSD memory tiering system, using speculative decoding and an adaptive expert cache to keep most expert work on the GPU. It ships ", "config": "polystrata", "round": 2, "cell": "32k", "temp": 0.0, "rep": 0, "vram_peak_mib": 19418, "vram_base_mib": 649, "rss_peak_gib": 17.46, "sys_used_delta_gib": 1.22, "load_s": 6.0, "cmd": null} +{"wall_s": 16.18, "prompt_n": 32056, "prompt_ms": 14099.7, "prompt_tps": 2273.5, "pred_n": 187, "pred_tps": 113.3, "draft_n": 94, "draft_acc": 67, "text": "Strata is a local AI engine that runs large MoE models (Qwen3.8-Flash-Next in Q2_0, IQ2_XS, IQ3_XXS, plus a code-focused Coder and Swift 1.5 variants) on consumer GPUs by keeping frequently-used experts in VRAM, computing the rest on the CPU, and streaming the KV cache from RAM to fit huge context w", "config": "polystrata", "round": 2, "cell": "32k", "temp": 0.7, "rep": 0, "vram_peak_mib": 19418, "vram_base_mib": 649, "rss_peak_gib": 18.23, "sys_used_delta_gib": 1.98, "load_s": 6.0, "cmd": null} diff --git a/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/vs-llama/summary.txt b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/vs-llama/summary.txt new file mode 100644 index 0000000000..51fcc77cd1 --- /dev/null +++ b/docs/bench-results/2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/vs-llama/summary.txt @@ -0,0 +1,14 @@ +| config | ctx | temp | n | prompt tok/s | decode tok/s | TTFT s | draft acc | VRAM peak MiB (delta) | RSS GiB | +|---|---|---|---|---|---|---|---|---|---| +| llama | 32k | 0.0 | 3 | 3135.1 | 111.00 | 10.22 | - | 17354 (+16705) | 16.6 | +| llama | 32k | 0.7 | 3 | 3148.7 | 111.02 | 10.18 | - | 17354 (+16705) | 16.6 | +| llama | 4k | 0.0 | 6 | 4024.1 | 122.10 | 1.01 | - | 17351 (+16702) | 16.6 | +| llama | 4k | 0.7 | 6 | 4006.6 | 122.08 | 1.01 | - | 17352 (+16703) | 16.6 | +| llama-mtp | 32k | 0.0 | 3 | 2951.9 | 108.55 | 10.86 | 0.38 | 18592 (+17943) | 16.6 | +| llama-mtp | 32k | 0.7 | 3 | 2939.8 | 97.18 | 10.90 | 0.30 | 18592 (+17943) | 16.6 | +| llama-mtp | 4k | 0.0 | 6 | 3839.3 | 113.25 | 1.06 | 0.29 | 18588 (+17939) | 16.6 | +| llama-mtp | 4k | 0.7 | 6 | 3832.3 | 119.89 | 1.06 | 0.34 | 18590 (+17941) | 16.6 | +| polystrata | 32k | 0.0 | 3 | 2289.8 | 111.90 | 14.00 | 0.60 | 19418 (+18769) | 17.5 | +| polystrata | 32k | 0.7 | 3 | 2273.5 | 109.20 | 14.10 | 0.62 | 19418 (+18769) | 18.2 | +| polystrata | 4k | 0.0 | 6 | 4095.2 | 157.60 | 0.99 | 0.61 | 19417 (+18768) | 17.2 | +| polystrata | 4k | 0.7 | 6 | 4082.0 | 152.80 | 0.99 | 0.58 | 19417 (+18768) | 17.2 | diff --git a/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/README.md b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/README.md new file mode 100644 index 0000000000..3cf4d2f8bb --- /dev/null +++ b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/README.md @@ -0,0 +1,192 @@ +# Community benchmark on AMD Radeon RX 7900 XTX + +Measured on 2026-12-05 by @dontaskmeformyname. Qwen3.8-Flash-Next Coder IQ1_M and Qwen3.8-Flash-Next +Uncensored IQ3_XXS on this card, each with and without `--mtp`. Measurement only, no engine changes. The same +PolyStrata build and the same model files ran twice without MTP and once with the MTP draft head per model, on +one card, in the order Coder no MTP → Coder MTP → Coder no MTP → Uncensored no MTP → Uncensored MTP → +Uncensored no MTP. All six arms exited 0. + +## Hardware and software + +- GPU: AMD Radeon RX 7900 XTX (gfx1100), 24 GiB (24,560 MiB), one card. It only drives the monitor (HDMI); the + desktop renders on the CPU's integrated GPU (KWin with `KWIN_DRM_DEVICES`, integrated GPU first). +- CPU / RAM: AMD Ryzen 7 7800X3D (8 cores, 16 threads); 90.0 GiB installed RAM. +- Storage: NVMe CT1000T700SSD3 and a Samsung SSD 860 PRO 2TB SATA; model files on the NVMe. +- OS: CachyOS Linux, kernel 7.3.7-2-cachyos. +- ROCm: 10.2.0 in `/opt/rocm/.info/version`; installed packages `rocm-core` 10.2-1.1, `hip-runtime-amd` 10.2-1, + `hipblaslt` 10.2-2, `rocblas` 10.2-2. HIP backend. `hipconfig --version` reports `7.17.0-0000000`. +- PolyStrata: **v0.2.20-poly.7**, source checkout `0d73bb2946`; engine 0.1.66 (`strata --version`), the + production build installed as `~/models/bin/strata`. The `strata_commit` field in `results.json` is `null` + because that binary is not a git checkout; the commit above is the production source revision it was built + from. +- Background load: nothing else on the GPU; other desktop programs were not closed or measured. + +## Models and configuration + +- **Coder**: **Qwen3.8-Flash-Next GSQ-RCO Coder IQ1_M** from + [ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-Coder-GGUF](https://huggingface.co/ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-Coder-GGUF), + upload revision not recorded, two shards: `Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf` + (29,608,446,496 B) and `...-00002-of-00002.gguf` (28,800,138,432 B), 58.4 GB in all. Pack `ista-coder-iq1_m`, + tokenizer from that pack, expert profile `terminal/data/expert-profile-coder.bin`, context 262,144, KV `int8`, + `--kv-resident 32768`, PLE table from shard 00002, vision on (not exercised by this suite). +- **Uncensored**: **OrcaRouter Qwen3.8-Flash-Next Uncensored IQ3_XXS** from + [orcarouter/Qwen3.8-Flash-Next-Uncensored-GGUF](https://huggingface.co/orcarouter/Qwen3.8-Flash-Next-Uncensored-GGUF), + upload revision not recorded, two shards: `Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf` + (44,637,691,008 B) and `...-00002-of-00002.gguf` (40,564,977,024 B), 85.2 GB in all. The PLE table is in + shard 00001, so `--native` and `--ple-gguf` name the same first shard, as [ORCA.md](../../ORCA.md) describes. + Pack `orca-iq3_xxs` built with `--compat-bf16`, tokenizer from that pack, expert profile + `terminal/data/expert-profile.bin`, context 262,144, KV `int8`, `--kv-resident 32768`, vision on (not + exercised). +- Both GGUFs are larger than the card. The engine keeps the expert arena in RAM and streams the experts that the + cache does not hold: the engine logs `loaded 23.42 GiB` (Coder) and `loaded 49.80 GiB` (Uncensored), and + [ORCA.md](../../ORCA.md) gives about 49.8 GiB of free system RAM for the Orca expert arena alone. +- The GSQ-RCO Coder GGUF contains no MTP head, and neither does the OrcaRouter GGUF. Both MTP arms use the head + from the ISTA set of this PR, prepared from the BF16 checkpoint + [Qwen/Qwen3.8-Flash-Next](https://huggingface.co/Qwen/Qwen3.8-Flash-Next) revision + `de4b8e4d43b917e7706784d8bb445c9af86a3540`: 31 `mtp.*` tensors fetched and SHA-256-verified (5.214 GB), + packed as Q2_0 (`mtp-q2_0.gguf`, 889,017,216 B, SHA-256 + `a22206a4d74eafbf31063a84610292535fb3b49af9a339963817fd04aed81e4d`), and written as the runtime folder + `rt/` with `experts.bin` (707,788,800 B, SHA-256 + `09398406be61f1f54c93861f449e48b8df0bfccbc9ec9b2b7636775a6ea9244f`), `dense.bin` (116,099,072 B, + SHA-256 `c724dc0b0822ada5d2977bf5bde821605feabaa64ea2e0045b67ca656329070a`), `dense.txt`, and + `draft_vocab.bin` (425,196 B, SHA-256 `b1e1d3a7a9e4bf862dcd5923ce661fb59bbd07907e594df5cf86a62ac235cb91`). + In both MTP arms the engine log says `draft layer loaded (Q2_0 S2), 835 MiB of VRAM (experts 675, dense 111)` + and `draft head over 106299 tokens` (212.9 MiB for the Coder, 178.4 MiB for the Uncensored arm). With the head + the expert cache holds 8,280 slots instead of 8,846 (Coder) and 8,465 instead of 8,975 (Uncensored). + +The launch command for the Coder MTP arm (the no-MTP arm is identical without the last two lines; the +Uncensored config differs in the pack, model files and expert profile): + +```text +strata --pack /packs/ista-coder-iq1_m \ + --native /ista-flash-next-coder-iq1_m/IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf \ + --ple-gguf /ista-flash-next-coder-iq1_m/IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf \ + --expert-profile /terminal/data/expert-profile-coder.bin \ + --expert-cache auto --prefill auto:16384 --spec 4 --spec-min-p 0.5 \ + --max-context 262144 --kv int8 --vision --kv-resident 32768 --vram-reserve-mib 1024 \ + --conversation-cache-mib 8192 --conversation-cache-slots 8 --prompt-cache 12 \ + --mtp /packs/qwen38-flash-next-mtp/rt +``` + +Both models ran with the production `cmd_prefix` environment: `STRATA_HIPBLASLT_TUNING` pointing at the gfx1100 +table `gfx1100-hipblaslt-100401.txt`, `STRATA_SCORES_THREAD=1`, `STRATA_KV_HOST_DMA=1`, `STRATA_EXPDEC=1`. The +only configuration difference between the arms of a model is `--mtp` (their log paths also differ). Thinking is +off for this suite, as the tool does it. The four configs are in the arm folders (`config.json`), with +``, `` and `` in place of the local paths. + +## Method + +The community guide's quick suite, exactly `python terminal/tools/strata_bench.py --url http://127.0.0.1:8095 +--config --runs 3 --long`, with the server started from the run config +(`server.py --engine strata --config --port 8095`) and stopped after each arm. Model loading is not timed. +One warm-up chat and a 1K prompt are discarded; every measured prompt carries a unique tag, so the fresh-prompt +tests cannot reuse the conversation cache. Speeds are the engine's own `prompt_per_second` / +`predicted_per_second`; first-token time is measured by the client over loopback HTTP. No request was retried. +Suite duration after loading: Coder 138 s / 132 s / 144 s; Uncensored 145 s / 183 s / 179 s (no MTP r1 / MTP / +no MTP r2). This is **not** the draft standard protocol (`strata bench run`); it is the quick speed check the +community guide and the earlier reports in this folder use. + +## Results + +Medians over three runs; ranges are the lowest and highest run. `n` is 9 for chat, 3 for each prompt test and +15 for the agent follow-up turns per arm. Chat sent 46 (43-51) prompt tokens and 100 generated tokens per +request; the prompt tests sent 4,019 / 16,058 / 32,049 tokens with 0 reused and a 24-token cap; the agent's last +turn carried 14,929-14,990 tokens per arm (medians) at a 69.19-69.27 % cache hit with a 64-token cap. Per-request +data is in each arm's `results.json`. + +### Coder IQ1_M + +| Case | no MTP r1 | MTP | no MTP r2 | MTP vs mean | +| --- | ---: | ---: | ---: | ---: | +| Chat decode tok/s | 61.5 (59.1-63.4) | **91.0 (76.9-111.3)** | 63.1 (60.7-65.5) | **+46.1 %** | +| Agent decode tok/s | 64.1 (58.7-75.0) | **97.7 (85.9-124.6)** | 63.4 (22.7-72.5) | **+53.3 %** | +| 4K prompt tok/s | 2,273.4 (2,262.1-2,284.0) | 2,333.1 (2,325.9-2,348.9) | 2,059.8 (1,784.6-2,333.2) | +7.7 % | +| 16K prompt tok/s | 2,278.1 (2,259.7-2,398.7) | 2,666.3 (2,663.8-2,673.0) | 2,411.7 (2,409.5-2,425.6) | **+13.7 %** | +| 32K prompt tok/s | 2,539.4 (2,295.9-2,569.0) | 2,166.3 (2,145.0-2,513.7) | 2,517.5 (2,341.0-2,584.2) | **−14.3 %** | +| Chat TTFT s | 0.27 (0.23-0.83) | 0.27 (0.23-1.71) | 0.35 (0.23-0.78) | −0.04 s | +| Agent TTFT s | 1.73 (1.00-2.32) | 1.56 (1.01-2.47) | 2.11 (1.57-2.30) | −0.36 s | +| 32K TTFT s | 12.65 (12.51-13.99) | 14.83 (12.79-14.98) | 12.77 (12.44-13.72) | +2.12 s | +| Draft acceptance | 37.0 % (110/297) | 58.3 % (1,196/2,051) | 33.5 % (75/224) | — | +| Expert cache slots | 8,846 of 12,288 | 8,280 of 12,288 | 8,847 of 12,288 | −566 | + +`MTP vs mean` is the MTP median compared with the arithmetic mean of the two no-MTP medians. Worked example, +chat decode: (61.5 + 63.1) / 2 = 62.3 tok/s, and 91.0 / 62.3 − 1 = +46.1 %. Every row uses that formula. The two +no-MTP runs differ by +2.6 % (chat decode), −9.4 % (4K prompt), +5.9 % (16K prompt), −0.9 % (32K prompt) and +−1.1 % (agent decode); that spread is this machine's run-to-run drift on that day. + +### Uncensored IQ3_XXS + +| Case | no MTP r1 | MTP | no MTP r2 | MTP vs mean | +| --- | ---: | ---: | ---: | ---: | +| Chat decode tok/s | 52.3 (50.8-55.0) | **73.9 (71.7-92.6)** | 51.9 (49.7-54.9) | **+41.8 %** | +| Agent decode tok/s | 61.7 (51.6-77.9) | **86.1 (32.5-108.3)** | 63.1 (17.0-75.0) | **+38.0 %** | +| 4K prompt tok/s | 1,605.9 (1,333.0-1,609.7) | 1,405.2 (1,077.1-1,563.7) | 1,511.8 (1,332.6-1,525.4) | −9.9 % | +| 16K prompt tok/s | 2,526.4 (2,510.1-2,530.8) | 2,145.7 (1,878.4-2,178.0) | 2,152.7 (1,810.0-2,438.1) | −8.3 % | +| 32K prompt tok/s | 2,549.0 (2,475.5-2,559.7) | 2,164.5 (1,825.6-2,482.0) | 2,582.7 (2,144.8-2,584.6) | **−15.6 %** | +| Chat TTFT s | 0.33 (0.30-0.37) | 0.86 (0.43-1.56) | 1.16 (0.59-1.73) | +0.12 s | +| Agent TTFT s | 2.31 (1.24-3.32) | 2.73 (1.43-4.96) | 2.53 (1.95-4.04) | +0.31 s | +| 32K TTFT s | 12.61 (12.55-12.98) | 14.84 (12.95-17.59) | 12.44 (12.43-14.98) | +2.32 s | +| Draft acceptance | 35.3 % (122/346) | 57.5 % (1,046/1,819) | 41.8 % (84/201) | — | +| Expert cache slots | 8,975 of 24,576 | 8,465 of 24,576 | 8,980 of 24,576 | −505 to −515 | + +Worked example, chat decode: (52.3 + 51.9) / 2 = 52.1 tok/s, and 73.9 / 52.1 − 1 = +41.8 %. The two no-MTP +runs differ by −0.8 % (chat decode), −5.9 % (4K prompt), −14.8 % (16K prompt), +1.3 % (32K prompt) and +2.3 % +(agent decode). The 16K no-MTP r2 value (2,152.7) sits below both the 4K and the 32K result of the same arm and +pulls the no-MTP mean down; the −8.3 % at 16K is reported as measured, not corrected. + +### Agent session + +| Arm | Cache hit | Re-read tokens per session | Decode tok/s | Turn-0 TTFT s | +| --- | ---: | ---: | ---: | ---: | +| Coder no MTP r1 | 69.27 % | 5 | 64.1 (58.7-75.0) | 1.37 (1.24-2.23) | +| Coder MTP | 69.23 % | 5 | 97.7 (85.9-124.6) | 1.73 (0.68-4.42) | +| Coder no MTP r2 | 69.22 % | 5 | 63.4 (22.7-72.5) | 2.06 (1.22-2.14) | +| Uncensored no MTP r1 | 69.22 % | 5 | 61.7 (51.6-77.9) | 0.99 (0.95-1.80) | +| Uncensored MTP | 69.21 % | 5 | 86.1 (32.5-108.3) | 5.33 (3.27-5.86) | +| Uncensored no MTP r2 | 69.19 % | 5 | 63.1 (17.0-75.0) | 3.57 (1.06-6.64) | + +The corpus is the tool's `repo_docs` (`README.md`, `docs/HOW_IT_WORKS.md`, `docs/DETAILS.md`, +`docs/INSTALL.md`, `docs/MODELS.md`, SHA-256 prefix `53e7037ff848`). The Uncensored MTP arm's first agent turn +needed 5.33 s to its first token (3.27-5.86), against 0.99 s in its no-MTP r1 arm and 3.57 s in r2; the engine +log gives no reason, and the follow-up turns of the same arm decode at 86.1 tok/s. + +### Memory + +| Arm | Expert cache slots | Cache in VRAM | VRAM free after load | Highest 2-s VRAM sample | +| --- | ---: | ---: | ---: | ---: | +| Coder no MTP r1 | 8,846 of 12,288 | 16.84 GiB | 1,159 MiB | 22.89 GiB | +| Coder MTP | 8,280 of 12,288 | 15.76 GiB | 986 MiB | 23.06 GiB | +| Coder no MTP r2 | 8,847 of 12,288 | 16.85 GiB | 1,159 MiB | 22.89 GiB | +| Uncensored no MTP r1 | 8,975 of 24,576 | 18.19 GiB | 1,163 MiB | 22.88 GiB | +| Uncensored MTP | 8,465 of 24,576 | 17.15 GiB | 1,205 MiB | 22.84 GiB | +| Uncensored no MTP r2 | 8,980 of 24,576 | 18.20 GiB | 1,164 MiB | 22.88 GiB | + +`VRAM free after load` is the engine's `N MiB of VRAM free with everything loaded` line. The last column is the +maximum of a 2-s `mem_info_vram_used` sample over each arm, so it is a lower bound on the true peak, not a +measurement of it. The startup lines are in each arm's `engine-log-excerpt.txt`. + +## Correctness and limitations + +- This suite is a speed check, not an accuracy test. It includes no task with a pass/fail answer. +- Both models are larger than the 24 GiB card: 58.4 GB (Coder, two shards) and 85.2 GB (Uncensored, two shards). + The engine keeps the expert arena in RAM and streams experts into the card; the cache held 8,280-8,980 slots of + 12,288 (Coder) and 24,576 (Uncensored). The Uncensored cache therefore covers 34-37 % of its experts, and its + decode and prompt numbers depend on the RAM and the PCIe link, not only on the GPU. +- With MTP the Coder cache loses 566 slots (8,846/8,847 → 8,280) and the Uncensored cache 505-515 slots + (8,975/8,980 → 8,465), because the draft layer and its packed head need about 1 GiB of VRAM. The 32K prompt + drop in both models and the 4K/16K prompt drop in the Uncensored model are reported as measured; this run + cannot separate the smaller cache from the order (each MTP arm ran second) or from clock/thermal drift, which + was not logged. +- The two no-MTP runs of a model differ by up to 9.4 % (Coder, 4K prompt) and 14.8 % (Uncensored, 16K prompt). + That drift is the noise floor of this machine that day; differences below it are not effects. +- This set ran on **v0.2.20-poly.7** (`0d73bb2946`), while the other sets in this PR ran on **v0.2.20-poly.6** + (`ce7010d6`). Both report engine 0.1.66, but absolute numbers are not comparable across the sets. +- The MTP head comes from the BF16 base checkpoint, not from either quantization uploader. The Uncensored model + is a fine-tune; its own draft head was not tested, so the 57.5 % acceptance there is the base checkpoint's + head on this fine-tune, not a head prepared from the fine-tune. +- One card, one day, one quantization per model; the order was `no MTP → MTP → no MTP` per model, not + randomized. No `--clients` concurrency run. No vision, recall, coding or long-context needle test. +- `gpu_driver` and `cuda` are `null` in `results.json`: the tool does not read an AMD driver version and this + machine has no CUDA. The ROCm line above was read from the installed packages. +- This is the community guide's quick suite, not the draft standard protocol; the report makes no + standard-benchmark claim. diff --git a/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-mtp/README.md b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-mtp/README.md new file mode 100644 index 0000000000..7e101fe138 --- /dev/null +++ b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-mtp/README.md @@ -0,0 +1,61 @@ +# Community benchmark on AMD Radeon RX 7900 XTX + +Measured on 2026-12-05 with `tools/strata_bench.py` (suite 1, 3 runs per test, medians with ranges). Speeds are the engine's own timings; first-token times are measured by the client over HTTP. Speed only: no correctness check was run. + +## Hardware and software + +- GPU and VRAM: AMD Radeon RX 7900 XTX, 24 GiB VRAM +- CPU: AMD Ryzen 7 7800X3D 8-Core Processor (8 cores, 16 threads); installed RAM: 90.0 GiB; storage: sda Samsung SSD 860 PRO 2TB sata; zram0; nvme0n1 CT1000T700SSD3 nvme +- OS: Linux 7.3.7-2-cachyos; GPU driver: not read; CUDA (driver supports up to): not read +- PolyStrata: project 0.1.66, commit not a git checkout; engine 0.1.66 +- Background workloads: not recorded (GPU power limit/draw read above) + +## Model and configuration + +- Model and quantization: ista-qwen3.8-flash-next-coder-iq1_m +- Context: 262144 tokens; parallel slots: 1 +- Settings: the install's own configuration, unchanged (hip backend); thinking off for the suite; temperature 0 + +```text +strata --pack ista-coder-iq1_m --native Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf --ple-gguf Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf --expert-profile expert-profile-coder.bin --expert-cache auto --prefill auto:16384 --spec 4 --spec-min-p 0.5 --max-context 262144 --kv int8 --vision --kv-resident 32768 --vram-reserve-mib 1024 --conversation-cache-mib 8192 --conversation-cache-slots 8 --prompt-cache 12 --mtp rt +``` + +## Method + +Run by `python tools/strata_bench.py --long` against the HTTP API of a PolyStrata server (already running); model loading is not timed. One warm-up chat and a 1K prompt are discarded first. Every prompt starts with a unique tag, so the conversation cache cannot help the fresh-prompt tests. + +- short chat: the three questions of `tools/ab_engine.py`, up to 100 new tokens, 3 runs +- 4K / 16K prompts: generated word lists sized by a calibration request, 24 new tokens, 3 fresh prompts each +- agent session: system prompt and four tools, then 5 turns that each add about 1500 words of a project file and continue from the model's own earlier answers (the way agent clients resend a conversation), 64 new tokens per turn, 3 sessions; the cache numbers come from the answer's usage (`cached_tokens`) and timings (`prompt_n`) +- concurrency (when run): N requests sent at the same moment, total tokens over the wall time of the burst, latency over all requests + +## Results + +| 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 | +| --- | ---: | ---: | ---: | ---: | --- | --- | --- | +| short chat | 46 (43-51) | 0 | 100 (100-100) | 9 | not measured | 91.0 (76.9-111.3) | 0.27 (0.23-1.71) | +| 4K prompt, fresh | 4019 (4019-4019) | 0 (0-0) | 24 cap | 3 | 2333.1 (2325.9-2348.9) | not measured | 1.74 (1.73-1.75) | +| 16K prompt, fresh | 16058 (16058-16058) | 0 (0-0) | 24 cap | 3 | 2666.3 (2663.8-2673.0) | not measured | 6.05 (6.03-6.06) | +| 32K prompt, fresh | 32049 (32049-32049) | 0 (0-0) | 24 cap | 3 | 2166.3 (2145.0-2513.7) | not measured | 14.83 (12.79-14.98) | +| agent session, follow-up turns | 14982 (14964-14985) at the last turn | see below | up to 64 | 3 | see below | 97.7 (85.9-124.6) | 1.56 (1.01-2.47) | + +Ranges are the lowest and highest of the runs; `Runs` counts requests that returned a token. + +### Agent session (conversation cache) + +Cache hit over the follow-up turns: 69.2 % (69.2-69.2); earlier-turn tokens read again per session: 5 (5-5) (earlier turns that the cache did not hold; the 14102 (14101-14102) new tokens of the files are read once); first turn (nothing cached) first token: 1.73 s (0.68-4.42). Corpus: `repo_docs` (53e7037ff848) [README.md, docs/HOW_IT_WORKS.md, docs/DETAILS.md, docs/INSTALL.md, docs/MODELS.md]. + +| Turn (run 1) | Prompt tokens | Reused | Read | Prompt tok/s | First token (s) | Decode tok/s | +| ---: | ---: | ---: | ---: | ---: | ---: | ---: | +| 0 | 609 | 0 | 609 | 926.5 | 0.678 | 93.9 | +| 1 | 4071 | 626 | 3445 | 2262.7 | 1.547 | 88.2 | +| 2 | 5735 | 4134 | 1601 | 1570.8 | 1.042 | 95.0 | +| 3 | 9106 | 5798 | 3308 | 2205.2 | 1.525 | 85.9 | +| 4 | 11971 | 9169 | 2802 | 1936.2 | 1.471 | 123.1 | +| 5 | 14964 | 12014 | 2950 | 1509.9 | 1.979 | 113.7 | + +Per-request data: `results.json`. Engine log lines from the start: `engine-log-excerpt.txt` (when this run started the server). + +## Correctness and limitations + +Not measured: this is a speed suite. The conversation uses the model's own replies, so token counts differ a little between runs. Machine details come from the server, `nvidia-smi`/`rocm-smi` and the OS; background load is not recorded. Total time of the suite: 132 s. diff --git a/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-mtp/config.json b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-mtp/config.json new file mode 100644 index 0000000000..25a52c5ff0 --- /dev/null +++ b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-mtp/config.json @@ -0,0 +1,57 @@ +{ + "exe": "/bin/strata", + "args": [ + "--pack", + "/packs/ista-coder-iq1_m", + "--native", + "/ista-flash-next-coder-iq1_m/IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf", + "--ple-gguf", + "/ista-flash-next-coder-iq1_m/IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf", + "--expert-profile", + "/terminal/data/expert-profile-coder.bin", + "--expert-cache", + "auto", + "--prefill", + "auto:16384", + "--spec", + "4", + "--spec-min-p", + "0.5", + "--max-context", + "262144", + "--kv", + "int8", + "--vision", + "--kv-resident", + "32768", + "--vram-reserve-mib", + "1024", + "--conversation-cache-mib", + "8192", + "--conversation-cache-slots", + "8", + "--prompt-cache", + "12", + "--mtp", + "/packs/qwen38-flash-next-mtp/rt" + ], + "cwd": "", + "tokenizer": "/packs/ista-coder-iq1_m/tokenizer", + "model_name": "ista-qwen3.8-flash-next-coder-iq1_m", + "display_name": "Qwen3.8-Flash-Next Coder IQ1_M (ISTA GSQ-RCO)", + "log": "/engine-coder-mtp.log", + "lib_dirs": [ + "/opt/rocm/lib" + ], + "gpu": 0, + "gpus_asked": true, + "backend": "hip", + "host": "127.0.0.1", + "open_browser": false, + "vision": { + "exe": "/bin/strata-vision", + "mmproj": "/mmproj/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/ista-flash-next-coder-iq1_m/IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf" + }, + "cmd_prefix": "env STRATA_HIPBLASLT_TUNING=/hermes/projekte/inference-stack/Strata/terminal/tools/hip/gfx1100-hipblaslt-100401.txt STRATA_SCORES_THREAD=1 STRATA_KV_HOST_DMA=1 STRATA_EXPDEC=1 " +} diff --git a/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-mtp/engine-log-excerpt.txt b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-mtp/engine-log-excerpt.txt new file mode 100644 index 0000000000..48bf1569f4 --- /dev/null +++ b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-mtp/engine-log-excerpt.txt @@ -0,0 +1,11 @@ +[strata] 2026-12-05 20:05:58 engine started: /bin/strata --serve --pack /packs/ista-coder-iq1_m --native /ista-flash-next-coder-iq1_m/IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf --ple-gguf /ista-flash-next-coder-iq1_m/IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf --expert-profile /terminal/data/expert-profile-coder.bin --expert-cache auto --prefill auto:16384 --spec 4 --spec-min-p 0.5 --max-context 262144 --kv int8 --vision --kv-resident 32768 --vram-reserve-mib 1024 --conversation-cache-mib 8192 --conversation-cache-slots 8 --prompt-cache 12 --mtp /packs/qwen38-flash-next-mtp/rt --conversation-cache-min-tokens 1024 +strata generate: native pack: /packs/ista-coder-iq1_m experts (largest blob 2.66 MB), token embedding IQ4_XS in mapped host memory (322 MiB, 0.2 s) +strata generate: profile /terminal/data/expert-profile-coder.bin: 12288 ranked pairs, built for 12288 slots +strata mtp: draft layer loaded (Q2_0 S2), 835 MiB of VRAM (experts 675, dense 111), files read in 0.33 s (2347 MiB/s) +strata generate: loaded 23.42 GiB at 4.65 GiB/s +strata generate: expert cache auto: 17.20 GiB free, 1024 MiB reserved (+218 MiB for the draft head, +256 MiB for what is allocated after the cache) -> 8255 slots +strata generate: expert cache 8280 slots, 15.76 GiB of VRAM; policy is +strata generate: pre-filled 8280 of 8280 slots from the profile in 1.2 s (14077 MB/s); slot 0 verified +strata generate: session is up (engine 0.1.66) +strata mtp: draft head over 106299 tokens (212.9 MiB) +strata serve: 986 MiB of VRAM free with everything loaded diff --git a/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-mtp/results.json b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-mtp/results.json new file mode 100644 index 0000000000..c984a798f8 --- /dev/null +++ b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-mtp/results.json @@ -0,0 +1,1030 @@ +{ + "schema": 1, + "tool": "tools/strata_bench.py", + "date": "2026-12-05", + "params": { + "runs": 3, + "think": false, + "clients": 0, + "long": true, + "started_server": false, + "command": "python tools/strata_bench.py --long" + }, + "elapsed_s": 131.83751916885376, + "machine": { + "gpu": [ + "AMD Radeon RX 7900 XTX" + ], + "gpu_vram_mib": 24560.0, + "gpu_driver": null, + "gpu_detail": [ + {} + ], + "cuda": null, + "engine_build": null, + "cpu": "AMD Ryzen 7 7800X3D 8-Core Processor", + "cpu_cores": 8, + "storage": "sda Samsung SSD 860 PRO 2TB sata; zram0; nvme0n1 CT1000T700SSD3 nvme", + "cpu_threads": 16, + "ram_gib": 90.0, + "os": "Linux 7.3.7-2-cachyos", + "python": "3.14.10", + "strata_version": "0.1.66", + "strata_commit": null, + "engine_version": "0.1.66", + "model": "ista-qwen3.8-flash-next-coder-iq1_m", + "quant": "IQ1_M", + "context": 262144, + "parallel_slots": 1, + "config": { + "exe": "strata", + "args": [ + "--pack", + "ista-coder-iq1_m", + "--native", + "Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf", + "--ple-gguf", + "Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf", + "--expert-profile", + "expert-profile-coder.bin", + "--expert-cache", + "auto", + "--prefill", + "auto:16384", + "--spec", + "4", + "--spec-min-p", + "0.5", + "--max-context", + "262144", + "--kv", + "int8", + "--vision", + "--kv-resident", + "32768", + "--vram-reserve-mib", + "1024", + "--conversation-cache-mib", + "8192", + "--conversation-cache-slots", + "8", + "--prompt-cache", + "12", + "--mtp", + "rt" + ], + "model_name": "ista-qwen3.8-flash-next-coder-iq1_m", + "display_name": "Qwen3.8-Flash-Next Coder IQ1_M (ISTA GSQ-RCO)", + "lib_dirs": [ + "/opt/rocm/lib" + ], + "gpu": 0, + "gpus_asked": true, + "backend": "hip", + "host": "127.0.0.1", + "open_browser": false, + "vision": { + "exe": "/models/bin/strata-vision", + "mmproj": "/models/mmproj/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/models/ista-flash-next-coder-iq1_m/IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf" + }, + "cmd_prefix": "gfx1100-hipblaslt-100401.txt STRATA_SCORES_THREAD=1 STRATA_KV_HOST_DMA=1 STRATA_EXPDEC=1 " + }, + "launch": "strata --pack ista-coder-iq1_m --native Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf --ple-gguf Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf --expert-profile expert-profile-coder.bin --expert-cache auto --prefill auto:16384 --spec 4 --spec-min-p 0.5 --max-context 262144 --kv int8 --vision --kv-resident 32768 --vram-reserve-mib 1024 --conversation-cache-mib 8192 --conversation-cache-slots 8 --prompt-cache 12 --mtp rt", + "engine_info": { + "model": "ista-qwen3.8-flash-next-coder-iq1_m", + "max_context": 262144, + "images": true, + "gen": 1, + "version": "0.1.66", + "logit_bias": 1, + "context": 262144, + "kv": "int8", + "kv_resident": 32768, + "expert_slots": 8280, + "experts": 12288, + "expert_cache_mib": 16140, + "expert_slots_primary": 8280, + "expert_cache_primary_mib": 16140, + "spec": 6, + "mtp_max": 4, + "lookup": 3, + "vram_free_mib": 986, + "cvec": 0, + "arena_mib": 23981, + "pool_workers": 7, + "pcie_frac": "0.15", + "spec_min_p": "0.50", + "conversation_cache_mib": 8192, + "conversation_cache_slots": 8, + "conversation_cache_min_free_mib": 2560, + "conversation_cache_min_tokens": 1024, + "tail_role_token": -1, + "vram_elastic": 0, + "prefill_cap": 16384, + "prefill_stages": 1, + "stream_all_min": 3072, + "prefill_pipe": 0, + "engine": "0.1.66", + "drafting": "mtp", + "drafting_note": "" + }, + "vram_after": { + "elastic": false + } + }, + "results": { + "chat": { + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 1.705, + "total_s": 2.629, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 30.2, + "prompt_tps_source": "engine", + "decode_tps": 106.7, + "decode_tps_source": "engine", + "prompt_ms": 1688.2, + "decode_ms": 937.5, + "drafts_offered": 92, + "drafts_accepted": 66, + "run": 0, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.08, + "total_s": 2.367, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 40.5, + "prompt_tps_source": "engine", + "decode_tps": 76.9, + "decode_tps_source": "engine", + "prompt_ms": 1062.6, + "decode_ms": 1301.2, + "drafts_offered": 102, + "drafts_accepted": 47, + "run": 0, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.273, + "total_s": 1.41, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 180.3, + "prompt_tps_source": "engine", + "decode_tps": 86.8, + "decode_tps_source": "engine", + "prompt_ms": 255.1, + "decode_ms": 1151.8, + "drafts_offered": 101, + "drafts_accepted": 54, + "run": 0, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.29, + "total_s": 1.173, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 187.5, + "prompt_tps_source": "engine", + "decode_tps": 111.3, + "decode_tps_source": "engine", + "prompt_ms": 272.0, + "decode_ms": 898.1, + "drafts_offered": 90, + "drafts_accepted": 66, + "run": 1, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.241, + "total_s": 1.452, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 192.7, + "prompt_tps_source": "engine", + "decode_tps": 81.6, + "decode_tps_source": "engine", + "prompt_ms": 223.2, + "decode_ms": 1225.1, + "drafts_offered": 100, + "drafts_accepted": 46, + "run": 1, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.254, + "total_s": 1.338, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 194.8, + "prompt_tps_source": "engine", + "decode_tps": 91.0, + "decode_tps_source": "engine", + "prompt_ms": 236.2, + "decode_ms": 1099.0, + "drafts_offered": 101, + "drafts_accepted": 54, + "run": 1, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.284, + "total_s": 1.18, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 191.4, + "prompt_tps_source": "engine", + "decode_tps": 109.9, + "decode_tps_source": "engine", + "prompt_ms": 266.5, + "decode_ms": 910.1, + "drafts_offered": 93, + "drafts_accepted": 66, + "run": 2, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.234, + "total_s": 1.424, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 198.6, + "prompt_tps_source": "engine", + "decode_tps": 83.0, + "decode_tps_source": "engine", + "prompt_ms": 216.5, + "decode_ms": 1204.8, + "drafts_offered": 99, + "drafts_accepted": 47, + "run": 2, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.254, + "total_s": 1.32, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 194.3, + "prompt_tps_source": "engine", + "decode_tps": 92.6, + "decode_tps_source": "engine", + "prompt_ms": 236.8, + "decode_ms": 1080.4, + "drafts_offered": 95, + "drafts_accepted": 54, + "run": 2, + "prompt": 2 + } + ], + "decode_tps": { + "median": 91.0, + "min": 76.9, + "max": 111.3, + "n": 9 + }, + "ttft_s": { + "median": 0.273, + "min": 0.234, + "max": 1.705, + "n": 9 + }, + "generated_tokens": { + "median": 100, + "min": 100, + "max": 100, + "n": 9 + }, + "prompt_tokens": { + "median": 46, + "min": 43, + "max": 51, + "n": 9 + } + }, + "prompts": { + "4K": { + "target_tokens": 4096, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 1.731, + "total_s": 2.072, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 2348.9, + "prompt_tps_source": "engine", + "decode_tps": 67.3, + "decode_tps_source": "engine", + "prompt_ms": 1711.0, + "decode_ms": 356.4, + "drafts_offered": 26, + "drafts_accepted": 9, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.743, + "total_s": 2.069, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 2333.1, + "prompt_tps_source": "engine", + "decode_tps": 70.5, + "decode_tps_source": "engine", + "prompt_ms": 1722.6, + "decode_ms": 340.2, + "drafts_offered": 28, + "drafts_accepted": 9, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.748, + "total_s": 2.066, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 2325.9, + "prompt_tps_source": "engine", + "decode_tps": 72.1, + "decode_tps_source": "engine", + "prompt_ms": 1727.9, + "decode_ms": 332.7, + "drafts_offered": 27, + "drafts_accepted": 9, + "run": 2 + } + ], + "prompt_tps": { + "median": 2333.1, + "min": 2325.9, + "max": 2348.9, + "n": 3 + }, + "ttft_s": { + "median": 1.743, + "min": 1.731, + "max": 1.748, + "n": 3 + }, + "prompt_tokens": { + "median": 4019, + "min": 4019, + "max": 4019, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "16K": { + "target_tokens": 16384, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 6.034, + "total_s": 6.304, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 2673.0, + "prompt_tps_source": "engine", + "decode_tps": 84.2, + "decode_tps_source": "engine", + "prompt_ms": 6007.5, + "decode_ms": 285.2, + "drafts_offered": 21, + "drafts_accepted": 12, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 6.056, + "total_s": 6.386, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 2663.8, + "prompt_tps_source": "engine", + "decode_tps": 69.6, + "decode_tps_source": "engine", + "prompt_ms": 6028.3, + "decode_ms": 344.8, + "drafts_offered": 28, + "drafts_accepted": 9, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 6.049, + "total_s": 6.343, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 2666.3, + "prompt_tps_source": "engine", + "decode_tps": 77.7, + "decode_tps_source": "engine", + "prompt_ms": 6022.6, + "decode_ms": 309.0, + "drafts_offered": 22, + "drafts_accepted": 10, + "run": 2 + } + ], + "prompt_tps": { + "median": 2666.3, + "min": 2663.8, + "max": 2673.0, + "n": 3 + }, + "ttft_s": { + "median": 6.049, + "min": 6.034, + "max": 6.056, + "n": 3 + }, + "prompt_tokens": { + "median": 16058, + "min": 16058, + "max": 16058, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "32K": { + "target_tokens": 32768, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 14.828, + "total_s": 15.099, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 2166.3, + "prompt_tps_source": "engine", + "decode_tps": 83.7, + "decode_tps_source": "engine", + "prompt_ms": 14794.6, + "decode_ms": 286.7, + "drafts_offered": 18, + "drafts_accepted": 13, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 12.787, + "total_s": 13.038, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 2513.7, + "prompt_tps_source": "engine", + "decode_tps": 90.1, + "decode_tps_source": "engine", + "prompt_ms": 12749.9, + "decode_ms": 266.3, + "drafts_offered": 18, + "drafts_accepted": 13, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 14.976, + "total_s": 15.216, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 2145.0, + "prompt_tps_source": "engine", + "decode_tps": 93.8, + "decode_tps_source": "engine", + "prompt_ms": 14941.2, + "decode_ms": 256.0, + "drafts_offered": 18, + "drafts_accepted": 13, + "run": 2 + } + ], + "prompt_tps": { + "median": 2166.3, + "min": 2145.0, + "max": 2513.7, + "n": 3 + }, + "ttft_s": { + "median": 14.828, + "min": 12.787, + "max": 14.976, + "n": 3 + }, + "prompt_tokens": { + "median": 32049, + "min": 32049, + "max": 32049, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + } + }, + "agent": { + "corpus": "repo_docs", + "corpus_files": [ + "README.md", + "docs/HOW_IT_WORKS.md", + "docs/DETAILS.md", + "docs/INSTALL.md", + "docs/MODELS.md" + ], + "corpus_sha256": "53e7037ff848", + "sessions": [ + [ + { + "ok": true, + "err": null, + "ttft_s": 0.678, + "total_s": 0.855, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 18, + "prompt_tps": 926.5, + "prompt_tps_source": "engine", + "decode_tps": 93.9, + "decode_tps_source": "engine", + "prompt_ms": 657.3, + "decode_ms": 191.7, + "drafts_offered": 14, + "drafts_accepted": 10, + "run": 0, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.547, + "total_s": 2.258, + "prompt_tokens": 4071, + "reused_tokens": 626, + "read_tokens": 3445, + "generated_tokens": 64, + "prompt_tps": 2262.7, + "prompt_tps_source": "engine", + "decode_tps": 88.2, + "decode_tps_source": "engine", + "prompt_ms": 1522.5, + "decode_ms": 725.4, + "drafts_offered": 67, + "drafts_accepted": 37, + "run": 0, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.042, + "total_s": 1.7, + "prompt_tokens": 5735, + "reused_tokens": 4134, + "read_tokens": 1601, + "generated_tokens": 64, + "prompt_tps": 1570.8, + "prompt_tps_source": "engine", + "decode_tps": 95.0, + "decode_tps_source": "engine", + "prompt_ms": 1019.2, + "decode_ms": 673.8, + "drafts_offered": 67, + "drafts_accepted": 38, + "run": 0, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.525, + "total_s": 2.256, + "prompt_tokens": 9106, + "reused_tokens": 5798, + "read_tokens": 3308, + "generated_tokens": 64, + "prompt_tps": 2205.2, + "prompt_tps_source": "engine", + "decode_tps": 85.9, + "decode_tps_source": "engine", + "prompt_ms": 1500.1, + "decode_ms": 745.1, + "drafts_offered": 66, + "drafts_accepted": 32, + "run": 0, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.471, + "total_s": 1.814, + "prompt_tokens": 11971, + "reused_tokens": 9169, + "read_tokens": 2802, + "generated_tokens": 44, + "prompt_tps": 1936.2, + "prompt_tps_source": "engine", + "decode_tps": 123.1, + "decode_tps_source": "engine", + "prompt_ms": 1447.2, + "decode_ms": 357.5, + "drafts_offered": 38, + "drafts_accepted": 30, + "run": 0, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.979, + "total_s": 2.527, + "prompt_tokens": 14964, + "reused_tokens": 12014, + "read_tokens": 2950, + "generated_tokens": 64, + "prompt_tps": 1509.9, + "prompt_tps_source": "engine", + "decode_tps": 113.7, + "decode_tps_source": "engine", + "prompt_ms": 1953.8, + "decode_ms": 563.1, + "drafts_offered": 60, + "drafts_accepted": 43, + "run": 0, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 1.725, + "total_s": 1.941, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 18, + "prompt_tps": 356.8, + "prompt_tps_source": "engine", + "decode_tps": 78.0, + "decode_tps_source": "engine", + "prompt_ms": 1706.8, + "decode_ms": 230.7, + "drafts_offered": 20, + "drafts_accepted": 8, + "run": 1, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.541, + "total_s": 2.181, + "prompt_tokens": 4071, + "reused_tokens": 626, + "read_tokens": 3445, + "generated_tokens": 64, + "prompt_tps": 2266.0, + "prompt_tps_source": "engine", + "decode_tps": 97.7, + "decode_tps_source": "engine", + "prompt_ms": 1520.3, + "decode_ms": 655.4, + "drafts_offered": 61, + "drafts_accepted": 36, + "run": 1, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.014, + "total_s": 1.664, + "prompt_tokens": 5735, + "reused_tokens": 4134, + "read_tokens": 1601, + "generated_tokens": 64, + "prompt_tps": 1614.1, + "prompt_tps_source": "engine", + "decode_tps": 96.2, + "decode_tps_source": "engine", + "prompt_ms": 991.9, + "decode_ms": 665.3, + "drafts_offered": 67, + "drafts_accepted": 37, + "run": 1, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.99, + "total_s": 2.654, + "prompt_tokens": 9106, + "reused_tokens": 5798, + "read_tokens": 3308, + "generated_tokens": 64, + "prompt_tps": 1681.3, + "prompt_tps_source": "engine", + "decode_tps": 94.3, + "decode_tps_source": "engine", + "prompt_ms": 1967.5, + "decode_ms": 678.8, + "drafts_offered": 64, + "drafts_accepted": 35, + "run": 1, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.207, + "total_s": 2.706, + "prompt_tokens": 11971, + "reused_tokens": 9169, + "read_tokens": 2802, + "generated_tokens": 64, + "prompt_tps": 1282.1, + "prompt_tps_source": "engine", + "decode_tps": 124.6, + "decode_tps_source": "engine", + "prompt_ms": 2185.5, + "decode_ms": 513.5, + "drafts_offered": 57, + "drafts_accepted": 44, + "run": 1, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.472, + "total_s": 2.981, + "prompt_tokens": 14985, + "reused_tokens": 12034, + "read_tokens": 2951, + "generated_tokens": 64, + "prompt_tps": 1204.8, + "prompt_tps_source": "engine", + "decode_tps": 122.1, + "decode_tps_source": "engine", + "prompt_ms": 2449.3, + "decode_ms": 524.1, + "drafts_offered": 57, + "drafts_accepted": 44, + "run": 1, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 4.422, + "total_s": 4.617, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 15, + "prompt_tps": 138.3, + "prompt_tps_source": "engine", + "decode_tps": 71.9, + "decode_tps_source": "engine", + "prompt_ms": 4404.1, + "decode_ms": 208.5, + "drafts_offered": 19, + "drafts_accepted": 6, + "run": 2, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.559, + "total_s": 2.145, + "prompt_tokens": 4068, + "reused_tokens": 623, + "read_tokens": 3445, + "generated_tokens": 64, + "prompt_tps": 2240.4, + "prompt_tps_source": "engine", + "decode_tps": 106.5, + "decode_tps_source": "engine", + "prompt_ms": 1537.7, + "decode_ms": 600.9, + "drafts_offered": 65, + "drafts_accepted": 40, + "run": 2, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.1, + "total_s": 1.771, + "prompt_tokens": 5732, + "reused_tokens": 4131, + "read_tokens": 1601, + "generated_tokens": 64, + "prompt_tps": 1486.3, + "prompt_tps_source": "engine", + "decode_tps": 93.2, + "decode_tps_source": "engine", + "prompt_ms": 1077.2, + "decode_ms": 686.9, + "drafts_offered": 70, + "drafts_accepted": 36, + "run": 2, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.257, + "total_s": 2.897, + "prompt_tokens": 9103, + "reused_tokens": 5795, + "read_tokens": 3308, + "generated_tokens": 64, + "prompt_tps": 1480.4, + "prompt_tps_source": "engine", + "decode_tps": 97.7, + "decode_tps_source": "engine", + "prompt_ms": 2234.6, + "decode_ms": 655.1, + "drafts_offered": 66, + "drafts_accepted": 37, + "run": 2, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.197, + "total_s": 2.705, + "prompt_tokens": 11968, + "reused_tokens": 9166, + "read_tokens": 2802, + "generated_tokens": 64, + "prompt_tps": 1288.5, + "prompt_tps_source": "engine", + "decode_tps": 122.6, + "decode_tps_source": "engine", + "prompt_ms": 2174.7, + "decode_ms": 522.2, + "drafts_offered": 56, + "drafts_accepted": 43, + "run": 2, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.23, + "total_s": 2.753, + "prompt_tokens": 14982, + "reused_tokens": 12031, + "read_tokens": 2951, + "generated_tokens": 64, + "prompt_tps": 1338.5, + "prompt_tps_source": "engine", + "decode_tps": 119.0, + "decode_tps_source": "engine", + "prompt_ms": 2204.7, + "decode_ms": 537.9, + "drafts_offered": 58, + "drafts_accepted": 43, + "run": 2, + "turn": 5 + } + ] + ], + "hit_pct": { + "median": 69.234, + "min": 69.232, + "max": 69.244, + "n": 3 + }, + "reread_tokens": { + "median": 5, + "min": 5, + "max": 5, + "n": 3 + }, + "new_tokens": { + "median": 14102, + "min": 14101, + "max": 14102, + "n": 3 + }, + "turn_ttft_s": { + "median": 1.559, + "min": 1.014, + "max": 2.472, + "n": 15 + }, + "last_turn_prompt_tokens": { + "median": 14982, + "min": 14964, + "max": 14985, + "n": 3 + }, + "turn_decode_tps": { + "median": 97.7, + "min": 85.9, + "max": 124.6, + "n": 15 + }, + "first_turn_ttft_s": { + "median": 1.725, + "min": 0.678, + "max": 4.422, + "n": 3 + } + }, + "clients": {}, + "skipped": {}, + "failures": [] + } +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp-r2/README.md b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp-r2/README.md new file mode 100644 index 0000000000..143f065339 --- /dev/null +++ b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp-r2/README.md @@ -0,0 +1,61 @@ +# Community benchmark on AMD Radeon RX 7900 XTX + +Measured on 2026-12-05 with `tools/strata_bench.py` (suite 1, 3 runs per test, medians with ranges). Speeds are the engine's own timings; first-token times are measured by the client over HTTP. Speed only: no correctness check was run. + +## Hardware and software + +- GPU and VRAM: AMD Radeon RX 7900 XTX, 24 GiB VRAM +- CPU: AMD Ryzen 7 7800X3D 8-Core Processor (8 cores, 16 threads); installed RAM: 90.0 GiB; storage: sda Samsung SSD 860 PRO 2TB sata; zram0; nvme0n1 CT1000T700SSD3 nvme +- OS: Linux 7.3.7-2-cachyos; GPU driver: not read; CUDA (driver supports up to): not read +- PolyStrata: project 0.1.66, commit not a git checkout; engine 0.1.66 +- Background workloads: not recorded (GPU power limit/draw read above) + +## Model and configuration + +- Model and quantization: ista-qwen3.8-flash-next-coder-iq1_m +- Context: 262144 tokens; parallel slots: 1 +- Settings: the install's own configuration, unchanged (hip backend); thinking off for the suite; temperature 0 + +```text +strata --pack ista-coder-iq1_m --native Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf --ple-gguf Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf --expert-profile expert-profile-coder.bin --expert-cache auto --prefill auto:16384 --spec 4 --spec-min-p 0.5 --max-context 262144 --kv int8 --vision --kv-resident 32768 --vram-reserve-mib 1024 --conversation-cache-mib 8192 --conversation-cache-slots 8 --prompt-cache 12 +``` + +## Method + +Run by `python tools/strata_bench.py --long` against the HTTP API of a PolyStrata server (already running); model loading is not timed. One warm-up chat and a 1K prompt are discarded first. Every prompt starts with a unique tag, so the conversation cache cannot help the fresh-prompt tests. + +- short chat: the three questions of `tools/ab_engine.py`, up to 100 new tokens, 3 runs +- 4K / 16K prompts: generated word lists sized by a calibration request, 24 new tokens, 3 fresh prompts each +- agent session: system prompt and four tools, then 5 turns that each add about 1500 words of a project file and continue from the model's own earlier answers (the way agent clients resend a conversation), 64 new tokens per turn, 3 sessions; the cache numbers come from the answer's usage (`cached_tokens`) and timings (`prompt_n`) +- concurrency (when run): N requests sent at the same moment, total tokens over the wall time of the burst, latency over all requests + +## Results + +| 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 | +| --- | ---: | ---: | ---: | ---: | --- | --- | --- | +| short chat | 46 (43-51) | 0 | 100 (100-100) | 9 | not measured | 63.1 (60.7-65.5) | 0.35 (0.23-0.78) | +| 4K prompt, fresh | 4019 (4019-4019) | 0 (0-0) | 24 cap | 3 | 2059.8 (1784.6-2333.2) | not measured | 1.97 (1.74-2.27) | +| 16K prompt, fresh | 16058 (16058-16058) | 0 (0-0) | 24 cap | 3 | 2411.7 (2409.5-2425.6) | not measured | 6.69 (6.65-6.69) | +| 32K prompt, fresh | 32049 (32049-32049) | 0 (0-0) | 24 cap | 3 | 2517.5 (2341.0-2584.2) | not measured | 12.77 (12.44-13.72) | +| agent session, follow-up turns | 14961 (14950-14985) at the last turn | see below | up to 64 | 3 | see below | 63.4 (22.7-72.5) | 2.11 (1.57-2.30) | + +Ranges are the lowest and highest of the runs; `Runs` counts requests that returned a token. + +### Agent session (conversation cache) + +Cache hit over the follow-up turns: 69.2 % (69.2-69.2); earlier-turn tokens read again per session: 5 (5-5) (earlier turns that the cache did not hold; the 14101 (14101-14102) new tokens of the files are read once); first turn (nothing cached) first token: 2.06 s (1.22-2.14). Corpus: `repo_docs` (53e7037ff848) [README.md, docs/HOW_IT_WORKS.md, docs/DETAILS.md, docs/INSTALL.md, docs/MODELS.md]. + +| Turn (run 1) | Prompt tokens | Reused | Read | Prompt tok/s | First token (s) | Decode tok/s | +| ---: | ---: | ---: | ---: | ---: | ---: | ---: | +| 0 | 609 | 0 | 609 | 507.1 | 1.221 | 59.7 | +| 1 | 4071 | 626 | 3445 | 1513.0 | 2.301 | 59.4 | +| 2 | 5735 | 4134 | 1601 | 768.2 | 2.106 | 59.7 | +| 3 | 9106 | 5798 | 3308 | 1589.0 | 2.109 | 66.0 | +| 4 | 11971 | 9169 | 2802 | 1363.6 | 2.08 | 65.3 | +| 5 | 14985 | 12034 | 2951 | 1389.0 | 2.149 | 72.5 | + +Per-request data: `results.json`. Engine log lines from the start: `engine-log-excerpt.txt` (when this run started the server). + +## Correctness and limitations + +Not measured: this is a speed suite. The conversation uses the model's own replies, so token counts differ a little between runs. Machine details come from the server, `nvidia-smi`/`rocm-smi` and the OS; background load is not recorded. Total time of the suite: 144 s. diff --git a/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp-r2/config.json b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp-r2/config.json new file mode 100644 index 0000000000..9cb3772c05 --- /dev/null +++ b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp-r2/config.json @@ -0,0 +1,55 @@ +{ + "exe": "/bin/strata", + "args": [ + "--pack", + "/packs/ista-coder-iq1_m", + "--native", + "/ista-flash-next-coder-iq1_m/IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf", + "--ple-gguf", + "/ista-flash-next-coder-iq1_m/IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf", + "--expert-profile", + "/terminal/data/expert-profile-coder.bin", + "--expert-cache", + "auto", + "--prefill", + "auto:16384", + "--spec", + "4", + "--spec-min-p", + "0.5", + "--max-context", + "262144", + "--kv", + "int8", + "--vision", + "--kv-resident", + "32768", + "--vram-reserve-mib", + "1024", + "--conversation-cache-mib", + "8192", + "--conversation-cache-slots", + "8", + "--prompt-cache", + "12" + ], + "cwd": "", + "tokenizer": "/packs/ista-coder-iq1_m/tokenizer", + "model_name": "ista-qwen3.8-flash-next-coder-iq1_m", + "display_name": "Qwen3.8-Flash-Next Coder IQ1_M (ISTA GSQ-RCO)", + "log": "/engine-coder-nomtp.log", + "lib_dirs": [ + "/opt/rocm/lib" + ], + "gpu": 0, + "gpus_asked": true, + "backend": "hip", + "host": "127.0.0.1", + "open_browser": false, + "vision": { + "exe": "/bin/strata-vision", + "mmproj": "/mmproj/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/ista-flash-next-coder-iq1_m/IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf" + }, + "cmd_prefix": "env STRATA_HIPBLASLT_TUNING=/hermes/projekte/inference-stack/Strata/terminal/tools/hip/gfx1100-hipblaslt-100401.txt STRATA_SCORES_THREAD=1 STRATA_KV_HOST_DMA=1 STRATA_EXPDEC=1 " +} diff --git a/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp-r2/engine-log-excerpt.txt b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp-r2/engine-log-excerpt.txt new file mode 100644 index 0000000000..3bb894c9f9 --- /dev/null +++ b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp-r2/engine-log-excerpt.txt @@ -0,0 +1,9 @@ +[strata] 2026-12-05 20:08:35 engine started: /bin/strata --serve --pack /packs/ista-coder-iq1_m --native /ista-flash-next-coder-iq1_m/IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf --ple-gguf /ista-flash-next-coder-iq1_m/IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf --expert-profile /terminal/data/expert-profile-coder.bin --expert-cache auto --prefill auto:16384 --spec 4 --spec-min-p 0.5 --max-context 262144 --kv int8 --vision --kv-resident 32768 --vram-reserve-mib 1024 --conversation-cache-mib 8192 --conversation-cache-slots 8 --prompt-cache 12 --conversation-cache-min-tokens 1024 +strata generate: native pack: /packs/ista-coder-iq1_m experts (largest blob 2.66 MB), token embedding IQ4_XS in mapped host memory (322 MiB, 0.2 s) +strata generate: profile /terminal/data/expert-profile-coder.bin: 12288 ranked pairs, built for 12288 slots +strata generate: loaded 23.42 GiB at 5.09 GiB/s +strata generate: expert cache auto: 18.07 GiB free, 1024 MiB reserved (+0 MiB for the draft head, +256 MiB for what is allocated after the cache) -> 8823 slots +strata generate: expert cache 8847 slots, 16.85 GiB of VRAM; policy is +strata generate: pre-filled 8847 of 8847 slots from the profile in 1.3 s (13672 MB/s); slot 0 verified +strata generate: session is up (engine 0.1.66) +strata serve: 1159 MiB of VRAM free with everything loaded diff --git a/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp-r2/results.json b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp-r2/results.json new file mode 100644 index 0000000000..c3473267fe --- /dev/null +++ b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp-r2/results.json @@ -0,0 +1,1028 @@ +{ + "schema": 1, + "tool": "tools/strata_bench.py", + "date": "2026-12-05", + "params": { + "runs": 3, + "think": false, + "clients": 0, + "long": true, + "started_server": false, + "command": "python tools/strata_bench.py --long" + }, + "elapsed_s": 144.3888339996338, + "machine": { + "gpu": [ + "AMD Radeon RX 7900 XTX" + ], + "gpu_vram_mib": 24560.0, + "gpu_driver": null, + "gpu_detail": [ + {} + ], + "cuda": null, + "engine_build": null, + "cpu": "AMD Ryzen 7 7800X3D 8-Core Processor", + "cpu_cores": 8, + "storage": "sda Samsung SSD 860 PRO 2TB sata; zram0; nvme0n1 CT1000T700SSD3 nvme", + "cpu_threads": 16, + "ram_gib": 90.0, + "os": "Linux 7.3.7-2-cachyos", + "python": "3.14.10", + "strata_version": "0.1.66", + "strata_commit": null, + "engine_version": "0.1.66", + "model": "ista-qwen3.8-flash-next-coder-iq1_m", + "quant": "IQ1_M", + "context": 262144, + "parallel_slots": 1, + "config": { + "exe": "strata", + "args": [ + "--pack", + "ista-coder-iq1_m", + "--native", + "Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf", + "--ple-gguf", + "Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf", + "--expert-profile", + "expert-profile-coder.bin", + "--expert-cache", + "auto", + "--prefill", + "auto:16384", + "--spec", + "4", + "--spec-min-p", + "0.5", + "--max-context", + "262144", + "--kv", + "int8", + "--vision", + "--kv-resident", + "32768", + "--vram-reserve-mib", + "1024", + "--conversation-cache-mib", + "8192", + "--conversation-cache-slots", + "8", + "--prompt-cache", + "12" + ], + "model_name": "ista-qwen3.8-flash-next-coder-iq1_m", + "display_name": "Qwen3.8-Flash-Next Coder IQ1_M (ISTA GSQ-RCO)", + "lib_dirs": [ + "/opt/rocm/lib" + ], + "gpu": 0, + "gpus_asked": true, + "backend": "hip", + "host": "127.0.0.1", + "open_browser": false, + "vision": { + "exe": "/models/bin/strata-vision", + "mmproj": "/models/mmproj/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/models/ista-flash-next-coder-iq1_m/IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf" + }, + "cmd_prefix": "gfx1100-hipblaslt-100401.txt STRATA_SCORES_THREAD=1 STRATA_KV_HOST_DMA=1 STRATA_EXPDEC=1 " + }, + "launch": "strata --pack ista-coder-iq1_m --native Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf --ple-gguf Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf --expert-profile expert-profile-coder.bin --expert-cache auto --prefill auto:16384 --spec 4 --spec-min-p 0.5 --max-context 262144 --kv int8 --vision --kv-resident 32768 --vram-reserve-mib 1024 --conversation-cache-mib 8192 --conversation-cache-slots 8 --prompt-cache 12", + "engine_info": { + "model": "ista-qwen3.8-flash-next-coder-iq1_m", + "max_context": 262144, + "images": true, + "gen": 1, + "version": "0.1.66", + "logit_bias": 1, + "context": 262144, + "kv": "int8", + "kv_resident": 32768, + "expert_slots": 8847, + "experts": 12288, + "expert_cache_mib": 17249, + "expert_slots_primary": 8847, + "expert_cache_primary_mib": 17249, + "spec": 6, + "mtp_max": 4, + "lookup": 3, + "vram_free_mib": 1159, + "cvec": 0, + "arena_mib": 23981, + "pool_workers": 7, + "pcie_frac": "0.15", + "spec_min_p": "0.50", + "conversation_cache_mib": 8192, + "conversation_cache_slots": 8, + "conversation_cache_min_free_mib": 2560, + "conversation_cache_min_tokens": 1024, + "tail_role_token": -1, + "vram_elastic": 0, + "prefill_cap": 16384, + "prefill_stages": 1, + "stream_all_min": 3072, + "prefill_pipe": 0, + "engine": "0.1.66", + "drafting": "off", + "drafting_note": "" + }, + "vram_after": { + "elastic": false + } + }, + "results": { + "chat": { + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 0.315, + "total_s": 1.861, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 171.7, + "prompt_tps_source": "engine", + "decode_tps": 64.1, + "decode_tps_source": "engine", + "prompt_ms": 297.1, + "decode_ms": 1561.0, + "drafts_offered": 16, + "drafts_accepted": 7, + "run": 0, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.248, + "total_s": 1.88, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 186.3, + "prompt_tps_source": "engine", + "decode_tps": 60.7, + "decode_tps_source": "engine", + "prompt_ms": 230.8, + "decode_ms": 1646.4, + "drafts_offered": 2, + "drafts_accepted": 0, + "run": 0, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.655, + "total_s": 2.263, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 72.1, + "prompt_tps_source": "engine", + "decode_tps": 61.6, + "decode_tps_source": "engine", + "prompt_ms": 637.6, + "decode_ms": 1622.9, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.783, + "total_s": 2.307, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 66.6, + "prompt_tps_source": "engine", + "decode_tps": 65.0, + "decode_tps_source": "engine", + "prompt_ms": 765.7, + "decode_ms": 1538.1, + "drafts_offered": 16, + "drafts_accepted": 7, + "run": 1, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.579, + "total_s": 2.166, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 76.6, + "prompt_tps_source": "engine", + "decode_tps": 62.5, + "decode_tps_source": "engine", + "prompt_ms": 561.5, + "decode_ms": 1601.0, + "drafts_offered": 2, + "drafts_accepted": 0, + "run": 1, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.6, + "total_s": 2.17, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 79.0, + "prompt_tps_source": "engine", + "decode_tps": 63.1, + "decode_tps_source": "engine", + "prompt_ms": 582.3, + "decode_ms": 1585.0, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.353, + "total_s": 1.867, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 151.7, + "prompt_tps_source": "engine", + "decode_tps": 65.5, + "decode_tps_source": "engine", + "prompt_ms": 336.2, + "decode_ms": 1527.5, + "drafts_offered": 16, + "drafts_accepted": 7, + "run": 2, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.228, + "total_s": 1.814, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 204.8, + "prompt_tps_source": "engine", + "decode_tps": 62.5, + "decode_tps_source": "engine", + "prompt_ms": 210.0, + "decode_ms": 1601.0, + "drafts_offered": 2, + "drafts_accepted": 0, + "run": 2, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.337, + "total_s": 1.901, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 143.9, + "prompt_tps_source": "engine", + "decode_tps": 63.4, + "decode_tps_source": "engine", + "prompt_ms": 319.7, + "decode_ms": 1577.6, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2, + "prompt": 2 + } + ], + "decode_tps": { + "median": 63.1, + "min": 60.7, + "max": 65.5, + "n": 9 + }, + "ttft_s": { + "median": 0.353, + "min": 0.228, + "max": 0.783, + "n": 9 + }, + "generated_tokens": { + "median": 100, + "min": 100, + "max": 100, + "n": 9 + }, + "prompt_tokens": { + "median": 46, + "min": 43, + "max": 51, + "n": 9 + } + }, + "prompts": { + "4K": { + "target_tokens": 4096, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 2.273, + "total_s": 2.662, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 1784.6, + "prompt_tps_source": "engine", + "decode_tps": 59.4, + "decode_tps_source": "engine", + "prompt_ms": 2252.1, + "decode_ms": 404.1, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.972, + "total_s": 2.341, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 2059.8, + "prompt_tps_source": "engine", + "decode_tps": 62.5, + "decode_tps_source": "engine", + "prompt_ms": 1951.2, + "decode_ms": 384.0, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.743, + "total_s": 2.113, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 2333.2, + "prompt_tps_source": "engine", + "decode_tps": 62.5, + "decode_tps_source": "engine", + "prompt_ms": 1722.5, + "decode_ms": 384.3, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2 + } + ], + "prompt_tps": { + "median": 2059.8, + "min": 1784.6, + "max": 2333.2, + "n": 3 + }, + "ttft_s": { + "median": 1.972, + "min": 1.743, + "max": 2.273, + "n": 3 + }, + "prompt_tokens": { + "median": 4019, + "min": 4019, + "max": 4019, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "16K": { + "target_tokens": 16384, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 6.647, + "total_s": 7.041, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 2425.6, + "prompt_tps_source": "engine", + "decode_tps": 58.6, + "decode_tps_source": "engine", + "prompt_ms": 6620.2, + "decode_ms": 409.5, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 6.691, + "total_s": 7.068, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 2409.5, + "prompt_tps_source": "engine", + "decode_tps": 61.1, + "decode_tps_source": "engine", + "prompt_ms": 6664.5, + "decode_ms": 392.8, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 6.687, + "total_s": 7.062, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 2411.7, + "prompt_tps_source": "engine", + "decode_tps": 61.4, + "decode_tps_source": "engine", + "prompt_ms": 6658.5, + "decode_ms": 390.9, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2 + } + ], + "prompt_tps": { + "median": 2411.7, + "min": 2409.5, + "max": 2425.6, + "n": 3 + }, + "ttft_s": { + "median": 6.687, + "min": 6.647, + "max": 6.691, + "n": 3 + }, + "prompt_tokens": { + "median": 16058, + "min": 16058, + "max": 16058, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "32K": { + "target_tokens": 32768, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 13.724, + "total_s": 14.111, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 2341.0, + "prompt_tps_source": "engine", + "decode_tps": 59.6, + "decode_tps_source": "engine", + "prompt_ms": 13690.2, + "decode_ms": 402.5, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 12.436, + "total_s": 12.815, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 2584.2, + "prompt_tps_source": "engine", + "decode_tps": 60.7, + "decode_tps_source": "engine", + "prompt_ms": 12401.9, + "decode_ms": 395.3, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 12.766, + "total_s": 13.145, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 2517.5, + "prompt_tps_source": "engine", + "decode_tps": 61.0, + "decode_tps_source": "engine", + "prompt_ms": 12730.4, + "decode_ms": 393.5, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2 + } + ], + "prompt_tps": { + "median": 2517.5, + "min": 2341.0, + "max": 2584.2, + "n": 3 + }, + "ttft_s": { + "median": 12.766, + "min": 12.436, + "max": 13.724, + "n": 3 + }, + "prompt_tokens": { + "median": 32049, + "min": 32049, + "max": 32049, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + } + }, + "agent": { + "corpus": "repo_docs", + "corpus_files": [ + "README.md", + "docs/HOW_IT_WORKS.md", + "docs/DETAILS.md", + "docs/INSTALL.md", + "docs/MODELS.md" + ], + "corpus_sha256": "53e7037ff848", + "sessions": [ + [ + { + "ok": true, + "err": null, + "ttft_s": 1.221, + "total_s": 1.508, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 18, + "prompt_tps": 507.1, + "prompt_tps_source": "engine", + "decode_tps": 59.7, + "decode_tps_source": "engine", + "prompt_ms": 1201.0, + "decode_ms": 301.5, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.301, + "total_s": 3.363, + "prompt_tokens": 4071, + "reused_tokens": 626, + "read_tokens": 3445, + "generated_tokens": 64, + "prompt_tps": 1513.0, + "prompt_tps_source": "engine", + "decode_tps": 59.4, + "decode_tps_source": "engine", + "prompt_ms": 2277.0, + "decode_ms": 1077.5, + "drafts_offered": 12, + "drafts_accepted": 2, + "run": 0, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.106, + "total_s": 3.163, + "prompt_tokens": 5735, + "reused_tokens": 4134, + "read_tokens": 1601, + "generated_tokens": 64, + "prompt_tps": 768.2, + "prompt_tps_source": "engine", + "decode_tps": 59.7, + "decode_tps_source": "engine", + "prompt_ms": 2084.0, + "decode_ms": 1071.3, + "drafts_offered": 10, + "drafts_accepted": 0, + "run": 0, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.109, + "total_s": 3.063, + "prompt_tokens": 9106, + "reused_tokens": 5798, + "read_tokens": 3308, + "generated_tokens": 64, + "prompt_tps": 1589.0, + "prompt_tps_source": "engine", + "decode_tps": 66.0, + "decode_tps_source": "engine", + "prompt_ms": 2081.8, + "decode_ms": 969.2, + "drafts_offered": 16, + "drafts_accepted": 7, + "run": 0, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.08, + "total_s": 3.045, + "prompt_tokens": 11971, + "reused_tokens": 9169, + "read_tokens": 2802, + "generated_tokens": 64, + "prompt_tps": 1363.6, + "prompt_tps_source": "engine", + "decode_tps": 65.3, + "decode_tps_source": "engine", + "prompt_ms": 2054.8, + "decode_ms": 980.3, + "drafts_offered": 10, + "drafts_accepted": 5, + "run": 0, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.149, + "total_s": 3.016, + "prompt_tokens": 14985, + "reused_tokens": 12034, + "read_tokens": 2951, + "generated_tokens": 64, + "prompt_tps": 1389.0, + "prompt_tps_source": "engine", + "decode_tps": 72.5, + "decode_tps_source": "engine", + "prompt_ms": 2124.6, + "decode_ms": 882.6, + "drafts_offered": 34, + "drafts_accepted": 17, + "run": 0, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 2.06, + "total_s": 2.325, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 18, + "prompt_tps": 298.3, + "prompt_tps_source": "engine", + "decode_tps": 64.3, + "decode_tps_source": "engine", + "prompt_ms": 2041.6, + "decode_ms": 279.8, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.148, + "total_s": 3.163, + "prompt_tokens": 4071, + "reused_tokens": 626, + "read_tokens": 3445, + "generated_tokens": 64, + "prompt_tps": 1619.3, + "prompt_tps_source": "engine", + "decode_tps": 62.1, + "decode_tps_source": "engine", + "prompt_ms": 2127.4, + "decode_ms": 1030.5, + "drafts_offered": 14, + "drafts_accepted": 2, + "run": 1, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.171, + "total_s": 3.199, + "prompt_tokens": 5735, + "reused_tokens": 4134, + "read_tokens": 1601, + "generated_tokens": 64, + "prompt_tps": 744.5, + "prompt_tps_source": "engine", + "decode_tps": 61.3, + "decode_tps_source": "engine", + "prompt_ms": 2150.3, + "decode_ms": 1043.7, + "drafts_offered": 8, + "drafts_accepted": 0, + "run": 1, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.159, + "total_s": 3.144, + "prompt_tokens": 9106, + "reused_tokens": 5798, + "read_tokens": 3308, + "generated_tokens": 64, + "prompt_tps": 1547.8, + "prompt_tps_source": "engine", + "decode_tps": 64.0, + "decode_tps_source": "engine", + "prompt_ms": 2137.2, + "decode_ms": 1000.0, + "drafts_offered": 20, + "drafts_accepted": 5, + "run": 1, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.14, + "total_s": 2.574, + "prompt_tokens": 11971, + "reused_tokens": 9169, + "read_tokens": 2802, + "generated_tokens": 30, + "prompt_tps": 1323.6, + "prompt_tps_source": "engine", + "decode_tps": 66.8, + "decode_tps_source": "engine", + "prompt_ms": 2116.9, + "decode_ms": 449.2, + "drafts_offered": 6, + "drafts_accepted": 3, + "run": 1, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.094, + "total_s": 2.863, + "prompt_tokens": 14950, + "reused_tokens": 12000, + "read_tokens": 2950, + "generated_tokens": 56, + "prompt_tps": 1424.0, + "prompt_tps_source": "engine", + "decode_tps": 71.4, + "decode_tps_source": "engine", + "prompt_ms": 2071.7, + "decode_ms": 783.9, + "drafts_offered": 32, + "drafts_accepted": 13, + "run": 1, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 2.141, + "total_s": 2.359, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 15, + "prompt_tps": 286.9, + "prompt_tps_source": "engine", + "decode_tps": 64.4, + "decode_tps_source": "engine", + "prompt_ms": 2122.7, + "decode_ms": 233.0, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.571, + "total_s": 4.371, + "prompt_tokens": 4068, + "reused_tokens": 623, + "read_tokens": 3445, + "generated_tokens": 64, + "prompt_tps": 2223.0, + "prompt_tps_source": "engine", + "decode_tps": 22.7, + "decode_tps_source": "engine", + "prompt_ms": 1549.7, + "decode_ms": 2815.4, + "drafts_offered": 8, + "drafts_accepted": 0, + "run": 2, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.599, + "total_s": 2.617, + "prompt_tokens": 5732, + "reused_tokens": 4131, + "read_tokens": 1601, + "generated_tokens": 64, + "prompt_tps": 1014.1, + "prompt_tps_source": "engine", + "decode_tps": 61.9, + "decode_tps_source": "engine", + "prompt_ms": 1578.7, + "decode_ms": 1033.1, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.06, + "total_s": 3.084, + "prompt_tokens": 9103, + "reused_tokens": 5795, + "read_tokens": 3308, + "generated_tokens": 64, + "prompt_tps": 1622.8, + "prompt_tps_source": "engine", + "decode_tps": 61.6, + "decode_tps_source": "engine", + "prompt_ms": 2038.4, + "decode_ms": 1038.5, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.901, + "total_s": 2.579, + "prompt_tokens": 11968, + "reused_tokens": 9166, + "read_tokens": 2802, + "generated_tokens": 44, + "prompt_tps": 1491.5, + "prompt_tps_source": "engine", + "decode_tps": 63.4, + "decode_tps_source": "engine", + "prompt_ms": 1878.7, + "decode_ms": 693.7, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.118, + "total_s": 3.111, + "prompt_tokens": 14961, + "reused_tokens": 12011, + "read_tokens": 2950, + "generated_tokens": 64, + "prompt_tps": 1408.9, + "prompt_tps_source": "engine", + "decode_tps": 63.5, + "decode_tps_source": "engine", + "prompt_ms": 2093.8, + "decode_ms": 1008.1, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2, + "turn": 5 + } + ] + ], + "hit_pct": { + "median": 69.223, + "min": 69.222, + "max": 69.244, + "n": 3 + }, + "reread_tokens": { + "median": 5, + "min": 5, + "max": 5, + "n": 3 + }, + "new_tokens": { + "median": 14101, + "min": 14101, + "max": 14102, + "n": 3 + }, + "turn_ttft_s": { + "median": 2.109, + "min": 1.571, + "max": 2.301, + "n": 15 + }, + "last_turn_prompt_tokens": { + "median": 14961, + "min": 14950, + "max": 14985, + "n": 3 + }, + "turn_decode_tps": { + "median": 63.4, + "min": 22.7, + "max": 72.5, + "n": 15 + }, + "first_turn_ttft_s": { + "median": 2.06, + "min": 1.221, + "max": 2.141, + "n": 3 + } + }, + "clients": {}, + "skipped": {}, + "failures": [] + } +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp/README.md b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp/README.md new file mode 100644 index 0000000000..06c928e7ea --- /dev/null +++ b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp/README.md @@ -0,0 +1,61 @@ +# Community benchmark on AMD Radeon RX 7900 XTX + +Measured on 2026-12-05 with `tools/strata_bench.py` (suite 1, 3 runs per test, medians with ranges). Speeds are the engine's own timings; first-token times are measured by the client over HTTP. Speed only: no correctness check was run. + +## Hardware and software + +- GPU and VRAM: AMD Radeon RX 7900 XTX, 24 GiB VRAM +- CPU: AMD Ryzen 7 7800X3D 8-Core Processor (8 cores, 16 threads); installed RAM: 90.0 GiB; storage: sda Samsung SSD 860 PRO 2TB sata; zram0; nvme0n1 CT1000T700SSD3 nvme +- OS: Linux 7.3.7-2-cachyos; GPU driver: not read; CUDA (driver supports up to): not read +- PolyStrata: project 0.1.66, commit not a git checkout; engine 0.1.66 +- Background workloads: not recorded (GPU power limit/draw read above) + +## Model and configuration + +- Model and quantization: ista-qwen3.8-flash-next-coder-iq1_m +- Context: 262144 tokens; parallel slots: 1 +- Settings: the install's own configuration, unchanged (hip backend); thinking off for the suite; temperature 0 + +```text +strata --pack ista-coder-iq1_m --native Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf --ple-gguf Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf --expert-profile expert-profile-coder.bin --expert-cache auto --prefill auto:16384 --spec 4 --spec-min-p 0.5 --max-context 262144 --kv int8 --vision --kv-resident 32768 --vram-reserve-mib 1024 --conversation-cache-mib 8192 --conversation-cache-slots 8 --prompt-cache 12 +``` + +## Method + +Run by `python tools/strata_bench.py --long` against the HTTP API of a PolyStrata server (already running); model loading is not timed. One warm-up chat and a 1K prompt are discarded first. Every prompt starts with a unique tag, so the conversation cache cannot help the fresh-prompt tests. + +- short chat: the three questions of `tools/ab_engine.py`, up to 100 new tokens, 3 runs +- 4K / 16K prompts: generated word lists sized by a calibration request, 24 new tokens, 3 fresh prompts each +- agent session: system prompt and four tools, then 5 turns that each add about 1500 words of a project file and continue from the model's own earlier answers (the way agent clients resend a conversation), 64 new tokens per turn, 3 sessions; the cache numbers come from the answer's usage (`cached_tokens`) and timings (`prompt_n`) +- concurrency (when run): N requests sent at the same moment, total tokens over the wall time of the burst, latency over all requests + +## Results + +| 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 | +| --- | ---: | ---: | ---: | ---: | --- | --- | --- | +| short chat | 46 (43-51) | 0 | 100 (100-100) | 9 | not measured | 61.5 (59.1-63.4) | 0.27 (0.23-0.83) | +| 4K prompt, fresh | 4019 (4019-4019) | 0 (0-0) | 24 cap | 3 | 2273.4 (2262.1-2284.0) | not measured | 1.79 (1.78-1.80) | +| 16K prompt, fresh | 16058 (16058-16058) | 0 (0-0) | 24 cap | 3 | 2278.1 (2259.7-2398.7) | not measured | 7.12 (6.72-7.13) | +| 32K prompt, fresh | 32049 (32049-32049) | 0 (0-0) | 24 cap | 3 | 2539.4 (2295.9-2569.0) | not measured | 12.65 (12.51-13.99) | +| agent session, follow-up turns | 14990 (14984-14991) at the last turn | see below | up to 64 | 3 | see below | 64.1 (58.7-75.0) | 1.73 (1.00-2.32) | + +Ranges are the lowest and highest of the runs; `Runs` counts requests that returned a token. + +### Agent session (conversation cache) + +Cache hit over the follow-up turns: 69.3 % (69.2-69.3); earlier-turn tokens read again per session: 5 (5-5) (earlier turns that the cache did not hold; the 14101 (14101-14102) new tokens of the files are read once); first turn (nothing cached) first token: 1.37 s (1.24-2.23). Corpus: `repo_docs` (53e7037ff848) [README.md, docs/HOW_IT_WORKS.md, docs/DETAILS.md, docs/INSTALL.md, docs/MODELS.md]. + +| Turn (run 1) | Prompt tokens | Reused | Read | Prompt tok/s | First token (s) | Decode tok/s | +| ---: | ---: | ---: | ---: | ---: | ---: | ---: | +| 0 | 609 | 0 | 609 | 497.8 | 1.244 | 59.8 | +| 1 | 4070 | 625 | 3445 | 1612.4 | 2.161 | 58.7 | +| 2 | 5734 | 4133 | 1601 | 1003.1 | 1.619 | 60.3 | +| 3 | 9105 | 5797 | 3308 | 2199.9 | 1.529 | 64.1 | +| 4 | 11970 | 9168 | 2802 | 1383.4 | 2.051 | 63.2 | +| 5 | 14984 | 12033 | 2951 | 1284.0 | 2.324 | 71.3 | + +Per-request data: `results.json`. Engine log lines from the start: `engine-log-excerpt.txt` (when this run started the server). + +## Correctness and limitations + +Not measured: this is a speed suite. The conversation uses the model's own replies, so token counts differ a little between runs. Machine details come from the server, `nvidia-smi`/`rocm-smi` and the OS; background load is not recorded. Total time of the suite: 138 s. diff --git a/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp/config.json b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp/config.json new file mode 100644 index 0000000000..9cb3772c05 --- /dev/null +++ b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp/config.json @@ -0,0 +1,55 @@ +{ + "exe": "/bin/strata", + "args": [ + "--pack", + "/packs/ista-coder-iq1_m", + "--native", + "/ista-flash-next-coder-iq1_m/IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf", + "--ple-gguf", + "/ista-flash-next-coder-iq1_m/IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf", + "--expert-profile", + "/terminal/data/expert-profile-coder.bin", + "--expert-cache", + "auto", + "--prefill", + "auto:16384", + "--spec", + "4", + "--spec-min-p", + "0.5", + "--max-context", + "262144", + "--kv", + "int8", + "--vision", + "--kv-resident", + "32768", + "--vram-reserve-mib", + "1024", + "--conversation-cache-mib", + "8192", + "--conversation-cache-slots", + "8", + "--prompt-cache", + "12" + ], + "cwd": "", + "tokenizer": "/packs/ista-coder-iq1_m/tokenizer", + "model_name": "ista-qwen3.8-flash-next-coder-iq1_m", + "display_name": "Qwen3.8-Flash-Next Coder IQ1_M (ISTA GSQ-RCO)", + "log": "/engine-coder-nomtp.log", + "lib_dirs": [ + "/opt/rocm/lib" + ], + "gpu": 0, + "gpus_asked": true, + "backend": "hip", + "host": "127.0.0.1", + "open_browser": false, + "vision": { + "exe": "/bin/strata-vision", + "mmproj": "/mmproj/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/ista-flash-next-coder-iq1_m/IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf" + }, + "cmd_prefix": "env STRATA_HIPBLASLT_TUNING=/hermes/projekte/inference-stack/Strata/terminal/tools/hip/gfx1100-hipblaslt-100401.txt STRATA_SCORES_THREAD=1 STRATA_KV_HOST_DMA=1 STRATA_EXPDEC=1 " +} diff --git a/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp/engine-log-excerpt.txt b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp/engine-log-excerpt.txt new file mode 100644 index 0000000000..8babccee41 --- /dev/null +++ b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp/engine-log-excerpt.txt @@ -0,0 +1,9 @@ +[strata] 2026-12-05 20:03:08 engine started: /bin/strata --serve --pack /packs/ista-coder-iq1_m --native /ista-flash-next-coder-iq1_m/IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf --ple-gguf /ista-flash-next-coder-iq1_m/IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf --expert-profile /terminal/data/expert-profile-coder.bin --expert-cache auto --prefill auto:16384 --spec 4 --spec-min-p 0.5 --max-context 262144 --kv int8 --vision --kv-resident 32768 --vram-reserve-mib 1024 --conversation-cache-mib 8192 --conversation-cache-slots 8 --prompt-cache 12 --conversation-cache-min-tokens 1024 +strata generate: native pack: /packs/ista-coder-iq1_m experts (largest blob 2.66 MB), token embedding IQ4_XS in mapped host memory (322 MiB, 0.2 s) +strata generate: profile /terminal/data/expert-profile-coder.bin: 12288 ranked pairs, built for 12288 slots +strata generate: loaded 23.42 GiB at 4.91 GiB/s +strata generate: expert cache auto: 18.06 GiB free, 1024 MiB reserved (+0 MiB for the draft head, +256 MiB for what is allocated after the cache) -> 8822 slots +strata generate: expert cache 8846 slots, 16.84 GiB of VRAM; policy is +strata generate: pre-filled 8846 of 8846 slots from the profile in 1.5 s (12197 MB/s); slot 0 verified +strata generate: session is up (engine 0.1.66) +strata serve: 1159 MiB of VRAM free with everything loaded diff --git a/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp/results.json b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp/results.json new file mode 100644 index 0000000000..6d51930cf2 --- /dev/null +++ b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/coder-nomtp/results.json @@ -0,0 +1,1028 @@ +{ + "schema": 1, + "tool": "tools/strata_bench.py", + "date": "2026-12-05", + "params": { + "runs": 3, + "think": false, + "clients": 0, + "long": true, + "started_server": false, + "command": "python tools/strata_bench.py --long" + }, + "elapsed_s": 138.10461568832397, + "machine": { + "gpu": [ + "AMD Radeon RX 7900 XTX" + ], + "gpu_vram_mib": 24560.0, + "gpu_driver": null, + "gpu_detail": [ + {} + ], + "cuda": null, + "engine_build": null, + "cpu": "AMD Ryzen 7 7800X3D 8-Core Processor", + "cpu_cores": 8, + "storage": "sda Samsung SSD 860 PRO 2TB sata; zram0; nvme0n1 CT1000T700SSD3 nvme", + "cpu_threads": 16, + "ram_gib": 90.0, + "os": "Linux 7.3.7-2-cachyos", + "python": "3.14.10", + "strata_version": "0.1.66", + "strata_commit": null, + "engine_version": "0.1.66", + "model": "ista-qwen3.8-flash-next-coder-iq1_m", + "quant": "IQ1_M", + "context": 262144, + "parallel_slots": 1, + "config": { + "exe": "strata", + "args": [ + "--pack", + "ista-coder-iq1_m", + "--native", + "Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf", + "--ple-gguf", + "Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf", + "--expert-profile", + "expert-profile-coder.bin", + "--expert-cache", + "auto", + "--prefill", + "auto:16384", + "--spec", + "4", + "--spec-min-p", + "0.5", + "--max-context", + "262144", + "--kv", + "int8", + "--vision", + "--kv-resident", + "32768", + "--vram-reserve-mib", + "1024", + "--conversation-cache-mib", + "8192", + "--conversation-cache-slots", + "8", + "--prompt-cache", + "12" + ], + "model_name": "ista-qwen3.8-flash-next-coder-iq1_m", + "display_name": "Qwen3.8-Flash-Next Coder IQ1_M (ISTA GSQ-RCO)", + "lib_dirs": [ + "/opt/rocm/lib" + ], + "gpu": 0, + "gpus_asked": true, + "backend": "hip", + "host": "127.0.0.1", + "open_browser": false, + "vision": { + "exe": "/models/bin/strata-vision", + "mmproj": "/models/mmproj/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/models/ista-flash-next-coder-iq1_m/IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf" + }, + "cmd_prefix": "gfx1100-hipblaslt-100401.txt STRATA_SCORES_THREAD=1 STRATA_KV_HOST_DMA=1 STRATA_EXPDEC=1 " + }, + "launch": "strata --pack ista-coder-iq1_m --native Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf --ple-gguf Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf --expert-profile expert-profile-coder.bin --expert-cache auto --prefill auto:16384 --spec 4 --spec-min-p 0.5 --max-context 262144 --kv int8 --vision --kv-resident 32768 --vram-reserve-mib 1024 --conversation-cache-mib 8192 --conversation-cache-slots 8 --prompt-cache 12", + "engine_info": { + "model": "ista-qwen3.8-flash-next-coder-iq1_m", + "max_context": 262144, + "images": true, + "gen": 1, + "version": "0.1.66", + "logit_bias": 1, + "context": 262144, + "kv": "int8", + "kv_resident": 32768, + "expert_slots": 8846, + "experts": 12288, + "expert_cache_mib": 17247, + "expert_slots_primary": 8846, + "expert_cache_primary_mib": 17247, + "spec": 6, + "mtp_max": 4, + "lookup": 3, + "vram_free_mib": 1159, + "cvec": 0, + "arena_mib": 23981, + "pool_workers": 7, + "pcie_frac": "0.15", + "spec_min_p": "0.50", + "conversation_cache_mib": 8192, + "conversation_cache_slots": 8, + "conversation_cache_min_free_mib": 2560, + "conversation_cache_min_tokens": 1024, + "tail_role_token": -1, + "vram_elastic": 0, + "prefill_cap": 16384, + "prefill_stages": 1, + "stream_all_min": 3072, + "prefill_pipe": 0, + "engine": "0.1.66", + "drafting": "off", + "drafting_note": "" + }, + "vram_after": { + "elastic": false + } + }, + "results": { + "chat": { + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 0.832, + "total_s": 2.42, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 62.7, + "prompt_tps_source": "engine", + "decode_tps": 62.4, + "decode_tps_source": "engine", + "prompt_ms": 813.5, + "decode_ms": 1603.2, + "drafts_offered": 16, + "drafts_accepted": 7, + "run": 0, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.262, + "total_s": 1.94, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 177.2, + "prompt_tps_source": "engine", + "decode_tps": 59.1, + "decode_tps_source": "engine", + "prompt_ms": 242.7, + "decode_ms": 1693.2, + "drafts_offered": 2, + "drafts_accepted": 0, + "run": 0, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.274, + "total_s": 1.93, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 180.7, + "prompt_tps_source": "engine", + "decode_tps": 59.8, + "decode_tps_source": "engine", + "prompt_ms": 254.6, + "decode_ms": 1672.1, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.292, + "total_s": 1.856, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 185.5, + "prompt_tps_source": "engine", + "decode_tps": 63.4, + "decode_tps_source": "engine", + "prompt_ms": 275.0, + "decode_ms": 1577.6, + "drafts_offered": 16, + "drafts_accepted": 7, + "run": 1, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.232, + "total_s": 1.857, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 201.6, + "prompt_tps_source": "engine", + "decode_tps": 61.0, + "decode_tps_source": "engine", + "prompt_ms": 213.3, + "decode_ms": 1639.9, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.256, + "total_s": 1.887, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 193.7, + "prompt_tps_source": "engine", + "decode_tps": 60.8, + "decode_tps_source": "engine", + "prompt_ms": 237.5, + "decode_ms": 1645.7, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.293, + "total_s": 1.888, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 185.6, + "prompt_tps_source": "engine", + "decode_tps": 62.1, + "decode_tps_source": "engine", + "prompt_ms": 274.8, + "decode_ms": 1610.3, + "drafts_offered": 16, + "drafts_accepted": 7, + "run": 2, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.781, + "total_s": 2.393, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 56.4, + "prompt_tps_source": "engine", + "decode_tps": 61.5, + "decode_tps_source": "engine", + "prompt_ms": 762.8, + "decode_ms": 1626.8, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.257, + "total_s": 1.861, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 192.5, + "prompt_tps_source": "engine", + "decode_tps": 61.8, + "decode_tps_source": "engine", + "prompt_ms": 238.9, + "decode_ms": 1619.1, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2, + "prompt": 2 + } + ], + "decode_tps": { + "median": 61.5, + "min": 59.1, + "max": 63.4, + "n": 9 + }, + "ttft_s": { + "median": 0.274, + "min": 0.232, + "max": 0.832, + "n": 9 + }, + "generated_tokens": { + "median": 100, + "min": 100, + "max": 100, + "n": 9 + }, + "prompt_tokens": { + "median": 46, + "min": 43, + "max": 51, + "n": 9 + } + }, + "prompts": { + "4K": { + "target_tokens": 4096, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 1.781, + "total_s": 2.179, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 2284.0, + "prompt_tps_source": "engine", + "decode_tps": 58.0, + "decode_tps_source": "engine", + "prompt_ms": 1759.6, + "decode_ms": 413.5, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.789, + "total_s": 2.167, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 2273.4, + "prompt_tps_source": "engine", + "decode_tps": 61.1, + "decode_tps_source": "engine", + "prompt_ms": 1767.8, + "decode_ms": 392.8, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.798, + "total_s": 2.176, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 2262.1, + "prompt_tps_source": "engine", + "decode_tps": 60.9, + "decode_tps_source": "engine", + "prompt_ms": 1776.7, + "decode_ms": 394.3, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2 + } + ], + "prompt_tps": { + "median": 2273.4, + "min": 2262.1, + "max": 2284.0, + "n": 3 + }, + "ttft_s": { + "median": 1.789, + "min": 1.781, + "max": 1.798, + "n": 3 + }, + "prompt_tokens": { + "median": 4019, + "min": 4019, + "max": 4019, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "16K": { + "target_tokens": 16384, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 6.721, + "total_s": 7.109, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 2398.7, + "prompt_tps_source": "engine", + "decode_tps": 59.4, + "decode_tps_source": "engine", + "prompt_ms": 6694.4, + "decode_ms": 404.0, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 7.119, + "total_s": 7.496, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 2278.1, + "prompt_tps_source": "engine", + "decode_tps": 61.3, + "decode_tps_source": "engine", + "prompt_ms": 7049.0, + "decode_ms": 391.8, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 7.135, + "total_s": 7.528, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 2259.7, + "prompt_tps_source": "engine", + "decode_tps": 58.7, + "decode_tps_source": "engine", + "prompt_ms": 7106.3, + "decode_ms": 409.1, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2 + } + ], + "prompt_tps": { + "median": 2278.1, + "min": 2259.7, + "max": 2398.7, + "n": 3 + }, + "ttft_s": { + "median": 7.119, + "min": 6.721, + "max": 7.135, + "n": 3 + }, + "prompt_tokens": { + "median": 16058, + "min": 16058, + "max": 16058, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "32K": { + "target_tokens": 32768, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 13.994, + "total_s": 14.388, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 2295.9, + "prompt_tps_source": "engine", + "decode_tps": 58.6, + "decode_tps_source": "engine", + "prompt_ms": 13959.4, + "decode_ms": 409.5, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 12.509, + "total_s": 12.895, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 2569.0, + "prompt_tps_source": "engine", + "decode_tps": 59.7, + "decode_tps_source": "engine", + "prompt_ms": 12475.4, + "decode_ms": 401.9, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 12.655, + "total_s": 13.033, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 2539.4, + "prompt_tps_source": "engine", + "decode_tps": 61.0, + "decode_tps_source": "engine", + "prompt_ms": 12620.5, + "decode_ms": 393.3, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2 + } + ], + "prompt_tps": { + "median": 2539.4, + "min": 2295.9, + "max": 2569.0, + "n": 3 + }, + "ttft_s": { + "median": 12.655, + "min": 12.509, + "max": 13.994, + "n": 3 + }, + "prompt_tokens": { + "median": 32049, + "min": 32049, + "max": 32049, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + } + }, + "agent": { + "corpus": "repo_docs", + "corpus_files": [ + "README.md", + "docs/HOW_IT_WORKS.md", + "docs/DETAILS.md", + "docs/INSTALL.md", + "docs/MODELS.md" + ], + "corpus_sha256": "53e7037ff848", + "sessions": [ + [ + { + "ok": true, + "err": null, + "ttft_s": 1.244, + "total_s": 1.513, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 17, + "prompt_tps": 497.8, + "prompt_tps_source": "engine", + "decode_tps": 59.8, + "decode_tps_source": "engine", + "prompt_ms": 1223.4, + "decode_ms": 284.3, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.161, + "total_s": 3.235, + "prompt_tokens": 4070, + "reused_tokens": 625, + "read_tokens": 3445, + "generated_tokens": 64, + "prompt_tps": 1612.4, + "prompt_tps_source": "engine", + "decode_tps": 58.7, + "decode_tps_source": "engine", + "prompt_ms": 2136.6, + "decode_ms": 1089.9, + "drafts_offered": 14, + "drafts_accepted": 2, + "run": 0, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.619, + "total_s": 2.666, + "prompt_tokens": 5734, + "reused_tokens": 4133, + "read_tokens": 1601, + "generated_tokens": 64, + "prompt_tps": 1003.1, + "prompt_tps_source": "engine", + "decode_tps": 60.3, + "decode_tps_source": "engine", + "prompt_ms": 1596.0, + "decode_ms": 1062.1, + "drafts_offered": 8, + "drafts_accepted": 0, + "run": 0, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.529, + "total_s": 2.513, + "prompt_tokens": 9105, + "reused_tokens": 5797, + "read_tokens": 3308, + "generated_tokens": 64, + "prompt_tps": 2199.9, + "prompt_tps_source": "engine", + "decode_tps": 64.1, + "decode_tps_source": "engine", + "prompt_ms": 1503.7, + "decode_ms": 999.2, + "drafts_offered": 16, + "drafts_accepted": 5, + "run": 0, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.051, + "total_s": 3.048, + "prompt_tokens": 11970, + "reused_tokens": 9168, + "read_tokens": 2802, + "generated_tokens": 64, + "prompt_tps": 1383.4, + "prompt_tps_source": "engine", + "decode_tps": 63.2, + "decode_tps_source": "engine", + "prompt_ms": 2025.4, + "decode_ms": 1012.0, + "drafts_offered": 12, + "drafts_accepted": 4, + "run": 0, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.324, + "total_s": 3.206, + "prompt_tokens": 14984, + "reused_tokens": 12033, + "read_tokens": 2951, + "generated_tokens": 64, + "prompt_tps": 1284.0, + "prompt_tps_source": "engine", + "decode_tps": 71.3, + "decode_tps_source": "engine", + "prompt_ms": 2298.3, + "decode_ms": 897.8, + "drafts_offered": 36, + "drafts_accepted": 16, + "run": 0, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 2.23, + "total_s": 2.61, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 25, + "prompt_tps": 275.4, + "prompt_tps_source": "engine", + "decode_tps": 63.5, + "decode_tps_source": "engine", + "prompt_ms": 2211.7, + "decode_ms": 393.7, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.728, + "total_s": 2.725, + "prompt_tokens": 4078, + "reused_tokens": 633, + "read_tokens": 3445, + "generated_tokens": 64, + "prompt_tps": 2017.8, + "prompt_tps_source": "engine", + "decode_tps": 63.2, + "decode_tps_source": "engine", + "prompt_ms": 1707.3, + "decode_ms": 1012.4, + "drafts_offered": 13, + "drafts_accepted": 3, + "run": 1, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.004, + "total_s": 2.031, + "prompt_tokens": 5742, + "reused_tokens": 4141, + "read_tokens": 1601, + "generated_tokens": 64, + "prompt_tps": 1627.2, + "prompt_tps_source": "engine", + "decode_tps": 61.5, + "decode_tps_source": "engine", + "prompt_ms": 983.9, + "decode_ms": 1041.4, + "drafts_offered": 8, + "drafts_accepted": 0, + "run": 1, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.956, + "total_s": 2.922, + "prompt_tokens": 9113, + "reused_tokens": 5805, + "read_tokens": 3308, + "generated_tokens": 64, + "prompt_tps": 1710.1, + "prompt_tps_source": "engine", + "decode_tps": 65.2, + "decode_tps_source": "engine", + "prompt_ms": 1934.4, + "decode_ms": 982.0, + "drafts_offered": 14, + "drafts_accepted": 5, + "run": 1, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.464, + "total_s": 2.481, + "prompt_tokens": 11977, + "reused_tokens": 9176, + "read_tokens": 2801, + "generated_tokens": 64, + "prompt_tps": 1942.4, + "prompt_tps_source": "engine", + "decode_tps": 62.0, + "decode_tps_source": "engine", + "prompt_ms": 1442.0, + "decode_ms": 1032.2, + "drafts_offered": 14, + "drafts_accepted": 2, + "run": 1, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.519, + "total_s": 2.357, + "prompt_tokens": 14991, + "reused_tokens": 12040, + "read_tokens": 2951, + "generated_tokens": 64, + "prompt_tps": 1973.4, + "prompt_tps_source": "engine", + "decode_tps": 75.0, + "decode_tps_source": "engine", + "prompt_ms": 1495.4, + "decode_ms": 853.6, + "drafts_offered": 34, + "drafts_accepted": 17, + "run": 1, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 1.368, + "total_s": 1.742, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 25, + "prompt_tps": 451.2, + "prompt_tps_source": "engine", + "decode_tps": 64.2, + "decode_tps_source": "engine", + "prompt_ms": 1349.6, + "decode_ms": 389.4, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.556, + "total_s": 2.539, + "prompt_tokens": 4078, + "reused_tokens": 633, + "read_tokens": 3445, + "generated_tokens": 64, + "prompt_tps": 2244.2, + "prompt_tps_source": "engine", + "decode_tps": 64.1, + "decode_tps_source": "engine", + "prompt_ms": 1535.1, + "decode_ms": 998.2, + "drafts_offered": 14, + "drafts_accepted": 4, + "run": 2, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.001, + "total_s": 1.952, + "prompt_tokens": 5742, + "reused_tokens": 4141, + "read_tokens": 1601, + "generated_tokens": 64, + "prompt_tps": 1632.5, + "prompt_tps_source": "engine", + "decode_tps": 66.3, + "decode_tps_source": "engine", + "prompt_ms": 980.7, + "decode_ms": 965.7, + "drafts_offered": 12, + "drafts_accepted": 6, + "run": 2, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.131, + "total_s": 3.056, + "prompt_tokens": 9113, + "reused_tokens": 5805, + "read_tokens": 3308, + "generated_tokens": 63, + "prompt_tps": 1568.7, + "prompt_tps_source": "engine", + "decode_tps": 67.0, + "decode_tps_source": "engine", + "prompt_ms": 2108.8, + "decode_ms": 940.4, + "drafts_offered": 16, + "drafts_accepted": 7, + "run": 2, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.074, + "total_s": 3.046, + "prompt_tokens": 11976, + "reused_tokens": 9175, + "read_tokens": 2801, + "generated_tokens": 64, + "prompt_tps": 1364.9, + "prompt_tps_source": "engine", + "decode_tps": 64.9, + "decode_tps_source": "engine", + "prompt_ms": 2052.2, + "decode_ms": 986.8, + "drafts_offered": 8, + "drafts_accepted": 4, + "run": 2, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.114, + "total_s": 2.99, + "prompt_tokens": 14990, + "reused_tokens": 12039, + "read_tokens": 2951, + "generated_tokens": 64, + "prompt_tps": 1411.8, + "prompt_tps_source": "engine", + "decode_tps": 71.8, + "decode_tps_source": "engine", + "prompt_ms": 2090.2, + "decode_ms": 891.0, + "drafts_offered": 28, + "drafts_accepted": 14, + "run": 2, + "turn": 5 + } + ] + ], + "hit_pct": { + "median": 69.267, + "min": 69.241, + "max": 69.269, + "n": 3 + }, + "reread_tokens": { + "median": 5, + "min": 5, + "max": 5, + "n": 3 + }, + "new_tokens": { + "median": 14101, + "min": 14101, + "max": 14102, + "n": 3 + }, + "turn_ttft_s": { + "median": 1.728, + "min": 1.001, + "max": 2.324, + "n": 15 + }, + "last_turn_prompt_tokens": { + "median": 14990, + "min": 14984, + "max": 14991, + "n": 3 + }, + "turn_decode_tps": { + "median": 64.1, + "min": 58.7, + "max": 75.0, + "n": 15 + }, + "first_turn_ttft_s": { + "median": 1.368, + "min": 1.244, + "max": 2.23, + "n": 3 + } + }, + "clients": {}, + "skipped": {}, + "failures": [] + } +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-mtp/README.md b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-mtp/README.md new file mode 100644 index 0000000000..5b1787139c --- /dev/null +++ b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-mtp/README.md @@ -0,0 +1,61 @@ +# Community benchmark on AMD Radeon RX 7900 XTX + +Measured on 2026-12-05 with `tools/strata_bench.py` (suite 1, 3 runs per test, medians with ranges). Speeds are the engine's own timings; first-token times are measured by the client over HTTP. Speed only: no correctness check was run. + +## Hardware and software + +- GPU and VRAM: AMD Radeon RX 7900 XTX, 24 GiB VRAM +- CPU: AMD Ryzen 7 7800X3D 8-Core Processor (8 cores, 16 threads); installed RAM: 90.0 GiB; storage: sda Samsung SSD 860 PRO 2TB sata; zram0; nvme0n1 CT1000T700SSD3 nvme +- OS: Linux 7.3.7-2-cachyos; GPU driver: not read; CUDA (driver supports up to): not read +- PolyStrata: project 0.1.66, commit not a git checkout; engine 0.1.66 +- Background workloads: not recorded (GPU power limit/draw read above) + +## Model and configuration + +- Model and quantization: orcarouter-qwen3.8-flash-next-uncensored-iq3_xxs +- Context: 262144 tokens; parallel slots: 1 +- Settings: the install's own configuration, unchanged (hip backend); thinking off for the suite; temperature 0 + +```text +strata --pack orca-iq3_xxs --native Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf --ple-gguf Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf --expert-profile expert-profile.bin --expert-cache auto --prefill auto:16384 --spec 4 --spec-min-p 0.5 --max-context 262144 --kv int8 --vision --kv-resident 32768 --vram-reserve-mib 1024 --conversation-cache-mib 8192 --conversation-cache-slots 8 --prompt-cache 12 --mtp rt +``` + +## Method + +Run by `python tools/strata_bench.py --long` against the HTTP API of a PolyStrata server (already running); model loading is not timed. One warm-up chat and a 1K prompt are discarded first. Every prompt starts with a unique tag, so the conversation cache cannot help the fresh-prompt tests. + +- short chat: the three questions of `tools/ab_engine.py`, up to 100 new tokens, 3 runs +- 4K / 16K prompts: generated word lists sized by a calibration request, 24 new tokens, 3 fresh prompts each +- agent session: system prompt and four tools, then 5 turns that each add about 1500 words of a project file and continue from the model's own earlier answers (the way agent clients resend a conversation), 64 new tokens per turn, 3 sessions; the cache numbers come from the answer's usage (`cached_tokens`) and timings (`prompt_n`) +- concurrency (when run): N requests sent at the same moment, total tokens over the wall time of the burst, latency over all requests + +## Results + +| 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 | +| --- | ---: | ---: | ---: | ---: | --- | --- | --- | +| short chat | 46 (43-51) | 0 | 100 (100-100) | 9 | not measured | 73.9 (71.7-92.6) | 0.86 (0.43-1.56) | +| 4K prompt, fresh | 4019 (4019-4019) | 0 (0-0) | 24 cap | 3 | 1405.2 (1077.1-1563.7) | not measured | 2.88 (2.59-3.75) | +| 16K prompt, fresh | 16058 (16058-16058) | 0 (0-0) | 24 cap | 3 | 2145.7 (1878.4-2178.0) | not measured | 8.30 (7.40-8.57) | +| 32K prompt, fresh | 32049 (32049-32049) | 0 (0-0) | 24 cap | 3 | 2164.5 (1825.6-2482.0) | not measured | 14.84 (12.95-17.59) | +| agent session, follow-up turns | 14944 (14939-14952) at the last turn | see below | up to 64 | 3 | see below | 86.1 (32.5-108.3) | 2.73 (1.43-4.96) | + +Ranges are the lowest and highest of the runs; `Runs` counts requests that returned a token. + +### Agent session (conversation cache) + +Cache hit over the follow-up turns: 69.2 % (69.2-69.2); earlier-turn tokens read again per session: 5 (5-5) (earlier turns that the cache did not hold; the 14100 (14100-14101) new tokens of the files are read once); first turn (nothing cached) first token: 5.33 s (3.27-5.86). Corpus: `repo_docs` (53e7037ff848) [README.md, docs/HOW_IT_WORKS.md, docs/DETAILS.md, docs/INSTALL.md, docs/MODELS.md]. + +| Turn (run 1) | Prompt tokens | Reused | Read | Prompt tok/s | First token (s) | Decode tok/s | +| ---: | ---: | ---: | ---: | ---: | ---: | ---: | +| 0 | 609 | 0 | 609 | 187.6 | 3.267 | 78.6 | +| 1 | 4070 | 625 | 3445 | 814.7 | 4.254 | 76.3 | +| 2 | 5734 | 4133 | 1601 | 605.2 | 2.667 | 71.3 | +| 3 | 9105 | 5797 | 3308 | 774.4 | 4.296 | 97.4 | +| 4 | 11957 | 9156 | 2801 | 928.6 | 3.04 | 98.1 | +| 5 | 14944 | 11994 | 2950 | 873.2 | 3.404 | 108.3 | + +Per-request data: `results.json`. Engine log lines from the start: `engine-log-excerpt.txt` (when this run started the server). + +## Correctness and limitations + +Not measured: this is a speed suite. The conversation uses the model's own replies, so token counts differ a little between runs. Machine details come from the server, `nvidia-smi`/`rocm-smi` and the OS; background load is not recorded. Total time of the suite: 183 s. diff --git a/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-mtp/config.json b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-mtp/config.json new file mode 100644 index 0000000000..a023e1d6b0 --- /dev/null +++ b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-mtp/config.json @@ -0,0 +1,57 @@ +{ + "exe": "/bin/strata", + "args": [ + "--pack", + "/packs/orca-iq3_xxs", + "--native", + "/orca-flash-next-iq3_xxs/Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf", + "--ple-gguf", + "/orca-flash-next-iq3_xxs/Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf", + "--expert-profile", + "/terminal/data/expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto:16384", + "--spec", + "4", + "--spec-min-p", + "0.5", + "--max-context", + "262144", + "--kv", + "int8", + "--vision", + "--kv-resident", + "32768", + "--vram-reserve-mib", + "1024", + "--conversation-cache-mib", + "8192", + "--conversation-cache-slots", + "8", + "--prompt-cache", + "12", + "--mtp", + "/packs/qwen38-flash-next-mtp/rt" + ], + "cwd": "", + "tokenizer": "/packs/orca-iq3_xxs/tokenizer", + "model_name": "orcarouter-qwen3.8-flash-next-uncensored-iq3_xxs", + "display_name": "Qwen3.8-Flash-Next Uncensored IQ3_XXS (Orca)", + "log": "/engine-unc-mtp.log", + "lib_dirs": [ + "/opt/rocm/lib" + ], + "gpu": 0, + "gpus_asked": true, + "backend": "hip", + "host": "127.0.0.1", + "open_browser": false, + "vision": { + "exe": "/bin/strata-vision", + "mmproj": "/mmproj/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/orca-flash-next-iq3_xxs/Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf" + }, + "cmd_prefix": "env STRATA_HIPBLASLT_TUNING=/hermes/projekte/inference-stack/Strata/terminal/tools/hip/gfx1100-hipblaslt-100401.txt STRATA_SCORES_THREAD=1 STRATA_KV_HOST_DMA=1 STRATA_EXPDEC=1 " +} diff --git a/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-mtp/engine-log-excerpt.txt b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-mtp/engine-log-excerpt.txt new file mode 100644 index 0000000000..f77c8e607d --- /dev/null +++ b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-mtp/engine-log-excerpt.txt @@ -0,0 +1,12 @@ +[strata] 2026-12-05 20:14:47 engine started: /bin/strata --serve --pack /packs/orca-iq3_xxs --native /orca-flash-next-iq3_xxs/Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf --ple-gguf /orca-flash-next-iq3_xxs/Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf --expert-profile /terminal/data/expert-profile.bin --expert-cache auto --prefill auto:16384 --spec 4 --spec-min-p 0.5 --max-context 262144 --kv int8 --vision --kv-resident 32768 --vram-reserve-mib 1024 --conversation-cache-mib 8192 --conversation-cache-slots 8 --prompt-cache 12 --mtp /packs/qwen38-flash-next-mtp/rt --conversation-cache-min-tokens 1024 +strata generate: native pack: /packs/orca-iq3_xxs experts (largest blob 2.18 MB), token embedding IQ3_S in mapped host memory (260 MiB, 0.1 s) +strata generate: profile /terminal/data/expert-profile.bin: 24576 ranked pairs, built for 24576 slots +strata mtp: draft layer loaded (Q2_0 S2), 835 MiB of VRAM (experts 675, dense 111), files read in 0.35 s (2263 MiB/s) +strata generate: loaded 49.80 GiB at 4.70 GiB/s +strata generate: expert cache auto: 18.56 GiB free, 1024 MiB reserved (+184 MiB for the draft head, +256 MiB for what is allocated after the cache) -> 8450 slots +strata generate: expert cache 8465 slots, 17.15 GiB of VRAM; policy is +strata generate: pre-filled 8465 of 8465 slots from the profile in 1.4 s (13434 MB/s); slot 0 verified +strata generate: session is up (engine 0.1.66) +strata mtp: draft head over 106299 tokens (178.4 MiB) +strata serve: #4870 mid-coverage expert cache (8465 of 24576 slots, 34.4%): adaptive defaults every 4 -> 2, swaps 96 -> 192, decay 0.70 -> 0.92 +strata serve: 1205 MiB of VRAM free with everything loaded diff --git a/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-mtp/results.json b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-mtp/results.json new file mode 100644 index 0000000000..90141f0984 --- /dev/null +++ b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-mtp/results.json @@ -0,0 +1,1030 @@ +{ + "schema": 1, + "tool": "tools/strata_bench.py", + "date": "2026-12-05", + "params": { + "runs": 3, + "think": false, + "clients": 0, + "long": true, + "started_server": false, + "command": "python tools/strata_bench.py --long" + }, + "elapsed_s": 182.75071668624878, + "machine": { + "gpu": [ + "AMD Radeon RX 7900 XTX" + ], + "gpu_vram_mib": 24560.0, + "gpu_driver": null, + "gpu_detail": [ + {} + ], + "cuda": null, + "engine_build": null, + "cpu": "AMD Ryzen 7 7800X3D 8-Core Processor", + "cpu_cores": 8, + "storage": "sda Samsung SSD 860 PRO 2TB sata; zram0; nvme0n1 CT1000T700SSD3 nvme", + "cpu_threads": 16, + "ram_gib": 90.0, + "os": "Linux 7.3.7-2-cachyos", + "python": "3.14.10", + "strata_version": "0.1.66", + "strata_commit": null, + "engine_version": "0.1.66", + "model": "orcarouter-qwen3.8-flash-next-uncensored-iq3_xxs", + "quant": "IQ3_XXS", + "context": 262144, + "parallel_slots": 1, + "config": { + "exe": "strata", + "args": [ + "--pack", + "orca-iq3_xxs", + "--native", + "Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf", + "--ple-gguf", + "Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf", + "--expert-profile", + "expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto:16384", + "--spec", + "4", + "--spec-min-p", + "0.5", + "--max-context", + "262144", + "--kv", + "int8", + "--vision", + "--kv-resident", + "32768", + "--vram-reserve-mib", + "1024", + "--conversation-cache-mib", + "8192", + "--conversation-cache-slots", + "8", + "--prompt-cache", + "12", + "--mtp", + "rt" + ], + "model_name": "orcarouter-qwen3.8-flash-next-uncensored-iq3_xxs", + "display_name": "Qwen3.8-Flash-Next Uncensored IQ3_XXS (Orca)", + "lib_dirs": [ + "/opt/rocm/lib" + ], + "gpu": 0, + "gpus_asked": true, + "backend": "hip", + "host": "127.0.0.1", + "open_browser": false, + "vision": { + "exe": "/models/bin/strata-vision", + "mmproj": "/models/mmproj/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/models/orca-flash-next-iq3_xxs/Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf" + }, + "cmd_prefix": "gfx1100-hipblaslt-100401.txt STRATA_SCORES_THREAD=1 STRATA_KV_HOST_DMA=1 STRATA_EXPDEC=1 " + }, + "launch": "strata --pack orca-iq3_xxs --native Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf --ple-gguf Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf --expert-profile expert-profile.bin --expert-cache auto --prefill auto:16384 --spec 4 --spec-min-p 0.5 --max-context 262144 --kv int8 --vision --kv-resident 32768 --vram-reserve-mib 1024 --conversation-cache-mib 8192 --conversation-cache-slots 8 --prompt-cache 12 --mtp rt", + "engine_info": { + "model": "orcarouter-qwen3.8-flash-next-uncensored-iq3_xxs", + "max_context": 262144, + "images": true, + "gen": 1, + "version": "0.1.66", + "logit_bias": 1, + "context": 262144, + "kv": "int8", + "kv_resident": 32768, + "expert_slots": 8465, + "experts": 24576, + "expert_cache_mib": 17566, + "expert_slots_primary": 8465, + "expert_cache_primary_mib": 17566, + "spec": 6, + "mtp_max": 4, + "lookup": 3, + "vram_free_mib": 1205, + "cvec": 0, + "arena_mib": 51000, + "pool_workers": 7, + "pcie_frac": "0.15", + "spec_min_p": "0.50", + "conversation_cache_mib": 8192, + "conversation_cache_slots": 8, + "conversation_cache_min_free_mib": 2560, + "conversation_cache_min_tokens": 1024, + "tail_role_token": -1, + "vram_elastic": 0, + "prefill_cap": 16384, + "prefill_stages": 1, + "stream_all_min": 3072, + "prefill_pipe": 0, + "engine": "0.1.66", + "drafting": "mtp", + "drafting_note": "Drafting: MTP (DFlash2 is for Qwen3.8-Flash-Next only)" + }, + "vram_after": { + "elastic": false + } + }, + "results": { + "chat": { + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 1.56, + "total_s": 2.627, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 33.0, + "prompt_tps_source": "engine", + "decode_tps": 92.6, + "decode_tps_source": "engine", + "prompt_ms": 1543.7, + "decode_ms": 1080.3, + "drafts_offered": 85, + "drafts_accepted": 67, + "run": 0, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.536, + "total_s": 1.894, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 82.9, + "prompt_tps_source": "engine", + "decode_tps": 72.9, + "decode_tps_source": "engine", + "prompt_ms": 518.5, + "decode_ms": 1372.4, + "drafts_offered": 93, + "drafts_accepted": 53, + "run": 0, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.473, + "total_s": 2.813, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 31.6, + "prompt_tps_source": "engine", + "decode_tps": 73.9, + "decode_tps_source": "engine", + "prompt_ms": 1456.5, + "decode_ms": 1353.1, + "drafts_offered": 80, + "drafts_accepted": 47, + "run": 0, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.525, + "total_s": 2.777, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 33.8, + "prompt_tps_source": "engine", + "decode_tps": 79.0, + "decode_tps_source": "engine", + "prompt_ms": 1507.4, + "decode_ms": 1266.4, + "drafts_offered": 89, + "drafts_accepted": 67, + "run": 1, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.86, + "total_s": 2.215, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 51.1, + "prompt_tps_source": "engine", + "decode_tps": 73.0, + "decode_tps_source": "engine", + "prompt_ms": 841.5, + "decode_ms": 1369.5, + "drafts_offered": 96, + "drafts_accepted": 53, + "run": 1, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.091, + "total_s": 2.433, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 42.8, + "prompt_tps_source": "engine", + "decode_tps": 73.7, + "decode_tps_source": "engine", + "prompt_ms": 1074.0, + "decode_ms": 1356.1, + "drafts_offered": 85, + "drafts_accepted": 46, + "run": 1, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.578, + "total_s": 1.824, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 91.0, + "prompt_tps_source": "engine", + "decode_tps": 79.3, + "decode_tps_source": "engine", + "prompt_ms": 560.5, + "decode_ms": 1260.5, + "drafts_offered": 90, + "drafts_accepted": 68, + "run": 2, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.546, + "total_s": 1.927, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 81.4, + "prompt_tps_source": "engine", + "decode_tps": 71.7, + "decode_tps_source": "engine", + "prompt_ms": 528.3, + "decode_ms": 1395.6, + "drafts_offered": 102, + "drafts_accepted": 51, + "run": 2, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.426, + "total_s": 1.736, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 112.7, + "prompt_tps_source": "engine", + "decode_tps": 75.5, + "decode_tps_source": "engine", + "prompt_ms": 408.1, + "decode_ms": 1324.3, + "drafts_offered": 88, + "drafts_accepted": 51, + "run": 2, + "prompt": 2 + } + ], + "decode_tps": { + "median": 73.9, + "min": 71.7, + "max": 92.6, + "n": 9 + }, + "ttft_s": { + "median": 0.86, + "min": 0.426, + "max": 1.56, + "n": 9 + }, + "generated_tokens": { + "median": 100, + "min": 100, + "max": 100, + "n": 9 + }, + "prompt_tokens": { + "median": 46, + "min": 43, + "max": 51, + "n": 9 + } + }, + "prompts": { + "4K": { + "target_tokens": 4096, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 2.881, + "total_s": 3.313, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 1405.2, + "prompt_tps_source": "engine", + "decode_tps": 53.7, + "decode_tps_source": "engine", + "prompt_ms": 2860.1, + "decode_ms": 447.0, + "drafts_offered": 29, + "drafts_accepted": 8, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.59, + "total_s": 2.858, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 1563.7, + "prompt_tps_source": "engine", + "decode_tps": 84.8, + "decode_tps_source": "engine", + "prompt_ms": 2570.2, + "decode_ms": 283.0, + "drafts_offered": 23, + "drafts_accepted": 11, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.751, + "total_s": 4.036, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 1077.1, + "prompt_tps_source": "engine", + "decode_tps": 80.0, + "decode_tps_source": "engine", + "prompt_ms": 3731.4, + "decode_ms": 299.9, + "drafts_offered": 20, + "drafts_accepted": 9, + "run": 2 + } + ], + "prompt_tps": { + "median": 1405.2, + "min": 1077.1, + "max": 1563.7, + "n": 3 + }, + "ttft_s": { + "median": 2.881, + "min": 2.59, + "max": 3.751, + "n": 3 + }, + "prompt_tokens": { + "median": 4019, + "min": 4019, + "max": 4019, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "16K": { + "target_tokens": 16384, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 8.298, + "total_s": 8.579, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 2145.7, + "prompt_tps_source": "engine", + "decode_tps": 81.2, + "decode_tps_source": "engine", + "prompt_ms": 7483.7, + "decode_ms": 295.7, + "drafts_offered": 24, + "drafts_accepted": 10, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 7.4, + "total_s": 7.69, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 2178.0, + "prompt_tps_source": "engine", + "decode_tps": 78.8, + "decode_tps_source": "engine", + "prompt_ms": 7372.7, + "decode_ms": 304.5, + "drafts_offered": 23, + "drafts_accepted": 9, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 8.574, + "total_s": 8.84, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 1878.4, + "prompt_tps_source": "engine", + "decode_tps": 85.6, + "decode_tps_source": "engine", + "prompt_ms": 8548.9, + "decode_ms": 280.3, + "drafts_offered": 22, + "drafts_accepted": 10, + "run": 2 + } + ], + "prompt_tps": { + "median": 2145.7, + "min": 1878.4, + "max": 2178.0, + "n": 3 + }, + "ttft_s": { + "median": 8.298, + "min": 7.4, + "max": 8.574, + "n": 3 + }, + "prompt_tokens": { + "median": 16058, + "min": 16058, + "max": 16058, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "32K": { + "target_tokens": 32768, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 14.843, + "total_s": 15.297, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 2164.5, + "prompt_tps_source": "engine", + "decode_tps": 51.0, + "decode_tps_source": "engine", + "prompt_ms": 14806.6, + "decode_ms": 471.0, + "drafts_offered": 26, + "drafts_accepted": 10, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 12.948, + "total_s": 13.286, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 2482.0, + "prompt_tps_source": "engine", + "decode_tps": 67.6, + "decode_tps_source": "engine", + "prompt_ms": 12912.8, + "decode_ms": 355.0, + "drafts_offered": 28, + "drafts_accepted": 10, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 17.593, + "total_s": 17.955, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 1825.6, + "prompt_tps_source": "engine", + "decode_tps": 63.3, + "decode_tps_source": "engine", + "prompt_ms": 17554.9, + "decode_ms": 378.9, + "drafts_offered": 29, + "drafts_accepted": 8, + "run": 2 + } + ], + "prompt_tps": { + "median": 2164.5, + "min": 1825.6, + "max": 2482.0, + "n": 3 + }, + "ttft_s": { + "median": 14.843, + "min": 12.948, + "max": 17.593, + "n": 3 + }, + "prompt_tokens": { + "median": 32049, + "min": 32049, + "max": 32049, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + } + }, + "agent": { + "corpus": "repo_docs", + "corpus_files": [ + "README.md", + "docs/HOW_IT_WORKS.md", + "docs/DETAILS.md", + "docs/INSTALL.md", + "docs/MODELS.md" + ], + "corpus_sha256": "53e7037ff848", + "sessions": [ + [ + { + "ok": true, + "err": null, + "ttft_s": 3.267, + "total_s": 3.468, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 17, + "prompt_tps": 187.6, + "prompt_tps_source": "engine", + "decode_tps": 78.6, + "decode_tps_source": "engine", + "prompt_ms": 3245.5, + "decode_ms": 216.4, + "drafts_offered": 14, + "drafts_accepted": 10, + "run": 0, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.254, + "total_s": 5.077, + "prompt_tokens": 4070, + "reused_tokens": 625, + "read_tokens": 3445, + "generated_tokens": 64, + "prompt_tps": 814.7, + "prompt_tps_source": "engine", + "decode_tps": 76.3, + "decode_tps_source": "engine", + "prompt_ms": 4228.8, + "decode_ms": 838.3, + "drafts_offered": 57, + "drafts_accepted": 35, + "run": 0, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.667, + "total_s": 3.551, + "prompt_tokens": 5734, + "reused_tokens": 4133, + "read_tokens": 1601, + "generated_tokens": 64, + "prompt_tps": 605.2, + "prompt_tps_source": "engine", + "decode_tps": 71.3, + "decode_tps_source": "engine", + "prompt_ms": 2645.6, + "decode_ms": 898.0, + "drafts_offered": 57, + "drafts_accepted": 38, + "run": 0, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.296, + "total_s": 4.816, + "prompt_tokens": 9105, + "reused_tokens": 5797, + "read_tokens": 3308, + "generated_tokens": 52, + "prompt_tps": 774.4, + "prompt_tps_source": "engine", + "decode_tps": 97.4, + "decode_tps_source": "engine", + "prompt_ms": 4271.8, + "decode_ms": 534.1, + "drafts_offered": 46, + "drafts_accepted": 32, + "run": 0, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.04, + "total_s": 3.413, + "prompt_tokens": 11957, + "reused_tokens": 9156, + "read_tokens": 2801, + "generated_tokens": 38, + "prompt_tps": 928.6, + "prompt_tps_source": "engine", + "decode_tps": 98.1, + "decode_tps_source": "engine", + "prompt_ms": 3016.4, + "decode_ms": 387.4, + "drafts_offered": 34, + "drafts_accepted": 22, + "run": 0, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.404, + "total_s": 3.573, + "prompt_tokens": 14944, + "reused_tokens": 11994, + "read_tokens": 2950, + "generated_tokens": 20, + "prompt_tps": 873.2, + "prompt_tps_source": "engine", + "decode_tps": 108.3, + "decode_tps_source": "engine", + "prompt_ms": 3378.5, + "decode_ms": 184.7, + "drafts_offered": 16, + "drafts_accepted": 12, + "run": 0, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 5.334, + "total_s": 5.536, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 13, + "prompt_tps": 114.6, + "prompt_tps_source": "engine", + "decode_tps": 60.0, + "decode_tps_source": "engine", + "prompt_ms": 5315.8, + "decode_ms": 216.7, + "drafts_offered": 16, + "drafts_accepted": 5, + "run": 1, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.471, + "total_s": 3.199, + "prompt_tokens": 4066, + "reused_tokens": 621, + "read_tokens": 3445, + "generated_tokens": 64, + "prompt_tps": 1406.3, + "prompt_tps_source": "engine", + "decode_tps": 86.1, + "decode_tps_source": "engine", + "prompt_ms": 2449.7, + "decode_ms": 743.5, + "drafts_offered": 64, + "drafts_accepted": 32, + "run": 1, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.426, + "total_s": 2.014, + "prompt_tokens": 5729, + "reused_tokens": 4129, + "read_tokens": 1600, + "generated_tokens": 64, + "prompt_tps": 1138.0, + "prompt_tps_source": "engine", + "decode_tps": 106.2, + "decode_tps_source": "engine", + "prompt_ms": 1406.0, + "decode_ms": 602.7, + "drafts_offered": 59, + "drafts_accepted": 41, + "run": 1, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.609, + "total_s": 3.261, + "prompt_tokens": 9100, + "reused_tokens": 5792, + "read_tokens": 3308, + "generated_tokens": 64, + "prompt_tps": 1278.6, + "prompt_tps_source": "engine", + "decode_tps": 95.9, + "decode_tps_source": "engine", + "prompt_ms": 2587.2, + "decode_ms": 667.1, + "drafts_offered": 61, + "drafts_accepted": 40, + "run": 1, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.642, + "total_s": 3.034, + "prompt_tokens": 11965, + "reused_tokens": 9163, + "read_tokens": 2802, + "generated_tokens": 38, + "prompt_tps": 1069.8, + "prompt_tps_source": "engine", + "decode_tps": 93.4, + "decode_tps_source": "engine", + "prompt_ms": 2619.3, + "decode_ms": 406.7, + "drafts_offered": 40, + "drafts_accepted": 22, + "run": 1, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.959, + "total_s": 5.364, + "prompt_tokens": 14952, + "reused_tokens": 12002, + "read_tokens": 2950, + "generated_tokens": 35, + "prompt_tps": 597.7, + "prompt_tps_source": "engine", + "decode_tps": 83.4, + "decode_tps_source": "engine", + "prompt_ms": 4935.7, + "decode_ms": 419.8, + "drafts_offered": 36, + "drafts_accepted": 21, + "run": 1, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 5.855, + "total_s": 6.094, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 13, + "prompt_tps": 104.4, + "prompt_tps_source": "engine", + "decode_tps": 51.2, + "decode_tps_source": "engine", + "prompt_ms": 5836.0, + "decode_ms": 254.0, + "drafts_offered": 19, + "drafts_accepted": 5, + "run": 2, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.17, + "total_s": 4.837, + "prompt_tokens": 4066, + "reused_tokens": 621, + "read_tokens": 3445, + "generated_tokens": 64, + "prompt_tps": 830.5, + "prompt_tps_source": "engine", + "decode_tps": 93.9, + "decode_tps_source": "engine", + "prompt_ms": 4148.1, + "decode_ms": 681.9, + "drafts_offered": 58, + "drafts_accepted": 36, + "run": 2, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.728, + "total_s": 4.684, + "prompt_tokens": 5730, + "reused_tokens": 4129, + "read_tokens": 1601, + "generated_tokens": 64, + "prompt_tps": 591.3, + "prompt_tps_source": "engine", + "decode_tps": 32.5, + "decode_tps_source": "engine", + "prompt_ms": 2707.4, + "decode_ms": 1970.8, + "drafts_offered": 69, + "drafts_accepted": 36, + "run": 2, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.88, + "total_s": 3.62, + "prompt_tokens": 9101, + "reused_tokens": 5793, + "read_tokens": 3308, + "generated_tokens": 64, + "prompt_tps": 1157.1, + "prompt_tps_source": "engine", + "decode_tps": 84.8, + "decode_tps_source": "engine", + "prompt_ms": 2858.8, + "decode_ms": 754.4, + "drafts_offered": 65, + "drafts_accepted": 36, + "run": 2, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.434, + "total_s": 2.725, + "prompt_tokens": 11966, + "reused_tokens": 9164, + "read_tokens": 2802, + "generated_tokens": 24, + "prompt_tps": 1161.7, + "prompt_tps_source": "engine", + "decode_tps": 78.6, + "decode_tps_source": "engine", + "prompt_ms": 2411.9, + "decode_ms": 305.5, + "drafts_offered": 32, + "drafts_accepted": 12, + "run": 2, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.488, + "total_s": 2.997, + "prompt_tokens": 14939, + "reused_tokens": 11989, + "read_tokens": 2950, + "generated_tokens": 43, + "prompt_tps": 1197.2, + "prompt_tps_source": "engine", + "decode_tps": 82.0, + "decode_tps_source": "engine", + "prompt_ms": 2464.1, + "decode_ms": 524.3, + "drafts_offered": 44, + "drafts_accepted": 23, + "run": 2, + "turn": 5 + } + ] + ], + "hit_pct": { + "median": 69.21, + "min": 69.202, + "max": 69.211, + "n": 3 + }, + "reread_tokens": { + "median": 5, + "min": 5, + "max": 5, + "n": 3 + }, + "new_tokens": { + "median": 14100, + "min": 14100, + "max": 14101, + "n": 3 + }, + "turn_ttft_s": { + "median": 2.728, + "min": 1.426, + "max": 4.959, + "n": 15 + }, + "last_turn_prompt_tokens": { + "median": 14944, + "min": 14939, + "max": 14952, + "n": 3 + }, + "turn_decode_tps": { + "median": 86.1, + "min": 32.5, + "max": 108.3, + "n": 15 + }, + "first_turn_ttft_s": { + "median": 5.334, + "min": 3.267, + "max": 5.855, + "n": 3 + } + }, + "clients": {}, + "skipped": {}, + "failures": [] + } +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp-r2/README.md b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp-r2/README.md new file mode 100644 index 0000000000..c0237bf645 --- /dev/null +++ b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp-r2/README.md @@ -0,0 +1,61 @@ +# Community benchmark on AMD Radeon RX 7900 XTX + +Measured on 2026-12-05 with `tools/strata_bench.py` (suite 1, 3 runs per test, medians with ranges). Speeds are the engine's own timings; first-token times are measured by the client over HTTP. Speed only: no correctness check was run. + +## Hardware and software + +- GPU and VRAM: AMD Radeon RX 7900 XTX, 24 GiB VRAM +- CPU: AMD Ryzen 7 7800X3D 8-Core Processor (8 cores, 16 threads); installed RAM: 90.0 GiB; storage: sda Samsung SSD 860 PRO 2TB sata; zram0; nvme0n1 CT1000T700SSD3 nvme +- OS: Linux 7.3.7-2-cachyos; GPU driver: not read; CUDA (driver supports up to): not read +- PolyStrata: project 0.1.66, commit not a git checkout; engine 0.1.66 +- Background workloads: not recorded (GPU power limit/draw read above) + +## Model and configuration + +- Model and quantization: orcarouter-qwen3.8-flash-next-uncensored-iq3_xxs +- Context: 262144 tokens; parallel slots: 1 +- Settings: the install's own configuration, unchanged (hip backend); thinking off for the suite; temperature 0 + +```text +strata --pack orca-iq3_xxs --native Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf --ple-gguf Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf --expert-profile expert-profile.bin --expert-cache auto --prefill auto:16384 --spec 4 --spec-min-p 0.5 --max-context 262144 --kv int8 --vision --kv-resident 32768 --vram-reserve-mib 1024 --conversation-cache-mib 8192 --conversation-cache-slots 8 --prompt-cache 12 +``` + +## Method + +Run by `python tools/strata_bench.py --long` against the HTTP API of a PolyStrata server (already running); model loading is not timed. One warm-up chat and a 1K prompt are discarded first. Every prompt starts with a unique tag, so the conversation cache cannot help the fresh-prompt tests. + +- short chat: the three questions of `tools/ab_engine.py`, up to 100 new tokens, 3 runs +- 4K / 16K prompts: generated word lists sized by a calibration request, 24 new tokens, 3 fresh prompts each +- agent session: system prompt and four tools, then 5 turns that each add about 1500 words of a project file and continue from the model's own earlier answers (the way agent clients resend a conversation), 64 new tokens per turn, 3 sessions; the cache numbers come from the answer's usage (`cached_tokens`) and timings (`prompt_n`) +- concurrency (when run): N requests sent at the same moment, total tokens over the wall time of the burst, latency over all requests + +## Results + +| 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 | +| --- | ---: | ---: | ---: | ---: | --- | --- | --- | +| short chat | 46 (43-51) | 0 | 100 (100-100) | 9 | not measured | 51.9 (49.7-54.9) | 1.16 (0.59-1.73) | +| 4K prompt, fresh | 4019 (4019-4019) | 0 (0-0) | 24 cap | 3 | 1511.8 (1332.6-1525.4) | not measured | 2.68 (2.65-3.04) | +| 16K prompt, fresh | 16058 (16058-16058) | 0 (0-0) | 24 cap | 3 | 2152.7 (1810.0-2438.1) | not measured | 7.49 (6.61-8.90) | +| 32K prompt, fresh | 32049 (32049-32049) | 0 (0-0) | 24 cap | 3 | 2582.7 (2144.8-2584.6) | not measured | 12.44 (12.43-14.98) | +| agent session, follow-up turns | 14929 (14918-14980) at the last turn | see below | up to 64 | 3 | see below | 63.1 (17.0-75.0) | 2.53 (1.95-4.04) | + +Ranges are the lowest and highest of the runs; `Runs` counts requests that returned a token. + +### Agent session (conversation cache) + +Cache hit over the follow-up turns: 69.2 % (69.2-69.2); earlier-turn tokens read again per session: 5 (5-5) (earlier turns that the cache did not hold; the 14100 (14100-14102) new tokens of the files are read once); first turn (nothing cached) first token: 3.57 s (1.05-6.64). Corpus: `repo_docs` (53e7037ff848) [README.md, docs/HOW_IT_WORKS.md, docs/DETAILS.md, docs/INSTALL.md, docs/MODELS.md]. + +| Turn (run 1) | Prompt tokens | Reused | Read | Prompt tok/s | First token (s) | Decode tok/s | +| ---: | ---: | ---: | ---: | ---: | ---: | ---: | +| 0 | 609 | 0 | 609 | 590.2 | 1.055 | 48.4 | +| 1 | 4066 | 621 | 3445 | 1393.0 | 2.499 | 46.8 | +| 2 | 5730 | 4129 | 1601 | 688.8 | 2.347 | 54.2 | +| 3 | 9101 | 5793 | 3308 | 1351.3 | 2.472 | 66.8 | +| 4 | 11956 | 9155 | 2801 | 930.8 | 3.034 | 17.0 | +| 5 | 14929 | 11979 | 2950 | 735.5 | 4.035 | 69.5 | + +Per-request data: `results.json`. Engine log lines from the start: `engine-log-excerpt.txt` (when this run started the server). + +## Correctness and limitations + +Not measured: this is a speed suite. The conversation uses the model's own replies, so token counts differ a little between runs. Machine details come from the server, `nvidia-smi`/`rocm-smi` and the OS; background load is not recorded. Total time of the suite: 179 s. diff --git a/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp-r2/config.json b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp-r2/config.json new file mode 100644 index 0000000000..2811a7e12d --- /dev/null +++ b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp-r2/config.json @@ -0,0 +1,55 @@ +{ + "exe": "/bin/strata", + "args": [ + "--pack", + "/packs/orca-iq3_xxs", + "--native", + "/orca-flash-next-iq3_xxs/Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf", + "--ple-gguf", + "/orca-flash-next-iq3_xxs/Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf", + "--expert-profile", + "/terminal/data/expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto:16384", + "--spec", + "4", + "--spec-min-p", + "0.5", + "--max-context", + "262144", + "--kv", + "int8", + "--vision", + "--kv-resident", + "32768", + "--vram-reserve-mib", + "1024", + "--conversation-cache-mib", + "8192", + "--conversation-cache-slots", + "8", + "--prompt-cache", + "12" + ], + "cwd": "", + "tokenizer": "/packs/orca-iq3_xxs/tokenizer", + "model_name": "orcarouter-qwen3.8-flash-next-uncensored-iq3_xxs", + "display_name": "Qwen3.8-Flash-Next Uncensored IQ3_XXS (Orca)", + "log": "/engine-unc-nomtp.log", + "lib_dirs": [ + "/opt/rocm/lib" + ], + "gpu": 0, + "gpus_asked": true, + "backend": "hip", + "host": "127.0.0.1", + "open_browser": false, + "vision": { + "exe": "/bin/strata-vision", + "mmproj": "/mmproj/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/orca-flash-next-iq3_xxs/Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf" + }, + "cmd_prefix": "env STRATA_HIPBLASLT_TUNING=/hermes/projekte/inference-stack/Strata/terminal/tools/hip/gfx1100-hipblaslt-100401.txt STRATA_SCORES_THREAD=1 STRATA_KV_HOST_DMA=1 STRATA_EXPDEC=1 " +} diff --git a/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp-r2/engine-log-excerpt.txt b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp-r2/engine-log-excerpt.txt new file mode 100644 index 0000000000..6e719fe538 --- /dev/null +++ b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp-r2/engine-log-excerpt.txt @@ -0,0 +1,10 @@ +[strata] 2026-12-05 20:18:36 engine started: /bin/strata --serve --pack /packs/orca-iq3_xxs --native /orca-flash-next-iq3_xxs/Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf --ple-gguf /orca-flash-next-iq3_xxs/Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf --expert-profile /terminal/data/expert-profile.bin --expert-cache auto --prefill auto:16384 --spec 4 --spec-min-p 0.5 --max-context 262144 --kv int8 --vision --kv-resident 32768 --vram-reserve-mib 1024 --conversation-cache-mib 8192 --conversation-cache-slots 8 --prompt-cache 12 --conversation-cache-min-tokens 1024 +strata generate: native pack: /packs/orca-iq3_xxs experts (largest blob 2.18 MB), token embedding IQ3_S in mapped host memory (260 MiB, 0.1 s) +strata generate: profile /terminal/data/expert-profile.bin: 24576 ranked pairs, built for 24576 slots +strata generate: loaded 49.80 GiB at 4.54 GiB/s +strata generate: expert cache auto: 19.42 GiB free, 1024 MiB reserved (+0 MiB for the draft head, +256 MiB for what is allocated after the cache) -> 8965 slots +strata generate: expert cache 8980 slots, 18.20 GiB of VRAM; policy is +strata generate: pre-filled 8980 of 8980 slots from the profile in 1.6 s (12387 MB/s); slot 0 verified +strata generate: session is up (engine 0.1.66) +strata serve: #4870 mid-coverage expert cache (8980 of 24576 slots, 36.5%): adaptive defaults every 4 -> 2, swaps 96 -> 192, decay 0.70 -> 0.92 +strata serve: 1164 MiB of VRAM free with everything loaded diff --git a/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp-r2/results.json b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp-r2/results.json new file mode 100644 index 0000000000..9f94e1cc73 --- /dev/null +++ b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp-r2/results.json @@ -0,0 +1,1028 @@ +{ + "schema": 1, + "tool": "tools/strata_bench.py", + "date": "2026-12-05", + "params": { + "runs": 3, + "think": false, + "clients": 0, + "long": true, + "started_server": false, + "command": "python tools/strata_bench.py --long" + }, + "elapsed_s": 179.25488090515137, + "machine": { + "gpu": [ + "AMD Radeon RX 7900 XTX" + ], + "gpu_vram_mib": 24560.0, + "gpu_driver": null, + "gpu_detail": [ + {} + ], + "cuda": null, + "engine_build": null, + "cpu": "AMD Ryzen 7 7800X3D 8-Core Processor", + "cpu_cores": 8, + "storage": "sda Samsung SSD 860 PRO 2TB sata; zram0; nvme0n1 CT1000T700SSD3 nvme", + "cpu_threads": 16, + "ram_gib": 90.0, + "os": "Linux 7.3.7-2-cachyos", + "python": "3.14.10", + "strata_version": "0.1.66", + "strata_commit": null, + "engine_version": "0.1.66", + "model": "orcarouter-qwen3.8-flash-next-uncensored-iq3_xxs", + "quant": "IQ3_XXS", + "context": 262144, + "parallel_slots": 1, + "config": { + "exe": "strata", + "args": [ + "--pack", + "orca-iq3_xxs", + "--native", + "Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf", + "--ple-gguf", + "Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf", + "--expert-profile", + "expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto:16384", + "--spec", + "4", + "--spec-min-p", + "0.5", + "--max-context", + "262144", + "--kv", + "int8", + "--vision", + "--kv-resident", + "32768", + "--vram-reserve-mib", + "1024", + "--conversation-cache-mib", + "8192", + "--conversation-cache-slots", + "8", + "--prompt-cache", + "12" + ], + "model_name": "orcarouter-qwen3.8-flash-next-uncensored-iq3_xxs", + "display_name": "Qwen3.8-Flash-Next Uncensored IQ3_XXS (Orca)", + "lib_dirs": [ + "/opt/rocm/lib" + ], + "gpu": 0, + "gpus_asked": true, + "backend": "hip", + "host": "127.0.0.1", + "open_browser": false, + "vision": { + "exe": "/models/bin/strata-vision", + "mmproj": "/models/mmproj/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/models/orca-flash-next-iq3_xxs/Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf" + }, + "cmd_prefix": "gfx1100-hipblaslt-100401.txt STRATA_SCORES_THREAD=1 STRATA_KV_HOST_DMA=1 STRATA_EXPDEC=1 " + }, + "launch": "strata --pack orca-iq3_xxs --native Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf --ple-gguf Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf --expert-profile expert-profile.bin --expert-cache auto --prefill auto:16384 --spec 4 --spec-min-p 0.5 --max-context 262144 --kv int8 --vision --kv-resident 32768 --vram-reserve-mib 1024 --conversation-cache-mib 8192 --conversation-cache-slots 8 --prompt-cache 12", + "engine_info": { + "model": "orcarouter-qwen3.8-flash-next-uncensored-iq3_xxs", + "max_context": 262144, + "images": true, + "gen": 1, + "version": "0.1.66", + "logit_bias": 1, + "context": 262144, + "kv": "int8", + "kv_resident": 32768, + "expert_slots": 8980, + "experts": 24576, + "expert_cache_mib": 18635, + "expert_slots_primary": 8980, + "expert_cache_primary_mib": 18635, + "spec": 6, + "mtp_max": 4, + "lookup": 3, + "vram_free_mib": 1164, + "cvec": 0, + "arena_mib": 51000, + "pool_workers": 7, + "pcie_frac": "0.15", + "spec_min_p": "0.50", + "conversation_cache_mib": 8192, + "conversation_cache_slots": 8, + "conversation_cache_min_free_mib": 2560, + "conversation_cache_min_tokens": 1024, + "tail_role_token": -1, + "vram_elastic": 0, + "prefill_cap": 16384, + "prefill_stages": 1, + "stream_all_min": 3072, + "prefill_pipe": 0, + "engine": "0.1.66", + "drafting": "off", + "drafting_note": "Drafting: off (DFlash2 is for Qwen3.8-Flash-Next only)" + }, + "vram_after": { + "elastic": false + } + }, + "results": { + "chat": { + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 1.16, + "total_s": 2.967, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 44.7, + "prompt_tps_source": "engine", + "decode_tps": 54.9, + "decode_tps_source": "engine", + "prompt_ms": 1140.8, + "decode_ms": 1822.9, + "drafts_offered": 26, + "drafts_accepted": 12, + "run": 0, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.46, + "total_s": 3.374, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 29.8, + "prompt_tps_source": "engine", + "decode_tps": 51.9, + "decode_tps_source": "engine", + "prompt_ms": 1442.6, + "decode_ms": 1928.0, + "drafts_offered": 1, + "drafts_accepted": 0, + "run": 0, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.292, + "total_s": 3.207, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 36.1, + "prompt_tps_source": "engine", + "decode_tps": 51.8, + "decode_tps_source": "engine", + "prompt_ms": 1273.3, + "decode_ms": 1930.4, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.155, + "total_s": 3.152, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 44.8, + "prompt_tps_source": "engine", + "decode_tps": 49.7, + "decode_tps_source": "engine", + "prompt_ms": 1138.1, + "decode_ms": 2010.5, + "drafts_offered": 19, + "drafts_accepted": 8, + "run": 1, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.004, + "total_s": 2.929, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 43.7, + "prompt_tps_source": "engine", + "decode_tps": 51.5, + "decode_tps_source": "engine", + "prompt_ms": 984.5, + "decode_ms": 1941.2, + "drafts_offered": 2, + "drafts_accepted": 0, + "run": 1, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.139, + "total_s": 3.024, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 41.1, + "prompt_tps_source": "engine", + "decode_tps": 52.6, + "decode_tps_source": "engine", + "prompt_ms": 1120.2, + "decode_ms": 1900.7, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.726, + "total_s": 3.701, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 29.8, + "prompt_tps_source": "engine", + "decode_tps": 50.3, + "decode_tps_source": "engine", + "prompt_ms": 1708.8, + "decode_ms": 1989.2, + "drafts_offered": 14, + "drafts_accepted": 8, + "run": 2, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.987, + "total_s": 2.895, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 44.4, + "prompt_tps_source": "engine", + "decode_tps": 52.0, + "decode_tps_source": "engine", + "prompt_ms": 967.4, + "decode_ms": 1924.7, + "drafts_offered": 2, + "drafts_accepted": 0, + "run": 2, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.587, + "total_s": 2.484, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 81.0, + "prompt_tps_source": "engine", + "decode_tps": 52.3, + "decode_tps_source": "engine", + "prompt_ms": 567.8, + "decode_ms": 1913.0, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2, + "prompt": 2 + } + ], + "decode_tps": { + "median": 51.9, + "min": 49.7, + "max": 54.9, + "n": 9 + }, + "ttft_s": { + "median": 1.155, + "min": 0.587, + "max": 1.726, + "n": 9 + }, + "generated_tokens": { + "median": 100, + "min": 100, + "max": 100, + "n": 9 + }, + "prompt_tokens": { + "median": 46, + "min": 43, + "max": 51, + "n": 9 + } + }, + "prompts": { + "4K": { + "target_tokens": 4096, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 3.038, + "total_s": 3.504, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 1332.6, + "prompt_tps_source": "engine", + "decode_tps": 49.8, + "decode_tps_source": "engine", + "prompt_ms": 3015.8, + "decode_ms": 482.4, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.655, + "total_s": 3.056, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 1525.4, + "prompt_tps_source": "engine", + "decode_tps": 58.0, + "decode_tps_source": "engine", + "prompt_ms": 2634.7, + "decode_ms": 413.6, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.678, + "total_s": 3.076, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 1511.8, + "prompt_tps_source": "engine", + "decode_tps": 58.2, + "decode_tps_source": "engine", + "prompt_ms": 2658.4, + "decode_ms": 412.7, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2 + } + ], + "prompt_tps": { + "median": 1511.8, + "min": 1332.6, + "max": 1525.4, + "n": 3 + }, + "ttft_s": { + "median": 2.678, + "min": 2.655, + "max": 3.038, + "n": 3 + }, + "prompt_tokens": { + "median": 4019, + "min": 4019, + "max": 4019, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "16K": { + "target_tokens": 16384, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 8.898, + "total_s": 9.263, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 1810.0, + "prompt_tps_source": "engine", + "decode_tps": 63.2, + "decode_tps_source": "engine", + "prompt_ms": 8872.0, + "decode_ms": 379.8, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 6.612, + "total_s": 6.969, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 2438.1, + "prompt_tps_source": "engine", + "decode_tps": 64.6, + "decode_tps_source": "engine", + "prompt_ms": 6586.3, + "decode_ms": 371.8, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 7.487, + "total_s": 7.862, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 2152.7, + "prompt_tps_source": "engine", + "decode_tps": 61.6, + "decode_tps_source": "engine", + "prompt_ms": 7459.5, + "decode_ms": 389.7, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2 + } + ], + "prompt_tps": { + "median": 2152.7, + "min": 1810.0, + "max": 2438.1, + "n": 3 + }, + "ttft_s": { + "median": 7.487, + "min": 6.612, + "max": 8.898, + "n": 3 + }, + "prompt_tokens": { + "median": 16058, + "min": 16058, + "max": 16058, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "32K": { + "target_tokens": 32768, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 14.976, + "total_s": 15.409, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 2144.8, + "prompt_tps_source": "engine", + "decode_tps": 53.6, + "decode_tps_source": "engine", + "prompt_ms": 14942.7, + "decode_ms": 447.6, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 12.434, + "total_s": 12.809, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 2584.6, + "prompt_tps_source": "engine", + "decode_tps": 61.5, + "decode_tps_source": "engine", + "prompt_ms": 12400.2, + "decode_ms": 390.2, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 12.441, + "total_s": 12.803, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 2582.7, + "prompt_tps_source": "engine", + "decode_tps": 63.8, + "decode_tps_source": "engine", + "prompt_ms": 12409.2, + "decode_ms": 376.1, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2 + } + ], + "prompt_tps": { + "median": 2582.7, + "min": 2144.8, + "max": 2584.6, + "n": 3 + }, + "ttft_s": { + "median": 12.441, + "min": 12.434, + "max": 14.976, + "n": 3 + }, + "prompt_tokens": { + "median": 32049, + "min": 32049, + "max": 32049, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + } + }, + "agent": { + "corpus": "repo_docs", + "corpus_files": [ + "README.md", + "docs/HOW_IT_WORKS.md", + "docs/DETAILS.md", + "docs/INSTALL.md", + "docs/MODELS.md" + ], + "corpus_sha256": "53e7037ff848", + "sessions": [ + [ + { + "ok": true, + "err": null, + "ttft_s": 1.055, + "total_s": 1.307, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 13, + "prompt_tps": 590.2, + "prompt_tps_source": "engine", + "decode_tps": 48.4, + "decode_tps_source": "engine", + "prompt_ms": 1031.9, + "decode_ms": 268.8, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.499, + "total_s": 3.851, + "prompt_tokens": 4066, + "reused_tokens": 621, + "read_tokens": 3445, + "generated_tokens": 64, + "prompt_tps": 1393.0, + "prompt_tps_source": "engine", + "decode_tps": 46.8, + "decode_tps_source": "engine", + "prompt_ms": 2473.1, + "decode_ms": 1366.7, + "drafts_offered": 6, + "drafts_accepted": 2, + "run": 0, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.347, + "total_s": 3.512, + "prompt_tokens": 5730, + "reused_tokens": 4129, + "read_tokens": 1601, + "generated_tokens": 64, + "prompt_tps": 688.8, + "prompt_tps_source": "engine", + "decode_tps": 54.2, + "decode_tps_source": "engine", + "prompt_ms": 2324.2, + "decode_ms": 1180.2, + "drafts_offered": 10, + "drafts_accepted": 0, + "run": 0, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.472, + "total_s": 3.281, + "prompt_tokens": 9101, + "reused_tokens": 5793, + "read_tokens": 3308, + "generated_tokens": 55, + "prompt_tps": 1351.3, + "prompt_tps_source": "engine", + "decode_tps": 66.8, + "decode_tps_source": "engine", + "prompt_ms": 2448.0, + "decode_ms": 822.8, + "drafts_offered": 22, + "drafts_accepted": 13, + "run": 0, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.034, + "total_s": 4.428, + "prompt_tokens": 11956, + "reused_tokens": 9155, + "read_tokens": 2801, + "generated_tokens": 24, + "prompt_tps": 930.8, + "prompt_tps_source": "engine", + "decode_tps": 17.0, + "decode_tps_source": "engine", + "prompt_ms": 3009.1, + "decode_ms": 1408.4, + "drafts_offered": 6, + "drafts_accepted": 1, + "run": 0, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.035, + "total_s": 4.395, + "prompt_tokens": 14929, + "reused_tokens": 11979, + "read_tokens": 2950, + "generated_tokens": 26, + "prompt_tps": 735.5, + "prompt_tps_source": "engine", + "decode_tps": 69.5, + "decode_tps_source": "engine", + "prompt_ms": 4011.0, + "decode_ms": 374.0, + "drafts_offered": 4, + "drafts_accepted": 3, + "run": 0, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 6.638, + "total_s": 6.824, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 13, + "prompt_tps": 92.0, + "prompt_tps_source": "engine", + "decode_tps": 64.9, + "decode_tps_source": "engine", + "prompt_ms": 6619.9, + "decode_ms": 200.4, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.544, + "total_s": 4.552, + "prompt_tokens": 4066, + "reused_tokens": 621, + "read_tokens": 3445, + "generated_tokens": 64, + "prompt_tps": 977.6, + "prompt_tps_source": "engine", + "decode_tps": 62.6, + "decode_tps_source": "engine", + "prompt_ms": 3524.1, + "decode_ms": 1022.8, + "drafts_offered": 7, + "drafts_accepted": 2, + "run": 1, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.526, + "total_s": 3.525, + "prompt_tokens": 5730, + "reused_tokens": 4129, + "read_tokens": 1601, + "generated_tokens": 64, + "prompt_tps": 638.8, + "prompt_tps_source": "engine", + "decode_tps": 63.1, + "decode_tps_source": "engine", + "prompt_ms": 2506.1, + "decode_ms": 1013.5, + "drafts_offered": 8, + "drafts_accepted": 3, + "run": 1, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.579, + "total_s": 4.478, + "prompt_tokens": 9101, + "reused_tokens": 5793, + "read_tokens": 3308, + "generated_tokens": 64, + "prompt_tps": 929.9, + "prompt_tps_source": "engine", + "decode_tps": 70.0, + "decode_tps_source": "engine", + "prompt_ms": 3557.3, + "decode_ms": 914.5, + "drafts_offered": 21, + "drafts_accepted": 13, + "run": 1, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.936, + "total_s": 3.982, + "prompt_tokens": 11966, + "reused_tokens": 9164, + "read_tokens": 2802, + "generated_tokens": 64, + "prompt_tps": 961.6, + "prompt_tps_source": "engine", + "decode_tps": 60.3, + "decode_tps_source": "engine", + "prompt_ms": 2913.8, + "decode_ms": 1061.4, + "drafts_offered": 11, + "drafts_accepted": 2, + "run": 1, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.896, + "total_s": 3.364, + "prompt_tokens": 14980, + "reused_tokens": 12029, + "read_tokens": 2951, + "generated_tokens": 29, + "prompt_tps": 1027.4, + "prompt_tps_source": "engine", + "decode_tps": 60.1, + "decode_tps_source": "engine", + "prompt_ms": 2872.2, + "decode_ms": 482.9, + "drafts_offered": 6, + "drafts_accepted": 2, + "run": 1, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 3.574, + "total_s": 3.751, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 11, + "prompt_tps": 171.3, + "prompt_tps_source": "engine", + "decode_tps": 57.3, + "decode_tps_source": "engine", + "prompt_ms": 3555.6, + "decode_ms": 192.1, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.369, + "total_s": 3.364, + "prompt_tokens": 4064, + "reused_tokens": 619, + "read_tokens": 3445, + "generated_tokens": 64, + "prompt_tps": 1467.3, + "prompt_tps_source": "engine", + "decode_tps": 63.3, + "decode_tps_source": "engine", + "prompt_ms": 2347.9, + "decode_ms": 1011.0, + "drafts_offered": 6, + "drafts_accepted": 2, + "run": 2, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.091, + "total_s": 3.058, + "prompt_tokens": 5728, + "reused_tokens": 4127, + "read_tokens": 1601, + "generated_tokens": 64, + "prompt_tps": 772.6, + "prompt_tps_source": "engine", + "decode_tps": 65.2, + "decode_tps_source": "engine", + "prompt_ms": 2072.1, + "decode_ms": 981.1, + "drafts_offered": 5, + "drafts_accepted": 1, + "run": 2, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.042, + "total_s": 3.668, + "prompt_tokens": 9099, + "reused_tokens": 5791, + "read_tokens": 3308, + "generated_tokens": 48, + "prompt_tps": 1095.0, + "prompt_tps_source": "engine", + "decode_tps": 75.0, + "decode_tps_source": "engine", + "prompt_ms": 3021.1, + "decode_ms": 640.2, + "drafts_offered": 16, + "drafts_accepted": 10, + "run": 2, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.946, + "total_s": 2.268, + "prompt_tokens": 11947, + "reused_tokens": 9146, + "read_tokens": 2801, + "generated_tokens": 22, + "prompt_tps": 1455.4, + "prompt_tps_source": "engine", + "decode_tps": 65.3, + "decode_tps_source": "engine", + "prompt_ms": 1924.6, + "decode_ms": 336.7, + "drafts_offered": 6, + "drafts_accepted": 1, + "run": 2, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.399, + "total_s": 2.831, + "prompt_tokens": 14918, + "reused_tokens": 11968, + "read_tokens": 2950, + "generated_tokens": 28, + "prompt_tps": 1241.2, + "prompt_tps_source": "engine", + "decode_tps": 62.7, + "decode_tps_source": "engine", + "prompt_ms": 2376.8, + "decode_ms": 446.5, + "drafts_offered": 3, + "drafts_accepted": 1, + "run": 2, + "turn": 5 + } + ] + ], + "hit_pct": { + "median": 69.191, + "min": 69.173, + "max": 69.228, + "n": 3 + }, + "reread_tokens": { + "median": 5, + "min": 5, + "max": 5, + "n": 3 + }, + "new_tokens": { + "median": 14100, + "min": 14100, + "max": 14102, + "n": 3 + }, + "turn_ttft_s": { + "median": 2.526, + "min": 1.946, + "max": 4.035, + "n": 15 + }, + "last_turn_prompt_tokens": { + "median": 14929, + "min": 14918, + "max": 14980, + "n": 3 + }, + "turn_decode_tps": { + "median": 63.1, + "min": 17.0, + "max": 75.0, + "n": 15 + }, + "first_turn_ttft_s": { + "median": 3.574, + "min": 1.055, + "max": 6.638, + "n": 3 + } + }, + "clients": {}, + "skipped": {}, + "failures": [] + } +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp/README.md b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp/README.md new file mode 100644 index 0000000000..d8f514217c --- /dev/null +++ b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp/README.md @@ -0,0 +1,61 @@ +# Community benchmark on AMD Radeon RX 7900 XTX + +Measured on 2026-12-05 with `tools/strata_bench.py` (suite 1, 3 runs per test, medians with ranges). Speeds are the engine's own timings; first-token times are measured by the client over HTTP. Speed only: no correctness check was run. + +## Hardware and software + +- GPU and VRAM: AMD Radeon RX 7900 XTX, 24 GiB VRAM +- CPU: AMD Ryzen 7 7800X3D 8-Core Processor (8 cores, 16 threads); installed RAM: 90.0 GiB; storage: sda Samsung SSD 860 PRO 2TB sata; zram0; nvme0n1 CT1000T700SSD3 nvme +- OS: Linux 7.3.7-2-cachyos; GPU driver: not read; CUDA (driver supports up to): not read +- PolyStrata: project 0.1.66, commit not a git checkout; engine 0.1.66 +- Background workloads: not recorded (GPU power limit/draw read above) + +## Model and configuration + +- Model and quantization: orcarouter-qwen3.8-flash-next-uncensored-iq3_xxs +- Context: 262144 tokens; parallel slots: 1 +- Settings: the install's own configuration, unchanged (hip backend); thinking off for the suite; temperature 0 + +```text +strata --pack orca-iq3_xxs --native Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf --ple-gguf Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf --expert-profile expert-profile.bin --expert-cache auto --prefill auto:16384 --spec 4 --spec-min-p 0.5 --max-context 262144 --kv int8 --vision --kv-resident 32768 --vram-reserve-mib 1024 --conversation-cache-mib 8192 --conversation-cache-slots 8 --prompt-cache 12 +``` + +## Method + +Run by `python tools/strata_bench.py --long` against the HTTP API of a PolyStrata server (already running); model loading is not timed. One warm-up chat and a 1K prompt are discarded first. Every prompt starts with a unique tag, so the conversation cache cannot help the fresh-prompt tests. + +- short chat: the three questions of `tools/ab_engine.py`, up to 100 new tokens, 3 runs +- 4K / 16K prompts: generated word lists sized by a calibration request, 24 new tokens, 3 fresh prompts each +- agent session: system prompt and four tools, then 5 turns that each add about 1500 words of a project file and continue from the model's own earlier answers (the way agent clients resend a conversation), 64 new tokens per turn, 3 sessions; the cache numbers come from the answer's usage (`cached_tokens`) and timings (`prompt_n`) +- concurrency (when run): N requests sent at the same moment, total tokens over the wall time of the burst, latency over all requests + +## Results + +| 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 | +| --- | ---: | ---: | ---: | ---: | --- | --- | --- | +| short chat | 46 (43-51) | 0 | 100 (100-100) | 9 | not measured | 52.3 (50.8-55.0) | 0.33 (0.30-0.37) | +| 4K prompt, fresh | 4019 (4019-4019) | 0 (0-0) | 24 cap | 3 | 1605.9 (1333.0-1609.7) | not measured | 2.52 (2.52-3.04) | +| 16K prompt, fresh | 16058 (16058-16058) | 0 (0-0) | 24 cap | 3 | 2526.4 (2510.1-2530.8) | not measured | 6.38 (6.37-6.42) | +| 32K prompt, fresh | 32049 (32049-32049) | 0 (0-0) | 24 cap | 3 | 2549.0 (2475.5-2559.7) | not measured | 12.61 (12.55-12.98) | +| agent session, follow-up turns | 14971 (14959-14974) at the last turn | see below | up to 64 | 3 | see below | 61.7 (51.6-77.9) | 2.31 (1.24-3.32) | + +Ranges are the lowest and highest of the runs; `Runs` counts requests that returned a token. + +### Agent session (conversation cache) + +Cache hit over the follow-up turns: 69.2 % (69.2-69.2); earlier-turn tokens read again per session: 5 (5-5) (earlier turns that the cache did not hold; the 14101 (14101-14101) new tokens of the files are read once); first turn (nothing cached) first token: 0.99 s (0.95-1.80). Corpus: `repo_docs` (53e7037ff848) [README.md, docs/HOW_IT_WORKS.md, docs/DETAILS.md, docs/INSTALL.md, docs/MODELS.md]. + +| Turn (run 1) | Prompt tokens | Reused | Read | Prompt tok/s | First token (s) | Decode tok/s | +| ---: | ---: | ---: | ---: | ---: | ---: | ---: | +| 0 | 609 | 0 | 609 | 657.7 | 0.948 | 51.8 | +| 1 | 4066 | 621 | 3445 | 1046.1 | 3.319 | 51.6 | +| 2 | 5730 | 4129 | 1601 | 670.3 | 2.413 | 57.0 | +| 3 | 9101 | 5793 | 3308 | 1055.3 | 3.162 | 65.3 | +| 4 | 11960 | 9159 | 2801 | 1093.0 | 2.587 | 59.4 | +| 5 | 14974 | 12023 | 2951 | 938.1 | 3.17 | 62.6 | + +Per-request data: `results.json`. Engine log lines from the start: `engine-log-excerpt.txt` (when this run started the server). + +## Correctness and limitations + +Not measured: this is a speed suite. The conversation uses the model's own replies, so token counts differ a little between runs. Machine details come from the server, `nvidia-smi`/`rocm-smi` and the OS; background load is not recorded. Total time of the suite: 145 s. diff --git a/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp/config.json b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp/config.json new file mode 100644 index 0000000000..2811a7e12d --- /dev/null +++ b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp/config.json @@ -0,0 +1,55 @@ +{ + "exe": "/bin/strata", + "args": [ + "--pack", + "/packs/orca-iq3_xxs", + "--native", + "/orca-flash-next-iq3_xxs/Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf", + "--ple-gguf", + "/orca-flash-next-iq3_xxs/Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf", + "--expert-profile", + "/terminal/data/expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto:16384", + "--spec", + "4", + "--spec-min-p", + "0.5", + "--max-context", + "262144", + "--kv", + "int8", + "--vision", + "--kv-resident", + "32768", + "--vram-reserve-mib", + "1024", + "--conversation-cache-mib", + "8192", + "--conversation-cache-slots", + "8", + "--prompt-cache", + "12" + ], + "cwd": "", + "tokenizer": "/packs/orca-iq3_xxs/tokenizer", + "model_name": "orcarouter-qwen3.8-flash-next-uncensored-iq3_xxs", + "display_name": "Qwen3.8-Flash-Next Uncensored IQ3_XXS (Orca)", + "log": "/engine-unc-nomtp.log", + "lib_dirs": [ + "/opt/rocm/lib" + ], + "gpu": 0, + "gpus_asked": true, + "backend": "hip", + "host": "127.0.0.1", + "open_browser": false, + "vision": { + "exe": "/bin/strata-vision", + "mmproj": "/mmproj/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/orca-flash-next-iq3_xxs/Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf" + }, + "cmd_prefix": "env STRATA_HIPBLASLT_TUNING=/hermes/projekte/inference-stack/Strata/terminal/tools/hip/gfx1100-hipblaslt-100401.txt STRATA_SCORES_THREAD=1 STRATA_KV_HOST_DMA=1 STRATA_EXPDEC=1 " +} diff --git a/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp/engine-log-excerpt.txt b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp/engine-log-excerpt.txt new file mode 100644 index 0000000000..010b20e2db --- /dev/null +++ b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp/engine-log-excerpt.txt @@ -0,0 +1,10 @@ +[strata] 2026-12-05 20:11:29 engine started: /bin/strata --serve --pack /packs/orca-iq3_xxs --native /orca-flash-next-iq3_xxs/Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf --ple-gguf /orca-flash-next-iq3_xxs/Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf --expert-profile /terminal/data/expert-profile.bin --expert-cache auto --prefill auto:16384 --spec 4 --spec-min-p 0.5 --max-context 262144 --kv int8 --vision --kv-resident 32768 --vram-reserve-mib 1024 --conversation-cache-mib 8192 --conversation-cache-slots 8 --prompt-cache 12 --conversation-cache-min-tokens 1024 +strata generate: native pack: /packs/orca-iq3_xxs experts (largest blob 2.18 MB), token embedding IQ3_S in mapped host memory (260 MiB, 0.1 s) +strata generate: profile /terminal/data/expert-profile.bin: 24576 ranked pairs, built for 24576 slots +strata generate: loaded 49.80 GiB at 5.16 GiB/s +strata generate: expert cache auto: 19.41 GiB free, 1024 MiB reserved (+0 MiB for the draft head, +256 MiB for what is allocated after the cache) -> 8960 slots +strata generate: expert cache 8975 slots, 18.19 GiB of VRAM; policy is +strata generate: pre-filled 8975 of 8975 slots from the profile in 1.6 s (12583 MB/s); slot 0 verified +strata generate: session is up (engine 0.1.66) +strata serve: #4870 mid-coverage expert cache (8975 of 24576 slots, 36.5%): adaptive defaults every 4 -> 2, swaps 96 -> 192, decay 0.70 -> 0.92 +strata serve: 1163 MiB of VRAM free with everything loaded diff --git a/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp/results.json b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp/results.json new file mode 100644 index 0000000000..bc730cf589 --- /dev/null +++ b/docs/bench-results/2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/uncensored-nomtp/results.json @@ -0,0 +1,1028 @@ +{ + "schema": 1, + "tool": "tools/strata_bench.py", + "date": "2026-12-05", + "params": { + "runs": 3, + "think": false, + "clients": 0, + "long": true, + "started_server": false, + "command": "python tools/strata_bench.py --long" + }, + "elapsed_s": 145.3918285369873, + "machine": { + "gpu": [ + "AMD Radeon RX 7900 XTX" + ], + "gpu_vram_mib": 24560.0, + "gpu_driver": null, + "gpu_detail": [ + {} + ], + "cuda": null, + "engine_build": null, + "cpu": "AMD Ryzen 7 7800X3D 8-Core Processor", + "cpu_cores": 8, + "storage": "sda Samsung SSD 860 PRO 2TB sata; zram0; nvme0n1 CT1000T700SSD3 nvme", + "cpu_threads": 16, + "ram_gib": 90.0, + "os": "Linux 7.3.7-2-cachyos", + "python": "3.14.10", + "strata_version": "0.1.66", + "strata_commit": null, + "engine_version": "0.1.66", + "model": "orcarouter-qwen3.8-flash-next-uncensored-iq3_xxs", + "quant": "IQ3_XXS", + "context": 262144, + "parallel_slots": 1, + "config": { + "exe": "strata", + "args": [ + "--pack", + "orca-iq3_xxs", + "--native", + "Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf", + "--ple-gguf", + "Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf", + "--expert-profile", + "expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto:16384", + "--spec", + "4", + "--spec-min-p", + "0.5", + "--max-context", + "262144", + "--kv", + "int8", + "--vision", + "--kv-resident", + "32768", + "--vram-reserve-mib", + "1024", + "--conversation-cache-mib", + "8192", + "--conversation-cache-slots", + "8", + "--prompt-cache", + "12" + ], + "model_name": "orcarouter-qwen3.8-flash-next-uncensored-iq3_xxs", + "display_name": "Qwen3.8-Flash-Next Uncensored IQ3_XXS (Orca)", + "lib_dirs": [ + "/opt/rocm/lib" + ], + "gpu": 0, + "gpus_asked": true, + "backend": "hip", + "host": "127.0.0.1", + "open_browser": false, + "vision": { + "exe": "/models/bin/strata-vision", + "mmproj": "/models/mmproj/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/models/orca-flash-next-iq3_xxs/Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf" + }, + "cmd_prefix": "gfx1100-hipblaslt-100401.txt STRATA_SCORES_THREAD=1 STRATA_KV_HOST_DMA=1 STRATA_EXPDEC=1 " + }, + "launch": "strata --pack orca-iq3_xxs --native Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf --ple-gguf Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf --expert-profile expert-profile.bin --expert-cache auto --prefill auto:16384 --spec 4 --spec-min-p 0.5 --max-context 262144 --kv int8 --vision --kv-resident 32768 --vram-reserve-mib 1024 --conversation-cache-mib 8192 --conversation-cache-slots 8 --prompt-cache 12", + "engine_info": { + "model": "orcarouter-qwen3.8-flash-next-uncensored-iq3_xxs", + "max_context": 262144, + "images": true, + "gen": 1, + "version": "0.1.66", + "logit_bias": 1, + "context": 262144, + "kv": "int8", + "kv_resident": 32768, + "expert_slots": 8975, + "experts": 24576, + "expert_cache_mib": 18624, + "expert_slots_primary": 8975, + "expert_cache_primary_mib": 18624, + "spec": 6, + "mtp_max": 4, + "lookup": 3, + "vram_free_mib": 1163, + "cvec": 0, + "arena_mib": 51000, + "pool_workers": 7, + "pcie_frac": "0.15", + "spec_min_p": "0.50", + "conversation_cache_mib": 8192, + "conversation_cache_slots": 8, + "conversation_cache_min_free_mib": 2560, + "conversation_cache_min_tokens": 1024, + "tail_role_token": -1, + "vram_elastic": 0, + "prefill_cap": 16384, + "prefill_stages": 1, + "stream_all_min": 3072, + "prefill_pipe": 0, + "engine": "0.1.66", + "drafting": "off", + "drafting_note": "Drafting: off (DFlash2 is for Qwen3.8-Flash-Next only)" + }, + "vram_after": { + "elastic": false + } + }, + "results": { + "chat": { + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 0.37, + "total_s": 2.176, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 144.6, + "prompt_tps_source": "engine", + "decode_tps": 55.0, + "decode_tps_source": "engine", + "prompt_ms": 352.8, + "decode_ms": 1819.6, + "drafts_offered": 26, + "drafts_accepted": 12, + "run": 0, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.325, + "total_s": 2.246, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 140.3, + "prompt_tps_source": "engine", + "decode_tps": 51.7, + "decode_tps_source": "engine", + "prompt_ms": 306.4, + "decode_ms": 1934.8, + "drafts_offered": 3, + "drafts_accepted": 0, + "run": 0, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.365, + "total_s": 2.215, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 133.2, + "prompt_tps_source": "engine", + "decode_tps": 53.6, + "decode_tps_source": "engine", + "prompt_ms": 345.3, + "decode_ms": 1864.3, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.34, + "total_s": 2.296, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 158.1, + "prompt_tps_source": "engine", + "decode_tps": 50.8, + "decode_tps_source": "engine", + "prompt_ms": 322.6, + "decode_ms": 1969.9, + "drafts_offered": 26, + "drafts_accepted": 10, + "run": 1, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.317, + "total_s": 2.211, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 145.0, + "prompt_tps_source": "engine", + "decode_tps": 52.3, + "decode_tps_source": "engine", + "prompt_ms": 296.6, + "decode_ms": 1911.3, + "drafts_offered": 2, + "drafts_accepted": 0, + "run": 1, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.322, + "total_s": 2.145, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 151.4, + "prompt_tps_source": "engine", + "decode_tps": 54.4, + "decode_tps_source": "engine", + "prompt_ms": 303.9, + "decode_ms": 1838.2, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.346, + "total_s": 2.299, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 155.3, + "prompt_tps_source": "engine", + "decode_tps": 50.8, + "decode_tps_source": "engine", + "prompt_ms": 328.4, + "decode_ms": 1966.8, + "drafts_offered": 24, + "drafts_accepted": 9, + "run": 2, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.302, + "total_s": 2.251, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 151.7, + "prompt_tps_source": "engine", + "decode_tps": 50.9, + "decode_tps_source": "engine", + "prompt_ms": 283.5, + "decode_ms": 1964.0, + "drafts_offered": 6, + "drafts_accepted": 0, + "run": 2, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.334, + "total_s": 2.191, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 145.2, + "prompt_tps_source": "engine", + "decode_tps": 53.5, + "decode_tps_source": "engine", + "prompt_ms": 316.7, + "decode_ms": 1870.7, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2, + "prompt": 2 + } + ], + "decode_tps": { + "median": 52.3, + "min": 50.8, + "max": 55.0, + "n": 9 + }, + "ttft_s": { + "median": 0.334, + "min": 0.302, + "max": 0.37, + "n": 9 + }, + "generated_tokens": { + "median": 100, + "min": 100, + "max": 100, + "n": 9 + }, + "prompt_tokens": { + "median": 46, + "min": 43, + "max": 51, + "n": 9 + } + }, + "prompts": { + "4K": { + "target_tokens": 4096, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 3.035, + "total_s": 3.52, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 1333.0, + "prompt_tps_source": "engine", + "decode_tps": 48.0, + "decode_tps_source": "engine", + "prompt_ms": 3015.1, + "decode_ms": 499.8, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.523, + "total_s": 2.921, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 1605.9, + "prompt_tps_source": "engine", + "decode_tps": 58.2, + "decode_tps_source": "engine", + "prompt_ms": 2502.6, + "decode_ms": 412.3, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.517, + "total_s": 2.888, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 1609.7, + "prompt_tps_source": "engine", + "decode_tps": 62.2, + "decode_tps_source": "engine", + "prompt_ms": 2496.7, + "decode_ms": 385.9, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2 + } + ], + "prompt_tps": { + "median": 1605.9, + "min": 1333.0, + "max": 1609.7, + "n": 3 + }, + "ttft_s": { + "median": 2.523, + "min": 2.517, + "max": 3.035, + "n": 3 + }, + "prompt_tokens": { + "median": 4019, + "min": 4019, + "max": 4019, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "16K": { + "target_tokens": 16384, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 6.424, + "total_s": 6.794, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 2510.1, + "prompt_tps_source": "engine", + "decode_tps": 62.3, + "decode_tps_source": "engine", + "prompt_ms": 6397.3, + "decode_ms": 385.4, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 6.371, + "total_s": 6.735, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 2530.8, + "prompt_tps_source": "engine", + "decode_tps": 63.5, + "decode_tps_source": "engine", + "prompt_ms": 6345.1, + "decode_ms": 378.2, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 6.382, + "total_s": 6.745, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 2526.4, + "prompt_tps_source": "engine", + "decode_tps": 63.5, + "decode_tps_source": "engine", + "prompt_ms": 6356.1, + "decode_ms": 377.9, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2 + } + ], + "prompt_tps": { + "median": 2526.4, + "min": 2510.1, + "max": 2530.8, + "n": 3 + }, + "ttft_s": { + "median": 6.382, + "min": 6.371, + "max": 6.424, + "n": 3 + }, + "prompt_tokens": { + "median": 16058, + "min": 16058, + "max": 16058, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "32K": { + "target_tokens": 32768, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 12.981, + "total_s": 13.444, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 2475.5, + "prompt_tps_source": "engine", + "decode_tps": 50.1, + "decode_tps_source": "engine", + "prompt_ms": 12946.5, + "decode_ms": 479.1, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 12.606, + "total_s": 12.997, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 2549.0, + "prompt_tps_source": "engine", + "decode_tps": 59.2, + "decode_tps_source": "engine", + "prompt_ms": 12573.3, + "decode_ms": 405.3, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 12.554, + "total_s": 12.935, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 2559.7, + "prompt_tps_source": "engine", + "decode_tps": 60.6, + "decode_tps_source": "engine", + "prompt_ms": 12520.4, + "decode_ms": 396.3, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2 + } + ], + "prompt_tps": { + "median": 2549.0, + "min": 2475.5, + "max": 2559.7, + "n": 3 + }, + "ttft_s": { + "median": 12.606, + "min": 12.554, + "max": 12.981, + "n": 3 + }, + "prompt_tokens": { + "median": 32049, + "min": 32049, + "max": 32049, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + } + }, + "agent": { + "corpus": "repo_docs", + "corpus_files": [ + "README.md", + "docs/HOW_IT_WORKS.md", + "docs/DETAILS.md", + "docs/INSTALL.md", + "docs/MODELS.md" + ], + "corpus_sha256": "53e7037ff848", + "sessions": [ + [ + { + "ok": true, + "err": null, + "ttft_s": 0.948, + "total_s": 1.183, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 13, + "prompt_tps": 657.7, + "prompt_tps_source": "engine", + "decode_tps": 51.8, + "decode_tps_source": "engine", + "prompt_ms": 925.9, + "decode_ms": 250.9, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 0, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.319, + "total_s": 4.546, + "prompt_tokens": 4066, + "reused_tokens": 621, + "read_tokens": 3445, + "generated_tokens": 64, + "prompt_tps": 1046.1, + "prompt_tps_source": "engine", + "decode_tps": 51.6, + "decode_tps_source": "engine", + "prompt_ms": 3293.3, + "decode_ms": 1241.2, + "drafts_offered": 4, + "drafts_accepted": 0, + "run": 0, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.413, + "total_s": 3.521, + "prompt_tokens": 5730, + "reused_tokens": 4129, + "read_tokens": 1601, + "generated_tokens": 64, + "prompt_tps": 670.3, + "prompt_tps_source": "engine", + "decode_tps": 57.0, + "decode_tps_source": "engine", + "prompt_ms": 2388.6, + "decode_ms": 1122.9, + "drafts_offered": 6, + "drafts_accepted": 0, + "run": 0, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.162, + "total_s": 4.049, + "prompt_tokens": 9101, + "reused_tokens": 5793, + "read_tokens": 3308, + "generated_tokens": 59, + "prompt_tps": 1055.3, + "prompt_tps_source": "engine", + "decode_tps": 65.3, + "decode_tps_source": "engine", + "prompt_ms": 3134.7, + "decode_ms": 903.7, + "drafts_offered": 19, + "drafts_accepted": 10, + "run": 0, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.587, + "total_s": 3.65, + "prompt_tokens": 11960, + "reused_tokens": 9159, + "read_tokens": 2801, + "generated_tokens": 64, + "prompt_tps": 1093.0, + "prompt_tps_source": "engine", + "decode_tps": 59.4, + "decode_tps_source": "engine", + "prompt_ms": 2562.6, + "decode_ms": 1077.5, + "drafts_offered": 5, + "drafts_accepted": 0, + "run": 0, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.17, + "total_s": 4.177, + "prompt_tokens": 14974, + "reused_tokens": 12023, + "read_tokens": 2951, + "generated_tokens": 64, + "prompt_tps": 938.1, + "prompt_tps_source": "engine", + "decode_tps": 62.6, + "decode_tps_source": "engine", + "prompt_ms": 3145.6, + "decode_ms": 1021.9, + "drafts_offered": 27, + "drafts_accepted": 13, + "run": 0, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 0.992, + "total_s": 1.223, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 14, + "prompt_tps": 625.0, + "prompt_tps_source": "engine", + "decode_tps": 57.0, + "decode_tps_source": "engine", + "prompt_ms": 974.4, + "decode_ms": 245.8, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 1, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.312, + "total_s": 3.349, + "prompt_tokens": 4067, + "reused_tokens": 622, + "read_tokens": 3445, + "generated_tokens": 64, + "prompt_tps": 1503.4, + "prompt_tps_source": "engine", + "decode_tps": 60.8, + "decode_tps_source": "engine", + "prompt_ms": 2291.5, + "decode_ms": 1051.8, + "drafts_offered": 8, + "drafts_accepted": 0, + "run": 1, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.239, + "total_s": 2.283, + "prompt_tokens": 5731, + "reused_tokens": 4130, + "read_tokens": 1601, + "generated_tokens": 64, + "prompt_tps": 1313.3, + "prompt_tps_source": "engine", + "decode_tps": 60.5, + "decode_tps_source": "engine", + "prompt_ms": 1219.1, + "decode_ms": 1058.7, + "drafts_offered": 10, + "drafts_accepted": 0, + "run": 1, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.292, + "total_s": 3.141, + "prompt_tokens": 9102, + "reused_tokens": 5794, + "read_tokens": 3308, + "generated_tokens": 64, + "prompt_tps": 1458.0, + "prompt_tps_source": "engine", + "decode_tps": 74.1, + "decode_tps_source": "engine", + "prompt_ms": 2268.9, + "decode_ms": 863.9, + "drafts_offered": 32, + "drafts_accepted": 18, + "run": 1, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.76, + "total_s": 2.639, + "prompt_tokens": 11967, + "reused_tokens": 9165, + "read_tokens": 2802, + "generated_tokens": 55, + "prompt_tps": 1611.5, + "prompt_tps_source": "engine", + "decode_tps": 61.6, + "decode_tps_source": "engine", + "prompt_ms": 1738.7, + "decode_ms": 893.2, + "drafts_offered": 16, + "drafts_accepted": 2, + "run": 1, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.86, + "total_s": 2.737, + "prompt_tokens": 14971, + "reused_tokens": 12021, + "read_tokens": 2950, + "generated_tokens": 55, + "prompt_tps": 1605.4, + "prompt_tps_source": "engine", + "decode_tps": 61.7, + "decode_tps_source": "engine", + "prompt_ms": 1837.6, + "decode_ms": 891.0, + "drafts_offered": 32, + "drafts_accepted": 9, + "run": 1, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 1.799, + "total_s": 1.948, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 9, + "prompt_tps": 342.0, + "prompt_tps_source": "engine", + "decode_tps": 55.0, + "decode_tps_source": "engine", + "prompt_ms": 1780.5, + "decode_ms": 163.7, + "drafts_offered": 0, + "drafts_accepted": 0, + "run": 2, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.318, + "total_s": 3.339, + "prompt_tokens": 4062, + "reused_tokens": 617, + "read_tokens": 3445, + "generated_tokens": 64, + "prompt_tps": 1499.3, + "prompt_tps_source": "engine", + "decode_tps": 61.8, + "decode_tps_source": "engine", + "prompt_ms": 2297.8, + "decode_ms": 1035.7, + "drafts_offered": 8, + "drafts_accepted": 0, + "run": 2, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.246, + "total_s": 2.274, + "prompt_tokens": 5726, + "reused_tokens": 4125, + "read_tokens": 1601, + "generated_tokens": 64, + "prompt_tps": 1306.1, + "prompt_tps_source": "engine", + "decode_tps": 61.4, + "decode_tps_source": "engine", + "prompt_ms": 1225.8, + "decode_ms": 1043.1, + "drafts_offered": 16, + "drafts_accepted": 2, + "run": 2, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.326, + "total_s": 3.133, + "prompt_tokens": 9097, + "reused_tokens": 5789, + "read_tokens": 3308, + "generated_tokens": 64, + "prompt_tps": 1435.8, + "prompt_tps_source": "engine", + "decode_tps": 77.9, + "decode_tps_source": "engine", + "prompt_ms": 2303.9, + "decode_ms": 821.7, + "drafts_offered": 36, + "drafts_accepted": 20, + "run": 2, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.986, + "total_s": 2.734, + "prompt_tokens": 11962, + "reused_tokens": 9160, + "read_tokens": 2802, + "generated_tokens": 48, + "prompt_tps": 1426.0, + "prompt_tps_source": "engine", + "decode_tps": 62.9, + "decode_tps_source": "engine", + "prompt_ms": 1964.9, + "decode_ms": 762.6, + "drafts_offered": 14, + "drafts_accepted": 2, + "run": 2, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.276, + "total_s": 3.081, + "prompt_tokens": 14959, + "reused_tokens": 12009, + "read_tokens": 2950, + "generated_tokens": 57, + "prompt_tps": 1310.5, + "prompt_tps_source": "engine", + "decode_tps": 69.5, + "decode_tps_source": "engine", + "prompt_ms": 2251.0, + "decode_ms": 820.0, + "drafts_offered": 26, + "drafts_accepted": 15, + "run": 2, + "turn": 5 + } + ] + ], + "hit_pct": { + "median": 69.222, + "min": 69.205, + "max": 69.226, + "n": 3 + }, + "reread_tokens": { + "median": 5, + "min": 5, + "max": 5, + "n": 3 + }, + "new_tokens": { + "median": 14101, + "min": 14101, + "max": 14101, + "n": 3 + }, + "turn_ttft_s": { + "median": 2.312, + "min": 1.239, + "max": 3.319, + "n": 15 + }, + "last_turn_prompt_tokens": { + "median": 14971, + "min": 14959, + "max": 14974, + "n": 3 + }, + "turn_decode_tps": { + "median": 61.7, + "min": 51.6, + "max": 77.9, + "n": 15 + }, + "first_turn_ttft_s": { + "median": 0.992, + "min": 0.948, + "max": 1.799, + "n": 3 + } + }, + "clients": {}, + "skipped": {}, + "failures": [] + } +} \ No newline at end of file diff --git a/docs/bench-results/README.md b/docs/bench-results/README.md index cda16f06a1..82e96f2c4d 100644 --- a/docs/bench-results/README.md +++ b/docs/bench-results/README.md @@ -4,7 +4,7 @@ Raw results and short reports from measurement runs, one folder per run, named b the PolyStrata version, hardware and method of its own day, and none is a statement about a later release. Current numbers are in the [docs](../README.md) and the [README](../../README.md); how to measure is in [BENCHMARK_PROTOCOL.md](../BENCHMARK_PROTOCOL.md). -This page is built by `python tools/bench_results_index.py` (`--check` fails when a folder is missing from it). 204 folders and 3 loose files, 2818 files in all. +This page is built by `python tools/bench_results_index.py` (`--check` fails when a folder is missing from it). 207 folders and 3 loose files, 2869 files in all. ## 2026-09 @@ -226,6 +226,14 @@ This page is built by `python tools/bench_results_index.py` (`--check` fails whe | [2026-11-28-community-unknown-inkling-2-mini-ud-q4-k-xl](2026-11-28-community-unknown-inkling-2-mini-ud-q4-k-xl/) | Community benchmark on AMD Radeon 6600XT | 3 | | [2026-11-28-community-unknown-qwen3-6-35b-a3b-ud-q4-k-m](2026-11-28-community-unknown-qwen3-6-35b-a3b-ud-q4-k-m/) | Community benchmark on AMD Radeon 6600XT | 3 | +## 2026-12 + +| Folder | What | Files | +| --- | --- | ---: | +| [2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp](2026-12-01-community-rx-7900-xtx-flash-next-ista-mtp/) | Community benchmark on AMD Radeon RX 7900 XTX | 10 | +| [2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun](2026-12-01-community-rx-7900-xtx-flint-ornith-nex-rerun/) | Community benchmark on AMD Radeon RX 7900 XTX | 16 | +| [2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp](2026-12-05-community-rx-7900-xtx-flash-next-coder-uncensored-mtp/) | Community benchmark on AMD Radeon RX 7900 XTX | 25 | + ## Loose files | File |