From 11de15aa5ed8563b08f2546cea5c5b4802855a58 Mon Sep 17 00:00:00 2001 From: Community Benchmarks <103804044+firetussin@users.noreply.github.com> Date: Thu, 3 Dec 2026 20:36:32 -0600 Subject: [PATCH 1/2] bench: Groot 19B-A3B Q4_K_M on RX 6700 XT (gfx1031, HIP rdna2) Official polystrata.py benchmark and strata_bench at setup defaults (vision off and on), extended context to 262,144, and a labelled nonstandard 64K tuning pass. Adds a community table row. --- docs/COMMUNITY_BENCHMARKS.md | 1 + .../2026-12-03-groot-q4_k_m-rx6700xt/ENV.txt | 49 + .../README.md | 216 ++++ .../SHA256SUMS | 66 ++ .../configs/E-practical-65536-vision-off.json | 24 + .../configs/F-combined-A_kvq8+split2.json | 16 + .../F-combined-B_kvq8+split2+pb2048.json | 18 + .../configs/F-kv-q8_0+split-attend-2.json | 16 + .../configs/F-kv-q8_0.json | 16 + .../configs/F-prompt-batch-2048.json | 16 + .../configs/F-reserve-512.json | 14 + .../configs/F-threads-6.json | 14 + .../configs/extended-262144-vision-off.json | 24 + .../configs/extended-262144-vision-on.json | 32 + .../configs/official-32k-vision-off.json | 20 + .../configs/official-32k-vision-on.json | 28 + .../extended/vision-off/contention-log.json | 218 ++++ .../extended/vision-off/engine-decode-mtp.csv | 19 + .../extended/vision-off/extended.txt | 43 + .../extended/vision-off/max-context.txt | 4 + .../extended/vision-on/contention-log.json | 191 ++++ .../extended/vision-on/engine-decode-mtp.csv | 19 + .../extended/vision-on/extended.txt | 39 + .../extended/vision-on/max-context.txt | 4 + .../extended/vision-on/maxfill/maxfill.txt | 19 + .../memory-summary.csv | 19 + .../A-polystrata-benchmark/A-24000-run1.json | 41 + .../A-polystrata-benchmark/A-24000-run2.json | 41 + .../A-polystrata-benchmark/A-24000-run3.json | 41 + .../A-default-run1.json | 57 ++ .../A-default-run2.json | 57 ++ .../A-default-run3.json | 57 ++ .../vision-off/B-strata_bench/README.md | 64 ++ .../vision-off/B-strata_bench/results.json | 945 ++++++++++++++++++ .../B-strata_bench/strata_bench-console.txt | 65 ++ .../A-polystrata-benchmark/A-24000-run1.json | 41 + .../A-polystrata-benchmark/A-24000-run2.json | 41 + .../A-polystrata-benchmark/A-24000-run3.json | 41 + .../A-default-run1.json | 57 ++ .../A-default-run2.json | 57 ++ .../A-default-run3.json | 57 ++ .../vision-on/B-strata_bench/README.md | 64 ++ .../vision-on/B-strata_bench/results.json | 945 ++++++++++++++++++ .../B-strata_bench/strata_bench-console.txt | 65 ++ .../vision-on/C-image-smoke/image-smoke.json | 37 + .../practical-64k/engine-decode-mtp.csv | 8 + .../practical-64k/experts-at-load.txt | 1 + .../practical-64k/results.json | 132 +++ .../engine-decode-mtp.csv | 6 + .../experts-at-load.txt | 1 + .../combined-A_kvq8+split2/results.json | 99 ++ .../engine-decode-mtp.csv | 6 + .../experts-at-load.txt | 1 + .../results.json | 99 ++ .../engine-decode-mtp.csv | 5 + .../experts-at-load.txt | 1 + .../kv-q8_0+split-attend-2/results.json | 75 ++ .../tuned-64k/kv-q8_0/engine-decode-mtp.csv | 5 + .../tuned-64k/kv-q8_0/experts-at-load.txt | 1 + .../tuned-64k/kv-q8_0/results.json | 75 ++ .../prompt-batch-2048/engine-decode-mtp.csv | 5 + .../prompt-batch-2048/experts-at-load.txt | 1 + .../tuned-64k/prompt-batch-2048/results.json | 75 ++ .../reserve-512/engine-decode-mtp.csv | 5 + .../tuned-64k/reserve-512/experts-at-load.txt | 1 + .../tuned-64k/reserve-512/results.json | 75 ++ .../tuned-64k/threads-6/engine-decode-mtp.csv | 5 + .../tuned-64k/threads-6/experts-at-load.txt | 1 + .../tuned-64k/threads-6/results.json | 75 ++ 69 files changed, 4676 insertions(+) create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/ENV.txt create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/README.md create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/SHA256SUMS create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/E-practical-65536-vision-off.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/F-combined-A_kvq8+split2.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/F-combined-B_kvq8+split2+pb2048.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/F-kv-q8_0+split-attend-2.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/F-kv-q8_0.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/F-prompt-batch-2048.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/F-reserve-512.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/F-threads-6.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/extended-262144-vision-off.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/extended-262144-vision-on.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/official-32k-vision-off.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/official-32k-vision-on.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-off/contention-log.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-off/engine-decode-mtp.csv create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-off/extended.txt create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-off/max-context.txt create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-on/contention-log.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-on/engine-decode-mtp.csv create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-on/extended.txt create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-on/max-context.txt create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-on/maxfill/maxfill.txt create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/memory-summary.csv create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/A-polystrata-benchmark/A-24000-run1.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/A-polystrata-benchmark/A-24000-run2.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/A-polystrata-benchmark/A-24000-run3.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/A-polystrata-benchmark/A-default-run1.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/A-polystrata-benchmark/A-default-run2.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/A-polystrata-benchmark/A-default-run3.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/B-strata_bench/README.md create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/B-strata_bench/results.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/B-strata_bench/strata_bench-console.txt create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/A-polystrata-benchmark/A-24000-run1.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/A-polystrata-benchmark/A-24000-run2.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/A-polystrata-benchmark/A-24000-run3.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/A-polystrata-benchmark/A-default-run1.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/A-polystrata-benchmark/A-default-run2.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/A-polystrata-benchmark/A-default-run3.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/B-strata_bench/README.md create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/B-strata_bench/results.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/B-strata_bench/strata_bench-console.txt create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/C-image-smoke/image-smoke.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/practical-64k/engine-decode-mtp.csv create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/practical-64k/experts-at-load.txt create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/practical-64k/results.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/combined-A_kvq8+split2/engine-decode-mtp.csv create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/combined-A_kvq8+split2/experts-at-load.txt create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/combined-A_kvq8+split2/results.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/combined-B_kvq8+split2+pb2048/engine-decode-mtp.csv create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/combined-B_kvq8+split2+pb2048/experts-at-load.txt create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/combined-B_kvq8+split2+pb2048/results.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/kv-q8_0+split-attend-2/engine-decode-mtp.csv create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/kv-q8_0+split-attend-2/experts-at-load.txt create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/kv-q8_0+split-attend-2/results.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/kv-q8_0/engine-decode-mtp.csv create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/kv-q8_0/experts-at-load.txt create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/kv-q8_0/results.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/prompt-batch-2048/engine-decode-mtp.csv create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/prompt-batch-2048/experts-at-load.txt create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/prompt-batch-2048/results.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/reserve-512/engine-decode-mtp.csv create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/reserve-512/experts-at-load.txt create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/reserve-512/results.json create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/threads-6/engine-decode-mtp.csv create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/threads-6/experts-at-load.txt create mode 100644 docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/threads-6/results.json diff --git a/docs/COMMUNITY_BENCHMARKS.md b/docs/COMMUNITY_BENCHMARKS.md index fdbe807ac..52c398c09 100644 --- a/docs/COMMUNITY_BENCHMARKS.md +++ b/docs/COMMUNITY_BENCHMARKS.md @@ -94,6 +94,7 @@ leaves out. | [KurrynDev13](https://github.com/simplexai-labs/PolyStrata/issues/364) | RTX 4070 SUPER 12 GB | Ryzen 9 7900X, 12 threads; 31.1 GiB DDR5-6000; Windows 11 Pro, CUDA 13 | Inkling 2 Mini UD-Q4_K_XL, official v0.2.20-poly.5 ready-made engine and reporter's ZHA+DSpark fork (`ccb4a18eb`) | 131K (`--kv fp8`, official) / 1M (`--kv k8v4`, fork with dynamic 64K-to-1M pinned leaves) | off (official) / DSpark Q8_0 `--window 4` (fork) | official v5 small-card: 41.9 at 32K, 26.3 at 131K, 24.1 at 192K (raw: 35.5 / 22.3); fork tuned ZHA+DSpark: 47.2 at 32K, 44.1 at 131K, and 37.7 down to 25.6 across a 32K-to-1M multi-turn ramp | official v5 small-card: 1,037 at 32K, 1,123 at 131K, 983 at 192K (OOM near 231.5K); fork tuned: 1,444 at 32K, 1,427 at 131K, 602 incremental at 1M | needle recall passed at every tested depth; shrinking the fork's 1M pinned host-RAM leaves back to 64K on a 1K prompt reclaimed 8.9 GiB working set | | [JuggyBob](https://github.com/simplexai-labs/PolyStrata/issues/397) | RX 7600 XT 16 GB (gfx1102) | CPU not stated, 8 threads; 31 GB; Windows 11, standalone HIP (`strata-inkling` 0.1.70 RDNA3) | Inkling 2 Mini GSQ-RCO IQ3_S, Q2_K_XL, and abliterated Mix-12G; all 3,072 experts in VRAM; 27 runs | 16K, `--kv fp16`, no tail-skip | off | 25.1 to 26.5 across all three files at 900 to 6.7K prompts (mean of 3 runs; Mix-12G held ~25.1 across a 4,096-token reply) | 530 to 541 at 0.9K, 592 to 603 at 3.4K, 602 to 620 at 6.7K (cold run 1) | Windows RDNA3 baseline after noting v0.2.20-poly.7 shipped CUDA-only on Windows | | [JuggyBob](https://github.com/simplexai-labs/PolyStrata/issues/403) | RX 7600 XT 16 GB (gfx1102) | CPU not stated, 8 threads; 31 GB; Windows 11, Adrenalin 26.11.2, local HIP build (ROCm 10.2) | Inkling 2 Mini GSQ-RCO IQ3_S and Q2_K_XL, `inkling2-amd-preview-3` (`55ca812`) built locally with four Windows HIP patches; 100% expert cache hit | 16K, `--kv fp16`, `--kv-whole`, no tail-skip | off | IQ3_S: 46.9 / 46.2 / 45.0 at 0.9K / 3.4K / 6.9K prompts; Q2_K_XL: 50.5 / 49.8 / 48.3 | not stated (engine load 29.2 s for IQ3_S, 25.6 s for Q2_K_XL) | about 1.8x to 2x faster writing and shorter load (~26–29 s vs ~40 s) than `strata-inkling` 0.1.70 in #397 on the same card; all 6 runs ended at the 4,096-token cap (`finish_reason=length`) | +| [firetussin](PR_URL) | RX 6700 XT 12 GB (gfx1031), the ready-made rdna2 HIP engine | Ryzen 5 3600; 56 GiB; Debian 13 Linux container on Proxmox, ROCm bundled with the engine | Groot 19B-A3B 261023 Q4_K_M (bartowski), v0.2.20-poly.9 (b9eced7b), `polystrata.py benchmark` and `tools/strata_bench.py`; 4,356 of 5,248 experts in VRAM at 32K | 32K setup defaults, `--kv-whole`; separately 64K and 262,144 | on, 54% to 73% of the guesses kept | strata_bench: 88 in a short chat, 90 in an agent session; `polystrata.py benchmark`: 92 after a 2.9K prompt, 61 after 31.8K | strata_bench: 1,655 at 4K, 1,253 at 16K; `polystrata.py benchmark`: 901 at 31.8K; a separate run at the full 262,144 context: 191 for a 261,487-token prompt (22.8 min to the first token) | the first report of Groot on an AMD card; vision on (CPU reader) and off measured the same; at 64K, `--kv q8_0` with `STRATA_HIP_SPLIT_ATTEND=2` raised decode after a 63K prompt from 56 to 78 tok/s, the first RDNA2 numbers for that switch | Setup offers Tiel Coder now (`--family tiel`), and not the HauhauCS file. How to give setup such a file is in the [FAQ](FAQ.md#can-i-run-a-fine-tune-or-another-model-with-the-same-architecture). diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/ENV.txt b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/ENV.txt new file mode 100644 index 000000000..4f8f4cc87 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/ENV.txt @@ -0,0 +1,49 @@ +Groot 19B-A3B 261023 on PolyStrata - environment (first AMD measurement), 2026-12-03 UTC + +Software +- PolyStrata v0.2.20-poly.9, commit b9eced7bb2ab101b622b661fc7180bc91f754da5 (git tag checkout). +- Engine: strata-poly 0.1.66, the official ready-made AMD HIP package for the rdna2 family + (strata-poly-linux-x64-hip-rdna2-798eb331d6e15658.tar.gz, sha256 8fbec6b2fd58f686c4a5ef6ca0ef38a5758afd4c1c257447744033dff3b55a91, + matching GitHub's asset digest). BUILD.json: source release-hip, src 798eb331d6e15658, archs gfx1030/gfx1031/gfx1032, + bundled ROCm 10.2.0a20260930 (portable), vision none. +- Picture reader (vision-on runs only): strata-vision (CPU), compiled locally from the same v0.2.20-poly.9 tag (terminal/tools/vision, + Strata's own vision tower, no llama.cpp), Release, -DSTRATA_VISION_CUDA=OFF, -DSTRATA_PORTABLE=OFF, GCC 14.2; + binary sha256 a0f943d68db86d9e3b3e01f1eca24ba1635491ef2a783fa82aa56a85d610034b. The rdna2 package carries no reader. + Reader settings: PolyStrata's CPU defaults (gpu false, 300 tokens a picture, 6 threads, elastic: starts on the first picture). +- Model: bartowski/GrootTeam_Groot-19B-A3B-261023-GGUF @ 0025df0d03fb385344394f4e5afd73ce47da0680 + GrootTeam_Groot-19B-A3B-261023-Q4_K_M.gguf, 12,484,339,584 bytes, sha256 c941e12a231b40b8fb9f6ad7f6601878d72db39c2c62aefb185fbe5c7d0c2e29 + mmproj-GrootTeam_Groot-19B-A3B-261023-bf16.gguf, 902,822,208 bytes, sha256 0140cef0473d63595a030c68b75b2c8d110bb623bb12ae5993c0cfdfb2d2b0a7 + (both match PolyStrata's pinned hashes; installed with `setup.py --family groot --model Q4_K_M`). MTP: the GGUF's embedded nextn block + (blk.40), detected and used by the engine (/metrics "drafting" reports only an extra drafter and shows "off"). +- Chat template: embedded in the GGUF (extracted by PolyStrata's tokenizer tool); no sampler overrides. Server defaults + reasoning_effort none / budget 512 (tools override per request: polystrata.py uses thinking "medium"). + +Hardware / OS +- GPU: AMD Radeon RX 6700 XT 12 GB (gfx1031, RDNA2), single card. +- CPU: AMD Ryzen 5 3600 (6 cores / 12 threads); the container sees 10 CPUs. +- RAM: 56 GiB available to the container. +- OS: Debian 13 Linux container on a Proxmox VE host (kernel 7.0.x-pve), GPU passed through to the container. + +Method notes +- Fresh server load before each `polystrata.py benchmark` run (upstream's tool starts a fresh server per run when none is running; + the prompts are deterministic, so a running server would otherwise reuse its conversation cache). +- One run was interrupted by a service restart limit; that partial run is excluded. +- strata_bench sizing: its word-to-token calibration landed ~4.5% under target at long sizes (the "max" step asked ~261,844 and + produced 249,993 tokens), so a separate fill step (server-judged size) confirmed 261,487 tokens at the 262,144 context. +- D (extended) used strata_bench's run_prompt (24-token answers): decode figures there are noisy; E/F use 256-token answers. +- E/F prompts: repository-doc filler with a unique nonce at the start of each prompt (no cache reuse); token counts are the server's. +- Memory: "Groot process RSS" = summed VmRSS of the engine, server and reader processes (includes the resident mmapped model); + not whole-machine. polystrata.py's own "RAM GiB" column reads ~1-1.6 GiB on Linux and is not comparable with Windows whole-machine RAM. + "ct_cgroup" includes ALL page cache in the container (other models too) - context only. VRAM = whole card in use (amdgpu sysfs / server). +- LAN access to the server was blocked during the official, extended and tuning runs; /metrics request counts confirm 0 outside requests. +- STRATA_FATTN / STRATA_FDEC were not run: CUDA-only per DETAILS.md / AMD_HIP.md (HIP keeps the old path). +- STRATA_HIP_SPLIT_ATTEND=2 applies only with a Q8_0 KV cache (--kv q8_0); its documented gain was measured on an RX 5700 XT (RDNA1). + These are first RDNA2 (gfx1031) numbers; =1 (exact) was not tested. Verified set in the engine process environment. +- Extended (D) results: the measurements are in extended.txt (strata_bench console, every request) and engine-decode-mtp.csv. + No results.json is included for D: the run's wrapper replaced Suite.run without returning its results, so those files held + "results": null (a wrapper error on our side, not a strata_bench bug). +- strata_bench.py used for B and D: the copy from the v0.2.20-poly.6 checkout (commit ce7010d6), byte-identical to v0.2.20-poly.9's + (same sha256 ab049046...), run against the poly.9 server. E/F did not use strata_bench (own script, server-reported token counts). +- Stage letters: A/B/C = part 1 (polystrata.py benchmark / strata_bench / image smoke), D = part 2 (extended), E/F = part 3 (64K baseline / tuning). +- From the private engine log (not included): no faults or low-free warnings with --vram-reserve-mib 512; STRATA_HIP_SPLIT_ATTEND=2 + present in the engine process environment for the split-attend and combined configs; the recall requests used reasoning effort high. diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/README.md b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/README.md new file mode 100644 index 000000000..2a34a79ce --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/README.md @@ -0,0 +1,216 @@ +# Groot 19B-A3B 261023 Q4_K_M on an RX 6700 XT 12 GB (AMD HIP) + +First AMD measurement of Groot on `strata-poly`, 2026-12-03. All results are from one card. They are measurements, not +estimates; where a figure is approximate or noisy, the text says so. + +The report has three parts that must not be mixed: + +1. **Official tools, setup defaults.** `polystrata.py benchmark`, the command used for the RTX 5060 and RTX 4070 Laptop + tables in [docs/models/groot.md](../../models/groot.md), and `tools/strata_bench.py`, the community quick speed check. + Both were run with vision off and with vision on. A one-image smoke test was added in vision-on mode. +2. **Extended context (not a standard suite).** Fresh prompts from 4K tokens up to the model's full 262,144-token + context, in both vision modes. +3. **64K practical config and tuning (nonstandard settings).** A 64K context with 256-token answers and a planted-fact + recall check. Then one change at a time (`--kv q8_0`, `STRATA_HIP_SPLIT_ATTEND=2`, `--prompt-batch 2048`, + `--vram-reserve-mib 512`, `--threads 6`), and then the changes that helped, combined. + +`strata bench run` was not used. Its draft protocol covers only the Qwen3.8 Flash-Next profile. + +## Setup + +- Model: `GrootTeam_Groot-19B-A3B-261023-Q4_K_M.gguf` (bartowski, revision `0025df0d`), 12,484,339,584 bytes, SHA-256 + `c941e12a231b40b8fb9f6ad7f6601878d72db39c2c62aefb185fbe5c7d0c2e29`. Projector: `mmproj-GrootTeam_Groot-19B-A3B-261023-bf16.gguf`, + SHA-256 `0140cef0473d63595a030c68b75b2c8d110bb623bb12ae5993c0cfdfb2d2b0a7`. Both match setup's pinned hashes and were installed + with `setup.py --family groot --model Q4_K_M`. MTP is the GGUF's embedded nextn block. +- PolyStrata v0.2.20-poly.9 (`b9eced7b`). Engine `strata-poly` 0.1.66 is the ready-made AMD HIP package for rdna2 + (`strata-poly-linux-x64-hip-rdna2-798eb331d6e15658.tar.gz`, bundled ROCm 10.2.0a20260930). +- That package has no picture reader. For vision-on, the CPU `strata-vision` was compiled locally from the same poly.9 tag + and used with PolyStrata's CPU defaults: 300 tokens per picture, 6 threads, starts on the first picture. +- PC: Radeon RX 6700 XT 12 GB (gfx1031, RDNA2), Ryzen 5 3600 (6 cores; the container sees 10 CPUs). The container has + 56 GiB of RAM and runs on an NVMe SSD. +- OS: Debian 13 Linux container on Proxmox VE (kernel 7.0), with the GPU passed through. +- The server's port was blocked to other machines for the whole session. `/metrics` request counts confirm that nothing but + the benchmark sent requests. +- Tools: + - `polystrata.py benchmark` from the poly.9 checkout. + - `tools/strata_bench.py` from a poly.6 checkout. It is byte-identical to poly.9's (SHA-256 `ab049046…`). + - Part 3 used a small script of our own, described there. +- Server configs (paths replaced) are in `configs/`. Environment and method notes are in `ENV.txt`. + +## 1. Official tools, setup defaults (32K context) + +Settings: setup's defaults for Groot. Context 32,768, `--kv-whole`, conversation cache `auto`. Threads and VRAM reserve +were left to the engine, which picked 7 threads and a 383 MiB reserve. At load, 4,356 of 5,248 routed experts were in VRAM +(7.7 GiB). + +### `python polystrata.py benchmark` (as in groot.md) + +The server was freshly loaded before each run, and each set ran 3 times. Values are medians with the range in brackets. +MTP kept is accepted over offered, pooled over the 3 runs. VRAM is the whole card's peak. + +Vision off, default prompts (matching the RTX 5060 Laptop table): + +| Prompt, tokens | Prefill, tokens/s | Decode, tokens/s | MTP kept | TTFT, s | Peak VRAM | +| --- | ---: | ---: | ---: | ---: | ---: | +| 23 | 101.1 (97.3–101.7) | 68.3 (64.7–68.6) | 57.9% | 0.36 | 11.63 GiB | +| 2,949 | 1,231.2 (1,228.0–1,234.7) | 92.1 (90.9–92.9) | 68.8% | 2.51 | 11.57 GiB | +| 10,329 | 1,258.2 (1,257.7–1,260.1) | 87.4 (85.4–90.3) | 69.3% | 7.36 | 11.57 GiB | + +Vision off, `--prompt-tokens 24000` (matching the RTX 4070 Laptop table): + +| Prompt, tokens | Prefill, tokens/s | Decode, tokens/s | MTP kept | TTFT, s | Peak VRAM | +| --- | ---: | ---: | ---: | ---: | ---: | +| 23 | 100.2 (98.5–102.3) | 67.2 (65.9–67.6) | 53.6% | 0.36 | 11.63 GiB | +| 31,834 | 901.3 (898.3–903.9) | 61.3 (61.2–65.6) | 61.0% | 35.48 (35.34–35.56) | 11.57 GiB | + +Vision on, same two sets: + +| Prompt, tokens | Prefill, tokens/s | Decode, tokens/s | MTP kept | TTFT, s | Peak VRAM | +| --- | ---: | ---: | ---: | ---: | ---: | +| 23 (default set) | 102.2 (94.4–105.9) | 68.1 (65.5–72.2) | 59.5% | 0.35 | 11.63 GiB | +| 2,949 | 1,234.4 (1,149.8–1,236.1) | 94.0 (92.4–94.3) | 72.6% | 2.50 | 11.57 GiB | +| 10,329 | 1,264.7 (1,263.6–1,265.6) | 90.4 (88.2–90.5) | 70.8% | 7.33 | 11.57 GiB | +| 23 (24000 set) | 100.6 (99.4–102.9) | 67.4 (65.5–70.4) | 56.2% | 0.36 | 11.63 GiB | +| 31,834 | 905.9 (900.1–907.1) | 61.3 (59.1–67.4) | 62.0% | 35.39 (35.34–35.51) | 11.57 GiB | + +Notes: + +- The tool asks for 256 tokens with thinking "medium". Here every answer ended before the cap (76–157 tokens). Decode + includes thinking. +- Memory: the tool's own "RAM GiB" column reads 0.9–1.6 GiB on Linux. It leaves out the memory-mapped model, so it can't + be compared with the whole-machine Windows figures in groot.md. Measured separately, the Groot processes (engine, + server and reader) peaked at 12.26 GiB resident during the 24000 set, in both modes (vision on: runs 2–3 only; sampling started later). That figure is for the processes + only, not the whole machine. +- Vision on and vision off are the same within run-to-run noise. On a 12 GB card, setup puts the reader on the CPU, so it + takes no VRAM and does nothing until a picture arrives. + +### `python tools/strata_bench.py --clients 2 --long` (3 runs, the default) + +Same server config. Medians with ranges; the full reports are in `official/*/B-strata_bench/`. + +| | Vision off | Vision on | +| --- | ---: | ---: | +| Short chat decode, tokens/s | 88.4 (82.4–121.7) | 87.2 (80.8–123.7) | +| Short chat first token, s | 0.91 | 0.92 | +| 4K prompt read, tokens/s | 1,655 (1,334–1,679) | 1,665 (1,332–1,675) | +| 16K prompt read, tokens/s | 1,253 (1,252–1,255) | 1,249 (1,247–1,252) | +| Agent turn decode, tokens/s | 90.2 (75.3–103.7) | 88.3 (72.3–97.0) | +| Agent turn first token, s | 3.66 | 3.67 | +| Agent cache hit over follow-up turns | 68.6% | 68.6% | +| 2 clients at once, total tokens/s | 52.1, 0 errors | 53.4, 0 errors | + +The 32K prompt was skipped: a 32,768-token context leaves no room for it. + +### Image smoke test (vision on) + +The image was this repository's own `docs/media/terminal-monitor.png` (2964×1418), with the question "Describe this image +in two or three sentences". Groot answered in 5.1 s (311 prompt tokens, 173 generated) and correctly gave the screen +type, model name, state, VRAM 10.4/12 GB, 3,099 experts, 59 °C, 116 W, RAM 47.7/63 GB and the 30% context fill. One +error: it called the 96% GPU load "CPU load" (the CPU shows 92%). One picture is a smoke test, not an accuracy result. +The answer is in `official/vision-on/C-image-smoke/`. + +## 2. Extended context (not a standard suite) + +Server: the same flags as part 3's baseline (`--kv-whole --threads 8 --vram-reserve-mib 1024 --conversation-cache-mib 4096`), +with `--max-context 262144`. At load, 1,275 of 5,248 routed experts were in VRAM (2.2 GiB). The rest of the card holds +the full-context KV cache. + +The full 262,144 context loaded and ran in both modes. The largest fresh prompt, 261,487 tokens (99.75% of the +context), completed. Prompts came from strata_bench's prompt routine, fresh each time with no reuse, and asked for +24-token answers. The decode column is therefore noisy and only shows the trend. + +| Prompt, tokens | Runs | Prefill, tokens/s | First token | Decode, tokens/s (24 tokens) | +| ---: | ---: | ---: | ---: | ---: | +| 3,939 | 3 | 1,442.5 (1,408.3–1,443.4) | 2.9 s | 53.2 (32.2–56.1) | +| 15,716 | 3 | 1,253.3 (1,251.6–1,255.2) | 12.7 s | 51.0 (45.8–58.1) | +| 31,373 | 3 | 940.8 (939.9–945.9) | 33.5 s | 47.6 (45.1–49.0) | +| 62,691 | 3 | 616.0 (615.7–617.3) | 102 s | 34.9 (33.9–40.4) | +| 125,277 | 3 | 362.6 (362.3–362.9) | 346 s (5.8 min) | 24.7 (24.0–26.1) | +| 187,757 | 1 | 256.6 | 732 s (12.2 min) | 18.0 | +| 249,993 | 1 | 199.0 | 1,256 s (20.9 min) | 14.1 | +| 261,487 | 1 | 191.0 | 1,369 s (22.8 min) | 14.1 | + +That table is vision off. Vision on matched within about 1% on prefill at every step (`extended/vision-on/`). The +Groot processes peaked at 18.5 GiB resident during the steps. + +- Each doubling of the prompt roughly triples the time to the first token (×2.6 from 16K to 31K, rising to ×3.6 from + 125K to 250K). +- strata_bench sizes prompts from words. At these lengths it landed about 4.5% under target: its "262,144" step + produced 249,993 tokens. A separate fill step, with the size checked by the server, confirmed 261,487. +- The figures above come from strata_bench's console output, which lists every request, and from per-request timings + taken from the engine log (`engine-decode-mtp.csv`). Both are included; the raw engine log is not. Our wrapper for this prompts-only run didn't return the suite's results, so there is no `results.json` for + part 2. That was a mistake on our side, not a strata_bench bug. +- This shows that Groot can read 262K on 12 GB. It does not show long-context recall at that length; recall was checked + only at 60K, in part 3. + +## 3. 64K practical config and tuning (nonstandard settings) + +Vision off. Each config is a fresh load. This part doesn't use strata_bench. A small script sends streaming requests and +reads prefill, decode and MTP from the engine's own per-request log line. Prompts are this repository's docs, with a +unique tag at the start so nothing is reused from the cache. Answers are 256 tokens with thinking off. Token counts are +the server's: the "~30K" and "~63K" rows are 29,919 and 62,573 tokens. + +Baseline: the same flags as part 2, with `--max-context 65536`. At load, 3,613 of 5,248 experts were in VRAM (6.4 GiB). +The baseline ran 3 times; each tuning config ran twice. + +| Config (change from baseline) | Experts in VRAM | ~30K read, each run | ~30K decode, each run | ~63K read, tokens/s | ~63K first token, s | ~63K decode, each run | ~63K MTP kept | Recall at 60K | +| --- | ---: | ---: | --- | ---: | ---: | --- | ---: | --- | +| Baseline | 3,613 (6.4 GiB) | 973 / 915 / 914 | 56.5 / 74.7 / 76.7 | 594 | 105.4 | 54.9 / 57.1 / 56.2 | 74.6% | 3/3 | +| `--kv q8_0` | 3,976 (7.0 GiB) | 970 / 915 | 62.6 / 66.5 | 593 | 105.5 | 50.6 / 53.5 | 72.4% | | +| `--kv q8_0` + `STRATA_HIP_SPLIT_ATTEND=2` | 3,976 (7.0 GiB) | 968 / 917 | 71.0 / 82.1 | 593 | 105.5 | **80.5 / 76.1** | 72.5% | | +| `--prompt-batch 2048` | 3,392 (6.0 GiB) | 990 / 964 | 57.7 / 78.1 | 613 | 102.1 | 54.7 / 49.7 | 68.3% | | +| `--vram-reserve-mib 512` | 3,896 (6.9 GiB) | 975 / 917 | 58.8 / 71.4 | 595 | 105.2 | 57.5 / 50.0 | 68.8% | | +| `--threads 6` | 3,613 (6.4 GiB) | 968 / 917 | 62.6 / 73.3 | 595 | 105.3 | 57.8 / 56.7 | 76.5% | | +| Combined A: `--kv q8_0` + split-attend 2 | 3,976 (7.0 GiB) | 973 / 919 | 69.6 / 92.5 | 594 | 105.4 | **79.0 / 77.3** | 71.8% | 3/3 | +| Combined B: A + `--prompt-batch 2048` | 3,755 (6.6 GiB) | 991 / 963 | 67.4 / 91.8 | 612 | 102.2 | **76.4 / 78.7** | 73.0% | 3/3 | + +What it shows: + +- **`STRATA_HIP_SPLIT_ATTEND=2` with `--kv q8_0` raised decode after a 63K prompt from about 56 to about 78 tokens/s + (+40%), with prefill unchanged.** That was the only clear win. + - `--kv q8_0` alone gave no decode gain, even with about 360 more experts in VRAM. It is needed only because split-attend + applies to a Q8_0 cache. + - AMD_HIP.md documents this switch on an RX 5700 XT (RDNA1) and says the RDNA2 packages are untested on real cards. + These are the first RDNA2 (gfx1031) numbers, with the prebuilt rdna2 engine. + - `=1`, the exact path, was not tested; `=2` uses int8 query dot products. + - The engine log and process environment (not included) confirm the variable was set; see `ENV.txt`. +- `--prompt-batch 2048` read about 3% faster and reached the first token about 3 s sooner at 63K, but left about 220 + fewer experts in VRAM. On its own, decode looked slightly lower, but that is within noise at 2 runs. Combined with A, + decode was the same (B ≈ A). +- According to the engine log (not included), `--vram-reserve-mib 512` ran without faults or low-free warnings (card peak 11.45 of 12 GiB), but gained nothing. + `--threads 6` against 8 also made no difference. +- Recall: three planted facts at the start, middle and end of a 60,348-token prompt, with thinking high. All three were + recalled correctly in all three configs: word for word in the baseline, while A and B reworded the middle fact slightly. So split-attend `=2` and the Q8_0 cache did not break this + check. It is one prompt per config, not a quality evaluation. +- Every config's first ~30K request after a fresh load was slower to decode (56–71 tokens/s) than its second (66–93), + apparently from the expert cache warming up. Compare configs on the ~63K rows. +- Per config, the Groot processes peaked at 13.5–14.9 GiB resident, and the card at 11.0–11.5 GiB. + +The best tested 64K setting on this card is `--max-context 65536 --kv q8_0 --prompt-batch 2048` with +`STRATA_HIP_SPLIT_ATTEND=2`. That is on top of the baseline flags above. It is nonstandard, and the evidence is the +2-run measurements above. + +## Not measured + +- Q6_K and Q8_0. +- `strata bench run`. +- `STRATA_HIP_SPLIT_ATTEND=1`. +- Split-attend at 128K–262K. +- Recall beyond 60K. +- Accuracy on any task benchmark. +- Whole-machine RAM. +- Windows. +- Other AMD cards. + +## Files + +| Path | Contents | +| --- | --- | +| `official/vision-{off,on}/A-polystrata-benchmark/` | The 12 raw `polystrata.py benchmark` JSON outputs | +| `official/vision-{off,on}/B-strata_bench/` | strata_bench's `README.md`, `results.json` and console output | +| `official/vision-on/C-image-smoke/` | Image question, answer and check | +| `extended/vision-{off,on}/` | strata_bench console output (every request), per-request engine timings (CSV), `/metrics` before and after each step, max-context note | +| `practical-64k/`, `tuned-64k//` | Per-request results and answers, engine timings, experts at load | +| `memory-summary.csv` | Per-run peaks: process RSS, card VRAM, and container cgroup (context only; it includes other cached files) | +| `configs/` | Each server config, with paths replaced | +| `ENV.txt` | Versions, hashes, hardware and method notes | diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/SHA256SUMS b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/SHA256SUMS new file mode 100644 index 000000000..861aee5be --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/SHA256SUMS @@ -0,0 +1,66 @@ +904b3e96eace4977e72e31e65e5763ec86a9e4d93efd967e15836d27eb033ba2 *./configs/E-practical-65536-vision-off.json +476ebc5baa2d8d70deb54ca5c1ced47a290ae1fa368ebeec53b121e79662737c *./configs/extended-262144-vision-off.json +83bcd4d4fd1654e093582d4e37666a5c7958e573fa28ad75d0cfc430ba5f7185 *./configs/extended-262144-vision-on.json +ab82e399776fb0f257f53b48297f9de9395ced1fcd812739f8a211bd7d81f6ed *./configs/F-combined-A_kvq8+split2.json +0449724dc36a5d2038a1a89d08c74e5da1c098aa7687953dd46ca3f0fbe682b2 *./configs/F-combined-B_kvq8+split2+pb2048.json +bc707b161affe0e26a52c484cdde481fcbf235feb015045c470e8d5796324079 *./configs/F-kv-q8_0.json +ab82e399776fb0f257f53b48297f9de9395ced1fcd812739f8a211bd7d81f6ed *./configs/F-kv-q8_0+split-attend-2.json +58b47ab2c665858d4f17abb5fbdc7b863b240000edbacfdb6e9b8efb070c715f *./configs/F-prompt-batch-2048.json +b1a508f6785c4f33c9572b004a567ec66e26610ec231e11d33be21dfa7b2cd80 *./configs/F-reserve-512.json +bc44550196a2823d8e4a10b0a0adeffbc7f58e3411135925b785c538511dc8f0 *./configs/F-threads-6.json +1fa4e3f7f9743a584f8c0afa6bad1e3d290763df905a6838191a86a209fd6186 *./configs/official-32k-vision-off.json +e053d59855cbd553abd294d9797bbff5fc529771f7e89cd08958e630f7260c01 *./configs/official-32k-vision-on.json +b1b4355758be028faa5384029e007339a0957cb2e9bf1c2a7fd307e80acc1f09 *./ENV.txt +f184b0ccc4e58cea5f23f9038ddae237ac8c56dbacbbe252296a62f9c288119f *./extended/vision-off/contention-log.json +6c7ed9fc6056fddca146770120cd9f7144e7043b4607f3bf580ce591b7c151f3 *./extended/vision-off/engine-decode-mtp.csv +a2642ff61f8696f2d0c001843639ccbb59a157b11152f9874b62307129f7de7c *./extended/vision-off/extended.txt +a0b59b6d635ed48ab34a31ec5f5a715659157c980426a26af6a61a59f408e3fb *./extended/vision-off/max-context.txt +1c839a9c0d108ae9ba77ad6681ae39f0ad6cc09b628bd2998585440ff21382b8 *./extended/vision-on/contention-log.json +758b623c066171cfac6b4ba7bf8aa75bab1e8c813a223c2c568fa43b9c537e25 *./extended/vision-on/engine-decode-mtp.csv +47c830040a329f3a324927c290acb63e0df1080d673d648a0579a508447d6508 *./extended/vision-on/extended.txt +a0b59b6d635ed48ab34a31ec5f5a715659157c980426a26af6a61a59f408e3fb *./extended/vision-on/max-context.txt +435f8f889545ae4246d1f74f9d123d9563f01785ceec0dc9d7f09017b2769b20 *./extended/vision-on/maxfill/maxfill.txt +dd462b57d812ba9c4f6eb3a732e835cd0187a22265f175b0474a12d09ea59e31 *./memory-summary.csv +71d0b005a8ef0f85fd415ce9e460ab7afe2b459afa2c4c7e5c1a0fc2d4aa837a *./official/vision-off/A-polystrata-benchmark/A-24000-run1.json +7034b6d9004c29895a684dd5404a2c78c0d270e80b8380c554673df1b157baf2 *./official/vision-off/A-polystrata-benchmark/A-24000-run2.json +51cdaafb1b3ea81d9dc7983298fc8f2e132c6bc9d346c8b53dc56f06bae43c6e *./official/vision-off/A-polystrata-benchmark/A-24000-run3.json +1a9895c7b64e755e67ab78f1459e0818ab33ef0fa206908c6553981bb6576544 *./official/vision-off/A-polystrata-benchmark/A-default-run1.json +5b5fce6a91eddc1b49f6abb4d391e02a3b681f96f91719ee7114d6121dfb3d48 *./official/vision-off/A-polystrata-benchmark/A-default-run2.json +fc33f447bb2f54557158f9b26c42b4497aa759c08a013f71ab82ed5fd51e8931 *./official/vision-off/A-polystrata-benchmark/A-default-run3.json +d6e76ccad85c43fb602e9d52b38b2374b7c0adf599b47abcdc84644aac07858c *./official/vision-off/B-strata_bench/README.md +8b0cda0806ef7dbf72c845fea49239c7c9f66f420fdb1b87437ebff6d468b734 *./official/vision-off/B-strata_bench/results.json +b0175d0ab88dc0b15be01df891f98a146f8c7632aadf3a26492323a3a93005f4 *./official/vision-off/B-strata_bench/strata_bench-console.txt +503c92bf8680d7b85dbbfcfa01712e2c82efcd5a8be80b97c2a9a7a0c5856ab9 *./official/vision-on/A-polystrata-benchmark/A-24000-run1.json +ad9b147aa4e8aa468e2dddc293eec652a120f6908ca0bb1b98d6ed4101b38f05 *./official/vision-on/A-polystrata-benchmark/A-24000-run2.json +3e11d34e91239d1975a800c09c2c9ec33e91cfeb295e29c516a48160c05f7733 *./official/vision-on/A-polystrata-benchmark/A-24000-run3.json +e7c119265f8ee76b918ef56a37c916b8a8b022757ac15c0ae39d2003980eb0c7 *./official/vision-on/A-polystrata-benchmark/A-default-run1.json +09c337e547094fd33c44dca85fc85dbbca7db02dfbc8176265c202e97d3615f0 *./official/vision-on/A-polystrata-benchmark/A-default-run2.json +42818eace35b6743f8451459e04239129757df83c5f9fe100dc911aaa7bdf0d7 *./official/vision-on/A-polystrata-benchmark/A-default-run3.json +38dcb4bcd6ada3270d944cd68b83e64931ca18ec15af52b1373233be3d761334 *./official/vision-on/B-strata_bench/README.md +0797cd1c56c56018cdcaa6f7ce532ad0199fdec55a1d28ec7a646ec049a15cd4 *./official/vision-on/B-strata_bench/results.json +c51c04aac9fec251a4c7bfa619653ac442a884b129037dc7e225339d5229f891 *./official/vision-on/B-strata_bench/strata_bench-console.txt +da8d5c1e546e5d9e949dadbfcc65506bd9261847e55f0c5efba22f44fe296ddd *./official/vision-on/C-image-smoke/image-smoke.json +af2b662a9ed33f52bcb3752dea20a00f15498dd04bc59cbff609efebda040168 *./practical-64k/engine-decode-mtp.csv +6df413dccf2ead5fb2e5d1b02520cd48d8bd493ad656034ed7972aff4a78f5d4 *./practical-64k/experts-at-load.txt +d940e23665fcdcd56a7e92d4221dfbd44c1d18a5312674a3f368ecfde321a128 *./practical-64k/results.json +22abc181a3d2f7dfa6156440f674cd0cc2971c13c244894adc1b1fc461ca7686 *./tuned-64k/combined-A_kvq8+split2/engine-decode-mtp.csv +c7b56c79498780338db0cb44a3160f77f342ef8f57d67890f9076ca918d02ede *./tuned-64k/combined-A_kvq8+split2/experts-at-load.txt +6fbc03197c7c7ed4e57dcc4015d7f4c883d36091eea2f8c4c58eccbd2b2133df *./tuned-64k/combined-A_kvq8+split2/results.json +103713a0138c8aa78da1965b26e800213417be8fe543b5cea451ba94d5904af8 *./tuned-64k/combined-B_kvq8+split2+pb2048/engine-decode-mtp.csv +50de6546e72934cb7bca521d5b0509ad5a24ff05e3eb673a74b65e494cbda24f *./tuned-64k/combined-B_kvq8+split2+pb2048/experts-at-load.txt +d353730d5b6239ac8005ce51006cfb191f2fd3d10cce2fe83e1d2d3ab9f51937 *./tuned-64k/combined-B_kvq8+split2+pb2048/results.json +745ae2a45189ff0abca522601e9a660106882c8f893b7e3006ba505b566233df *./tuned-64k/kv-q8_0/engine-decode-mtp.csv +0405720929448408fe946a1deb7f253f70ba257b3358341fb837ba6d84cfebfd *./tuned-64k/kv-q8_0/experts-at-load.txt +74824e30ae8957b056897c8fe00ba515bde67fec7a532e607266c703ecca61e6 *./tuned-64k/kv-q8_0/results.json +087cd4550bb02ada8af8e14d7ba30c97a4d3d47e466f030daf03a41999eb7156 *./tuned-64k/kv-q8_0+split-attend-2/engine-decode-mtp.csv +c7b56c79498780338db0cb44a3160f77f342ef8f57d67890f9076ca918d02ede *./tuned-64k/kv-q8_0+split-attend-2/experts-at-load.txt +561566aa5f5c7851f745a653b5c69b33a24384811a9105cbcca8d0860a2bce4e *./tuned-64k/kv-q8_0+split-attend-2/results.json +d0f08ee9aa3b0bde4f078a3330122656b38098ac4e29a023cb716fd36d1909bc *./tuned-64k/prompt-batch-2048/engine-decode-mtp.csv +0ca716488fa1991429420171a7dcb79e2d5edae04982f26e449b4e02832a3236 *./tuned-64k/prompt-batch-2048/experts-at-load.txt +5dd17dd4cf01b2a7fd623983d1794c701c88d130c3c41d4327e290772700814f *./tuned-64k/prompt-batch-2048/results.json +8d6f6f8b58c30a283edc31a64a9858b8265aaac8eb8d65828ab3255b9119351b *./tuned-64k/reserve-512/engine-decode-mtp.csv +8b5973397895301bf01fdd299232ebbe45f0ceb94e4434709e70440d0c7b5505 *./tuned-64k/reserve-512/experts-at-load.txt +279694b98be7d2ca349ac5c44f18097057291afa679145879331344cad0cdfb4 *./tuned-64k/reserve-512/results.json +bb9e6af1e6539bd9d24da085a635e957848e49db6df0c5309381da53390fbcdf *./tuned-64k/threads-6/engine-decode-mtp.csv +c7cf37b3b0eafed3818a77f9953f2adeb297281e2bf2c4c4257942e9ad19aeaa *./tuned-64k/threads-6/experts-at-load.txt +6574231d82e4f6b8758874f4ea56aea71e638326c85586fc75bcba00c66cb584 *./tuned-64k/threads-6/results.json diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/E-practical-65536-vision-off.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/E-practical-65536-vision-off.json new file mode 100644 index 000000000..5af67a666 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/E-practical-65536-vision-off.json @@ -0,0 +1,24 @@ +{ + "exe": "/strata-poly", + "args": [ + "--model", + "/GrootTeam_Groot-19B-A3B-261023-Q4_K_M.gguf", + "--max-context", + "65536", + "--conversation-cache-mib", + "4096", + "--kv-whole", + "--threads", + "8", + "--vram-reserve-mib", + "1024" + ], + "tokenizer": "/groot-bartowski-q4_k_m/tokenizer", + "model_name": "groot-19b-a3b-261023-q4_k_m", + "lib_dirs": [ + "/rocm/lib" + ], + "port": 8080, + "reasoning_budget_tokens": 512, + "reasoning_effort": "none" +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/F-combined-A_kvq8+split2.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/F-combined-A_kvq8+split2.json new file mode 100644 index 000000000..611d7804f --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/F-combined-A_kvq8+split2.json @@ -0,0 +1,16 @@ +{ + "args": [ + "--max-context", + "65536", + "--conversation-cache-mib", + "4096", + "--kv-whole", + "--threads", + "8", + "--vram-reserve-mib", + "1024", + "--kv", + "q8_0" + ], + "env": "STRATA_HIP_SPLIT_ATTEND=2" +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/F-combined-B_kvq8+split2+pb2048.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/F-combined-B_kvq8+split2+pb2048.json new file mode 100644 index 000000000..e5cee5a27 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/F-combined-B_kvq8+split2+pb2048.json @@ -0,0 +1,18 @@ +{ + "args": [ + "--max-context", + "65536", + "--conversation-cache-mib", + "4096", + "--kv-whole", + "--threads", + "8", + "--vram-reserve-mib", + "1024", + "--kv", + "q8_0", + "--prompt-batch", + "2048" + ], + "env": "STRATA_HIP_SPLIT_ATTEND=2" +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/F-kv-q8_0+split-attend-2.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/F-kv-q8_0+split-attend-2.json new file mode 100644 index 000000000..611d7804f --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/F-kv-q8_0+split-attend-2.json @@ -0,0 +1,16 @@ +{ + "args": [ + "--max-context", + "65536", + "--conversation-cache-mib", + "4096", + "--kv-whole", + "--threads", + "8", + "--vram-reserve-mib", + "1024", + "--kv", + "q8_0" + ], + "env": "STRATA_HIP_SPLIT_ATTEND=2" +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/F-kv-q8_0.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/F-kv-q8_0.json new file mode 100644 index 000000000..99afc2c98 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/F-kv-q8_0.json @@ -0,0 +1,16 @@ +{ + "args": [ + "--max-context", + "65536", + "--conversation-cache-mib", + "4096", + "--kv-whole", + "--threads", + "8", + "--vram-reserve-mib", + "1024", + "--kv", + "q8_0" + ], + "env": null +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/F-prompt-batch-2048.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/F-prompt-batch-2048.json new file mode 100644 index 000000000..a555c621e --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/F-prompt-batch-2048.json @@ -0,0 +1,16 @@ +{ + "args": [ + "--max-context", + "65536", + "--conversation-cache-mib", + "4096", + "--kv-whole", + "--threads", + "8", + "--vram-reserve-mib", + "1024", + "--prompt-batch", + "2048" + ], + "env": null +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/F-reserve-512.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/F-reserve-512.json new file mode 100644 index 000000000..0478aa3d2 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/F-reserve-512.json @@ -0,0 +1,14 @@ +{ + "args": [ + "--max-context", + "65536", + "--conversation-cache-mib", + "4096", + "--kv-whole", + "--threads", + "8", + "--vram-reserve-mib", + "512" + ], + "env": null +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/F-threads-6.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/F-threads-6.json new file mode 100644 index 000000000..a81cf99b1 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/F-threads-6.json @@ -0,0 +1,14 @@ +{ + "args": [ + "--max-context", + "65536", + "--conversation-cache-mib", + "4096", + "--kv-whole", + "--threads", + "6", + "--vram-reserve-mib", + "1024" + ], + "env": null +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/extended-262144-vision-off.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/extended-262144-vision-off.json new file mode 100644 index 000000000..f804cdc38 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/extended-262144-vision-off.json @@ -0,0 +1,24 @@ +{ + "exe": "/strata-poly", + "args": [ + "--model", + "/GrootTeam_Groot-19B-A3B-261023-Q4_K_M.gguf", + "--max-context", + "262144", + "--conversation-cache-mib", + "4096", + "--kv-whole", + "--threads", + "8", + "--vram-reserve-mib", + "1024" + ], + "tokenizer": "/groot-bartowski-q4_k_m/tokenizer", + "model_name": "groot-19b-a3b-261023-q4_k_m", + "lib_dirs": [ + "/rocm/lib" + ], + "port": 8080, + "reasoning_budget_tokens": 512, + "reasoning_effort": "none" +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/extended-262144-vision-on.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/extended-262144-vision-on.json new file mode 100644 index 000000000..abf33a46e --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/extended-262144-vision-on.json @@ -0,0 +1,32 @@ +{ + "exe": "/strata-poly", + "args": [ + "--model", + "/GrootTeam_Groot-19B-A3B-261023-Q4_K_M.gguf", + "--max-context", + "262144", + "--conversation-cache-mib", + "4096", + "--kv-whole", + "--threads", + "8", + "--vram-reserve-mib", + "1024" + ], + "tokenizer": "/groot-bartowski-q4_k_m/tokenizer", + "model_name": "groot-19b-a3b-261023-q4_k_m", + "lib_dirs": [ + "/rocm/lib" + ], + "port": 8080, + "reasoning_budget_tokens": 512, + "reasoning_effort": "none", + "vision": { + "exe": "/strata-vision", + "mmproj": "/mmproj-GrootTeam_Groot-19B-A3B-261023-bf16.gguf", + "model": "/GrootTeam_Groot-19B-A3B-261023-Q4_K_M.gguf", + "gpu": false, + "max_tokens": 300, + "threads": 6 + } +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/official-32k-vision-off.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/official-32k-vision-off.json new file mode 100644 index 000000000..cb5d546d7 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/official-32k-vision-off.json @@ -0,0 +1,20 @@ +{ + "exe": "/terminal/engine-poly/strata-poly", + "args": [ + "--model", + "/GrootTeam_Groot-19B-A3B-261023-Q4_K_M.gguf", + "--max-context", + "32768", + "--conversation-cache-mib", + "auto", + "--kv-whole" + ], + "tokenizer": "/groot-bartowski-q4_k_m/tokenizer", + "model_name": "groot-19b-a3b-261023-q4_k_m", + "lib_dirs": [ + "/terminal/engine-poly/rocm/lib" + ], + "port": 8080, + "reasoning_effort": "none", + "reasoning_budget_tokens": 512 +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/official-32k-vision-on.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/official-32k-vision-on.json new file mode 100644 index 000000000..65e7bdea1 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/configs/official-32k-vision-on.json @@ -0,0 +1,28 @@ +{ + "exe": "/terminal/engine-poly/strata-poly", + "args": [ + "--model", + "/GrootTeam_Groot-19B-A3B-261023-Q4_K_M.gguf", + "--max-context", + "32768", + "--conversation-cache-mib", + "auto", + "--kv-whole" + ], + "tokenizer": "/groot-bartowski-q4_k_m/tokenizer", + "model_name": "groot-19b-a3b-261023-q4_k_m", + "lib_dirs": [ + "/terminal/engine-poly/rocm/lib" + ], + "port": 8080, + "reasoning_effort": "none", + "reasoning_budget_tokens": 512, + "vision": { + "exe": "/strata-vision", + "mmproj": "/mmproj-GrootTeam_Groot-19B-A3B-261023-bf16.gguf", + "model": "/GrootTeam_Groot-19B-A3B-261023-Q4_K_M.gguf", + "gpu": false, + "max_tokens": 300, + "threads": 6 + } +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-off/contention-log.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-off/contention-log.json new file mode 100644 index 000000000..0482ec83f --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-off/contention-log.json @@ -0,0 +1,218 @@ +[ + { + "label": "4K", + "tokens": 4096, + "runs": 3, + "metrics_before": { + "since": 1796305478.7728558, + "requests": 0, + "prompt_tokens": 0, + "reused": 0, + "output_tokens": 0, + "prompt_ms": 0.0, + "decode_ms": 0.0, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + "metrics_after": { + "since": 1796305478.7728558, + "requests": 3, + "prompt_tokens": 11817, + "reused": 0, + "output_tokens": 72, + "prompt_ms": 8256.7, + "decode_ms": 1624.3000000000002, + "drafts_offered": 51, + "drafts_accepted": 20 + } + }, + { + "label": "16K", + "tokens": 16384, + "runs": 3, + "metrics_before": { + "since": 1796305478.7728558, + "requests": 3, + "prompt_tokens": 11817, + "reused": 0, + "output_tokens": 72, + "prompt_ms": 8256.7, + "decode_ms": 1624.3000000000002, + "drafts_offered": 51, + "drafts_accepted": 20 + }, + "metrics_after": { + "since": 1796305478.7728558, + "requests": 6, + "prompt_tokens": 58965, + "reused": 0, + "output_tokens": 144, + "prompt_ms": 45873.9, + "decode_ms": 3032.5, + "drafts_offered": 96, + "drafts_accepted": 44 + } + }, + { + "label": "32K", + "tokens": 32768, + "runs": 3, + "metrics_before": { + "since": 1796305478.7728558, + "requests": 6, + "prompt_tokens": 58965, + "reused": 0, + "output_tokens": 144, + "prompt_ms": 45873.9, + "decode_ms": 3032.5, + "drafts_offered": 96, + "drafts_accepted": 44 + }, + "metrics_after": { + "since": 1796305478.7728558, + "requests": 9, + "prompt_tokens": 153084, + "reused": 0, + "output_tokens": 216, + "prompt_ms": 145768.9, + "decode_ms": 4558.5, + "drafts_offered": 137, + "drafts_accepted": 69 + } + }, + { + "label": "64K", + "tokens": 65536, + "runs": 3, + "metrics_before": { + "since": 1796305478.7728558, + "requests": 9, + "prompt_tokens": 153084, + "reused": 0, + "output_tokens": 216, + "prompt_ms": 145768.9, + "decode_ms": 4558.5, + "drafts_offered": 137, + "drafts_accepted": 69 + }, + "metrics_after": { + "since": 1796305478.7728558, + "requests": 12, + "prompt_tokens": 341157, + "reused": 0, + "output_tokens": 288, + "prompt_ms": 450908.4, + "decode_ms": 6548.5, + "drafts_offered": 183, + "drafts_accepted": 94 + } + }, + { + "label": "128K", + "tokens": 131072, + "runs": 3, + "metrics_before": { + "since": 1796305478.7728558, + "requests": 12, + "prompt_tokens": 341157, + "reused": 0, + "output_tokens": 288, + "prompt_ms": 450908.4, + "decode_ms": 6548.5, + "drafts_offered": 183, + "drafts_accepted": 94 + }, + "metrics_after": { + "since": 1796305478.7728558, + "requests": 15, + "prompt_tokens": 716988, + "reused": 0, + "output_tokens": 360, + "prompt_ms": 1487411.3000000003, + "decode_ms": 9442.4, + "drafts_offered": 220, + "drafts_accepted": 113 + } + }, + { + "label": "192K", + "tokens": 196608, + "runs": 1, + "metrics_before": { + "since": 1796305478.7728558, + "requests": 15, + "prompt_tokens": 716988, + "reused": 0, + "output_tokens": 360, + "prompt_ms": 1487411.3000000003, + "decode_ms": 9442.4, + "drafts_offered": 220, + "drafts_accepted": 113 + }, + "metrics_after": { + "since": 1796305478.7728558, + "requests": 16, + "prompt_tokens": 904745, + "reused": 0, + "output_tokens": 384, + "prompt_ms": 2219228.5, + "decode_ms": 10772.199999999999, + "drafts_offered": 232, + "drafts_accepted": 120 + } + }, + { + "label": "max-262144", + "tokens": 261844, + "runs": 1, + "metrics_before": { + "since": 1796305478.7728558, + "requests": 16, + "prompt_tokens": 904745, + "reused": 0, + "output_tokens": 384, + "prompt_ms": 2219228.5, + "decode_ms": 10772.199999999999, + "drafts_offered": 232, + "drafts_accepted": 120 + }, + "metrics_after": { + "since": 1796305478.7728558, + "requests": 17, + "prompt_tokens": 1154738, + "reused": 0, + "output_tokens": 408, + "prompt_ms": 3475300.7, + "decode_ms": 12471.4, + "drafts_offered": 241, + "drafts_accepted": 123 + } + }, + { + "label": "fill-262144", + "tokens": 273890, + "runs": 1, + "metrics_before": { + "since": 1796305478.7728558, + "requests": 17, + "prompt_tokens": 1154738, + "reused": 0, + "output_tokens": 408, + "prompt_ms": 3475300.7, + "decode_ms": 12471.4, + "drafts_offered": 241, + "drafts_accepted": 123 + }, + "metrics_after": { + "since": 1796305478.7728558, + "requests": 18, + "prompt_tokens": 1416225, + "reused": 0, + "output_tokens": 432, + "prompt_ms": 4844239.300000001, + "decode_ms": 14168.5, + "drafts_offered": 248, + "drafts_accepted": 126 + } + } +] \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-off/engine-decode-mtp.csv b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-off/engine-decode-mtp.csv new file mode 100644 index 000000000..434c23b5e --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-off/engine-decode-mtp.csv @@ -0,0 +1,19 @@ +prompt_tokens,reused,read,prefill_ms,prefill_tok_s,generated,decode_ms,decode_tok_s,drafts_accepted,drafts_offered +3939,0,3939,2797,1408.3,24,746,32.2,7,17 +3939,0,3939,2729,1443.4,24,427,56.1,7,14 +3939,0,3939,2731,1442.5,24,451,53.2,6,20 +15716,0,15716,12539,1253.3,24,413,58.1,8,12 +15716,0,15716,12521,1255.2,24,524,45.8,8,20 +15716,0,15716,12557,1251.6,24,471,51.0,8,13 +31373,0,31373,33167,945.9,24,505,47.6,8,12 +31373,0,31373,33380,939.9,24,532,45.1,8,13 +31373,0,31373,33348,940.8,24,489,49.0,9,16 +62691,0,62691,101555,617.3,24,688,34.9,7,15 +62691,0,62691,101817,615.7,24,707,33.9,9,17 +62691,0,62691,101767,616.0,24,595,40.4,9,14 +125277,0,125277,345238,362.9,24,1000,24.0,6,12 +125277,0,125277,345755,362.3,24,920,26.1,7,12 +125277,0,125277,345510,362.6,24,973,24.7,6,13 +187757,0,187757,731817,256.6,24,1330,18.0,7,12 +249993,0,249993,1256072,199.0,24,1699,14.1,3,9 +261487,0,261487,1368939,191.0,24,1697,14.1,3,7 diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-off/extended.txt b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-off/extended.txt new file mode 100644 index 000000000..332d08acd --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-off/extended.txt @@ -0,0 +1,43 @@ +Using the PolyStrata server already running at http://127.0.0.1:8080. +Running the suite (about 3-10 minutes) ... +4K prompt: 3 fresh prompts of about 4096 tokens, 24 new tokens + run 1: 3939 tokens, prompt 1408.3 tok/s (0 reused), first token 2.921 s + run 2: 3939 tokens, prompt 1443.4 tok/s (0 reused), first token 2.857 s + run 3: 3939 tokens, prompt 1442.5 tok/s (0 reused), first token 2.812 s +16K prompt: 3 fresh prompts of about 16384 tokens, 24 new tokens + run 1: 15716 tokens, prompt 1253.3 tok/s (0 reused), first token 12.615 s + run 2: 15716 tokens, prompt 1255.2 tok/s (0 reused), first token 12.806 s + run 3: 15716 tokens, prompt 1251.6 tok/s (0 reused), first token 12.654 s +32K prompt: 3 fresh prompts of about 32768 tokens, 24 new tokens + run 1: 31373 tokens, prompt 945.9 tok/s (0 reused), first token 33.261 s + run 2: 31373 tokens, prompt 939.9 tok/s (0 reused), first token 33.5 s + run 3: 31373 tokens, prompt 940.8 tok/s (0 reused), first token 33.464 s +64K prompt: 3 fresh prompts of about 65536 tokens, 24 new tokens + run 1: 62691 tokens, prompt 617.3 tok/s (0 reused), first token 101.663 s + run 2: 62691 tokens, prompt 615.7 tok/s (0 reused), first token 101.979 s + run 3: 62691 tokens, prompt 616.0 tok/s (0 reused), first token 101.935 s +128K prompt: 3 fresh prompts of about 131072 tokens, 24 new tokens + run 1: 125277 tokens, prompt 362.9 tok/s (0 reused), first token 345.384 s + run 2: 125277 tokens, prompt 362.3 tok/s (0 reused), first token 346.013 s + run 3: 125277 tokens, prompt 362.6 tok/s (0 reused), first token 345.765 s +192K prompt: 1 fresh prompts of about 196608 tokens, 24 new tokens + run 1: 187757 tokens, prompt 256.6 tok/s (0 reused), first token 732.047 s +max-262144 prompt: 1 fresh prompts of about 261844 tokens, 24 new tokens + run 1: 249993 tokens, prompt 199.0 tok/s (0 reused), first token 1256.389 s +fill-262144 prompt: 1 fresh prompts of about 273890 tokens, 24 new tokens + run 1: 261487 tokens, prompt 191.0 tok/s (0 reused), first token 1369.37 s + +Results (median, range over the runs): +Traceback (most recent call last): + File "/extended.py", line 20, in + sys.exit(B.main()) + ~~~~~~^^ + File "/terminal/tools/strata_bench.py", line 1187, in main + say(red(short_table(res))) + ~~~~~~~~~~~^^^^^ + File "/terminal/tools/strata_bench.py", line 1064, in short_table + m = summary_metrics(res["results"]) + File "/terminal/tools/strata_bench.py", line 460, in summary_metrics + m = {"chat decode tok/s": out["chat"].get("decode_tps"), "chat first token (s)": out["chat"].get("ttft_s")} + ~~~^^^^^^^^ +TypeError: 'NoneType' object is not subscriptable diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-off/max-context.txt b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-off/max-context.txt new file mode 100644 index 000000000..31dd4bb09 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-off/max-context.txt @@ -0,0 +1,4 @@ +max_context_loaded: 262144 +largest prompt completed: 261487 tokens (fill step) +at load: strata-poly: loaded in 3.4 s; 1275 of 5248 routed experts in VRAM (2.2 GiB), 8 CPU threads +flags: part 3 baseline flags (--kv-whole --threads 8 --vram-reserve-mib 1024 --conversation-cache-mib 4096), only --max-context changed diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-on/contention-log.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-on/contention-log.json new file mode 100644 index 000000000..038170391 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-on/contention-log.json @@ -0,0 +1,191 @@ +[ + { + "label": "4K", + "tokens": 4096, + "runs": 3, + "metrics_before": { + "since": 1796300120.6301146, + "requests": 0, + "prompt_tokens": 0, + "reused": 0, + "output_tokens": 0, + "prompt_ms": 0.0, + "decode_ms": 0.0, + "drafts_offered": 0, + "drafts_accepted": 0 + }, + "metrics_after": { + "since": 1796300120.6301146, + "requests": 3, + "prompt_tokens": 11817, + "reused": 0, + "output_tokens": 72, + "prompt_ms": 8264.0, + "decode_ms": 1512.5, + "drafts_offered": 53, + "drafts_accepted": 22 + } + }, + { + "label": "16K", + "tokens": 16384, + "runs": 3, + "metrics_before": { + "since": 1796300120.6301146, + "requests": 3, + "prompt_tokens": 11817, + "reused": 0, + "output_tokens": 72, + "prompt_ms": 8264.0, + "decode_ms": 1512.5, + "drafts_offered": 53, + "drafts_accepted": 22 + }, + "metrics_after": { + "since": 1796300120.6301146, + "requests": 6, + "prompt_tokens": 58965, + "reused": 0, + "output_tokens": 144, + "prompt_ms": 45835.8, + "decode_ms": 3051.4999999999995, + "drafts_offered": 102, + "drafts_accepted": 40 + } + }, + { + "label": "32K", + "tokens": 32768, + "runs": 3, + "metrics_before": { + "since": 1796300120.6301146, + "requests": 6, + "prompt_tokens": 58965, + "reused": 0, + "output_tokens": 144, + "prompt_ms": 45835.8, + "decode_ms": 3051.4999999999995, + "drafts_offered": 102, + "drafts_accepted": 40 + }, + "metrics_after": { + "since": 1796300120.6301146, + "requests": 9, + "prompt_tokens": 153084, + "reused": 0, + "output_tokens": 216, + "prompt_ms": 145658.9, + "decode_ms": 4706.7, + "drafts_offered": 134, + "drafts_accepted": 53 + } + }, + { + "label": "64K", + "tokens": 65536, + "runs": 3, + "metrics_before": { + "since": 1796300120.6301146, + "requests": 9, + "prompt_tokens": 153084, + "reused": 0, + "output_tokens": 216, + "prompt_ms": 145658.9, + "decode_ms": 4706.7, + "drafts_offered": 134, + "drafts_accepted": 53 + }, + "metrics_after": { + "since": 1796300120.6301146, + "requests": 12, + "prompt_tokens": 341157, + "reused": 0, + "output_tokens": 288, + "prompt_ms": 450604.60000000003, + "decode_ms": 6885.9, + "drafts_offered": 160, + "drafts_accepted": 60 + } + }, + { + "label": "128K", + "tokens": 131072, + "runs": 3, + "metrics_before": { + "since": 1796300120.6301146, + "requests": 12, + "prompt_tokens": 341157, + "reused": 0, + "output_tokens": 288, + "prompt_ms": 450604.60000000003, + "decode_ms": 6885.9, + "drafts_offered": 160, + "drafts_accepted": 60 + }, + "metrics_after": { + "since": 1796300120.6301146, + "requests": 15, + "prompt_tokens": 716988, + "reused": 0, + "output_tokens": 360, + "prompt_ms": 1487759.0, + "decode_ms": 9735.300000000001, + "drafts_offered": 182, + "drafts_accepted": 71 + } + }, + { + "label": "192K", + "tokens": 196608, + "runs": 1, + "metrics_before": { + "since": 1796300120.6301146, + "requests": 15, + "prompt_tokens": 716988, + "reused": 0, + "output_tokens": 360, + "prompt_ms": 1487759.0, + "decode_ms": 9735.300000000001, + "drafts_offered": 182, + "drafts_accepted": 71 + }, + "metrics_after": { + "since": 1796300120.6301146, + "requests": 16, + "prompt_tokens": 904745, + "reused": 0, + "output_tokens": 384, + "prompt_ms": 2218355.9, + "decode_ms": 10914.6, + "drafts_offered": 189, + "drafts_accepted": 76 + } + }, + { + "label": "max-262144", + "tokens": 261844, + "runs": 1, + "metrics_before": { + "since": 1796300120.6301146, + "requests": 16, + "prompt_tokens": 904745, + "reused": 0, + "output_tokens": 384, + "prompt_ms": 2218355.9, + "decode_ms": 10914.6, + "drafts_offered": 189, + "drafts_accepted": 76 + }, + "metrics_after": { + "since": 1796300120.6301146, + "requests": 17, + "prompt_tokens": 1154738, + "reused": 0, + "output_tokens": 408, + "prompt_ms": 3473826.5999999996, + "decode_ms": 12293.7, + "drafts_offered": 194, + "drafts_accepted": 80 + } + } +] \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-on/engine-decode-mtp.csv b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-on/engine-decode-mtp.csv new file mode 100644 index 000000000..a59ddc49a --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-on/engine-decode-mtp.csv @@ -0,0 +1,19 @@ +prompt_tokens,reused,read,prefill_ms,prefill_tok_s,generated,decode_ms,decode_tok_s,drafts_accepted,drafts_offered +3939,0,3939,2804,1404.9,24,666,36.0,8,18 +3939,0,3939,2712,1452.4,24,460,52.2,7,18 +3939,0,3939,2748,1433.3,24,387,62.0,7,17 +15716,0,15716,12530,1254.3,24,460,52.2,9,19 +15716,0,15716,12483,1259.0,24,587,40.9,7,23 +15716,0,15716,12559,1251.4,24,493,48.7,2,7 +31373,0,31373,33195,945.1,24,562,42.7,6,13 +31373,0,31373,33316,941.7,24,597,40.2,5,14 +31373,0,31373,33312,941.8,24,495,48.4,2,5 +62691,0,62691,101414,618.2,24,690,34.8,4,11 +62691,0,62691,101692,616.5,24,765,31.4,1,7 +62691,0,62691,101840,615.6,24,724,33.1,2,8 +125277,0,125277,344903,363.2,24,913,26.3,7,10 +125277,0,125277,345527,362.6,24,1020,23.5,2,7 +125277,0,125277,346725,361.3,24,916,26.2,2,5 +187757,0,187757,730597,257.0,24,1179,20.4,5,7 +249993,0,249993,1255471,199.1,24,1379,17.4,4,5 +261487,0,261487,1367883,191.2,24,1477,16.3,4,5 diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-on/extended.txt b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-on/extended.txt new file mode 100644 index 000000000..3ce11a0ac --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-on/extended.txt @@ -0,0 +1,39 @@ +Using the PolyStrata server already running at http://127.0.0.1:8080. +Running the suite (about 3-10 minutes) ... +4K prompt: 3 fresh prompts of about 4096 tokens, 24 new tokens + run 1: 3939 tokens, prompt 1404.9 tok/s (0 reused), first token 2.931 s + run 2: 3939 tokens, prompt 1452.4 tok/s (0 reused), first token 2.848 s + run 3: 3939 tokens, prompt 1433.4 tok/s (0 reused), first token 2.827 s +16K prompt: 3 fresh prompts of about 16384 tokens, 24 new tokens + run 1: 15716 tokens, prompt 1254.3 tok/s (0 reused), first token 12.603 s + run 2: 15716 tokens, prompt 1259.0 tok/s (0 reused), first token 12.752 s + run 3: 15716 tokens, prompt 1251.4 tok/s (0 reused), first token 12.658 s +32K prompt: 3 fresh prompts of about 32768 tokens, 24 new tokens + run 1: 31373 tokens, prompt 945.1 tok/s (0 reused), first token 33.284 s + run 2: 31373 tokens, prompt 941.7 tok/s (0 reused), first token 33.434 s + run 3: 31373 tokens, prompt 941.8 tok/s (0 reused), first token 33.428 s +64K prompt: 3 fresh prompts of about 65536 tokens, 24 new tokens + run 1: 62691 tokens, prompt 618.2 tok/s (0 reused), first token 101.519 s + run 2: 62691 tokens, prompt 616.5 tok/s (0 reused), first token 101.855 s + run 3: 62691 tokens, prompt 615.6 tok/s (0 reused), first token 102.0 s +128K prompt: 3 fresh prompts of about 131072 tokens, 24 new tokens + run 1: 125277 tokens, prompt 363.2 tok/s (0 reused), first token 345.027 s + run 2: 125277 tokens, prompt 362.6 tok/s (0 reused), first token 345.771 s + run 3: 125277 tokens, prompt 361.3 tok/s (0 reused), first token 346.983 s +192K prompt: 1 fresh prompts of about 196608 tokens, 24 new tokens + run 1: 187757 tokens, prompt 257.0 tok/s (0 reused), first token 730.976 s +max-262144 prompt: 1 fresh prompts of about 261844 tokens, 24 new tokens + run 1: 249993 tokens, prompt 199.1 tok/s (0 reused), first token 1255.778 s +Traceback (most recent call last): + File "/extended.py", line 18, in + sys.exit(B.main()) + ~~~~~~^^ + File "/terminal/tools/strata_bench.py", line 1185, in main + d = write_results(res, parent, red, log_excerpt(log_path) if log_path else []) + File "/terminal/tools/strata_bench.py", line 1077, in write_results + (d / "README.md").write_text(red(render_readme(res)), encoding="utf-8") + ~~~~~~~~~~~~~^^^^^ + File "/terminal/tools/strata_bench.py", line 986, in render_readme + f"- 4K / 16K{' / 32K' if 'prompt' in res['results'] and '32K' in res['results']['prompts'] else ''} prompts: generated word lists sized by a calibration request, " + ^^^^^^^^^^^^^^^^^^^^^^^^^^ +TypeError: argument of type 'NoneType' is not iterable diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-on/max-context.txt b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-on/max-context.txt new file mode 100644 index 000000000..31dd4bb09 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-on/max-context.txt @@ -0,0 +1,4 @@ +max_context_loaded: 262144 +largest prompt completed: 261487 tokens (fill step) +at load: strata-poly: loaded in 3.4 s; 1275 of 5248 routed experts in VRAM (2.2 GiB), 8 CPU threads +flags: part 3 baseline flags (--kv-whole --threads 8 --vram-reserve-mib 1024 --conversation-cache-mib 4096), only --max-context changed diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-on/maxfill/maxfill.txt b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-on/maxfill/maxfill.txt new file mode 100644 index 000000000..86da0f8ca --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/extended/vision-on/maxfill/maxfill.txt @@ -0,0 +1,19 @@ +Using the PolyStrata server already running at http://127.0.0.1:8080. +Running the suite (about 3-10 minutes) ... +fill-262144 prompt: 1 fresh prompts of about 273890 tokens, 24 new tokens + run 1: 261487 tokens, prompt 191.2 tok/s (0 reused), first token 1368.029 s + +Results (median, range over the runs): +Traceback (most recent call last): + File "/extended.py", line 20, in + sys.exit(B.main()) + ~~~~~~^^ + File "/terminal/tools/strata_bench.py", line 1187, in main + say(red(short_table(res))) + ~~~~~~~~~~~^^^^^ + File "/terminal/tools/strata_bench.py", line 1064, in short_table + m = summary_metrics(res["results"]) + File "/terminal/tools/strata_bench.py", line 460, in summary_metrics + m = {"chat decode tok/s": out["chat"].get("decode_tps"), "chat first token (s)": out["chat"].get("ttft_s")} + ~~~^^^^^^^^ +TypeError: 'NoneType' object is not subscriptable diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/memory-summary.csv b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/memory-summary.csv new file mode 100644 index 000000000..fc66332d5 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/memory-summary.csv @@ -0,0 +1,19 @@ +group,mode,window_utc,groot_process_rss_peak_gib,card_vram_peak_gib,ct_cgroup_peak_gib_context_only,note +official A default,vision-on,12:07:46-12:08:57,,11.63,,not sampled (RSS sampling started 12:09:42) +official A 24000,vision-on,12:09:45-12:11:22,12.26,11.63,46.02,runs 2-3 only +official B strata_bench,vision-on,12:11:22-12:13:58,12.6,,48.76, +extended D steps 4K-250K,vision-on,12:15:22-13:13:31,18.5,,54.16,server at 262144 +extended D fill 261K,vision-on,13:14:00-13:37:43,13.81,,45.78, +official A default,vision-off,13:38:19-13:39:31,12.26,11.63,43.74, +official A 24000,vision-off,13:39:31-13:41:58,12.26,11.63,43.63, +official B strata_bench,vision-off,13:41:58-13:44:33,12.59,,46.38, +extended D steps 4K-250K,vision-off,13:44:45-14:42:00,18.54,,53.57,server at 262144 +extended D 250K + fill 261K,vision-off,14:42:00-15:05:42,13.86,,45.81, +practical-64k (E),vision-off,see results.json,14.9,10.96,,per-request peaks sampled by the run script +tuned-64k combined-A_kvq8+split2,vision-off,see results.json,13.48,10.98,,per-request peaks sampled by the run script +tuned-64k combined-B_kvq8+split2+pb2048,vision-off,see results.json,13.45,10.95,,per-request peaks sampled by the run script +tuned-64k kv-q8_0+split-attend-2,vision-off,see results.json,13.48,10.98,,per-request peaks sampled by the run script +tuned-64k kv-q8_0,vision-off,see results.json,13.48,10.98,,per-request peaks sampled by the run script +tuned-64k prompt-batch-2048,vision-off,see results.json,13.81,10.99,,per-request peaks sampled by the run script +tuned-64k reserve-512,vision-off,see results.json,14.13,11.45,,per-request peaks sampled by the run script +tuned-64k threads-6,vision-off,see results.json,13.98,10.95,,per-request peaks sampled by the run script diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/A-polystrata-benchmark/A-24000-run1.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/A-polystrata-benchmark/A-24000-run1.json new file mode 100644 index 000000000..8a1689ade --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/A-polystrata-benchmark/A-24000-run1.json @@ -0,0 +1,41 @@ +{ + "model": "groot-19b-a3b-261023-q4_k_m", + "backend": "qwen35moe", + "quantization": "Q4_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 95, + "ttft_s": 0.359, + "prefill_tok_s": 100.2, + "decode_tok_s": 67.2, + "cache_hit_rate": 0.934, + "mtp_offered": 80, + "mtp_accepted": 41, + "mtp_acceptance": 0.512, + "vram_peak_gib": 11.63, + "ram_peak_gib": 0.92, + "gpu_util_mean": 58.7, + "cpu_util_mean": 13.7 + }, + { + "prompt": "long-24000", + "prompt_tokens": 31834, + "output_tokens": 154, + "ttft_s": 35.475, + "prefill_tok_s": 901.3, + "decode_tok_s": 61.2, + "cache_hit_rate": 0.965, + "mtp_offered": 112, + "mtp_accepted": 69, + "mtp_acceptance": 0.616, + "vram_peak_gib": 11.57, + "ram_peak_gib": 1.54, + "gpu_util_mean": 96.1, + "cpu_util_mean": 12.5 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/A-polystrata-benchmark/A-24000-run2.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/A-polystrata-benchmark/A-24000-run2.json new file mode 100644 index 000000000..9cd4ba6fb --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/A-polystrata-benchmark/A-24000-run2.json @@ -0,0 +1,41 @@ +{ + "model": "groot-19b-a3b-261023-q4_k_m", + "backend": "qwen35moe", + "quantization": "Q4_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 88, + "ttft_s": 0.365, + "prefill_tok_s": 98.5, + "decode_tok_s": 65.9, + "cache_hit_rate": 0.929, + "mtp_offered": 72, + "mtp_accepted": 37, + "mtp_acceptance": 0.514, + "vram_peak_gib": 11.57, + "ram_peak_gib": 1.02, + "gpu_util_mean": 72.7, + "cpu_util_mean": 23.5 + }, + { + "prompt": "long-24000", + "prompt_tokens": 31834, + "output_tokens": 139, + "ttft_s": 35.565, + "prefill_tok_s": 898.3, + "decode_tok_s": 61.3, + "cache_hit_rate": 0.967, + "mtp_offered": 119, + "mtp_accepted": 65, + "mtp_acceptance": 0.546, + "vram_peak_gib": 11.57, + "ram_peak_gib": 1.54, + "gpu_util_mean": 95.1, + "cpu_util_mean": 12.4 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/A-polystrata-benchmark/A-24000-run3.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/A-polystrata-benchmark/A-24000-run3.json new file mode 100644 index 000000000..9bc230d4e --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/A-polystrata-benchmark/A-24000-run3.json @@ -0,0 +1,41 @@ +{ + "model": "groot-19b-a3b-261023-q4_k_m", + "backend": "qwen35moe", + "quantization": "Q4_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 76, + "ttft_s": 0.355, + "prefill_tok_s": 102.3, + "decode_tok_s": 67.6, + "cache_hit_rate": 0.921, + "mtp_offered": 59, + "mtp_accepted": 35, + "mtp_acceptance": 0.593, + "vram_peak_gib": 11.63, + "ram_peak_gib": 0.92, + "gpu_util_mean": 32.0, + "cpu_util_mean": 11.0 + }, + { + "prompt": "long-24000", + "prompt_tokens": 31834, + "output_tokens": 135, + "ttft_s": 35.344, + "prefill_tok_s": 903.9, + "decode_tok_s": 65.6, + "cache_hit_rate": 0.964, + "mtp_offered": 102, + "mtp_accepted": 69, + "mtp_acceptance": 0.676, + "vram_peak_gib": 11.57, + "ram_peak_gib": 1.53, + "gpu_util_mean": 96.1, + "cpu_util_mean": 12.2 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/A-polystrata-benchmark/A-default-run1.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/A-polystrata-benchmark/A-default-run1.json new file mode 100644 index 000000000..3880ee178 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/A-polystrata-benchmark/A-default-run1.json @@ -0,0 +1,57 @@ +{ + "model": "groot-19b-a3b-261023-q4_k_m", + "backend": "qwen35moe", + "quantization": "Q4_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 76, + "ttft_s": 0.369, + "prefill_tok_s": 97.3, + "decode_tok_s": 68.3, + "cache_hit_rate": 0.92, + "mtp_offered": 57, + "mtp_accepted": 35, + "mtp_acceptance": 0.614, + "vram_peak_gib": 11.63, + "ram_peak_gib": 0.95, + "gpu_util_mean": 46.5, + "cpu_util_mean": 11.8 + }, + { + "prompt": "long-2000", + "prompt_tokens": 2949, + "output_tokens": 157, + "ttft_s": 2.509, + "prefill_tok_s": 1231.2, + "decode_tok_s": 90.9, + "cache_hit_rate": 0.961, + "mtp_offered": 125, + "mtp_accepted": 85, + "mtp_acceptance": 0.68, + "vram_peak_gib": 11.57, + "ram_peak_gib": 1.13, + "gpu_util_mean": 80.0, + "cpu_util_mean": 22.9 + }, + { + "prompt": "long-8000", + "prompt_tokens": 10329, + "output_tokens": 127, + "ttft_s": 7.348, + "prefill_tok_s": 1260.1, + "decode_tok_s": 87.4, + "cache_hit_rate": 0.988, + "mtp_offered": 100, + "mtp_accepted": 69, + "mtp_acceptance": 0.69, + "vram_peak_gib": 11.57, + "ram_peak_gib": 1.64, + "gpu_util_mean": 93.6, + "cpu_util_mean": 15.1 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/A-polystrata-benchmark/A-default-run2.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/A-polystrata-benchmark/A-default-run2.json new file mode 100644 index 000000000..17c3d30b9 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/A-polystrata-benchmark/A-default-run2.json @@ -0,0 +1,57 @@ +{ + "model": "groot-19b-a3b-261023-q4_k_m", + "backend": "qwen35moe", + "quantization": "Q4_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 76, + "ttft_s": 0.359, + "prefill_tok_s": 101.1, + "decode_tok_s": 68.6, + "cache_hit_rate": 0.918, + "mtp_offered": 55, + "mtp_accepted": 35, + "mtp_acceptance": 0.636, + "vram_peak_gib": 11.63, + "ram_peak_gib": 0.95, + "gpu_util_mean": 43.0, + "cpu_util_mean": 13.6 + }, + { + "prompt": "long-2000", + "prompt_tokens": 2949, + "output_tokens": 157, + "ttft_s": 2.5, + "prefill_tok_s": 1234.7, + "decode_tok_s": 92.1, + "cache_hit_rate": 0.96, + "mtp_offered": 120, + "mtp_accepted": 85, + "mtp_acceptance": 0.708, + "vram_peak_gib": 11.57, + "ram_peak_gib": 1.13, + "gpu_util_mean": 80.0, + "cpu_util_mean": 21.9 + }, + { + "prompt": "long-8000", + "prompt_tokens": 10329, + "output_tokens": 127, + "ttft_s": 7.364, + "prefill_tok_s": 1257.7, + "decode_tok_s": 90.3, + "cache_hit_rate": 0.988, + "mtp_offered": 96, + "mtp_accepted": 70, + "mtp_acceptance": 0.729, + "vram_peak_gib": 11.57, + "ram_peak_gib": 1.63, + "gpu_util_mean": 98.6, + "cpu_util_mean": 15.1 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/A-polystrata-benchmark/A-default-run3.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/A-polystrata-benchmark/A-default-run3.json new file mode 100644 index 000000000..a01813a17 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/A-polystrata-benchmark/A-default-run3.json @@ -0,0 +1,57 @@ +{ + "model": "groot-19b-a3b-261023-q4_k_m", + "backend": "qwen35moe", + "quantization": "Q4_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 88, + "ttft_s": 0.359, + "prefill_tok_s": 101.7, + "decode_tok_s": 64.7, + "cache_hit_rate": 0.929, + "mtp_offered": 71, + "mtp_accepted": 36, + "mtp_acceptance": 0.507, + "vram_peak_gib": 11.63, + "ram_peak_gib": 0.93, + "gpu_util_mean": 34.0, + "cpu_util_mean": 14.0 + }, + { + "prompt": "long-2000", + "prompt_tokens": 2949, + "output_tokens": 157, + "ttft_s": 2.513, + "prefill_tok_s": 1228.0, + "decode_tok_s": 92.9, + "cache_hit_rate": 0.961, + "mtp_offered": 127, + "mtp_accepted": 86, + "mtp_acceptance": 0.677, + "vram_peak_gib": 11.57, + "ram_peak_gib": 1.13, + "gpu_util_mean": 96.9, + "cpu_util_mean": 22.4 + }, + { + "prompt": "long-8000", + "prompt_tokens": 10329, + "output_tokens": 127, + "ttft_s": 7.437, + "prefill_tok_s": 1258.2, + "decode_tok_s": 85.4, + "cache_hit_rate": 0.988, + "mtp_offered": 104, + "mtp_accepted": 69, + "mtp_acceptance": 0.663, + "vram_peak_gib": 11.57, + "ram_peak_gib": 1.63, + "gpu_util_mean": 85.0, + "cpu_util_mean": 15.3 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/B-strata_bench/README.md b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/B-strata_bench/README.md new file mode 100644 index 000000000..23bb2d277 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/B-strata_bench/README.md @@ -0,0 +1,64 @@ +# Community benchmark on AMD Radeon + +Measured on 2026-12-03 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, 12 GiB VRAM +- CPU: AMD Ryzen 5 3600 6-Core Processor (6 cores, 10 threads); installed RAM: 56.0 GiB; storage: nvme0n1 INTEL SSDPEKNW010T8 nvme +- OS: Linux 7.0.14-29-pve; 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: groot-19b-a3b-261023-q4_k_m +- Context: 32768 tokens; parallel slots: 1 +- Settings: the install's own configuration, unchanged; thinking off for the suite; temperature 0 + +## Method + +Run by `python tools/strata_bench.py --clients 2 --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 | 88.4 (82.4-121.7) | 0.91 (0.90-0.95) | +| 4K prompt, fresh | 4019 (4019-4019) | 0 (0-0) | 24 cap | 3 | 1655.2 (1334.1-1679.1) | not measured | 3.15 (3.10-3.21) | +| 16K prompt, fresh | 16058 (16058-16058) | 0 (0-0) | 24 cap | 3 | 1253.4 (1252.3-1255.2) | not measured | 13.56 (13.55-13.73) | +| agent session, follow-up turns | 14948 (14910-14965) at the last turn | see below | up to 64 | 3 | see below | 90.2 (75.3-103.7) | 3.66 (2.21-4.20) | + +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: 296 (258-312) (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: 1.36 s (1.32-1.54). 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 | 782.8 | 1.543 | 109.0 | +| 1 | 4094 | 602 | 3492 | 1172.2 | 3.081 | 90.2 | +| 2 | 5750 | 4087 | 1663 | 1180.7 | 2.235 | 75.3 | +| 3 | 9117 | 5743 | 3374 | 1140.8 | 3.697 | 99.3 | +| 4 | 11973 | 9110 | 2863 | 982.9 | 3.669 | 88.1 | +| 5 | 14965 | 11966 | 2999 | 890.1 | 4.199 | 90.8 | + +### Concurrency: 2 clients + +Total 52.1 tok/s (50.0-53.2); first token p50 2.137 s, p95 3.504 s; request latency p50 3.699 s, p95 5.066 s; errors 0. Server parallel slots: 1 (requests beyond that wait their turn). + +### Skipped and failed + +- skipped 32K: the context is 32768 tokens + +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: 155 s. diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/B-strata_bench/results.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/B-strata_bench/results.json new file mode 100644 index 000000000..c505ad5dd --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/B-strata_bench/results.json @@ -0,0 +1,945 @@ +{ + "schema": 1, + "tool": "tools/strata_bench.py", + "date": "2026-12-03", + "params": { + "runs": 3, + "think": false, + "clients": 2, + "long": true, + "started_server": false, + "command": "python tools/strata_bench.py --clients 2 --long" + }, + "elapsed_s": 155.1132800579071, + "machine": { + "gpu": [ + "AMD Radeon" + ], + "gpu_vram_mib": 12272, + "gpu_driver": null, + "gpu_detail": [ + {} + ], + "cuda": null, + "engine_build": null, + "cpu": "AMD Ryzen 5 3600 6-Core Processor", + "cpu_cores": 6, + "storage": "nvme0n1 INTEL SSDPEKNW010T8 nvme", + "cpu_threads": 10, + "ram_gib": 56.0, + "os": "Linux 7.0.14-29-pve", + "python": "3.13.5", + "strata_version": "0.1.66", + "strata_commit": null, + "engine_version": "0.1.66", + "model": "groot-19b-a3b-261023-q4_k_m", + "quant": null, + "context": 32768, + "parallel_slots": 1, + "config": {}, + "launch": null, + "engine_info": { + "model": "groot-19b-a3b-261023-q4_k_m", + "max_context": 32768, + "images": false, + "gen": 1, + "version": "0.1.66", + "context": 32768, + "expert_slots": 4356, + "expert_cache_mib": 7870, + "pool_workers": 7, + "conversation_cache_mib": 8192, + "conversation_cache_slots": 4, + "conversation_cache_min_free_mib": 2560, + "reserve_mib": 383, + "vram_free_mib": 362, + "vram_elastic": 1, + "batch_slots": 0, + "co_read": 0, + "sessions": 1, + "vision_shm": 1, + "bin_tok": 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.917, + "total_s": 1.849, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 64.3, + "prompt_tps_source": "engine", + "decode_tps": 107.3, + "decode_tps_source": "engine", + "prompt_ms": 792.7, + "decode_ms": 932.0, + "drafts_offered": 81, + "drafts_accepted": 66, + "run": 0, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.948, + "total_s": 2.162, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 52.0, + "prompt_tps_source": "engine", + "decode_tps": 82.4, + "decode_tps_source": "engine", + "prompt_ms": 827.5, + "decode_ms": 1213.4, + "drafts_offered": 75, + "drafts_accepted": 46, + "run": 0, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.911, + "total_s": 2.083, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 57.4, + "prompt_tps_source": "engine", + "decode_tps": 85.2, + "decode_tps_source": "engine", + "prompt_ms": 801.5, + "decode_ms": 1173.1, + "drafts_offered": 72, + "drafts_accepted": 43, + "run": 0, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.904, + "total_s": 1.772, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 65.0, + "prompt_tps_source": "engine", + "decode_tps": 115.2, + "decode_tps_source": "engine", + "prompt_ms": 784.6, + "decode_ms": 868.3, + "drafts_offered": 83, + "drafts_accepted": 65, + "run": 1, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.899, + "total_s": 2.098, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 54.3, + "prompt_tps_source": "engine", + "decode_tps": 83.4, + "decode_tps_source": "engine", + "prompt_ms": 791.9, + "decode_ms": 1198.8, + "drafts_offered": 77, + "drafts_accepted": 41, + "run": 1, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.906, + "total_s": 2.037, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 57.3, + "prompt_tps_source": "engine", + "decode_tps": 88.4, + "decode_tps_source": "engine", + "prompt_ms": 803.1, + "decode_ms": 1130.8, + "drafts_offered": 73, + "drafts_accepted": 44, + "run": 1, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.918, + "total_s": 1.74, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 63.4, + "prompt_tps_source": "engine", + "decode_tps": 121.7, + "decode_tps_source": "engine", + "prompt_ms": 803.9, + "decode_ms": 821.6, + "drafts_offered": 84, + "drafts_accepted": 67, + "run": 2, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.911, + "total_s": 2.047, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 54.3, + "prompt_tps_source": "engine", + "decode_tps": 88.0, + "decode_tps_source": "engine", + "prompt_ms": 792.3, + "decode_ms": 1136.1, + "drafts_offered": 77, + "drafts_accepted": 45, + "run": 2, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.914, + "total_s": 2.007, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 56.1, + "prompt_tps_source": "engine", + "decode_tps": 91.5, + "decode_tps_source": "engine", + "prompt_ms": 819.6, + "decode_ms": 1092.6, + "drafts_offered": 83, + "drafts_accepted": 50, + "run": 2, + "prompt": 2 + } + ], + "decode_tps": { + "median": 88.4, + "min": 82.4, + "max": 121.7, + "n": 9 + }, + "ttft_s": { + "median": 0.911, + "min": 0.899, + "max": 0.948, + "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.102, + "total_s": 3.466, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 1334.1, + "prompt_tps_source": "engine", + "decode_tps": 65.9, + "decode_tps_source": "engine", + "prompt_ms": 3012.6, + "decode_ms": 364.1, + "drafts_offered": 25, + "drafts_accepted": 7, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.212, + "total_s": 3.552, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 1679.1, + "prompt_tps_source": "engine", + "decode_tps": 70.6, + "decode_tps_source": "engine", + "prompt_ms": 2393.6, + "decode_ms": 339.9, + "drafts_offered": 24, + "drafts_accepted": 8, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.153, + "total_s": 3.479, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 1655.2, + "prompt_tps_source": "engine", + "decode_tps": 73.6, + "decode_tps_source": "engine", + "prompt_ms": 2428.1, + "decode_ms": 326.1, + "drafts_offered": 22, + "drafts_accepted": 9, + "run": 2 + } + ], + "prompt_tps": { + "median": 1655.2, + "min": 1334.1, + "max": 1679.1, + "n": 3 + }, + "ttft_s": { + "median": 3.153, + "min": 3.102, + "max": 3.212, + "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": 13.551, + "total_s": 13.954, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 1252.3, + "prompt_tps_source": "engine", + "decode_tps": 59.5, + "decode_tps_source": "engine", + "prompt_ms": 12822.6, + "decode_ms": 403.6, + "drafts_offered": 25, + "drafts_accepted": 9, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 13.731, + "total_s": 14.14, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 1255.2, + "prompt_tps_source": "engine", + "decode_tps": 58.7, + "decode_tps_source": "engine", + "prompt_ms": 12792.9, + "decode_ms": 408.9, + "drafts_offered": 24, + "drafts_accepted": 8, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 13.563, + "total_s": 13.917, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 1253.4, + "prompt_tps_source": "engine", + "decode_tps": 67.7, + "decode_tps_source": "engine", + "prompt_ms": 12811.2, + "decode_ms": 354.7, + "drafts_offered": 21, + "drafts_accepted": 9, + "run": 2 + } + ], + "prompt_tps": { + "median": 1253.4, + "min": 1252.3, + "max": 1255.2, + "n": 3 + }, + "ttft_s": { + "median": 13.563, + "min": 13.551, + "max": 13.731, + "n": 3 + }, + "prompt_tokens": { + "median": 16058, + "min": 16058, + "max": 16058, + "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.543, + "total_s": 1.955, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 45, + "prompt_tps": 782.8, + "prompt_tps_source": "engine", + "decode_tps": 109.0, + "decode_tps_source": "engine", + "prompt_ms": 778.0, + "decode_ms": 412.7, + "drafts_offered": 34, + "drafts_accepted": 26, + "run": 0, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.081, + "total_s": 3.757, + "prompt_tokens": 4094, + "reused_tokens": 602, + "read_tokens": 3492, + "generated_tokens": 61, + "prompt_tps": 1172.2, + "prompt_tps_source": "engine", + "decode_tps": 90.2, + "decode_tps_source": "engine", + "prompt_ms": 2978.9, + "decode_ms": 676.6, + "drafts_offered": 52, + "drafts_accepted": 31, + "run": 0, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.235, + "total_s": 3.084, + "prompt_tokens": 5750, + "reused_tokens": 4087, + "read_tokens": 1663, + "generated_tokens": 64, + "prompt_tps": 1180.7, + "prompt_tps_source": "engine", + "decode_tps": 75.3, + "decode_tps_source": "engine", + "prompt_ms": 1408.5, + "decode_ms": 849.6, + "drafts_offered": 56, + "drafts_accepted": 28, + "run": 0, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.697, + "total_s": 4.301, + "prompt_tokens": 9117, + "reused_tokens": 5743, + "read_tokens": 3374, + "generated_tokens": 60, + "prompt_tps": 1140.8, + "prompt_tps_source": "engine", + "decode_tps": 99.3, + "decode_tps_source": "engine", + "prompt_ms": 2957.6, + "decode_ms": 604.1, + "drafts_offered": 46, + "drafts_accepted": 36, + "run": 0, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.669, + "total_s": 4.202, + "prompt_tokens": 11973, + "reused_tokens": 9110, + "read_tokens": 2863, + "generated_tokens": 47, + "prompt_tps": 982.9, + "prompt_tps_source": "engine", + "decode_tps": 88.1, + "decode_tps_source": "engine", + "prompt_ms": 2912.7, + "decode_ms": 533.2, + "drafts_offered": 43, + "drafts_accepted": 27, + "run": 0, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.199, + "total_s": 4.903, + "prompt_tokens": 14965, + "reused_tokens": 11966, + "read_tokens": 2999, + "generated_tokens": 64, + "prompt_tps": 890.1, + "prompt_tps_source": "engine", + "decode_tps": 90.8, + "decode_tps_source": "engine", + "prompt_ms": 3369.1, + "decode_ms": 704.9, + "drafts_offered": 50, + "drafts_accepted": 38, + "run": 0, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 1.361, + "total_s": 1.749, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 40, + "prompt_tps": 1006.4, + "prompt_tps_source": "engine", + "decode_tps": 102.9, + "decode_tps_source": "engine", + "prompt_ms": 605.1, + "decode_ms": 388.6, + "drafts_offered": 34, + "drafts_accepted": 22, + "run": 1, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.11, + "total_s": 3.687, + "prompt_tokens": 4089, + "reused_tokens": 602, + "read_tokens": 3487, + "generated_tokens": 52, + "prompt_tps": 1159.8, + "prompt_tps_source": "engine", + "decode_tps": 90.1, + "decode_tps_source": "engine", + "prompt_ms": 3006.5, + "decode_ms": 577.2, + "drafts_offered": 42, + "drafts_accepted": 26, + "run": 1, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.214, + "total_s": 2.857, + "prompt_tokens": 5736, + "reused_tokens": 4082, + "read_tokens": 1654, + "generated_tokens": 59, + "prompt_tps": 1161.4, + "prompt_tps_source": "engine", + "decode_tps": 91.7, + "decode_tps_source": "engine", + "prompt_ms": 1424.2, + "decode_ms": 643.4, + "drafts_offered": 45, + "drafts_accepted": 30, + "run": 1, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.723, + "total_s": 4.409, + "prompt_tokens": 9097, + "reused_tokens": 5729, + "read_tokens": 3368, + "generated_tokens": 63, + "prompt_tps": 1138.5, + "prompt_tps_source": "engine", + "decode_tps": 91.9, + "decode_tps_source": "engine", + "prompt_ms": 2958.2, + "decode_ms": 685.6, + "drafts_offered": 46, + "drafts_accepted": 33, + "run": 1, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.659, + "total_s": 4.202, + "prompt_tokens": 11956, + "reused_tokens": 9090, + "read_tokens": 2866, + "generated_tokens": 47, + "prompt_tps": 978.8, + "prompt_tps_source": "engine", + "decode_tps": 86.6, + "decode_tps_source": "engine", + "prompt_ms": 2928.0, + "decode_ms": 542.7, + "drafts_offered": 47, + "drafts_accepted": 27, + "run": 1, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.117, + "total_s": 4.832, + "prompt_tokens": 14948, + "reused_tokens": 11949, + "read_tokens": 2999, + "generated_tokens": 64, + "prompt_tps": 888.4, + "prompt_tps_source": "engine", + "decode_tps": 89.5, + "decode_tps_source": "engine", + "prompt_ms": 3375.7, + "decode_ms": 715.0, + "drafts_offered": 52, + "drafts_accepted": 38, + "run": 1, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 1.324, + "total_s": 1.412, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 8, + "prompt_tps": 1041.4, + "prompt_tps_source": "engine", + "decode_tps": 90.8, + "decode_tps_source": "engine", + "prompt_ms": 584.8, + "decode_ms": 88.1, + "drafts_offered": 7, + "drafts_accepted": 3, + "run": 2, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.095, + "total_s": 3.708, + "prompt_tokens": 4057, + "reused_tokens": 602, + "read_tokens": 3455, + "generated_tokens": 54, + "prompt_tps": 1152.1, + "prompt_tps_source": "engine", + "decode_tps": 88.1, + "decode_tps_source": "engine", + "prompt_ms": 2998.8, + "decode_ms": 613.1, + "drafts_offered": 47, + "drafts_accepted": 27, + "run": 2, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.305, + "total_s": 2.864, + "prompt_tokens": 5706, + "reused_tokens": 4050, + "read_tokens": 1656, + "generated_tokens": 58, + "prompt_tps": 1060.0, + "prompt_tps_source": "engine", + "decode_tps": 103.7, + "decode_tps_source": "engine", + "prompt_ms": 1562.2, + "decode_ms": 559.5, + "drafts_offered": 38, + "drafts_accepted": 32, + "run": 2, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.671, + "total_s": 4.251, + "prompt_tokens": 9066, + "reused_tokens": 5699, + "read_tokens": 3367, + "generated_tokens": 57, + "prompt_tps": 1145.1, + "prompt_tps_source": "engine", + "decode_tps": 98.2, + "decode_tps_source": "engine", + "prompt_ms": 2940.4, + "decode_ms": 580.7, + "drafts_offered": 45, + "drafts_accepted": 33, + "run": 2, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.664, + "total_s": 4.176, + "prompt_tokens": 11919, + "reused_tokens": 9059, + "read_tokens": 2860, + "generated_tokens": 46, + "prompt_tps": 981.1, + "prompt_tps_source": "engine", + "decode_tps": 89.8, + "decode_tps_source": "engine", + "prompt_ms": 2915.1, + "decode_ms": 512.5, + "drafts_offered": 40, + "drafts_accepted": 26, + "run": 2, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.099, + "total_s": 4.807, + "prompt_tokens": 14910, + "reused_tokens": 11912, + "read_tokens": 2998, + "generated_tokens": 64, + "prompt_tps": 891.8, + "prompt_tps_source": "engine", + "decode_tps": 90.4, + "decode_tps_source": "engine", + "prompt_ms": 3361.8, + "decode_ms": 708.1, + "drafts_offered": 52, + "drafts_accepted": 37, + "run": 2, + "turn": 5 + } + ] + ], + "hit_pct": { + "median": 68.634, + "min": 68.601, + "max": 68.646, + "n": 3 + }, + "reread_tokens": { + "median": 296, + "min": 258, + "max": 312, + "n": 3 + }, + "new_tokens": { + "median": 14078, + "min": 14078, + "max": 14079, + "n": 3 + }, + "turn_ttft_s": { + "median": 3.664, + "min": 2.214, + "max": 4.199, + "n": 15 + }, + "last_turn_prompt_tokens": { + "median": 14948, + "min": 14910, + "max": 14965, + "n": 3 + }, + "turn_decode_tps": { + "median": 90.2, + "min": 75.3, + "max": 103.7, + "n": 15 + }, + "first_turn_ttft_s": { + "median": 1.361, + "min": 1.324, + "max": 1.543, + "n": 3 + } + }, + "clients": { + "clients": 2, + "rounds": [ + { + "round": 0, + "wall_s": 5.12, + "tokens": 256, + "total_tps": 50.04, + "first_s": [ + 0.9885630230419338, + 3.5198641018942 + ], + "latency_s": [ + 2.5841072080656886, + 5.115611836779863 + ], + "errors": [], + "error_count": 0 + }, + { + "round": 1, + "wall_s": 4.81, + "tokens": 256, + "total_tps": 53.18, + "first_s": [ + 0.9239240169990808, + 3.284546612063423 + ], + "latency_s": [ + 2.3525345609523356, + 4.813360321102664 + ], + "errors": [], + "error_count": 0 + }, + { + "round": 2, + "wall_s": 4.92, + "tokens": 256, + "total_tps": 52.06, + "first_s": [ + 0.9201738350093365, + 3.4580268969293684 + ], + "latency_s": [ + 2.532771360129118, + 4.916985927848145 + ], + "errors": [], + "error_count": 0 + } + ], + "total_tps": { + "median": 52.06, + "min": 50.04, + "max": 53.18, + "n": 3 + }, + "ttft_p50_s": 2.137, + "ttft_p95_s": 3.504, + "latency_p50_s": 3.699, + "latency_p95_s": 5.066, + "errors": 0 + }, + "skipped": { + "32K": "the context is 32768 tokens" + }, + "failures": [] + } +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/B-strata_bench/strata_bench-console.txt b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/B-strata_bench/strata_bench-console.txt new file mode 100644 index 000000000..c4e016709 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-off/B-strata_bench/strata_bench-console.txt @@ -0,0 +1,65 @@ +Using the PolyStrata server already running at http://127.0.0.1:8080. +Note: the server runs 1 request(s) at a time (--batch), so 2 clients will partly wait their turn. +Running the suite (about 3-10 minutes) ... +warming up (not measured) ... + calibrated: about 1.08 tokens per word +chat: 3 short questions x 3 runs, up to 100 new tokens + run 1 q1: decode 107.3 tok/s, first token 0.917 s, 100 tokens + run 1 q2: decode 82.4 tok/s, first token 0.948 s, 100 tokens + run 1 q3: decode 85.2 tok/s, first token 0.911 s, 100 tokens + run 2 q1: decode 115.2 tok/s, first token 0.904 s, 100 tokens + run 2 q2: decode 83.4 tok/s, first token 0.899 s, 100 tokens + run 2 q3: decode 88.4 tok/s, first token 0.906 s, 100 tokens + run 3 q1: decode 121.7 tok/s, first token 0.918 s, 100 tokens + run 3 q2: decode 88.0 tok/s, first token 0.911 s, 100 tokens + run 3 q3: decode 91.5 tok/s, first token 0.914 s, 100 tokens +4K prompt: 3 fresh prompts of about 4096 tokens, 24 new tokens + run 1: 4019 tokens, prompt 1334.1 tok/s (0 reused), first token 3.102 s + run 2: 4019 tokens, prompt 1679.1 tok/s (0 reused), first token 3.212 s + run 3: 4019 tokens, prompt 1655.2 tok/s (0 reused), first token 3.153 s +16K prompt: 3 fresh prompts of about 16384 tokens, 24 new tokens + run 1: 16058 tokens, prompt 1252.3 tok/s (0 reused), first token 13.551 s + run 2: 16058 tokens, prompt 1255.2 tok/s (0 reused), first token 13.731 s + run 3: 16058 tokens, prompt 1253.4 tok/s (0 reused), first token 13.563 s +agent: a session of 6 turns with four tools, x 3 runs (corpus: repo_docs) + run 1 turn 0: prompt 609, reused 0, read 609, first token 1.543 s + run 1 turn 1: prompt 4094, reused 602, read 3492, first token 3.081 s + run 1 turn 2: prompt 5750, reused 4087, read 1663, first token 2.235 s + run 1 turn 3: prompt 9117, reused 5743, read 3374, first token 3.697 s + run 1 turn 4: prompt 11973, reused 9110, read 2863, first token 3.669 s + run 1 turn 5: prompt 14965, reused 11966, read 2999, first token 4.199 s + run 2 turn 0: prompt 609, reused 0, read 609, first token 1.361 s + run 2 turn 1: prompt 4089, reused 602, read 3487, first token 3.11 s + run 2 turn 2: prompt 5736, reused 4082, read 1654, first token 2.214 s + run 2 turn 3: prompt 9097, reused 5729, read 3368, first token 3.723 s + run 2 turn 4: prompt 11956, reused 9090, read 2866, first token 3.659 s + run 2 turn 5: prompt 14948, reused 11949, read 2999, first token 4.117 s + run 3 turn 0: prompt 609, reused 0, read 609, first token 1.324 s + run 3 turn 1: prompt 4057, reused 602, read 3455, first token 3.095 s + run 3 turn 2: prompt 5706, reused 4050, read 1656, first token 2.305 s + run 3 turn 3: prompt 9066, reused 5699, read 3367, first token 3.671 s + run 3 turn 4: prompt 11919, reused 9059, read 2860, first token 3.664 s + run 3 turn 5: prompt 14910, reused 11912, read 2998, first token 4.099 s +concurrency: 2 requests at once x 3 rounds, 128 new tokens each + round 1: 256 tokens in 5.1 s = 50.0 tok/s total + round 2: 256 tokens in 4.8 s = 53.2 tok/s total + round 3: 256 tokens in 4.9 s = 52.1 tok/s total +32K prompt: skipped (the context is 32768 tokens) + +Results (median, range over the runs): + chat decode tok/s 88.40 (82.40 - 121.70, n=9) + chat first token (s) 0.91 (0.90 - 0.95, n=9) + 4K prompt tok/s 1655.20 (1334.10 - 1679.10, n=3) + 4K first token (s) 3.15 (3.10 - 3.21, n=3) + 16K prompt tok/s 1253.40 (1252.30 - 1255.20, n=3) + 16K first token (s) 13.56 (13.55 - 13.73, n=3) + agent cache hit % 68.63 (68.60 - 68.65, n=3) + agent re-read tokens/session 296.00 (258.00 - 312.00, n=3) + agent turn first token (s) 3.66 (2.21 - 4.20, n=15) + agent decode tok/s 90.20 (75.30 - 103.70, n=15) + 2 clients total tok/s 52.06 (50.04 - 53.18, n=3) + (0 failed request(s), 1 skipped test(s): see the report) + +Report: /results-voff/B/2026-12-03-community-unknown-groot-19b-a3b-261023-q4-k-m/README.md +Share it: open a pull request that adds the folder /results-voff/B/2026-12-03-community-unknown-groot-19b-a3b-261023-q4-k-m (see docs/COMMUNITY_BENCHMARKS.md), or paste README.md into a GitHub issue. Home folders, user and host names and IP addresses are already replaced; read it once before you share it. +For results other people can compare with, run the standard benchmark: strata bench run (docs/BENCHMARK_PROTOCOL.md). diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/A-polystrata-benchmark/A-24000-run1.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/A-polystrata-benchmark/A-24000-run1.json new file mode 100644 index 000000000..7f7434704 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/A-polystrata-benchmark/A-24000-run1.json @@ -0,0 +1,41 @@ +{ + "model": "groot-19b-a3b-261023-q4_k_m", + "backend": "qwen35moe", + "quantization": "Q4_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 86, + "ttft_s": 0.363, + "prefill_tok_s": 99.4, + "decode_tok_s": 70.4, + "cache_hit_rate": 0.925, + "mtp_offered": 60, + "mtp_accepted": 37, + "mtp_acceptance": 0.617, + "vram_peak_gib": 11.63, + "ram_peak_gib": 0.96, + "gpu_util_mean": 50.0, + "cpu_util_mean": 15.8 + }, + { + "prompt": "long-24000", + "prompt_tokens": 31834, + "output_tokens": 135, + "ttft_s": 35.342, + "prefill_tok_s": 907.1, + "decode_tok_s": 61.3, + "cache_hit_rate": 0.965, + "mtp_offered": 99, + "mtp_accepted": 60, + "mtp_acceptance": 0.606, + "vram_peak_gib": 11.57, + "ram_peak_gib": 1.53, + "gpu_util_mean": 96.8, + "cpu_util_mean": 12.6 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/A-polystrata-benchmark/A-24000-run2.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/A-polystrata-benchmark/A-24000-run2.json new file mode 100644 index 000000000..0d7ebf518 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/A-polystrata-benchmark/A-24000-run2.json @@ -0,0 +1,41 @@ +{ + "model": "groot-19b-a3b-261023-q4_k_m", + "backend": "qwen35moe", + "quantization": "Q4_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 76, + "ttft_s": 0.361, + "prefill_tok_s": 100.6, + "decode_tok_s": 67.4, + "cache_hit_rate": 0.921, + "mtp_offered": 62, + "mtp_accepted": 35, + "mtp_acceptance": 0.565, + "vram_peak_gib": 11.63, + "ram_peak_gib": 0.95, + "gpu_util_mean": 45.0, + "cpu_util_mean": 12.6 + }, + { + "prompt": "long-24000", + "prompt_tokens": 31834, + "output_tokens": 121, + "ttft_s": 35.509, + "prefill_tok_s": 900.1, + "decode_tok_s": 67.4, + "cache_hit_rate": 0.964, + "mtp_offered": 88, + "mtp_accepted": 62, + "mtp_acceptance": 0.705, + "vram_peak_gib": 11.57, + "ram_peak_gib": 1.54, + "gpu_util_mean": 96.3, + "cpu_util_mean": 12.3 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/A-polystrata-benchmark/A-24000-run3.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/A-polystrata-benchmark/A-24000-run3.json new file mode 100644 index 000000000..5056b3319 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/A-polystrata-benchmark/A-24000-run3.json @@ -0,0 +1,41 @@ +{ + "model": "groot-19b-a3b-261023-q4_k_m", + "backend": "qwen35moe", + "quantization": "Q4_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 88, + "ttft_s": 0.353, + "prefill_tok_s": 102.9, + "decode_tok_s": 65.5, + "cache_hit_rate": 0.929, + "mtp_offered": 70, + "mtp_accepted": 36, + "mtp_acceptance": 0.514, + "vram_peak_gib": 11.63, + "ram_peak_gib": 0.92, + "gpu_util_mean": 51.3, + "cpu_util_mean": 13.4 + }, + { + "prompt": "long-24000", + "prompt_tokens": 31834, + "output_tokens": 127, + "ttft_s": 35.392, + "prefill_tok_s": 905.9, + "decode_tok_s": 59.1, + "cache_hit_rate": 0.965, + "mtp_offered": 97, + "mtp_accepted": 54, + "mtp_acceptance": 0.557, + "vram_peak_gib": 11.57, + "ram_peak_gib": 1.54, + "gpu_util_mean": 95.7, + "cpu_util_mean": 12.3 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/A-polystrata-benchmark/A-default-run1.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/A-polystrata-benchmark/A-default-run1.json new file mode 100644 index 000000000..983e530f1 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/A-polystrata-benchmark/A-default-run1.json @@ -0,0 +1,57 @@ +{ + "model": "groot-19b-a3b-261023-q4_k_m", + "backend": "qwen35moe", + "quantization": "Q4_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 77, + "ttft_s": 0.375, + "prefill_tok_s": 94.4, + "decode_tok_s": 68.1, + "cache_hit_rate": 0.919, + "mtp_offered": 56, + "mtp_accepted": 36, + "mtp_acceptance": 0.643, + "vram_peak_gib": 11.57, + "ram_peak_gib": 1.02, + "gpu_util_mean": 34.3, + "cpu_util_mean": 17.2 + }, + { + "prompt": "long-2000", + "prompt_tokens": 2949, + "output_tokens": 157, + "ttft_s": 2.498, + "prefill_tok_s": 1234.4, + "decode_tok_s": 94.3, + "cache_hit_rate": 0.959, + "mtp_offered": 119, + "mtp_accepted": 87, + "mtp_acceptance": 0.731, + "vram_peak_gib": 11.57, + "ram_peak_gib": 1.13, + "gpu_util_mean": 76.6, + "cpu_util_mean": 21.5 + }, + { + "prompt": "long-8000", + "prompt_tokens": 10329, + "output_tokens": 109, + "ttft_s": 7.354, + "prefill_tok_s": 1263.6, + "decode_tok_s": 90.4, + "cache_hit_rate": 0.988, + "mtp_offered": 85, + "mtp_accepted": 61, + "mtp_acceptance": 0.718, + "vram_peak_gib": 11.57, + "ram_peak_gib": 1.64, + "gpu_util_mean": 89.2, + "cpu_util_mean": 14.9 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/A-polystrata-benchmark/A-default-run2.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/A-polystrata-benchmark/A-default-run2.json new file mode 100644 index 000000000..ead0cba6f --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/A-polystrata-benchmark/A-default-run2.json @@ -0,0 +1,57 @@ +{ + "model": "groot-19b-a3b-261023-q4_k_m", + "backend": "qwen35moe", + "quantization": "Q4_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 88, + "ttft_s": 0.348, + "prefill_tok_s": 105.9, + "decode_tok_s": 65.5, + "cache_hit_rate": 0.93, + "mtp_offered": 73, + "mtp_accepted": 36, + "mtp_acceptance": 0.493, + "vram_peak_gib": 11.63, + "ram_peak_gib": 0.94, + "gpu_util_mean": 35.3, + "cpu_util_mean": 13.5 + }, + { + "prompt": "long-2000", + "prompt_tokens": 2949, + "output_tokens": 150, + "ttft_s": 2.675, + "prefill_tok_s": 1149.8, + "decode_tok_s": 94.0, + "cache_hit_rate": 0.96, + "mtp_offered": 113, + "mtp_accepted": 82, + "mtp_acceptance": 0.726, + "vram_peak_gib": 11.57, + "ram_peak_gib": 1.13, + "gpu_util_mean": 95.6, + "cpu_util_mean": 21.1 + }, + { + "prompt": "long-8000", + "prompt_tokens": 10329, + "output_tokens": 125, + "ttft_s": 7.333, + "prefill_tok_s": 1264.7, + "decode_tok_s": 90.5, + "cache_hit_rate": 0.988, + "mtp_offered": 102, + "mtp_accepted": 71, + "mtp_acceptance": 0.696, + "vram_peak_gib": 11.57, + "ram_peak_gib": 1.64, + "gpu_util_mean": 90.1, + "cpu_util_mean": 15.9 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/A-polystrata-benchmark/A-default-run3.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/A-polystrata-benchmark/A-default-run3.json new file mode 100644 index 000000000..2d4b51c11 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/A-polystrata-benchmark/A-default-run3.json @@ -0,0 +1,57 @@ +{ + "model": "groot-19b-a3b-261023-q4_k_m", + "backend": "qwen35moe", + "quantization": "Q4_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 79, + "ttft_s": 0.354, + "prefill_tok_s": 102.2, + "decode_tok_s": 72.2, + "cache_hit_rate": 0.918, + "mtp_offered": 56, + "mtp_accepted": 38, + "mtp_acceptance": 0.679, + "vram_peak_gib": 11.63, + "ram_peak_gib": 0.92, + "gpu_util_mean": 46.5, + "cpu_util_mean": 10.8 + }, + { + "prompt": "long-2000", + "prompt_tokens": 2949, + "output_tokens": 126, + "ttft_s": 2.503, + "prefill_tok_s": 1236.1, + "decode_tok_s": 92.4, + "cache_hit_rate": 0.955, + "mtp_offered": 93, + "mtp_accepted": 67, + "mtp_acceptance": 0.72, + "vram_peak_gib": 11.57, + "ram_peak_gib": 1.13, + "gpu_util_mean": 73.6, + "cpu_util_mean": 21.2 + }, + { + "prompt": "long-8000", + "prompt_tokens": 10329, + "output_tokens": 127, + "ttft_s": 7.322, + "prefill_tok_s": 1265.6, + "decode_tok_s": 88.2, + "cache_hit_rate": 0.987, + "mtp_offered": 97, + "mtp_accepted": 69, + "mtp_acceptance": 0.711, + "vram_peak_gib": 11.57, + "ram_peak_gib": 1.64, + "gpu_util_mean": 90.8, + "cpu_util_mean": 16.3 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/B-strata_bench/README.md b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/B-strata_bench/README.md new file mode 100644 index 000000000..b5d15c2c0 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/B-strata_bench/README.md @@ -0,0 +1,64 @@ +# Community benchmark on AMD Radeon + +Measured on 2026-12-03 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, 12 GiB VRAM +- CPU: AMD Ryzen 5 3600 6-Core Processor (6 cores, 10 threads); installed RAM: 56.0 GiB; storage: nvme0n1 INTEL SSDPEKNW010T8 nvme +- OS: Linux 7.0.14-29-pve; 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: groot-19b-a3b-261023-q4_k_m +- Context: 32768 tokens; parallel slots: 1 +- Settings: the install's own configuration, unchanged; thinking off for the suite; temperature 0 + +## Method + +Run by `python tools/strata_bench.py --clients 2 --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 | 87.2 (80.8-123.7) | 0.92 (0.89-0.95) | +| 4K prompt, fresh | 4019 (4019-4019) | 0 (0-0) | 24 cap | 3 | 1664.7 (1332.2-1675.1) | not measured | 3.14 (3.12-3.17) | +| 16K prompt, fresh | 16058 (16058-16058) | 0 (0-0) | 24 cap | 3 | 1249.4 (1247.0-1252.1) | not measured | 13.60 (13.59-13.74) | +| agent session, follow-up turns | 14949 (14948-14965) at the last turn | see below | up to 64 | 3 | see below | 88.3 (72.3-97.0) | 3.67 (2.13-4.12) | + +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: 296 (296-312) (earlier turns that the cache did not hold; the 14079 (14078-14079) new tokens of the files are read once); first turn (nothing cached) first token: 1.43 s (1.34-1.54). 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 | 760.9 | 1.539 | 97.4 | +| 1 | 4089 | 602 | 3487 | 1174.4 | 3.084 | 86.5 | +| 2 | 5734 | 4082 | 1652 | 1185.9 | 2.133 | 72.3 | +| 3 | 9101 | 5727 | 3374 | 1141.1 | 3.69 | 90.0 | +| 4 | 11954 | 9094 | 2860 | 981.8 | 3.653 | 82.8 | +| 5 | 14949 | 11947 | 3002 | 893.0 | 4.105 | 85.8 | + +### Concurrency: 2 clients + +Total 53.4 tok/s (50.0-53.6); first token p50 2.094 s, p95 3.459 s; request latency p50 3.675 s, p95 5.038 s; errors 0. Server parallel slots: 1 (requests beyond that wait their turn). + +### Skipped and failed + +- skipped 32K: the context is 32768 tokens + +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-03-groot-q4_k_m-rx6700xt/official/vision-on/B-strata_bench/results.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/B-strata_bench/results.json new file mode 100644 index 000000000..c1c612ec6 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/B-strata_bench/results.json @@ -0,0 +1,945 @@ +{ + "schema": 1, + "tool": "tools/strata_bench.py", + "date": "2026-12-03", + "params": { + "runs": 3, + "think": false, + "clients": 2, + "long": true, + "started_server": false, + "command": "python tools/strata_bench.py --clients 2 --long" + }, + "elapsed_s": 155.73385548591614, + "machine": { + "gpu": [ + "AMD Radeon" + ], + "gpu_vram_mib": 12272, + "gpu_driver": null, + "gpu_detail": [ + {} + ], + "cuda": null, + "engine_build": null, + "cpu": "AMD Ryzen 5 3600 6-Core Processor", + "cpu_cores": 6, + "storage": "nvme0n1 INTEL SSDPEKNW010T8 nvme", + "cpu_threads": 10, + "ram_gib": 56.0, + "os": "Linux 7.0.14-29-pve", + "python": "3.13.5", + "strata_version": "0.1.66", + "strata_commit": null, + "engine_version": "0.1.66", + "model": "groot-19b-a3b-261023-q4_k_m", + "quant": null, + "context": 32768, + "parallel_slots": 1, + "config": {}, + "launch": null, + "engine_info": { + "model": "groot-19b-a3b-261023-q4_k_m", + "max_context": 32768, + "images": true, + "gen": 1, + "version": "0.1.66", + "context": 32768, + "expert_slots": 4356, + "expert_cache_mib": 7870, + "pool_workers": 7, + "conversation_cache_mib": 8192, + "conversation_cache_slots": 4, + "conversation_cache_min_free_mib": 2560, + "reserve_mib": 383, + "vram_free_mib": 362, + "vram_elastic": 1, + "batch_slots": 0, + "co_read": 0, + "sessions": 1, + "vision_shm": 1, + "bin_tok": 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.932, + "total_s": 1.814, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 61.5, + "prompt_tps_source": "engine", + "decode_tps": 113.4, + "decode_tps_source": "engine", + "prompt_ms": 829.1, + "decode_ms": 881.5, + "drafts_offered": 80, + "drafts_accepted": 68, + "run": 0, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.955, + "total_s": 2.192, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 51.1, + "prompt_tps_source": "engine", + "decode_tps": 80.8, + "decode_tps_source": "engine", + "prompt_ms": 841.5, + "decode_ms": 1237.2, + "drafts_offered": 86, + "drafts_accepted": 44, + "run": 0, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.923, + "total_s": 2.112, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 56.5, + "prompt_tps_source": "engine", + "decode_tps": 84.1, + "decode_tps_source": "engine", + "prompt_ms": 814.3, + "decode_ms": 1189.1, + "drafts_offered": 77, + "drafts_accepted": 44, + "run": 0, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.916, + "total_s": 1.737, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 64.3, + "prompt_tps_source": "engine", + "decode_tps": 121.8, + "decode_tps_source": "engine", + "prompt_ms": 793.7, + "decode_ms": 821.2, + "drafts_offered": 81, + "drafts_accepted": 68, + "run": 1, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.908, + "total_s": 2.054, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 55.2, + "prompt_tps_source": "engine", + "decode_tps": 87.2, + "decode_tps_source": "engine", + "prompt_ms": 779.5, + "decode_ms": 1146.8, + "drafts_offered": 80, + "drafts_accepted": 46, + "run": 1, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.928, + "total_s": 2.078, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 55.9, + "prompt_tps_source": "engine", + "decode_tps": 86.9, + "decode_tps_source": "engine", + "prompt_ms": 823.3, + "decode_ms": 1150.1, + "drafts_offered": 75, + "drafts_accepted": 44, + "run": 1, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.893, + "total_s": 1.702, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 63.6, + "prompt_tps_source": "engine", + "decode_tps": 123.7, + "decode_tps_source": "engine", + "prompt_ms": 802.2, + "decode_ms": 808.5, + "drafts_offered": 82, + "drafts_accepted": 67, + "run": 2, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.912, + "total_s": 2.142, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 53.3, + "prompt_tps_source": "engine", + "decode_tps": 81.3, + "decode_tps_source": "engine", + "prompt_ms": 807.1, + "decode_ms": 1230.2, + "drafts_offered": 80, + "drafts_accepted": 41, + "run": 2, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.929, + "total_s": 2.064, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 55.9, + "prompt_tps_source": "engine", + "decode_tps": 88.1, + "decode_tps_source": "engine", + "prompt_ms": 823.5, + "decode_ms": 1135.1, + "drafts_offered": 74, + "drafts_accepted": 44, + "run": 2, + "prompt": 2 + } + ], + "decode_tps": { + "median": 87.2, + "min": 80.8, + "max": 123.7, + "n": 9 + }, + "ttft_s": { + "median": 0.923, + "min": 0.893, + "max": 0.955, + "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.116, + "total_s": 3.43, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 1332.2, + "prompt_tps_source": "engine", + "decode_tps": 76.5, + "decode_tps_source": "engine", + "prompt_ms": 3016.9, + "decode_ms": 313.8, + "drafts_offered": 20, + "drafts_accepted": 9, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.171, + "total_s": 3.517, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 1675.1, + "prompt_tps_source": "engine", + "decode_tps": 69.3, + "decode_tps_source": "engine", + "prompt_ms": 2399.2, + "decode_ms": 346.1, + "drafts_offered": 24, + "drafts_accepted": 8, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.14, + "total_s": 3.502, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 1664.7, + "prompt_tps_source": "engine", + "decode_tps": 66.3, + "decode_tps_source": "engine", + "prompt_ms": 2414.2, + "decode_ms": 361.9, + "drafts_offered": 26, + "drafts_accepted": 8, + "run": 2 + } + ], + "prompt_tps": { + "median": 1664.7, + "min": 1332.2, + "max": 1675.1, + "n": 3 + }, + "ttft_s": { + "median": 3.14, + "min": 3.116, + "max": 3.171, + "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": 13.603, + "total_s": 13.952, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 1247.0, + "prompt_tps_source": "engine", + "decode_tps": 68.7, + "decode_tps_source": "engine", + "prompt_ms": 12877.5, + "decode_ms": 349.5, + "drafts_offered": 20, + "drafts_accepted": 9, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 13.742, + "total_s": 14.136, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 1252.1, + "prompt_tps_source": "engine", + "decode_tps": 61.1, + "decode_tps_source": "engine", + "prompt_ms": 12825.3, + "decode_ms": 393.1, + "drafts_offered": 22, + "drafts_accepted": 7, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 13.593, + "total_s": 13.983, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 1249.4, + "prompt_tps_source": "engine", + "decode_tps": 61.5, + "decode_tps_source": "engine", + "prompt_ms": 12852.9, + "decode_ms": 390.2, + "drafts_offered": 21, + "drafts_accepted": 7, + "run": 2 + } + ], + "prompt_tps": { + "median": 1249.4, + "min": 1247.0, + "max": 1252.1, + "n": 3 + }, + "ttft_s": { + "median": 13.603, + "min": 13.593, + "max": 13.742, + "n": 3 + }, + "prompt_tokens": { + "median": 16058, + "min": 16058, + "max": 16058, + "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.539, + "total_s": 1.949, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 40, + "prompt_tps": 760.9, + "prompt_tps_source": "engine", + "decode_tps": 97.4, + "decode_tps_source": "engine", + "prompt_ms": 800.4, + "decode_ms": 410.5, + "drafts_offered": 36, + "drafts_accepted": 22, + "run": 0, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.084, + "total_s": 3.662, + "prompt_tokens": 4089, + "reused_tokens": 602, + "read_tokens": 3487, + "generated_tokens": 50, + "prompt_tps": 1174.4, + "prompt_tps_source": "engine", + "decode_tps": 86.5, + "decode_tps_source": "engine", + "prompt_ms": 2969.2, + "decode_ms": 578.3, + "drafts_offered": 41, + "drafts_accepted": 24, + "run": 0, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.133, + "total_s": 3.018, + "prompt_tokens": 5734, + "reused_tokens": 4082, + "read_tokens": 1652, + "generated_tokens": 64, + "prompt_tps": 1185.9, + "prompt_tps_source": "engine", + "decode_tps": 72.3, + "decode_tps_source": "engine", + "prompt_ms": 1393.0, + "decode_ms": 884.8, + "drafts_offered": 54, + "drafts_accepted": 24, + "run": 0, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.69, + "total_s": 4.324, + "prompt_tokens": 9101, + "reused_tokens": 5727, + "read_tokens": 3374, + "generated_tokens": 57, + "prompt_tps": 1141.1, + "prompt_tps_source": "engine", + "decode_tps": 90.0, + "decode_tps_source": "engine", + "prompt_ms": 2956.7, + "decode_ms": 633.2, + "drafts_offered": 49, + "drafts_accepted": 32, + "run": 0, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.653, + "total_s": 4.257, + "prompt_tokens": 11954, + "reused_tokens": 9094, + "read_tokens": 2860, + "generated_tokens": 50, + "prompt_tps": 981.8, + "prompt_tps_source": "engine", + "decode_tps": 82.8, + "decode_tps_source": "engine", + "prompt_ms": 2913.1, + "decode_ms": 603.9, + "drafts_offered": 43, + "drafts_accepted": 27, + "run": 0, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.105, + "total_s": 4.852, + "prompt_tokens": 14949, + "reused_tokens": 11947, + "read_tokens": 3002, + "generated_tokens": 64, + "prompt_tps": 893.0, + "prompt_tps_source": "engine", + "decode_tps": 85.8, + "decode_tps_source": "engine", + "prompt_ms": 3361.8, + "decode_ms": 746.3, + "drafts_offered": 52, + "drafts_accepted": 37, + "run": 0, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 1.427, + "total_s": 1.76, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 36, + "prompt_tps": 1023.2, + "prompt_tps_source": "engine", + "decode_tps": 108.1, + "decode_tps_source": "engine", + "prompt_ms": 595.2, + "decode_ms": 333.0, + "drafts_offered": 27, + "drafts_accepted": 20, + "run": 1, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.135, + "total_s": 3.805, + "prompt_tokens": 4085, + "reused_tokens": 602, + "read_tokens": 3483, + "generated_tokens": 60, + "prompt_tps": 1154.7, + "prompt_tps_source": "engine", + "decode_tps": 89.6, + "decode_tps_source": "engine", + "prompt_ms": 3016.4, + "decode_ms": 670.0, + "drafts_offered": 48, + "drafts_accepted": 29, + "run": 1, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.226, + "total_s": 2.92, + "prompt_tokens": 5740, + "reused_tokens": 4078, + "read_tokens": 1662, + "generated_tokens": 61, + "prompt_tps": 1152.1, + "prompt_tps_source": "engine", + "decode_tps": 87.9, + "decode_tps_source": "engine", + "prompt_ms": 1442.6, + "decode_ms": 693.9, + "drafts_offered": 48, + "drafts_accepted": 29, + "run": 1, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.732, + "total_s": 4.358, + "prompt_tokens": 9103, + "reused_tokens": 5733, + "read_tokens": 3370, + "generated_tokens": 57, + "prompt_tps": 1125.4, + "prompt_tps_source": "engine", + "decode_tps": 91.0, + "decode_tps_source": "engine", + "prompt_ms": 2994.6, + "decode_ms": 626.7, + "drafts_offered": 39, + "drafts_accepted": 30, + "run": 1, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.674, + "total_s": 4.177, + "prompt_tokens": 11956, + "reused_tokens": 9096, + "read_tokens": 2860, + "generated_tokens": 47, + "prompt_tps": 977.2, + "prompt_tps_source": "engine", + "decode_tps": 93.3, + "decode_tps_source": "engine", + "prompt_ms": 2926.6, + "decode_ms": 503.7, + "drafts_offered": 38, + "drafts_accepted": 27, + "run": 1, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.121, + "total_s": 4.849, + "prompt_tokens": 14948, + "reused_tokens": 11949, + "read_tokens": 2999, + "generated_tokens": 64, + "prompt_tps": 886.2, + "prompt_tps_source": "engine", + "decode_tps": 87.9, + "decode_tps_source": "engine", + "prompt_ms": 3384.1, + "decode_ms": 728.1, + "drafts_offered": 53, + "drafts_accepted": 37, + "run": 1, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 1.339, + "total_s": 1.763, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 45, + "prompt_tps": 1027.2, + "prompt_tps_source": "engine", + "decode_tps": 106.1, + "decode_tps_source": "engine", + "prompt_ms": 592.9, + "decode_ms": 424.2, + "drafts_offered": 35, + "drafts_accepted": 25, + "run": 2, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.133, + "total_s": 3.817, + "prompt_tokens": 4094, + "reused_tokens": 602, + "read_tokens": 3492, + "generated_tokens": 61, + "prompt_tps": 1154.4, + "prompt_tps_source": "engine", + "decode_tps": 89.1, + "decode_tps_source": "engine", + "prompt_ms": 3024.9, + "decode_ms": 684.3, + "drafts_offered": 52, + "drafts_accepted": 30, + "run": 2, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.149, + "total_s": 2.967, + "prompt_tokens": 5750, + "reused_tokens": 4087, + "read_tokens": 1663, + "generated_tokens": 64, + "prompt_tps": 1174.0, + "prompt_tps_source": "engine", + "decode_tps": 78.2, + "decode_tps_source": "engine", + "prompt_ms": 1416.5, + "decode_ms": 818.0, + "drafts_offered": 56, + "drafts_accepted": 29, + "run": 2, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.773, + "total_s": 4.399, + "prompt_tokens": 9117, + "reused_tokens": 5743, + "read_tokens": 3374, + "generated_tokens": 60, + "prompt_tps": 1124.0, + "prompt_tps_source": "engine", + "decode_tps": 95.8, + "decode_tps_source": "engine", + "prompt_ms": 3001.9, + "decode_ms": 626.3, + "drafts_offered": 46, + "drafts_accepted": 34, + "run": 2, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.666, + "total_s": 4.198, + "prompt_tokens": 11973, + "reused_tokens": 9110, + "read_tokens": 2863, + "generated_tokens": 47, + "prompt_tps": 981.7, + "prompt_tps_source": "engine", + "decode_tps": 88.3, + "decode_tps_source": "engine", + "prompt_ms": 2916.5, + "decode_ms": 532.1, + "drafts_offered": 40, + "drafts_accepted": 26, + "run": 2, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.104, + "total_s": 4.764, + "prompt_tokens": 14965, + "reused_tokens": 11966, + "read_tokens": 2999, + "generated_tokens": 64, + "prompt_tps": 890.2, + "prompt_tps_source": "engine", + "decode_tps": 97.0, + "decode_tps_source": "engine", + "prompt_ms": 3368.9, + "decode_ms": 660.1, + "drafts_offered": 50, + "drafts_accepted": 40, + "run": 2, + "turn": 5 + } + ] + ], + "hit_pct": { + "median": 68.638, + "min": 68.632, + "max": 68.646, + "n": 3 + }, + "reread_tokens": { + "median": 296, + "min": 296, + "max": 312, + "n": 3 + }, + "new_tokens": { + "median": 14079, + "min": 14078, + "max": 14079, + "n": 3 + }, + "turn_ttft_s": { + "median": 3.666, + "min": 2.133, + "max": 4.121, + "n": 15 + }, + "last_turn_prompt_tokens": { + "median": 14949, + "min": 14948, + "max": 14965, + "n": 3 + }, + "turn_decode_tps": { + "median": 88.3, + "min": 72.3, + "max": 97.0, + "n": 15 + }, + "first_turn_ttft_s": { + "median": 1.427, + "min": 1.339, + "max": 1.539, + "n": 3 + } + }, + "clients": { + "clients": 2, + "rounds": [ + { + "round": 0, + "wall_s": 5.12, + "tokens": 256, + "total_tps": 49.99, + "first_s": [ + 0.983026061905548, + 3.5204548549372703 + ], + "latency_s": [ + 2.573522944934666, + 5.120728632900864 + ], + "errors": [], + "error_count": 0 + }, + { + "round": 1, + "wall_s": 4.79, + "tokens": 256, + "total_tps": 53.44, + "first_s": [ + 0.9354729750193655, + 3.204297167947516 + ], + "latency_s": [ + 2.29086097702384, + 4.789606506936252 + ], + "errors": [], + "error_count": 0 + }, + { + "round": 2, + "wall_s": 4.78, + "tokens": 256, + "total_tps": 53.58, + "first_s": [ + 0.9227976370602846, + 3.2733514190185815 + ], + "latency_s": [ + 2.3409743870142847, + 4.777302499860525 + ], + "errors": [], + "error_count": 0 + } + ], + "total_tps": { + "median": 53.44, + "min": 49.99, + "max": 53.58, + "n": 3 + }, + "ttft_p50_s": 2.094, + "ttft_p95_s": 3.459, + "latency_p50_s": 3.675, + "latency_p95_s": 5.038, + "errors": 0 + }, + "skipped": { + "32K": "the context is 32768 tokens" + }, + "failures": [] + } +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/B-strata_bench/strata_bench-console.txt b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/B-strata_bench/strata_bench-console.txt new file mode 100644 index 000000000..037548f82 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/B-strata_bench/strata_bench-console.txt @@ -0,0 +1,65 @@ +Using the PolyStrata server already running at http://127.0.0.1:8080. +Note: the server runs 1 request(s) at a time (--batch), so 2 clients will partly wait their turn. +Running the suite (about 3-10 minutes) ... +warming up (not measured) ... + calibrated: about 1.08 tokens per word +chat: 3 short questions x 3 runs, up to 100 new tokens + run 1 q1: decode 113.4 tok/s, first token 0.932 s, 100 tokens + run 1 q2: decode 80.8 tok/s, first token 0.955 s, 100 tokens + run 1 q3: decode 84.1 tok/s, first token 0.923 s, 100 tokens + run 2 q1: decode 121.8 tok/s, first token 0.916 s, 100 tokens + run 2 q2: decode 87.2 tok/s, first token 0.908 s, 100 tokens + run 2 q3: decode 86.9 tok/s, first token 0.928 s, 100 tokens + run 3 q1: decode 123.7 tok/s, first token 0.893 s, 100 tokens + run 3 q2: decode 81.3 tok/s, first token 0.912 s, 100 tokens + run 3 q3: decode 88.1 tok/s, first token 0.929 s, 100 tokens +4K prompt: 3 fresh prompts of about 4096 tokens, 24 new tokens + run 1: 4019 tokens, prompt 1332.2 tok/s (0 reused), first token 3.116 s + run 2: 4019 tokens, prompt 1675.1 tok/s (0 reused), first token 3.171 s + run 3: 4019 tokens, prompt 1664.7 tok/s (0 reused), first token 3.14 s +16K prompt: 3 fresh prompts of about 16384 tokens, 24 new tokens + run 1: 16058 tokens, prompt 1247.0 tok/s (0 reused), first token 13.603 s + run 2: 16058 tokens, prompt 1252.1 tok/s (0 reused), first token 13.742 s + run 3: 16058 tokens, prompt 1249.4 tok/s (0 reused), first token 13.593 s +agent: a session of 6 turns with four tools, x 3 runs (corpus: repo_docs) + run 1 turn 0: prompt 609, reused 0, read 609, first token 1.539 s + run 1 turn 1: prompt 4089, reused 602, read 3487, first token 3.084 s + run 1 turn 2: prompt 5734, reused 4082, read 1652, first token 2.133 s + run 1 turn 3: prompt 9101, reused 5727, read 3374, first token 3.69 s + run 1 turn 4: prompt 11954, reused 9094, read 2860, first token 3.653 s + run 1 turn 5: prompt 14949, reused 11947, read 3002, first token 4.105 s + run 2 turn 0: prompt 609, reused 0, read 609, first token 1.427 s + run 2 turn 1: prompt 4085, reused 602, read 3483, first token 3.135 s + run 2 turn 2: prompt 5740, reused 4078, read 1662, first token 2.226 s + run 2 turn 3: prompt 9103, reused 5733, read 3370, first token 3.732 s + run 2 turn 4: prompt 11956, reused 9096, read 2860, first token 3.674 s + run 2 turn 5: prompt 14948, reused 11949, read 2999, first token 4.121 s + run 3 turn 0: prompt 609, reused 0, read 609, first token 1.339 s + run 3 turn 1: prompt 4094, reused 602, read 3492, first token 3.133 s + run 3 turn 2: prompt 5750, reused 4087, read 1663, first token 2.149 s + run 3 turn 3: prompt 9117, reused 5743, read 3374, first token 3.773 s + run 3 turn 4: prompt 11973, reused 9110, read 2863, first token 3.666 s + run 3 turn 5: prompt 14965, reused 11966, read 2999, first token 4.104 s +concurrency: 2 requests at once x 3 rounds, 128 new tokens each + round 1: 256 tokens in 5.1 s = 50.0 tok/s total + round 2: 256 tokens in 4.8 s = 53.4 tok/s total + round 3: 256 tokens in 4.8 s = 53.6 tok/s total +32K prompt: skipped (the context is 32768 tokens) + +Results (median, range over the runs): + chat decode tok/s 87.20 (80.80 - 123.70, n=9) + chat first token (s) 0.92 (0.89 - 0.95, n=9) + 4K prompt tok/s 1664.70 (1332.20 - 1675.10, n=3) + 4K first token (s) 3.14 (3.12 - 3.17, n=3) + 16K prompt tok/s 1249.40 (1247.00 - 1252.10, n=3) + 16K first token (s) 13.60 (13.59 - 13.74, n=3) + agent cache hit % 68.64 (68.63 - 68.65, n=3) + agent re-read tokens/session 296.00 (296.00 - 312.00, n=3) + agent turn first token (s) 3.67 (2.13 - 4.12, n=15) + agent decode tok/s 88.30 (72.30 - 97.00, n=15) + 2 clients total tok/s 53.44 (49.99 - 53.58, n=3) + (0 failed request(s), 1 skipped test(s): see the report) + +Report: /results-von/B/2026-12-03-community-unknown-groot-19b-a3b-261023-q4-k-m/README.md +Share it: open a pull request that adds the folder /results-von/B/2026-12-03-community-unknown-groot-19b-a3b-261023-q4-k-m (see docs/COMMUNITY_BENCHMARKS.md), or paste README.md into a GitHub issue. Home folders, user and host names and IP addresses are already replaced; read it once before you share it. +For results other people can compare with, run the standard benchmark: strata bench run (docs/BENCHMARK_PROTOCOL.md). diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/C-image-smoke/image-smoke.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/C-image-smoke/image-smoke.json new file mode 100644 index 000000000..71c73ca6d --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/official/vision-on/C-image-smoke/image-smoke.json @@ -0,0 +1,37 @@ +{ + "image": "docs/media/terminal-monitor.png (PolyStrata v0.2.20-poly.9)", + "image_sha256": "bd9d03b047338bb9d9d055090e7fc3e03d70d9f1a6f8d68876dc2baafb9103ef", + "size": [ + 2964, + 1418 + ], + "question": "Describe this image in two or three sentences: what kind of screen is it and what information does it show?", + "elapsed_s": 5.14, + "usage": { + "prompt_tokens": 311, + "completion_tokens": 173, + "total_tokens": 484, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "finish_reason": "stop", + "content": "This is a Strata Monitor dashboard screen displaying real-time performance metrics for an AI model serving system, specifically showing the \"qwen3.8-flash-next-gyro-gyro-s 32K\" model in a \"Generating a reply \u00b7 33% [LIVE]\" state. It provides detailed information including model state (Idle/Reading/Generating), CPU load (96%), VRAM usage (10.4/12 GB with 3,099 experts cached), GPU temperature (59\u00b0C), power consumption (116W), recent request history with timestamps and token counts, and system RAM usage (47.7/63 GB). The screen also shows context fill at 30% (10K/32K), disk read activity, and various navigation commands for the monitoring interface.", + "reasoning_chars": 0, + "verdict": "PASS with one error", + "checked_by": "submitter, compared against the image by eye", + "correct": [ + "screen = Strata Monitor dashboard", + "model qwen3.8-flash-next-gyro-gyro-s 32K", + "Generating a reply 33% [LIVE]", + "VRAM 10.4/12 GB, 3,099 experts cached", + "GPU temp 59 C", + "power 116 W", + "system RAM 47.7/63 GB", + "context fill 30% (10K/32K)", + "recent requests table, disk read, navigation keys" + ], + "errors": [ + "said 'CPU load (96%)': 96% is the GPU load; CPU shows 92%" + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/practical-64k/engine-decode-mtp.csv b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/practical-64k/engine-decode-mtp.csv new file mode 100644 index 000000000..84bac81ae --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/practical-64k/engine-decode-mtp.csv @@ -0,0 +1,8 @@ +prompt_tokens,reused,read,prefill_ms,prefill_tok_s,generated,decode_ms,decode_tok_s,drafts_accepted,drafts_offered +29919,0,29919,30751,972.9,256,4532,56.5,122,211 +29919,0,29919,32686,915.3,256,3429,74.7,151,222 +29919,0,29919,32736,913.9,256,3337,76.7,161,219 +62573,0,62573,104999,595.9,256,4663,54.9,150,206 +62573,0,62573,105440,593.4,256,4480,57.1,161,209 +62573,0,62573,105363,593.9,256,4552,56.2,152,206 +60348,0,60348,99232,608.1,339,5564,60.9,223,274 diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/practical-64k/experts-at-load.txt b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/practical-64k/experts-at-load.txt new file mode 100644 index 000000000..a566c8ead --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/practical-64k/experts-at-load.txt @@ -0,0 +1 @@ +strata-poly: loaded in 5.9 s; 3613 of 5248 routed experts in VRAM (6.4 GiB), 8 CPU threads diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/practical-64k/results.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/practical-64k/results.json new file mode 100644 index 000000000..4ccc4531a --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/practical-64k/results.json @@ -0,0 +1,132 @@ +{ + "label": "extended - 64K practical config (vision off)", + "speed": [ + { + "prompt_tokens": 29919, + "reused": 0, + "prefill_tok_s": 972.9, + "generated": 256, + "decode_tok_s": 56.5, + "mtp_kept": "122/211", + "mtp_kept_pct": 57.8, + "ttft_s": 30.932, + "elapsed_s": 35.46, + "vram_peak_gib_card": 10.95, + "groot_process_rss_peak_gib": 12.88, + "answer": "# Summary of the PolyStrata Manual\n\nThis manual describes **PolyStrata**, a project that enables running large AI models locally on a normal PC, models that typically require server-grade hardware. It operates two engines: `strata`, which runs Qwen3.8-Flash-Next, and `strata-poly`, which runs GLM 5.3 Flash and other experimental models. The server, web app, and API are shared between both engines; a run config simply names the engine to start.\n\n## GLM 5.3 Flash (`strata-poly`)\n\nThe `strata-poly` engine runs GLM 5.3 Flash, sitting beside `strata`, which continues to run Qwen3.8-Flash-Next. Performance measurements were taken on an RTX 5090 (32 GB VRAM), a Xeon Platinum 8470Q CPU (24 threads), and 120 GiB RAM, built with CUDA 12.8. The primary model tested is `GLM-5.3-Flash-GSQ-RCO-3.0bit-q4kattn.gguf` (113.6 GB, 32K context).", + "reasoning_chars": 0, + "step": "32K", + "run": 1 + }, + { + "prompt_tokens": 29919, + "reused": 0, + "prefill_tok_s": 915.3, + "generated": 256, + "decode_tok_s": 74.7, + "mtp_kept": "151/222", + "mtp_kept_pct": 68.0, + "ttft_s": 32.719, + "elapsed_s": 36.15, + "vram_peak_gib_card": 10.95, + "groot_process_rss_peak_gib": 13.25, + "answer": "# Summary of the PolyStrata Manual\n\nThis manual describes **PolyStrata**, a project that enables running large AI models locally on a normal PC, models that typically require server-grade hardware. It operates two engines: `strata`, which runs Qwen3.8-Flash-Next, and `strata-poly`, which runs GLM 5.3 Flash and other experimental models. The server, web app, and API are shared between both engines; a run config simply names the engine to start.\n\n## GLM 5.3 Flash (`strata-poly`)\n\nThe `strata-poly` engine runs GLM 5.3 Flash, sitting beside `strata`, which continues to run Qwen3.8-Flash-Next. Performance measurements were taken on an RTX 5090 (32 GB VRAM), a Xeon Platinum 8470Q CPU (24 threads), and 120 GiB RAM, built with CUDA 12.8. The primary model tested is `GLM-5.3-Flash-GSQ-RCO-3.0bit-q4kattn.gguf` (113.6 GB, 32K context).", + "reasoning_chars": 0, + "step": "32K", + "run": 2 + }, + { + "prompt_tokens": 29919, + "reused": 0, + "prefill_tok_s": 913.9, + "generated": 256, + "decode_tok_s": 76.7, + "mtp_kept": "161/219", + "mtp_kept_pct": 73.5, + "ttft_s": 32.766, + "elapsed_s": 36.1, + "vram_peak_gib_card": 10.95, + "groot_process_rss_peak_gib": 13.39, + "answer": "# Summary of the PolyStrata Manual\n\nThis manual describes **PolyStrata**, a project that enables running large AI models locally on a normal PC, models that typically require server-grade hardware. It operates two engines: `strata`, which runs Qwen3.8-Flash-Next, and `strata-poly`, which runs GLM 5.3 Flash and other experimental models. The server, web app, and API are shared between both engines; a run config simply names the engine to start.\n\n## GLM 5.3 Flash (`strata-poly`)\n\nThe `strata-poly` engine runs GLM 5.3 Flash, sitting beside `strata`, which continues to run Qwen3.8-Flash-Next. Performance measurements were taken on an RTX 5090 (32 GB VRAM), a Xeon Platinum 8470Q CPU (24 threads), and 120 GiB RAM, built with CUDA 12.8. The primary model tested is `GLM-5.3-Flash-GSQ-RCO-3.0bit-q4kattn.gguf` (113.6 GB, 32K context).", + "reasoning_chars": 0, + "step": "32K", + "run": 3 + }, + { + "prompt_tokens": 62573, + "reused": 0, + "prefill_tok_s": 595.9, + "generated": 256, + "decode_tok_s": 54.9, + "mtp_kept": "150/206", + "mtp_kept_pct": 72.8, + "ttft_s": 105.062, + "elapsed_s": 109.72, + "vram_peak_gib_card": 10.95, + "groot_process_rss_peak_gib": 13.45, + "answer": "# Summary of the PolyStrata GLM 5.3 Flash Manual\n\nThis manual details the **strata-poly** engine, which PolyStrata uses to run **GLM 5.3 Flash** alongside the standard `strata` engine that runs Qwen3.8-Flash-Next. The server, web app, and API are identical for both; a run config simply names the engine to start. The engine is experimental and has so far been tested primarily on Linux with an NVIDIA card (RTX 5090, 32 GB VRAM, Xeon Platinum 8470Q CPU, 120 GiB RAM, CUDA 12.8).\n\n## Performance and Measurement\nThe manual provides extensive benchmark data comparing `strata-poly` against a fork of llama.cpp. For the `3.0BIT` model (113.6 GB, 3-bit quantization), `strata-poly` writes answers at 46 tokens/s after a 11,673-token prompt and 62\u201366 tokens/s after a 29,069-token prompt, while reading prompts of 3K, 11K, and ", + "reasoning_chars": 0, + "step": "60K", + "run": 1 + }, + { + "prompt_tokens": 62573, + "reused": 0, + "prefill_tok_s": 593.4, + "generated": 256, + "decode_tok_s": 57.1, + "mtp_kept": "161/209", + "mtp_kept_pct": 77.0, + "ttft_s": 105.496, + "elapsed_s": 109.98, + "vram_peak_gib_card": 10.95, + "groot_process_rss_peak_gib": 14.02, + "answer": "# Detailed Summary of the GLM 5.3 Flash (strata-poly) Manual\n\nThis manual details the **GLM 5.3 Flash** engine, known as `strata-poly`, which is part of the PolyStrata project. PolyStrata allows users to run large AI models locally on their own PCs, models that typically require server-grade hardware. The `strata-poly` engine runs GLM 5.3 Flash alongside the `strata` engine, which continues to run Qwen3.8-Flash-Next. The server, web app, and API remain identical for both engines; the distinction lies in the run configuration that names the specific engine to start.\n\n## Hardware Requirements and Measurements\nThe engine was measured on a machine featuring an RTX 5090 graphics card (32 GB VRAM), a Xeon Platinum 8470Q CPU (24 threads used), and 120 GiB of RAM, built with CUDA 12.8. The primary model tested is `GLM-5.3-Flash-GSQ-RCO-3.0bit-q4kattn.gguf`, weighing 113.6 GB with a 32K", + "reasoning_chars": 0, + "step": "60K", + "run": 2 + }, + { + "prompt_tokens": 62573, + "reused": 0, + "prefill_tok_s": 593.9, + "generated": 256, + "decode_tok_s": 56.2, + "mtp_kept": "152/206", + "mtp_kept_pct": 73.8, + "ttft_s": 105.421, + "elapsed_s": 109.97, + "vram_peak_gib_card": 10.96, + "groot_process_rss_peak_gib": 14.9, + "answer": "# Summary of the PolyStrata GLM 5.3 Flash Manual\n\nThis manual details the **strata-poly** engine, a second engine added to PolyStrata that runs **GLM 5.3 Flash** alongside the existing `strata` engine, which continues to run Qwen3.8-Flash-Next. The server, web app, and API remain identical for both engines; a run configuration simply names the engine to start. The manual emphasizes that this is early-stage development: it has been built and tested on a Linux machine with one NVIDIA card, on two RTX 3080s, and by a user running it on Windows with a 24 GB card and 128 GB of RAM.\n\n## Hardware and Measurement Setup\nThe primary benchmark machine features an RTX 5090 (32 GB VRAM), a Xeon Platinum 8470Q CPU (24 threads used), 120 GiB of RAM, and CUDA 12.8. The model tested is `GLM-5.3-Flash-GSQ-RCO-3.0bit-q4kattn.gguf` (113.6 GB) with a 32", + "reasoning_chars": 0, + "step": "60K", + "run": 3 + } + ], + "recall": { + "prompt_tokens": 60348, + "reused": 0, + "prefill_tok_s": 608.1, + "generated": 339, + "decode_tok_s": 60.9, + "mtp_kept": "223/274", + "mtp_kept_pct": 81.4, + "ttft_s": 99.288, + "elapsed_s": 104.85, + "vram_peak_gib_card": 10.95, + "groot_process_rss_peak_gib": 14.87, + "answer": "- The harbour master's cat is named Quillon Bexby.\n- The spare key for the observatory is hidden under the seventh lavender pot.\n- The 1987 regional chess final was won by a dentist called Ottavia Marsh.", + "reasoning_chars": 1060, + "found": { + "start": true, + "middle": true, + "end": true + }, + "facts": { + "start": "The harbour master's cat is named Quillon Bexby.", + "middle": "The spare key for the observatory is hidden under the seventh lavender pot.", + "end": "The 1987 regional chess final was won by a dentist called Ottavia Marsh." + } + } +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/combined-A_kvq8+split2/engine-decode-mtp.csv b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/combined-A_kvq8+split2/engine-decode-mtp.csv new file mode 100644 index 000000000..fa0bcf9af --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/combined-A_kvq8+split2/engine-decode-mtp.csv @@ -0,0 +1,6 @@ +prompt_tokens,reused,read,prefill_ms,prefill_tok_s,generated,decode_ms,decode_tok_s,drafts_accepted,drafts_offered +29919,0,29919,30760,972.7,256,3677,69.6,133,221 +29919,0,29919,32548,919.2,256,2767,92.5,158,220 +62573,0,62573,105146,595.1,256,3241,79.0,150,203 +62573,0,62573,105467,593.3,256,3313,77.3,150,215 +60348,0,60348,99189,608.4,439,5215,84.2,279,348 diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/combined-A_kvq8+split2/experts-at-load.txt b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/combined-A_kvq8+split2/experts-at-load.txt new file mode 100644 index 000000000..caf56048a --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/combined-A_kvq8+split2/experts-at-load.txt @@ -0,0 +1 @@ +strata-poly: loaded in 6.2 s; 3976 of 5248 routed experts in VRAM (7.0 GiB), 8 CPU threads diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/combined-A_kvq8+split2/results.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/combined-A_kvq8+split2/results.json new file mode 100644 index 000000000..ee0545783 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/combined-A_kvq8+split2/results.json @@ -0,0 +1,99 @@ +{ + "label": "tuned - 64K, nonstandard settings", + "config": "combined-A_kvq8+split2", + "speed": [ + { + "prompt_tokens": 29919, + "reused": 0, + "prefill_tok_s": 972.7, + "generated": 256, + "decode_tok_s": 69.6, + "mtp_kept": "133/221", + "mtp_kept_pct": 60.2, + "ttft_s": 30.98, + "elapsed_s": 34.66, + "vram_peak_gib_card": 10.98, + "groot_process_rss_peak_gib": 13.02, + "answer": "# Summary of the PolyStrata Manual\n\nThis manual describes **PolyStrata**, a project that enables running large AI models locally on a normal PC, models that typically require server-grade hardware. It operates two engines: `strata`, which runs Qwen3.8-Flash-Next, and `strata-poly`, which runs GLM 5.3 Flash and other experimental models. The server, web app, and API are shared between both engines; a run config simply names the engine to start.\n\nThe manual focuses heavily on **GLM 5.3 Flash (`strata-poly`)**, which is described as early-stage and experimental. It has been tested primarily on Linux with an NVIDIA card (RTX 5090, 32 GB VRAM), a Xeon Platinum 8470Q CPU, and 120 GiB of RAM, built with CUDA 12.8. Performance benchmarks compare `strata-poly` against llama.cpp (a fork by neurall), showing `strata-poly` writes answers at 46\u201366 tokens/s and reads prompts at 641\u2013817 tokens/s, significantly outperforming llama.cpp's 25.", + "reasoning_chars": 0, + "step": "32K", + "run": 1 + }, + { + "prompt_tokens": 29919, + "reused": 0, + "prefill_tok_s": 919.2, + "generated": 256, + "decode_tok_s": 92.5, + "mtp_kept": "158/220", + "mtp_kept_pct": 71.8, + "ttft_s": 32.578, + "elapsed_s": 35.35, + "vram_peak_gib_card": 10.98, + "groot_process_rss_peak_gib": 13.03, + "answer": "# Summary of the PolyStrata Manual\n\nThis manual describes **PolyStrata**, a project that enables running large AI models locally on a normal PC, models that typically require server-grade hardware. It operates two engines: `strata`, which runs Qwen3.8-Flash-Next, and `strata-poly`, which runs GLM 5.3 Flash and other experimental models. The server, web app, and API are shared between both engines; a run config simply names the engine to start.\n\n## GLM 5.3 Flash (`strata-poly`)\n\nThe `strata-poly` engine runs GLM 5.3 Flash, sitting beside `strata`, which continues to run Qwen3.8-Flash-Next. Performance measurements were taken on an RTX 5090 (32 GB VRAM), a Xeon Platinum 8470Q CPU (24 threads), and 120 GiB RAM, built with CUDA 12.8. The primary model tested is `GLM-5.3-Flash-GSQ-RCO-3.0bit-q4kattn.gguf` (113.6 GB, 32K context).", + "reasoning_chars": 0, + "step": "32K", + "run": 2 + }, + { + "prompt_tokens": 62573, + "reused": 0, + "prefill_tok_s": 595.1, + "generated": 256, + "decode_tok_s": 79.0, + "mtp_kept": "150/203", + "mtp_kept_pct": 73.9, + "ttft_s": 105.204, + "elapsed_s": 108.44, + "vram_peak_gib_card": 10.98, + "groot_process_rss_peak_gib": 13.17, + "answer": "# Detailed Summary of the PolyStrata GLM 5.3 Flash Manual\n\nThis manual describes **PolyStrata**, a project that enables running large AI models locally on a normal PC, alongside the Strata project it is built upon. It introduces a second engine called `strata-poly`, which runs **GLM 5.3 Flash**, sitting beside the original `strata` engine that runs Qwen3.8-Flash-Next. The server, web app, and API remain identical for both engines; a run configuration simply names the engine to start.\n\n## GLM 5.3 Flash Overview\n\nGLM 5.3 Flash is the largest model in the PolyStrata lineup, requiring substantial hardware. It needs **Linux and an NVIDIA card (RTX 20 or newer)**, specifically tested on a 32 GB card. The model file is 79 to 114 GB depending on the size chosen, and setup estimates 60 to 96 GB of RAM beside the card, depending on the size. Three sizes are supported:\n\n1. **3.0BIT**: The whole model with 288 routed experts per layer (114 GB file, 96 GB RAM", + "reasoning_chars": 0, + "step": "60K", + "run": 1 + }, + { + "prompt_tokens": 62573, + "reused": 0, + "prefill_tok_s": 593.3, + "generated": 256, + "decode_tok_s": 77.3, + "mtp_kept": "150/215", + "mtp_kept_pct": 69.8, + "ttft_s": 105.523, + "elapsed_s": 108.84, + "vram_peak_gib_card": 10.98, + "groot_process_rss_peak_gib": 13.48, + "answer": "# Summary of the PolyStrata GLM 5.3 Flash Manual\n\nThis manual details the **strata-poly** engine, a second engine added to PolyStrata that runs **GLM 5.3 Flash** alongside the original `strata` engine, which continues to run Qwen3.8-Flash-Next. The server, web app, and API remain identical for both engines; a run configuration simply names the engine to start. The manual emphasizes that this is early-stage development, with the project having been tested primarily on Linux with one NVIDIA card (including two RTX 3080s and an RTX 5090 with 32 GB VRAM), and on Windows by a user with a 24 GB card and 128 GB of RAM.\n\n## Performance and Measurement\nThe engine's performance was measured on an RTX 5090 (32 GB VRAM), a Xeon Platinum 8470Q CPU (24 threads), and 120 GiB of RAM, built with CUDA 12.8. Using the `GLM-5.3-Flash-GSQ-RCO-3.0bit-q4kattn.gguf` model", + "reasoning_chars": 0, + "step": "60K", + "run": 2 + } + ], + "recall": { + "prompt_tokens": 60348, + "reused": 0, + "prefill_tok_s": 608.4, + "generated": 439, + "decode_tok_s": 84.2, + "mtp_kept": "279/348", + "mtp_kept_pct": 80.2, + "ttft_s": 99.245, + "elapsed_s": 104.46, + "vram_peak_gib_card": 10.98, + "groot_process_rss_peak_gib": 13.48, + "answer": "- The harbour master's cat is named Quillon Bexby.\n- The observatory's spare key is hidden under the seventh lavender pot.\n- The 1987 regional chess final was won by a dentist called Ottavia Marsh.", + "reasoning_chars": 1413, + "found": { + "start": true, + "middle": true, + "end": true + }, + "facts": { + "start": "The harbour master's cat is named Quillon Bexby.", + "middle": "The spare key for the observatory is hidden under the seventh lavender pot.", + "end": "The 1987 regional chess final was won by a dentist called Ottavia Marsh." + } + } +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/combined-B_kvq8+split2+pb2048/engine-decode-mtp.csv b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/combined-B_kvq8+split2+pb2048/engine-decode-mtp.csv new file mode 100644 index 000000000..0f0cde36d --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/combined-B_kvq8+split2+pb2048/engine-decode-mtp.csv @@ -0,0 +1,6 @@ +prompt_tokens,reused,read,prefill_ms,prefill_tok_s,generated,decode_ms,decode_tok_s,drafts_accepted,drafts_offered +29919,0,29919,30204,990.6,256,3797,67.4,124,208 +29919,0,29919,31059,963.3,256,2788,91.8,156,223 +62573,0,62573,102081,613.0,256,3349,76.4,155,220 +62573,0,62573,102282,611.8,256,3251,78.7,151,199 +60348,0,60348,96271,626.9,431,5052,85.3,289,356 diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/combined-B_kvq8+split2+pb2048/experts-at-load.txt b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/combined-B_kvq8+split2+pb2048/experts-at-load.txt new file mode 100644 index 000000000..436bec97b --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/combined-B_kvq8+split2+pb2048/experts-at-load.txt @@ -0,0 +1 @@ +strata-poly: loaded in 5.9 s; 3755 of 5248 routed experts in VRAM (6.6 GiB), 8 CPU threads diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/combined-B_kvq8+split2+pb2048/results.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/combined-B_kvq8+split2+pb2048/results.json new file mode 100644 index 000000000..1e3c5dfce --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/combined-B_kvq8+split2+pb2048/results.json @@ -0,0 +1,99 @@ +{ + "label": "tuned - 64K, nonstandard settings", + "config": "combined-B_kvq8+split2+pb2048", + "speed": [ + { + "prompt_tokens": 29919, + "reused": 0, + "prefill_tok_s": 990.6, + "generated": 256, + "decode_tok_s": 67.4, + "mtp_kept": "124/208", + "mtp_kept_pct": 59.6, + "ttft_s": 30.386, + "elapsed_s": 34.18, + "vram_peak_gib_card": 10.94, + "groot_process_rss_peak_gib": 13.04, + "answer": "# Summary of the PolyStrata Manual\n\nThis manual describes **PolyStrata**, a project that enables running large AI models locally on a normal PC, models that typically require server-grade hardware. It operates two engines: `strata`, which runs Qwen3.8-Flash-Next, and `strata-poly`, which runs GLM 5.3 Flash and other experimental models. The server, web app, and API are shared between both engines; a run config simply names the engine to start.\n\n## GLM 5.3 Flash (`strata-poly`)\n\nThe `strata-poly` engine runs GLM 5.3 Flash, sitting beside `strata`, which continues to run Qwen3.8-Flash-Next. Performance measurements were taken on an RTX 5090 (32 GB VRAM), a Xeon Platinum 8470Q (24 threads), 120 GiB RAM, CUDA 12.8. The engine significantly outperforms llama.cpp: it writes answers at 46\u201366 tokens/s (versus llama.cpp's 25.5\u201329.7) and reads prompts of 3K\u201329K", + "reasoning_chars": 0, + "step": "32K", + "run": 1 + }, + { + "prompt_tokens": 29919, + "reused": 0, + "prefill_tok_s": 963.3, + "generated": 256, + "decode_tok_s": 91.8, + "mtp_kept": "156/223", + "mtp_kept_pct": 70.0, + "ttft_s": 31.089, + "elapsed_s": 33.88, + "vram_peak_gib_card": 10.94, + "groot_process_rss_peak_gib": 13.0, + "answer": "# Summary of the PolyStrata Manual\n\nThis manual describes **PolyStrata**, a project that enables running large AI models locally on a normal PC, models that typically require server-grade hardware. It operates two engines: `strata`, which runs Qwen3.8-Flash-Next, and `strata-poly`, which runs GLM 5.3 Flash and other experimental models. The server, web app, and API are shared between both engines; a run config simply names the engine to start.\n\n## GLM 5.3 Flash (`strata-poly`)\n\nThe `strata-poly` engine runs GLM 5.3 Flash, sitting beside `strata`, which continues to run Qwen3.8-Flash-Next. Performance measurements were taken on an RTX 5090 (32 GB VRAM), a Xeon Platinum 8470Q CPU (24 threads), and 120 GiB RAM, built with CUDA 12.8. The primary model tested is `GLM-5.3-Flash-GSQ-RCO-3.0bit-q4kattn.gguf` (113.6 GB, 32K context).", + "reasoning_chars": 0, + "step": "32K", + "run": 2 + }, + { + "prompt_tokens": 62573, + "reused": 0, + "prefill_tok_s": 613.0, + "generated": 256, + "decode_tok_s": 76.4, + "mtp_kept": "155/220", + "mtp_kept_pct": 70.5, + "ttft_s": 102.147, + "elapsed_s": 105.5, + "vram_peak_gib_card": 10.95, + "groot_process_rss_peak_gib": 13.13, + "answer": "# Summary of the PolyStrata GLM 5.3 Flash Manual\n\nThis manual details the **strata-poly** engine, a second engine added to PolyStrata that runs **GLM 5.3 Flash** alongside the existing `strata` engine, which continues to run Qwen3.8-Flash-Next. The server, web app, and API remain identical for both engines; a run configuration simply names the engine to start. The manual emphasizes that this is early-stage development: it has been built and tested primarily on Linux with one NVIDIA card (including two RTX 3080s), and a user has reportedly run it on Windows with a 24 GB card and 128 GB of RAM.\n\n## Hardware and Measurement Environment\nThe primary benchmark machine features an RTX 5090 (32 GB VRAM), a Xeon Platinum 8470Q CPU (24 threads used), 120 GiB of RAM, and CUDA 12.8. The model tested is `GLM-5.3-Flash-GSQ-RCO-3.0bit-q4kattn.gguf` (113.6 GB) with a 32", + "reasoning_chars": 0, + "step": "60K", + "run": 1 + }, + { + "prompt_tokens": 62573, + "reused": 0, + "prefill_tok_s": 611.8, + "generated": 256, + "decode_tok_s": 78.7, + "mtp_kept": "151/199", + "mtp_kept_pct": 75.9, + "ttft_s": 102.338, + "elapsed_s": 105.59, + "vram_peak_gib_card": 10.95, + "groot_process_rss_peak_gib": 13.45, + "answer": "# Summary of the PolyStrata GLM 5.3 Flash Manual\n\nThis manual details the **strata-poly** engine, a second engine added to PolyStrata that runs **GLM 5.3 Flash** alongside the existing `strata` engine, which runs Qwen3.8-Flash-Next. The server, web app, and API are identical for both; a run config simply names the engine to start. The engine is experimental and has been tested primarily on Linux with an NVIDIA card (RTX 5090, 32 GB VRAM), though a user has reportedly run it on Windows with a 24 GB card and 128 GB of RAM.\n\n## Performance and Measurement\nThe engine's performance is measured against llama.cpp (a fork by neurall). On the test machine (RTX 5090, Xeon Platinum 8470Q, 120 GiB RAM, CUDA 12.8), `strata-poly` writes answers at 46 tokens/s after a 11,673-token prompt and 62\u201366 tokens/s after a 29,069-token prompt, significantly faster than", + "reasoning_chars": 0, + "step": "60K", + "run": 2 + } + ], + "recall": { + "prompt_tokens": 60348, + "reused": 0, + "prefill_tok_s": 626.9, + "generated": 431, + "decode_tok_s": 85.3, + "mtp_kept": "289/356", + "mtp_kept_pct": 81.2, + "ttft_s": 96.327, + "elapsed_s": 101.38, + "vram_peak_gib_card": 10.95, + "groot_process_rss_peak_gib": 13.44, + "answer": "- The harbour master's cat is named Quillon Bexby.\n- The observatory's spare key is hidden under the seventh lavender pot.\n- The 1987 regional chess final was won by a dentist called Ottavia Marsh.", + "reasoning_chars": 1378, + "found": { + "start": true, + "middle": true, + "end": true + }, + "facts": { + "start": "The harbour master's cat is named Quillon Bexby.", + "middle": "The spare key for the observatory is hidden under the seventh lavender pot.", + "end": "The 1987 regional chess final was won by a dentist called Ottavia Marsh." + } + } +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/kv-q8_0+split-attend-2/engine-decode-mtp.csv b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/kv-q8_0+split-attend-2/engine-decode-mtp.csv new file mode 100644 index 000000000..6c227cd61 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/kv-q8_0+split-attend-2/engine-decode-mtp.csv @@ -0,0 +1,5 @@ +prompt_tokens,reused,read,prefill_ms,prefill_tok_s,generated,decode_ms,decode_tok_s,drafts_accepted,drafts_offered +29919,0,29919,30909,968.0,256,3606,71.0,127,206 +29919,0,29919,32633,916.8,256,3119,82.1,136,222 +62573,0,62573,105351,593.9,256,3181,80.5,159,209 +62573,0,62573,105585,592.6,256,3363,76.1,142,206 diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/kv-q8_0+split-attend-2/experts-at-load.txt b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/kv-q8_0+split-attend-2/experts-at-load.txt new file mode 100644 index 000000000..caf56048a --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/kv-q8_0+split-attend-2/experts-at-load.txt @@ -0,0 +1 @@ +strata-poly: loaded in 6.2 s; 3976 of 5248 routed experts in VRAM (7.0 GiB), 8 CPU threads diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/kv-q8_0+split-attend-2/results.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/kv-q8_0+split-attend-2/results.json new file mode 100644 index 000000000..f5c76e9b0 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/kv-q8_0+split-attend-2/results.json @@ -0,0 +1,75 @@ +{ + "label": "tuned - 64K, nonstandard settings", + "config": "kv-q8_0+split-attend-2", + "speed": [ + { + "prompt_tokens": 29919, + "reused": 0, + "prefill_tok_s": 968.0, + "generated": 256, + "decode_tok_s": 71.0, + "mtp_kept": "127/206", + "mtp_kept_pct": 61.7, + "ttft_s": 31.129, + "elapsed_s": 34.74, + "vram_peak_gib_card": 10.98, + "groot_process_rss_peak_gib": 12.91, + "answer": "# Summary of the PolyStrata Manual\n\nThis manual describes **PolyStrata**, a project that enables running large AI models locally on a normal PC, models that typically require server-grade hardware. It operates two engines: `strata`, which runs Qwen3.8-Flash-Next, and `strata-poly`, which runs GLM 5.3 Flash and other experimental models. The server, web app, and API are shared between both engines; a run configuration simply names the engine to start.\n\n## GLM 5.3 Flash (`strata-poly`)\n\nThe `strata-poly` engine runs GLM 5.3 Flash, sitting alongside `strata`, which continues to run Qwen3.8-Flash-Next. Performance measurements were taken on an RTX 5090 (32 GB VRAM), a Xeon Platinum 8470Q CPU (24 threads), and 120 GiB of RAM, built with CUDA 12.8. The primary model tested is `GLM-5.3-Flash-GSQ-RCO-3.0bit-q4kattn.gguf` (113.6 GB, 32K context", + "reasoning_chars": 0, + "step": "32K", + "run": 1 + }, + { + "prompt_tokens": 29919, + "reused": 0, + "prefill_tok_s": 916.8, + "generated": 256, + "decode_tok_s": 82.1, + "mtp_kept": "136/222", + "mtp_kept_pct": 61.3, + "ttft_s": 32.663, + "elapsed_s": 35.78, + "vram_peak_gib_card": 10.98, + "groot_process_rss_peak_gib": 13.05, + "answer": "# Summary of the PolyStrata Manual\n\nThis manual describes **PolyStrata**, a project that enables running large AI models locally on a normal PC, models that typically require server-grade hardware. It operates 14 different models across two engines: the original `strata` engine (which runs Qwen3.8-Flash-Next and reads images) and the newer `strata-poly` engine, which supports 13 experimental models including GLM 5.3 Flash, DeepSeek V4 Flash, LFM2.5, Flint, Qwen3.6, and others. The core philosophy is \"sharing the work across your whole PC\": while a graphics card has only 8-32 GB of memory, PolyStrata keeps frequently used weights in VRAM and stores the rest in RAM or on disk, loading them as needed\u2014similar to a kitchen where frequently used ingredients stay on the counter while the rest waits in the pantry.\n\nThe manual focuses heavily on **GLM 5.3 Flash** (`strata-poly`), the largest model, requiring an RTX 20-series NVIDIA card or newer, ideally with 32 GB of VRAM. It comes in three sizes: `3.0BIT`", + "reasoning_chars": 0, + "step": "32K", + "run": 2 + }, + { + "prompt_tokens": 62573, + "reused": 0, + "prefill_tok_s": 593.9, + "generated": 256, + "decode_tok_s": 80.5, + "mtp_kept": "159/209", + "mtp_kept_pct": 76.1, + "ttft_s": 105.41, + "elapsed_s": 108.59, + "vram_peak_gib_card": 10.98, + "groot_process_rss_peak_gib": 13.13, + "answer": "# Summary of the PolyStrata GLM 5.3 Flash Manual\n\nThis manual details the **strata-poly** engine, which PolyStrata adds to run **GLM 5.3 Flash** alongside the existing `strata` engine that runs Qwen3.8-Flash-Next. The server, web app, and API are identical for both; a run config simply names the engine to start. The project is still early: it has been built and run on Linux with one NVIDIA card, on two RTX 3080s, and by a user on Windows with a 24 GB card and 128 GB of RAM.\n\n## Hardware and Measurement Setup\nThe primary benchmark machine uses an RTX 5090 (32 GB VRAM), a Xeon Platinum 8470Q (25 vCPU, 24 threads), 120 GiB RAM, and CUDA 12.8. The model tested is `GLM-5.3-Flash-GSQ-RCO-3.0bit-q4kattn.gguf` (113.6 GB, 32K context). The engine significantly outperforms llama.cpp: it writes", + "reasoning_chars": 0, + "step": "60K", + "run": 1 + }, + { + "prompt_tokens": 62573, + "reused": 0, + "prefill_tok_s": 592.6, + "generated": 256, + "decode_tok_s": 76.1, + "mtp_kept": "142/206", + "mtp_kept_pct": 68.9, + "ttft_s": 105.64, + "elapsed_s": 109.0, + "vram_peak_gib_card": 10.98, + "groot_process_rss_peak_gib": 13.48, + "answer": "# Detailed Summary of the PolyStrata GLM 5.3 Flash Manual\n\nThis manual details the **PolyStrata** project, a system that enables running large AI models locally on standard PCs, alongside a specific documentation section for the **GLM 5.3 Flash** engine (`strata-poly`).\n\n## Overview of PolyStrata\nPolyStrata allows users to run fourteen different large AI models on their own PC, ensuring that no data leaves the local environment. It operates using two engines: the original `strata` engine (which runs Qwen3.8-Flash-Next and reads images) and the newer `strata-poly` engine, which supports thirteen experimental models including GLM 5.3 Flash, DeepSeek V4 Flash, LFM2.5, Flint, and others. The system provides a web app, a terminal interface, and an OpenAI/Anthropic-compatible API for integration with external apps and coding agents like Linger. Installation is handled via `./setup.sh` for Linux or `START-HERE.bat` for Windows, which checks hardware, downloads the model, and compiles the engine if necessary.\n\n## GLM 5.3 Flash and the `strata-poly` Engine", + "reasoning_chars": 0, + "step": "60K", + "run": 2 + } + ], + "recall": null +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/kv-q8_0/engine-decode-mtp.csv b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/kv-q8_0/engine-decode-mtp.csv new file mode 100644 index 000000000..6971daefe --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/kv-q8_0/engine-decode-mtp.csv @@ -0,0 +1,5 @@ +prompt_tokens,reused,read,prefill_ms,prefill_tok_s,generated,decode_ms,decode_tok_s,drafts_accepted,drafts_offered +29919,0,29919,30834,970.3,256,4087,62.6,146,222 +29919,0,29919,32685,915.4,256,3848,66.5,130,195 +62573,0,62573,105322,594.1,256,5060,50.6,145,207 +62573,0,62573,105608,592.5,256,4783,53.5,151,202 diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/kv-q8_0/experts-at-load.txt b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/kv-q8_0/experts-at-load.txt new file mode 100644 index 000000000..80f01964c --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/kv-q8_0/experts-at-load.txt @@ -0,0 +1 @@ +strata-poly: loaded in 6.1 s; 3976 of 5248 routed experts in VRAM (7.0 GiB), 8 CPU threads diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/kv-q8_0/results.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/kv-q8_0/results.json new file mode 100644 index 000000000..f7cf63a7e --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/kv-q8_0/results.json @@ -0,0 +1,75 @@ +{ + "label": "tuned - 64K, nonstandard settings", + "config": "kv-q8_0", + "speed": [ + { + "prompt_tokens": 29919, + "reused": 0, + "prefill_tok_s": 970.3, + "generated": 256, + "decode_tok_s": 62.6, + "mtp_kept": "146/222", + "mtp_kept_pct": 65.8, + "ttft_s": 31.053, + "elapsed_s": 35.14, + "vram_peak_gib_card": 10.98, + "groot_process_rss_peak_gib": 13.05, + "answer": "# Summary of the PolyStrata Manual\n\nThis manual describes **PolyStrata**, a project that enables running large AI models locally on a normal PC, models that typically require server-grade hardware. It operates two engines: `strata`, which runs Qwen3.8-Flash-Next, and `strata-poly`, which runs GLM 5.3 Flash and other experimental models. The server, web app, and API are shared between both engines; a run config simply names the engine to start.\n\n## GLM 5.3 Flash (`strata-poly`)\n\nThe `strata-poly` engine runs GLM 5.3 Flash, sitting beside `strata`, which continues to run Qwen3.8-Flash-Next. Performance measurements were taken on an RTX 5090 (32 GB VRAM), a Xeon Platinum 8470Q CPU (24 threads), and 120 GiB RAM, built with CUDA 12.8. The primary model tested is `GLM-5.3-Flash-GSQ-RCO-3.0bit-q4kattn.gguf` (113.6 GB, 32K context).", + "reasoning_chars": 0, + "step": "32K", + "run": 1 + }, + { + "prompt_tokens": 29919, + "reused": 0, + "prefill_tok_s": 915.4, + "generated": 256, + "decode_tok_s": 66.5, + "mtp_kept": "130/195", + "mtp_kept_pct": 66.7, + "ttft_s": 32.716, + "elapsed_s": 36.56, + "vram_peak_gib_card": 10.98, + "groot_process_rss_peak_gib": 13.07, + "answer": "# Summary of the PolyStrata Manual\n\nThis manual describes **PolyStrata**, a project that enables running large AI models locally on a normal PC, models that typically require server-grade hardware. It operates 14 different models across two engines: the original `strata` engine (which runs Qwen3.8-Flash-Next and reads images) and the newer `strata-poly` engine, which supports 13 experimental models including GLM 5.3 Flash, DeepSeek V4 Flash, LFM2.5, Flint, Qwen3.6, and others. The core philosophy is \"sharing the work across your whole PC\": while a graphics card has only 8-32 GB of memory, PolyStrata keeps frequently used weights in VRAM and stores the rest in RAM or on disk, loading them as needed\u2014similar to a kitchen where common ingredients stay on the counter while the rest waits in the pantry.\n\nThe manual focuses heavily on **GLM 5.3 Flash** (`strata-poly`), the largest model, requiring a 32 GB NVIDIA card and substantial RAM. It comes in three sizes: `3.0BIT` (114 GB, 96 GB RAM", + "reasoning_chars": 0, + "step": "32K", + "run": 2 + }, + { + "prompt_tokens": 62573, + "reused": 0, + "prefill_tok_s": 594.1, + "generated": 256, + "decode_tok_s": 50.6, + "mtp_kept": "145/207", + "mtp_kept_pct": 70.0, + "ttft_s": 105.381, + "elapsed_s": 110.44, + "vram_peak_gib_card": 10.98, + "groot_process_rss_peak_gib": 13.17, + "answer": "# Detailed Summary of the PolyStrata GLM 5.3 Flash Manual\n\nThis manual details the **strata-poly** engine, a second engine added to PolyStrata that runs **GLM 5.3 Flash** alongside the existing `strata` engine, which continues to run Qwen3.8-Flash-Next. The server, web app, and API remain identical for both engines; the distinction lies in the run configuration, which names the specific engine to start. The manual emphasizes that this is early-stage development, with the project having been tested primarily on Linux with one NVIDIA card (including two RTX 3080s and an RTX 5090 with 32 GB VRAM), and on Windows by a user with a 24 GB card and 128 GB of RAM.\n\n## Performance and Measurement\nThe engine's performance was measured on a machine featuring an RTX 5090 (32 GB), a Xeon Platinum 8470Q CPU (24 threads used), 120 GiB of RAM, and CUDA 12.8. The primary model tested was `GLM-5.3-Flash-GSQ-RCO-3.", + "reasoning_chars": 0, + "step": "60K", + "run": 1 + }, + { + "prompt_tokens": 62573, + "reused": 0, + "prefill_tok_s": 592.5, + "generated": 256, + "decode_tok_s": 53.5, + "mtp_kept": "151/202", + "mtp_kept_pct": 74.8, + "ttft_s": 105.676, + "elapsed_s": 110.46, + "vram_peak_gib_card": 10.98, + "groot_process_rss_peak_gib": 13.48, + "answer": "# Summary of the PolyStrata GLM 5.3 Flash Manual\n\nThis manual details the **strata-poly** engine, a second engine added to PolyStrata that runs **GLM 5.3 Flash** alongside the existing `strata` engine, which continues to run Qwen3.8-Flash-Next. The server, web app, and API remain identical for both engines; a run configuration simply names the engine to start. The manual is comprehensive, covering performance measurements, hardware requirements, model sizes, installation procedures, engine behavior, and missing features.\n\n## Performance and Measurement\n\nThe engine was measured primarily on an RTX 5090 (32 GB VRAM), a Xeon Platinum 8470Q cloud machine with 24 threads, and 120 GiB of RAM, built with CUDA 12.8. The primary model tested is `GLM-5.3-Flash-GSQ-RCO-3.0bit-q4kattn.gguf` (113.6 GB) with a 32K context. In terms of speed, `strata-poly` significantly outperforms llama.cpp: it writes answers at 46 tokens/s", + "reasoning_chars": 0, + "step": "60K", + "run": 2 + } + ], + "recall": null +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/prompt-batch-2048/engine-decode-mtp.csv b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/prompt-batch-2048/engine-decode-mtp.csv new file mode 100644 index 000000000..2c0431062 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/prompt-batch-2048/engine-decode-mtp.csv @@ -0,0 +1,5 @@ +prompt_tokens,reused,read,prefill_ms,prefill_tok_s,generated,decode_ms,decode_tok_s,drafts_accepted,drafts_offered +29919,0,29919,30211,990.3,256,4436,57.7,128,222 +29919,0,29919,31050,963.6,256,3277,78.1,155,207 +62573,0,62573,101829,614.5,256,4682,54.7,148,204 +62573,0,62573,102206,612.2,256,5151,49.7,134,209 diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/prompt-batch-2048/experts-at-load.txt b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/prompt-batch-2048/experts-at-load.txt new file mode 100644 index 000000000..420be3a2a --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/prompt-batch-2048/experts-at-load.txt @@ -0,0 +1 @@ +strata-poly: loaded in 5.6 s; 3392 of 5248 routed experts in VRAM (6.0 GiB), 8 CPU threads diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/prompt-batch-2048/results.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/prompt-batch-2048/results.json new file mode 100644 index 000000000..3d20e6ab4 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/prompt-batch-2048/results.json @@ -0,0 +1,75 @@ +{ + "label": "tuned - 64K, nonstandard settings", + "config": "prompt-batch-2048", + "speed": [ + { + "prompt_tokens": 29919, + "reused": 0, + "prefill_tok_s": 990.3, + "generated": 256, + "decode_tok_s": 57.7, + "mtp_kept": "128/222", + "mtp_kept_pct": 57.7, + "ttft_s": 30.424, + "elapsed_s": 34.86, + "vram_peak_gib_card": 10.99, + "groot_process_rss_peak_gib": 12.91, + "answer": "# Summary of the PolyStrata Manual\n\nThis manual describes **PolyStrata**, a project that enables running large AI models locally on a normal PC, models that typically require server-grade hardware. It operates two engines: `strata`, which runs Qwen3.8-Flash-Next, and `strata-poly`, which runs GLM 5.3 Flash and other experimental models. The server, web app, and API are shared between both engines; a run config simply names the engine to start.\n\n## GLM 5.3 Flash (`strata-poly`)\n\nThe `strata-poly` engine runs GLM 5.3 Flash, sitting beside `strata`, which continues to run Qwen3.8-Flash-Next. Performance measurements were taken on an RTX 5090 (32 GB VRAM), a Xeon Platinum 8470Q (24 threads), 120 GiB RAM, and CUDA 12.8. The engine significantly outperforms llama.cpp in both reading prompts and writing answers. For example, it writes answers at 46\u201366 tokens/s depending on prompt length, compared to llama.cpp's 25.5\u20132", + "reasoning_chars": 0, + "step": "32K", + "run": 1 + }, + { + "prompt_tokens": 29919, + "reused": 0, + "prefill_tok_s": 963.6, + "generated": 256, + "decode_tok_s": 78.1, + "mtp_kept": "155/207", + "mtp_kept_pct": 74.9, + "ttft_s": 31.079, + "elapsed_s": 34.36, + "vram_peak_gib_card": 10.98, + "groot_process_rss_peak_gib": 13.18, + "answer": "# Summary of the PolyStrata Manual\n\nThis manual describes **PolyStrata**, a project that enables running large AI models locally on a normal PC, models that typically require server-grade hardware. It operates two engines: `strata`, which runs Qwen3.8-Flash-Next, and `strata-poly`, which runs GLM 5.3 Flash and other experimental models. The server, web app, and API are shared between both engines; a run config simply names the engine to start.\n\n## GLM 5.3 Flash (`strata-poly`)\n\nThe `strata-poly` engine runs GLM 5.3 Flash, sitting beside `strata`, which continues to run Qwen3.8-Flash-Next. Performance measurements were taken on an RTX 5090 (32 GB VRAM), a Xeon Platinum 8470Q (25 vCPU, 24 threads), and 120 GiB RAM, built with CUDA 12.8. The primary model tested is `GLM-5.3-Flash-GSQ-RCO-3.0bit-q4kattn.gguf` (113.6 GB, ", + "reasoning_chars": 0, + "step": "32K", + "run": 2 + }, + { + "prompt_tokens": 62573, + "reused": 0, + "prefill_tok_s": 614.5, + "generated": 256, + "decode_tok_s": 54.7, + "mtp_kept": "148/204", + "mtp_kept_pct": 72.5, + "ttft_s": 101.889, + "elapsed_s": 106.57, + "vram_peak_gib_card": 10.98, + "groot_process_rss_peak_gib": 13.3, + "answer": "# Summary of the PolyStrata GLM 5.3 Flash Manual\n\nThis manual details the **strata-poly** engine, which PolyStrata uses to run **GLM 5.3 Flash** alongside the standard `strata` engine that runs Qwen3.8-Flash-Next. The server, web app, and API are identical for both; a run config simply names the engine to start. The engine is experimental and has so far been tested on Linux with one NVIDIA card (including two RTX 3080s), and on Windows by a user with a 24 GB card and 128 GB of RAM.\n\n## Hardware Requirements and Model Sizes\n\nTo run GLM 5.3 Flash, users need Linux and an NVIDIA card (RTX 20 or newer), though it has only been tested on 32 GB cards. Setup stops if VRAM is below 14 GB because about 12 GB are needed for weights, caches, and buffers before any expert is loaded. The model file requires 114 GB of disk space, plus 3 GB for its draft block.\n\nThree model sizes are supported:\n- **3.0BIT**: The full model with", + "reasoning_chars": 0, + "step": "60K", + "run": 1 + }, + { + "prompt_tokens": 62573, + "reused": 0, + "prefill_tok_s": 612.2, + "generated": 256, + "decode_tok_s": 49.7, + "mtp_kept": "134/209", + "mtp_kept_pct": 64.1, + "ttft_s": 102.264, + "elapsed_s": 107.41, + "vram_peak_gib_card": 10.98, + "groot_process_rss_peak_gib": 13.81, + "answer": "# Summary of the PolyStrata GLM 5.3 Flash Manual\n\nThis manual details the **strata-poly** engine, a second engine added to PolyStrata that runs **GLM 5.3 Flash** alongside the existing `strata` engine, which continues to run Qwen3.8-Flash-Next. The server, web app, and API remain identical for both engines; the distinction lies in the run configuration that names the engine to start. The manual emphasizes that this is early-stage development, with the project having been tested primarily on Linux with one NVIDIA card (including two RTX 3080s and an RTX 5090 with 32 GB VRAM), and on Windows by a user with a 24 GB card and 128 GB of RAM.\n\n## Hardware and Performance Requirements\n\nThe engine has specific and demanding hardware requirements. It requires Linux and an NVIDIA card of the RTX 20 series or newer, and it has only been tested on a 32 GB VRAM card. Before any expert is loaded, approximately 12 GB of memory is consumed by weights, caches, and buffers, meaning setup will halt and prompt for more information if the card has less than", + "reasoning_chars": 0, + "step": "60K", + "run": 2 + } + ], + "recall": null +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/reserve-512/engine-decode-mtp.csv b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/reserve-512/engine-decode-mtp.csv new file mode 100644 index 000000000..cef55061b --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/reserve-512/engine-decode-mtp.csv @@ -0,0 +1,5 @@ +prompt_tokens,reused,read,prefill_ms,prefill_tok_s,generated,decode_ms,decode_tok_s,drafts_accepted,drafts_offered +29919,0,29919,30688,974.9,256,4354,58.8,124,198 +29919,0,29919,32624,917.1,256,3584,71.4,137,200 +62573,0,62573,104933,596.3,256,4451,57.5,157,205 +62573,0,62573,105442,593.4,256,5118,50.0,136,221 diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/reserve-512/experts-at-load.txt b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/reserve-512/experts-at-load.txt new file mode 100644 index 000000000..b758d6618 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/reserve-512/experts-at-load.txt @@ -0,0 +1 @@ +strata-poly: loaded in 6.1 s; 3896 of 5248 routed experts in VRAM (6.9 GiB), 8 CPU threads diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/reserve-512/results.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/reserve-512/results.json new file mode 100644 index 000000000..73ed2c244 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/reserve-512/results.json @@ -0,0 +1,75 @@ +{ + "label": "tuned - 64K, nonstandard settings", + "config": "reserve-512", + "speed": [ + { + "prompt_tokens": 29919, + "reused": 0, + "prefill_tok_s": 974.9, + "generated": 256, + "decode_tok_s": 58.8, + "mtp_kept": "124/198", + "mtp_kept_pct": 62.6, + "ttft_s": 30.876, + "elapsed_s": 35.23, + "vram_peak_gib_card": 11.45, + "groot_process_rss_peak_gib": 12.97, + "answer": "# Summary of the PolyStrata Manual\n\nThis manual describes **PolyStrata**, a project that enables running large AI models locally on a normal PC, models that typically require server-grade hardware. It operates two engines: `strata`, which runs Qwen3.8-Flash-Next, and `strata-poly`, which runs GLM 5.3 Flash and other experimental models. The server, web app, and API are shared between both engines; a run config simply names the engine to start.\n\n## GLM 5.3 Flash (`strata-poly`)\n\nThe `strata-poly` engine runs GLM 5.3 Flash, sitting beside `strata`, which continues to run Qwen3.8-Flash-Next. Performance measurements were taken on an RTX 5090 (32 GB VRAM), a Xeon Platinum 8470Q (24 threads), and 120 GiB RAM, built with CUDA 12.8. The primary model tested is `GLM-5.3-Flash-GSQ-RCO-3.0bit-q4kattn.gguf` (113.6 GB, 32K context). `", + "reasoning_chars": 0, + "step": "32K", + "run": 1 + }, + { + "prompt_tokens": 29919, + "reused": 0, + "prefill_tok_s": 917.1, + "generated": 256, + "decode_tok_s": 71.4, + "mtp_kept": "137/200", + "mtp_kept_pct": 68.5, + "ttft_s": 32.654, + "elapsed_s": 36.24, + "vram_peak_gib_card": 11.45, + "groot_process_rss_peak_gib": 13.35, + "answer": "# Summary of the PolyStrata Manual\n\nThis manual describes **PolyStrata**, a project that enables running large AI models locally on a normal PC, models that typically require server-grade hardware. It operates two engines: `strata`, which runs Qwen3.8-Flash-Next, and `strata-poly`, which runs GLM 5.3 Flash and other experimental models. The server, web app, and API are shared between both engines; a run config simply names the engine to start.\n\n## GLM 5.3 Flash (`strata-poly`)\n\nThe `strata-poly` engine runs GLM 5.3 Flash, sitting beside `strata`, which continues to run Qwen3.8-Flash-Next. Performance measurements were taken on an RTX 5090 (32 GB VRAM), a Xeon Platinum 8470Q (24 threads), 120 GiB RAM, CUDA 12.8. The engine significantly outperforms llama.cpp: it writes answers at 46\u201366 tokens/s (versus 25.5\u201329.7 for llama.cpp) and reads prompts of 3K\u201329K", + "reasoning_chars": 0, + "step": "32K", + "run": 2 + }, + { + "prompt_tokens": 62573, + "reused": 0, + "prefill_tok_s": 596.3, + "generated": 256, + "decode_tok_s": 57.5, + "mtp_kept": "157/205", + "mtp_kept_pct": 76.6, + "ttft_s": 104.993, + "elapsed_s": 109.44, + "vram_peak_gib_card": 11.45, + "groot_process_rss_peak_gib": 13.51, + "answer": "# Summary of the PolyStrata GLM 5.3 Flash Manual\n\nThis manual details the **strata-poly** engine, a second engine added to PolyStrata that runs **GLM 5.3 Flash** alongside the existing `strata` engine, which continues to run Qwen3.8-Flash-Next. The server, web app, and API remain identical for both engines; a run configuration simply names the engine to start. The manual emphasizes that this is early-stage development: it has been built and tested on Linux with one NVIDIA card, on two RTX 3080s, and by a user on Windows with a 24 GB card and 128 GB of RAM.\n\n## Hardware and Measurement Environment\nThe primary benchmark machine features an RTX 5090 (32 GB VRAM), a Xeon Platinum 8470Q CPU (25 vCPU, 24 threads used), 120 GiB of RAM, and CUDA 12.8. The model tested is `GLM-5.3-Flash-GSQ-RCO-3.0bit-q4kattn.gguf` (113.6 GB) with a ", + "reasoning_chars": 0, + "step": "60K", + "run": 1 + }, + { + "prompt_tokens": 62573, + "reused": 0, + "prefill_tok_s": 593.4, + "generated": 256, + "decode_tok_s": 50.0, + "mtp_kept": "136/221", + "mtp_kept_pct": 61.5, + "ttft_s": 105.498, + "elapsed_s": 110.62, + "vram_peak_gib_card": 11.45, + "groot_process_rss_peak_gib": 14.13, + "answer": "# Detailed Summary of the PolyStrata GLM 5.3 Flash Manual\n\nThis manual describes **PolyStrata**, a project that enables running large AI models locally on a normal PC, alongside the original Strata project. It introduces a second engine called `strata-poly`, which runs **GLM 5.3 Flash**, sitting beside the `strata` engine that runs Qwen3.8-Flash-Next. The server, web app, and API are identical for both engines; a run config simply names the engine to start.\n\n## Hardware Requirements and Setup\n\nGLM 5.3 Flash is the largest model in the PolyStrata lineup and has demanding requirements. It requires **Linux and an NVIDIA card (RTX 20 or newer)**, and it has only been tested on a 32 GB VRAM card. Setup stops and asks for more RAM if there is less than 14 GB available, since about 12 GB go to weights, caches, and buffers before any expert loading. The model needs **114 GB of disk** for the model file and **3 GB for its draft block**. Additionally, RAM is needed for experts the card cannot hold; on a 32 GB card,", + "reasoning_chars": 0, + "step": "60K", + "run": 2 + } + ], + "recall": null +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/threads-6/engine-decode-mtp.csv b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/threads-6/engine-decode-mtp.csv new file mode 100644 index 000000000..7498443d1 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/threads-6/engine-decode-mtp.csv @@ -0,0 +1,5 @@ +prompt_tokens,reused,read,prefill_ms,prefill_tok_s,generated,decode_ms,decode_tok_s,drafts_accepted,drafts_offered +29919,0,29919,30920,967.6,256,4088,62.6,138,216 +29919,0,29919,32617,917.3,256,3494,73.3,147,226 +62573,0,62573,105006,595.9,256,4429,57.8,156,205 +62573,0,62573,105420,593.6,256,4512,56.7,153,199 diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/threads-6/experts-at-load.txt b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/threads-6/experts-at-load.txt new file mode 100644 index 000000000..9ade887e8 --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/threads-6/experts-at-load.txt @@ -0,0 +1 @@ +strata-poly: loaded in 5.8 s; 3613 of 5248 routed experts in VRAM (6.4 GiB), 6 CPU threads diff --git a/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/threads-6/results.json b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/threads-6/results.json new file mode 100644 index 000000000..165de218e --- /dev/null +++ b/docs/bench-results/2026-12-03-groot-q4_k_m-rx6700xt/tuned-64k/threads-6/results.json @@ -0,0 +1,75 @@ +{ + "label": "tuned - 64K, nonstandard settings", + "config": "threads-6", + "speed": [ + { + "prompt_tokens": 29919, + "reused": 0, + "prefill_tok_s": 967.6, + "generated": 256, + "decode_tok_s": 62.6, + "mtp_kept": "138/216", + "mtp_kept_pct": 63.9, + "ttft_s": 31.103, + "elapsed_s": 35.19, + "vram_peak_gib_card": 10.95, + "groot_process_rss_peak_gib": 12.97, + "answer": "# Summary of the PolyStrata Manual\n\nThis manual describes **PolyStrata**, a project that enables running large AI models locally on a normal PC, models that typically require server-grade hardware. It operates two engines: `strata`, which runs Qwen3.8-Flash-Next, and `strata-poly`, which runs GLM 5.3 Flash and other experimental models. The server, web app, and API are shared between both engines; a run config simply names the engine to start.\n\n## GLM 5.3 Flash (`strata-poly`)\n\nThe `strata-poly` engine runs GLM 5.3 Flash, sitting beside `strata`, which continues to run Qwen3.8-Flash-Next. Performance measurements were taken on an RTX 5090 (32 GB VRAM), a Xeon Platinum 8470Q CPU (24 threads), and 120 GiB RAM, built with CUDA 12.8. The primary model tested is `GLM-5.3-Flash-GSQ-RCO-3.0bit-q4kattn.gguf` (113.6 GB, 32K context).", + "reasoning_chars": 0, + "step": "32K", + "run": 1 + }, + { + "prompt_tokens": 29919, + "reused": 0, + "prefill_tok_s": 917.3, + "generated": 256, + "decode_tok_s": 73.3, + "mtp_kept": "147/226", + "mtp_kept_pct": 65.0, + "ttft_s": 32.648, + "elapsed_s": 36.14, + "vram_peak_gib_card": 10.95, + "groot_process_rss_peak_gib": 13.22, + "answer": "# Summary of the PolyStrata Manual\n\nThis manual describes **PolyStrata**, a project that enables running large AI models locally on a normal PC, models that typically require server-grade hardware. It operates two engines: `strata`, which runs Qwen3.8-Flash-Next, and `strata-poly`, which runs GLM 5.3 Flash and other experimental models. The server, web app, and API are shared between both engines; a run config simply names the engine to start.\n\n## GLM 5.3 Flash (`strata-poly`)\n\nThe `strata-poly` engine runs GLM 5.3 Flash alongside `strata`, which continues to run Qwen3.8-Flash-Next. Performance measurements were taken on an RTX 5090 (32 GB VRAM), a Xeon Platinum 8470Q (24 threads), 120 GiB RAM, and CUDA 12.8. The engine significantly outperforms llama.cpp: it writes answers at 46\u201366 tokens/s (versus 25.5\u201329.7) and reads prompts of 3K\u201329K tokens at 6", + "reasoning_chars": 0, + "step": "32K", + "run": 2 + }, + { + "prompt_tokens": 62573, + "reused": 0, + "prefill_tok_s": 595.9, + "generated": 256, + "decode_tok_s": 57.8, + "mtp_kept": "156/205", + "mtp_kept_pct": 76.1, + "ttft_s": 105.066, + "elapsed_s": 109.5, + "vram_peak_gib_card": 10.95, + "groot_process_rss_peak_gib": 13.57, + "answer": "# Summary of the PolyStrata GLM 5.3 Flash Manual\n\nThis manual details the **strata-poly** engine, which PolyStrata adds to run **GLM 5.3 Flash** alongside the existing `strata` engine that runs Qwen3.8-Flash-Next. The server, web app, and API are shared between both engines; a run config simply names the engine to start. The project is still early, having been built and tested primarily on Linux with one NVIDIA card (including two RTX 3080s), and a user has reportedly run it on Windows with a 24 GB card and 128 GB of RAM.\n\n## Hardware Requirements and Measurements\nThe engine was measured on an RTX 5090 (32 GB VRAM), a Xeon Platinum 8470Q (25 vCPU, 24 threads), and 120 GiB of RAM, built with CUDA 12.8. It uses the `GLM-5.3-Flash-GSQ-RCO-3.0bit-q4kattn.gguf` model (113.6 GB) with a 32K context. Performance comparisons", + "reasoning_chars": 0, + "step": "60K", + "run": 1 + }, + { + "prompt_tokens": 62573, + "reused": 0, + "prefill_tok_s": 593.6, + "generated": 256, + "decode_tok_s": 56.7, + "mtp_kept": "153/199", + "mtp_kept_pct": 76.9, + "ttft_s": 105.476, + "elapsed_s": 109.99, + "vram_peak_gib_card": 10.95, + "groot_process_rss_peak_gib": 13.98, + "answer": "# Detailed Summary of the PolyStrata GLM 5.3 Flash Manual\n\nThis manual details the **strata-poly** engine, a second engine added to PolyStrata that runs **GLM 5.3 Flash** alongside the standard `strata` engine (which runs Qwen3.8-Flash-Next). The server, web app, and API are identical for both; a run config simply names the engine to start. The engine is experimental and has only been tested on specific hardware configurations, primarily Linux with an NVIDIA card (RTX 20 or newer, tested on RTX 5090 with 32 GB VRAM, Xeon Platinum 8470Q CPU, and 120 GiB RAM, built with CUDA 12.8).\n\n## Performance and Measurements\nThe manual provides extensive benchmarking data comparing `strata-poly` against `llama.cpp` (from a neurall fork). For the `3.0BIT` model (113.6 GB, 3.0-bit quantization), `strata-poly` writes answers at 46 tokens/s after a 11,673-token prompt and 62-66", + "reasoning_chars": 0, + "step": "60K", + "run": 2 + } + ], + "recall": null +} \ No newline at end of file From 94b7987609c2d66eecf78479cd1bcdc5e2fb2130 Mon Sep 17 00:00:00 2001 From: Community Benchmarks <103804044+firetussin@users.noreply.github.com> Date: Thu, 3 Dec 2026 20:37:33 -0600 Subject: [PATCH 2/2] bench: link the Groot RX 6700 XT community row to its PR --- docs/COMMUNITY_BENCHMARKS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/COMMUNITY_BENCHMARKS.md b/docs/COMMUNITY_BENCHMARKS.md index 52c398c09..8a701dd5b 100644 --- a/docs/COMMUNITY_BENCHMARKS.md +++ b/docs/COMMUNITY_BENCHMARKS.md @@ -94,7 +94,7 @@ leaves out. | [KurrynDev13](https://github.com/simplexai-labs/PolyStrata/issues/364) | RTX 4070 SUPER 12 GB | Ryzen 9 7900X, 12 threads; 31.1 GiB DDR5-6000; Windows 11 Pro, CUDA 13 | Inkling 2 Mini UD-Q4_K_XL, official v0.2.20-poly.5 ready-made engine and reporter's ZHA+DSpark fork (`ccb4a18eb`) | 131K (`--kv fp8`, official) / 1M (`--kv k8v4`, fork with dynamic 64K-to-1M pinned leaves) | off (official) / DSpark Q8_0 `--window 4` (fork) | official v5 small-card: 41.9 at 32K, 26.3 at 131K, 24.1 at 192K (raw: 35.5 / 22.3); fork tuned ZHA+DSpark: 47.2 at 32K, 44.1 at 131K, and 37.7 down to 25.6 across a 32K-to-1M multi-turn ramp | official v5 small-card: 1,037 at 32K, 1,123 at 131K, 983 at 192K (OOM near 231.5K); fork tuned: 1,444 at 32K, 1,427 at 131K, 602 incremental at 1M | needle recall passed at every tested depth; shrinking the fork's 1M pinned host-RAM leaves back to 64K on a 1K prompt reclaimed 8.9 GiB working set | | [JuggyBob](https://github.com/simplexai-labs/PolyStrata/issues/397) | RX 7600 XT 16 GB (gfx1102) | CPU not stated, 8 threads; 31 GB; Windows 11, standalone HIP (`strata-inkling` 0.1.70 RDNA3) | Inkling 2 Mini GSQ-RCO IQ3_S, Q2_K_XL, and abliterated Mix-12G; all 3,072 experts in VRAM; 27 runs | 16K, `--kv fp16`, no tail-skip | off | 25.1 to 26.5 across all three files at 900 to 6.7K prompts (mean of 3 runs; Mix-12G held ~25.1 across a 4,096-token reply) | 530 to 541 at 0.9K, 592 to 603 at 3.4K, 602 to 620 at 6.7K (cold run 1) | Windows RDNA3 baseline after noting v0.2.20-poly.7 shipped CUDA-only on Windows | | [JuggyBob](https://github.com/simplexai-labs/PolyStrata/issues/403) | RX 7600 XT 16 GB (gfx1102) | CPU not stated, 8 threads; 31 GB; Windows 11, Adrenalin 26.11.2, local HIP build (ROCm 10.2) | Inkling 2 Mini GSQ-RCO IQ3_S and Q2_K_XL, `inkling2-amd-preview-3` (`55ca812`) built locally with four Windows HIP patches; 100% expert cache hit | 16K, `--kv fp16`, `--kv-whole`, no tail-skip | off | IQ3_S: 46.9 / 46.2 / 45.0 at 0.9K / 3.4K / 6.9K prompts; Q2_K_XL: 50.5 / 49.8 / 48.3 | not stated (engine load 29.2 s for IQ3_S, 25.6 s for Q2_K_XL) | about 1.8x to 2x faster writing and shorter load (~26–29 s vs ~40 s) than `strata-inkling` 0.1.70 in #397 on the same card; all 6 runs ended at the 4,096-token cap (`finish_reason=length`) | -| [firetussin](PR_URL) | RX 6700 XT 12 GB (gfx1031), the ready-made rdna2 HIP engine | Ryzen 5 3600; 56 GiB; Debian 13 Linux container on Proxmox, ROCm bundled with the engine | Groot 19B-A3B 261023 Q4_K_M (bartowski), v0.2.20-poly.9 (b9eced7b), `polystrata.py benchmark` and `tools/strata_bench.py`; 4,356 of 5,248 experts in VRAM at 32K | 32K setup defaults, `--kv-whole`; separately 64K and 262,144 | on, 54% to 73% of the guesses kept | strata_bench: 88 in a short chat, 90 in an agent session; `polystrata.py benchmark`: 92 after a 2.9K prompt, 61 after 31.8K | strata_bench: 1,655 at 4K, 1,253 at 16K; `polystrata.py benchmark`: 901 at 31.8K; a separate run at the full 262,144 context: 191 for a 261,487-token prompt (22.8 min to the first token) | the first report of Groot on an AMD card; vision on (CPU reader) and off measured the same; at 64K, `--kv q8_0` with `STRATA_HIP_SPLIT_ATTEND=2` raised decode after a 63K prompt from 56 to 78 tok/s, the first RDNA2 numbers for that switch | +| [firetussin](https://github.com/simplexai-labs/PolyStrata/pull/424) | RX 6700 XT 12 GB (gfx1031), the ready-made rdna2 HIP engine | Ryzen 5 3600; 56 GiB; Debian 13 Linux container on Proxmox, ROCm bundled with the engine | Groot 19B-A3B 261023 Q4_K_M (bartowski), v0.2.20-poly.9 (b9eced7b), `polystrata.py benchmark` and `tools/strata_bench.py`; 4,356 of 5,248 experts in VRAM at 32K | 32K setup defaults, `--kv-whole`; separately 64K and 262,144 | on, 54% to 73% of the guesses kept | strata_bench: 88 in a short chat, 90 in an agent session; `polystrata.py benchmark`: 92 after a 2.9K prompt, 61 after 31.8K | strata_bench: 1,655 at 4K, 1,253 at 16K; `polystrata.py benchmark`: 901 at 31.8K; a separate run at the full 262,144 context: 191 for a 261,487-token prompt (22.8 min to the first token) | the first report of Groot on an AMD card; vision on (CPU reader) and off measured the same; at 64K, `--kv q8_0` with `STRATA_HIP_SPLIT_ATTEND=2` raised decode after a 63K prompt from 56 to 78 tok/s, the first RDNA2 numbers for that switch | Setup offers Tiel Coder now (`--family tiel`), and not the HauhauCS file. How to give setup such a file is in the [FAQ](FAQ.md#can-i-run-a-fine-tune-or-another-model-with-the-same-architecture).