From c49ae310b8a9465c9576103551bfeb163fb457c1 Mon Sep 17 00:00:00 2001 From: Community Benchmarks <103804044+firetussin@users.noreply.github.com> Date: Fri, 4 Dec 2026 17:04:11 -0600 Subject: [PATCH 1/2] docs: Gemma 4 26B-A4B on RX 6700 XT (gfx1031), three sizes, poly.9 engine 0.1.66 Co-Authored-By: Claude Opus 5.5 --- docs/COMMUNITY_BENCHMARKS.md | 1 + .../2026-12-04-gemma4-rx6700xt-poly9/ENV.txt | 96 ++ .../README.md | 209 ++++ .../SHA256SUMS | 143 +++ .../extended-262144-UD-Q4_K_M-vision-off.json | 22 + .../extended-262144-UD-Q4_K_M-vision-on.json | 30 + ...fficial-32k-QAT-UD-Q4_K_XL-vision-off.json | 22 + ...official-32k-QAT-UD-Q4_K_XL-vision-on.json | 30 + .../official-32k-UD-Q3_K_M-vision-off.json | 22 + .../official-32k-UD-Q3_K_M-vision-on.json | 30 + .../official-32k-UD-Q4_K_M-vision-off.json | 22 + .../official-32k-UD-Q4_K_M-vision-on.json | 30 + .../vision-off/README-strata_bench.md | 1 + .../UD-Q4_K_M/vision-off/contention-log.json | 218 ++++ .../UD-Q4_K_M/vision-off/engine-requests.csv | 19 + .../UD-Q4_K_M/vision-off/extended.txt | 50 + .../UD-Q4_K_M/vision-off/max-context.txt | 5 + .../UD-Q4_K_M/vision-off/results.json | 655 ++++++++++++ .../vision-on/README-strata_bench.md | 1 + .../UD-Q4_K_M/vision-on/contention-log.json | 218 ++++ .../UD-Q4_K_M/vision-on/engine-requests.csv | 19 + .../extended/UD-Q4_K_M/vision-on/extended.txt | 50 + .../UD-Q4_K_M/vision-on/max-context.txt | 5 + .../extended/UD-Q4_K_M/vision-on/results.json | 655 ++++++++++++ .../extended/extended.py | 21 + .../A-polystrata-benchmark/A-24000-run1.json | 41 + .../A-polystrata-benchmark/A-24000-run1.txt | 9 + .../A-polystrata-benchmark/A-24000-run2.json | 41 + .../A-polystrata-benchmark/A-24000-run2.txt | 9 + .../A-polystrata-benchmark/A-24000-run3.json | 41 + .../A-polystrata-benchmark/A-24000-run3.txt | 9 + .../A-default-run1.json | 57 ++ .../A-polystrata-benchmark/A-default-run1.txt | 9 + .../A-default-run2.json | 57 ++ .../A-polystrata-benchmark/A-default-run2.txt | 9 + .../A-default-run3.json | 57 ++ .../A-polystrata-benchmark/A-default-run3.txt | 9 + .../vision-off/B-strata_bench/README.md | 64 ++ .../vision-off/B-strata_bench/results.json | 945 ++++++++++++++++++ .../B-strata_bench/strata_bench-console.txt | 65 ++ .../vision-off/engine-requests.csv | 57 ++ .../vision-off/experts-at-load.txt | 7 + .../QAT-UD-Q4_K_XL/vision-off/loads.csv | 8 + .../vision-off/metrics-totals-after-B.json | 1 + .../vision-off/server-starts.txt | 25 + .../A-polystrata-benchmark/A-24000-run1.json | 41 + .../A-polystrata-benchmark/A-24000-run1.txt | 9 + .../A-polystrata-benchmark/A-24000-run2.json | 41 + .../A-polystrata-benchmark/A-24000-run2.txt | 9 + .../A-polystrata-benchmark/A-24000-run3.json | 41 + .../A-polystrata-benchmark/A-24000-run3.txt | 9 + .../A-default-run1.json | 57 ++ .../A-polystrata-benchmark/A-default-run1.txt | 9 + .../A-default-run2.json | 57 ++ .../A-polystrata-benchmark/A-default-run2.txt | 9 + .../A-default-run3.json | 57 ++ .../A-polystrata-benchmark/A-default-run3.txt | 9 + .../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 | 17 + .../vision-on/engine-requests.csv | 58 ++ .../vision-on/experts-at-load.txt | 7 + .../QAT-UD-Q4_K_XL/vision-on/loads.csv | 8 + .../vision-on/metrics-totals-after-B.json | 1 + .../vision-on/server-starts.txt | 38 + .../A-polystrata-benchmark/A-24000-run1.json | 41 + .../A-polystrata-benchmark/A-24000-run1.txt | 9 + .../A-polystrata-benchmark/A-24000-run2.json | 41 + .../A-polystrata-benchmark/A-24000-run2.txt | 9 + .../A-polystrata-benchmark/A-24000-run3.json | 41 + .../A-polystrata-benchmark/A-24000-run3.txt | 9 + .../A-default-run1.json | 57 ++ .../A-polystrata-benchmark/A-default-run1.txt | 9 + .../A-default-run2.json | 57 ++ .../A-polystrata-benchmark/A-default-run2.txt | 9 + .../A-default-run3.json | 57 ++ .../A-polystrata-benchmark/A-default-run3.txt | 9 + .../vision-off/B-strata_bench/README.md | 64 ++ .../vision-off/B-strata_bench/results.json | 945 ++++++++++++++++++ .../B-strata_bench/strata_bench-console.txt | 65 ++ .../UD-Q3_K_M/vision-off/engine-requests.csv | 57 ++ .../UD-Q3_K_M/vision-off/experts-at-load.txt | 7 + .../official/UD-Q3_K_M/vision-off/loads.csv | 8 + .../vision-off/metrics-totals-after-B.json | 1 + .../UD-Q3_K_M/vision-off/server-starts.txt | 25 + .../A-polystrata-benchmark/A-24000-run1.json | 41 + .../A-polystrata-benchmark/A-24000-run1.txt | 9 + .../A-polystrata-benchmark/A-24000-run2.json | 41 + .../A-polystrata-benchmark/A-24000-run2.txt | 9 + .../A-polystrata-benchmark/A-24000-run3.json | 41 + .../A-polystrata-benchmark/A-24000-run3.txt | 9 + .../A-default-run1.json | 57 ++ .../A-polystrata-benchmark/A-default-run1.txt | 9 + .../A-default-run2.json | 57 ++ .../A-polystrata-benchmark/A-default-run2.txt | 9 + .../A-default-run3.json | 57 ++ .../A-polystrata-benchmark/A-default-run3.txt | 9 + .../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 | 17 + .../UD-Q3_K_M/vision-on/engine-requests.csv | 58 ++ .../UD-Q3_K_M/vision-on/experts-at-load.txt | 7 + .../official/UD-Q3_K_M/vision-on/loads.csv | 8 + .../vision-on/metrics-totals-after-B.json | 1 + .../UD-Q3_K_M/vision-on/server-starts.txt | 38 + .../A-polystrata-benchmark/A-24000-run1.json | 41 + .../A-polystrata-benchmark/A-24000-run1.txt | 9 + .../A-polystrata-benchmark/A-24000-run2.json | 41 + .../A-polystrata-benchmark/A-24000-run2.txt | 9 + .../A-polystrata-benchmark/A-24000-run3.json | 41 + .../A-polystrata-benchmark/A-24000-run3.txt | 9 + .../A-default-run1.json | 57 ++ .../A-polystrata-benchmark/A-default-run1.txt | 9 + .../A-default-run2.json | 57 ++ .../A-polystrata-benchmark/A-default-run2.txt | 9 + .../A-default-run3.json | 57 ++ .../A-polystrata-benchmark/A-default-run3.txt | 9 + .../vision-off/B-strata_bench/README.md | 64 ++ .../vision-off/B-strata_bench/results.json | 945 ++++++++++++++++++ .../B-strata_bench/strata_bench-console.txt | 65 ++ .../UD-Q4_K_M/vision-off/engine-requests.csv | 57 ++ .../UD-Q4_K_M/vision-off/experts-at-load.txt | 7 + .../official/UD-Q4_K_M/vision-off/loads.csv | 8 + .../UD-Q4_K_M/vision-off/server-starts.txt | 21 + .../A-polystrata-benchmark/A-24000-run1.json | 41 + .../A-polystrata-benchmark/A-24000-run1.txt | 9 + .../A-polystrata-benchmark/A-24000-run2.json | 41 + .../A-polystrata-benchmark/A-24000-run2.txt | 9 + .../A-polystrata-benchmark/A-24000-run3.json | 41 + .../A-polystrata-benchmark/A-24000-run3.txt | 9 + .../A-default-run1.json | 57 ++ .../A-polystrata-benchmark/A-default-run1.txt | 9 + .../A-default-run2.json | 57 ++ .../A-polystrata-benchmark/A-default-run2.txt | 9 + .../A-default-run3.json | 57 ++ .../A-polystrata-benchmark/A-default-run3.txt | 9 + .../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 | 17 + .../UD-Q4_K_M/vision-on/engine-requests.csv | 58 ++ .../UD-Q4_K_M/vision-on/experts-at-load.txt | 7 + .../official/UD-Q4_K_M/vision-on/loads.csv | 8 + .../UD-Q4_K_M/vision-on/server-starts.txt | 36 + .../tables.md | 112 +++ 147 files changed, 11891 insertions(+) create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/ENV.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/README.md create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/SHA256SUMS create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/extended-262144-UD-Q4_K_M-vision-off.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/extended-262144-UD-Q4_K_M-vision-on.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/official-32k-QAT-UD-Q4_K_XL-vision-off.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/official-32k-QAT-UD-Q4_K_XL-vision-on.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/official-32k-UD-Q3_K_M-vision-off.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/official-32k-UD-Q3_K_M-vision-on.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/official-32k-UD-Q4_K_M-vision-off.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/official-32k-UD-Q4_K_M-vision-on.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-off/README-strata_bench.md create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-off/contention-log.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-off/engine-requests.csv create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-off/extended.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-off/max-context.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-off/results.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-on/README-strata_bench.md create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-on/contention-log.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-on/engine-requests.csv create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-on/extended.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-on/max-context.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-on/results.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/extended.py create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run1.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run1.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run2.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run2.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run3.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run3.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run1.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run1.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run2.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run2.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run3.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run3.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/B-strata_bench/README.md create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/B-strata_bench/results.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/B-strata_bench/strata_bench-console.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/engine-requests.csv create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/experts-at-load.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/loads.csv create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/metrics-totals-after-B.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/server-starts.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run1.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run1.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run2.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run2.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run3.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run3.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run1.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run1.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run2.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run2.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run3.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run3.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/B-strata_bench/README.md create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/B-strata_bench/results.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/B-strata_bench/strata_bench-console.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/C-image-smoke/image-smoke.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/engine-requests.csv create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/experts-at-load.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/loads.csv create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/metrics-totals-after-B.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/server-starts.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run1.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run1.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run2.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run2.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run3.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run3.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run1.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run1.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run2.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run2.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run3.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run3.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/B-strata_bench/README.md create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/B-strata_bench/results.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/B-strata_bench/strata_bench-console.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/engine-requests.csv create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/experts-at-load.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/loads.csv create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/metrics-totals-after-B.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/server-starts.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run1.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run1.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run2.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run2.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run3.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run3.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run1.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run1.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run2.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run2.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run3.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run3.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/B-strata_bench/README.md create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/B-strata_bench/results.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/B-strata_bench/strata_bench-console.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/C-image-smoke/image-smoke.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/engine-requests.csv create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/experts-at-load.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/loads.csv create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/metrics-totals-after-B.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/server-starts.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run1.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run1.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run2.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run2.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run3.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run3.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run1.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run1.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run2.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run2.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run3.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run3.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/B-strata_bench/README.md create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/B-strata_bench/results.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/B-strata_bench/strata_bench-console.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/engine-requests.csv create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/experts-at-load.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/loads.csv create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/server-starts.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run1.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run1.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run2.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run2.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run3.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run3.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run1.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run1.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run2.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run2.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run3.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run3.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/B-strata_bench/README.md create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/B-strata_bench/results.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/B-strata_bench/strata_bench-console.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/C-image-smoke/image-smoke.json create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/engine-requests.csv create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/experts-at-load.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/loads.csv create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/server-starts.txt create mode 100644 docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/tables.md diff --git a/docs/COMMUNITY_BENCHMARKS.md b/docs/COMMUNITY_BENCHMARKS.md index fdbe807ac..71f9c10d0 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 | Gemma 4 26B-A4B UD-Q4_K_M, UD-Q3_K_M and QAT-UD-Q4_K_XL with their Q8_0 draft files, v0.2.20-poly.9 (b9eced7b), engine 0.1.66, `polystrata.py benchmark` and `tools/strata_bench.py`; 1,858 / 2,659 / 2,472 of 3,840 experts in VRAM at 32K | 32K setup defaults, `--kv-whole`; separately 262,144 for UD-Q4_K_M | on, 51% to 74% of the guesses kept | strata_bench short chat: 73 / 74 / 85 (Q4_K_M / Q3_K_M / QAT); `polystrata.py benchmark`: 57 / 63 / 72 in a short chat, 54–55 after 31K | strata_bench: 1,056 / 1,358 / 1,318 at 4K, 1,044 / 1,126 / 1,116 at 16K; `polystrata.py benchmark`: 821 / 855 / 842 at 31K; at the full 262,144 context, 221 for a 249,017-token prompt (18.8 min of prefill) | three of setup's four sizes on one AMD card; vision on (CPU reader) and off measured the same; this card's 0.1.45 Gemma report of 2026-11-10 wrote the same short-chat speed (72.5) | 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-04-gemma4-rx6700xt-poly9/ENV.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/ENV.txt new file mode 100644 index 000000000..f613ff0c7 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/ENV.txt @@ -0,0 +1,96 @@ +Gemma 4 26B-A4B on PolyStrata v0.2.20-poly.9, AMD RX 6700 XT (gfx1031), 2026-12-04 (UTC) +Community measurement by a home-lab maintenance agent. Not the draft standard protocol (strata bench run has no Gemma 4 profile). + +SETUP +- PolyStrata v0.2.20-poly.9, commit b9eced7b (checkout used for serve/server.py, polystrata.py, setup.py pins, tools/vision). +- strata-poly engine 0.1.66, the release's ready-made package strata-poly-linux-x64-hip-rdna2-798eb331d6e15658.tar.gz + (180,987,316 bytes, sha256 8fbec6b2fd58f686c4a5ef6ca0ef38a5758afd4c1c257447744033dff3b55a91, matches the GitHub asset digest). + BUILD.json: source release-hip, family rdna2 (gfx1030/1031/1032), src 798eb331d6e15658, ROCm 10.2.0a20260930 bundled, vision none. + strata-poly binary sha256 2fc096f918d1662b1c5eea5387aea5eb8d0f1bf1c6cec405cd769d925cb57413. +- Vision: the rdna2 package has no picture reader. strata-vision (CPU reader, "own tower" gemma4v) was compiled from the poly.9 checkout: + cmake -S terminal/tools/vision -G Ninja -DCMAKE_BUILD_TYPE=Release -DSTRATA_VISION_CUDA=OFF -DSTRATA_PORTABLE=OFF; target strata-vision. + Binary sha256 a0f943d68db86d9e3b3e01f1eca24ba1635491ef2a783fa82aa56a85d610034b. Vision section as setup writes it for a CPU reader: + gpu false, max_tokens 300, threads 5 (cpu_count // 2). No VRAM used by the reader. +- Setup: setup.py was NOT run for these quants. Run configs were written by hand in setup's format (strata-.json beside polystrata.py) with + setup's defaults for this card: --max-context 32768, --conversation-cache-mib auto, --kv-whole, --draft-model ; threads and VRAM + reserve left to the engine (it chose 7 CPU threads). reasoning_effort none / reasoning_budget_tokens 512 server defaults (the benchmark tools + set their own thinking per request: polystrata.py benchmark uses --think medium). +- --conversation-cache-mib auto resolved to 8192 MiB, up to 4 parked conversations (engine log: "conversation cache sized from the free RAM"), + at every load, 32K and 262K alike. + +MODELS (all sizes and sha256 match terminal/setup.py pins of poly.9) +- UD-Q4_K_M: unsloth/gemma-4-26B-A4B-it-GGUF, gemma-4-26B-A4B-it-UD-Q4_K_M.gguf, 16,947,541,728 bytes, + sha256 f2c28b3dc4776931ac6f879e11f203dec637ea0f14267a86ec8f6165f63f293f. Downloaded 2026-10-19 by an earlier PolyStrata setup + (commit 26e4cb5d), whose pin for this repository is the same revision c099eb48e663fd284577b04978a94ffccb261841; the file hash matches poly.9's pin. +- UD-Q3_K_M: same repo at revision c099eb48e663fd284577b04978a94ffccb261841, gemma-4-26B-A4B-it-UD-Q3_K_M.gguf, 12,728,497,888 bytes, + sha256 811882f6df81c8ea204a5d382f196d6bd601245091786912d4c70df41cdfa052. +- Draft for UD-Q4_K_M and UD-Q3_K_M: MTP/mtp-gemma-4-26B-A4B-it-Q8_0.gguf, 461,766,816 bytes, + sha256 6326fb9f5e487aa8dcdd313a091e3c67724cb2a666ec3b7d2895b5b26d93ed1b. +- mmproj for UD-Q4_K_M and UD-Q3_K_M: mmproj-F16.gguf at revision c099eb48..., 1,193,058,784 bytes, + sha256 418a6d8723067cd712235facbbc5cba6c8fbbd413fc1292d2aace5a027d5a42f. +- QAT-UD-Q4_K_XL: unsloth/gemma-4-26B-A4B-it-qat-GGUF at revision 7b92b5b28818151e8669af2e45e88d6086f490dd, + gemma-4-26B-A4B-it-qat-UD-Q4_K_XL.gguf, 14,249,047,104 bytes, sha256 a7c5bc715f5ff8e99a3e8901ce7d2b42b402c669bf24f7c5250747633d0f5891; + its own draft MTP/mtp-gemma-4-26B-A4B-it-Q8_0.gguf, 461,785,600 bytes, sha256 75f58e20c32281d1adc086c0569d53f147e8d81a7b8493cf4a73a028415f67af; + its own mmproj-F16.gguf, 1,193,058,784 bytes, sha256 d00f211a7d4f7fb19bd9b75d8e9342eccffb5920b08fd9562167560fdfcc5dd1. +- Tokenizer: the gemma4 tokenizer pack written by that same earlier setup (2026-10-19, commit 26e4cb5d), used for all three sizes. It has no + version field; file sha256: chat_template.jinja 845f1ee48e39fc942fe190da9df6a1c5db229e17a96ea08966ad1c9274e73d1b, + merges.json 5559bcf26deec637ff8107e4379b90ae35ad59469b25e0b3bad610ae6c7c6bc4, token_type.json 5a1960565004f4ec12210cc671c9dfd2cbe8ce30c575469128d342dc4db26cbd, + tokenizer.json 869d2eeee353e0af375d6b0f1bde01350da5652d241312e71b1b387961db9b4c, vocab.json 680c1dc49f8c7ed3a76006aea67942f6c6359413e03098d02b87de30ef77944a. + +HARDWARE / OS +- GPU: AMD Radeon RX 6700 XT, 12 GB (gfx1031), PCIe 4.0 x16, VBIOS 113-D51210-R67XTA, power cap 211 W (also its maximum; stock). + Driver: the amdgpu module of kernel 7.0.14-29-pve (in-tree; no separate version). Firmware package pve-firmware 3.18-9; loaded firmware: + SMC 65.63.0 (0x00413f00), ME 0x40, MEC 0x86, RLC 0x4a, SDMA0 0x54, VCN 0x04121022, DMCUB 0x02020023. CPU: AMD Ryzen 5 3600 (6 cores; 10 threads visible to the container). +- RAM: 56 GiB visible to the container (about 54 GiB available at start). Storage: NVMe SSD. +- OS: Debian 13 in an LXC container on Proxmox VE, kernel 7.0.14-29-pve. Python 3.13.5. +- Nothing else used the GPU during the runs. + +ISOLATION +- Every official and extended run used a server bound to 127.0.0.1 only; no other machine could connect. Benchmarks ran on the same machine. +- Every request the engine served is in engine-requests.csv (one line per request, logged by the engine itself), and loads.csv counts them + per server start: A default loads served 3 requests (short, ~3K, ~10.7K), A 24000 loads 2 (short, ~31K), B loads the strata_bench + requests only (41), plus in vision-on sets the one C image request, which ran on the same server right after B (42). +- /metrics totals: metrics-totals-after-B.json (UD-Q3_K_M and QAT sets: the B server's totals at the end of the set). For the UD-Q4_K_M sets + the run log kept only a truncated /metrics request list, not totals, so there is no such file; loads.csv/engine-requests.csv cover them. + Extended: /metrics totals before and after every step in contention-log.json. +- Fresh server start before every A run and before B; the extended runs start once per mode. + +METHOD +- official/// + A-polystrata-benchmark: `python polystrata.py benchmark --model ` x3 at default prompts (2000,8000 -> 3,040 and 10,662 tokens) and + x3 at `--prompt-tokens 24000` (31,065 tokens), fresh load each run. JSON and console text per run. + B-strata_bench: `tools/strata_bench.py --url http://127.0.0.1:8080 --runs 3 --clients 2 --long` (community quick speed check), from the + poly.6 checkout's copy of the tool (sha256 ab04904640477048dc4a8f92a2c946b9c733a569c322835c5e76dcbf6373115f), the same copy + used for this card's earlier reports. The 32K prompt step was skipped by the tool + because the context is 32K. + C-image-smoke (vision-on only): one request with docs/media/terminal-monitor.png from the poly.9 repository and the question in the JSON. + engine-requests.csv: the engine's own per-request line (prefill, decode, drafts accepted/offered); "load" 1-6 = the A runs in the order + default-run1..3, 24000-run1..3, load 7 = B. + experts-at-load.txt: one line per load: routed experts the engine put in VRAM. + loads.csv: per load, start time, requests the engine logged, whether the server's ready line said "images on", and whether the image + encoder actually started during that load. + server-starts.txt: the server's own console lines at each start (scrubbed). In vision-on sets every load prints "loading the vision + encoder" and "ready: ... images on". The encoder process itself is elastic: it starts with the first picture and stops after 120 s + without one, so it only ran during the C image request (load 7 of each vision-on set). Text requests never start it. + No engine-log-excerpt.txt: strata_bench writes it only when it starts the server itself; here it was given --url to a running server. +- extended/UD-Q4_K_M//: official settings with only --max-context changed. 262144 (GGUF native) loaded first try. + Fresh prompts via strata_bench's own run_prompt: 4K,16K,32K,64K,128K x3; 192K x1; "max" (asked 261,844) x1; "fill" (asked 273,890) x1. +- Order: UD-Q4_K_M vision off, vision on (12:08-12:24Z); UD-Q3_K_M and QAT-UD-Q4_K_XL off/on (19:53-20:25Z); extended off (20:26-21:35Z), + on (21:35-22:45Z). + +CAVEATS +- All runs exit 0; 0 failed requests; nothing rerun. +- The largest fresh prompt that completed is 249,017 tokens: the fill text came to fewer Gemma tokens than asked. 262,144 is the context + that loaded, not a measured near-262K prompt. +- "VRAM GiB" in polystrata.py benchmark is the whole card's use at its highest (12 GB card), not the engine's alone; RAM is the container's. +- The UD-Q3_K_M / QAT-UD-Q4_K_XL official runs and both extended runs started server.py without an API key (health shows api_key false); + bound to 127.0.0.1 only. The UD-Q4_K_M official runs had a key. No effect on the measurement expected. +- polystrata.py benchmark's GPU % and VRAM come from the server's /metrics hardware readings, which worked on this AMD card. +- extended/extended.py replaces strata_bench's Suite.run to step custom sizes and record /metrics; it returns the results as upstream run() + does. It also skips Suite.run's warm_up(), which holds the calibration step (tokens per word measured from two tiny requests). Without + it, prompt_for() used strata_bench's defaults (1.1 tokens per word, 40 tokens overhead), so every extended prompt came out about 9% + smaller than its target: the 4K step read 3,748 tokens where the official B 4K reads 4,101, and the fill step 249,017 instead of + about 273,890. The same target numbers were used (4096, 16384, ...). The tokens actually read are recorded per request in results.json + and engine-requests.csv, and are the ones to quote. With no warm-up, the first 4K request of each mode is also the first request after + load (951 and 956 tok/s against about 1,010 for runs 2-3). +- Differences from setup's pins/defaults: none in files. Hand-written configs instead of setup.py; vision reader compiled locally. diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/README.md b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/README.md new file mode 100644 index 000000000..108a35acf --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/README.md @@ -0,0 +1,209 @@ +# Gemma 4 26B-A4B on an RX 6700 XT 12 GB (AMD HIP): three sizes, engine 0.1.66 + +Community measurement, 2026-12-04, PolyStrata v0.2.20-poly.9 with the ready-made rdna2 HIP engine `strata-poly` 0.1.66. +It covers three of the four sizes setup offers: **UD-Q4_K_M**, **UD-Q3_K_M** (the installer's default) and +**QAT-UD-Q4_K_XL**. UD-Q2_K_XL, the low-RAM fallback, was not tested. All results come from one card. Where a figure is noisy, the text says so. + +The report has two parts that must not be mixed: + +1. **Official tools, setup defaults (32K).** `polystrata.py benchmark` and `tools/strata_bench.py` (the community quick + check). Each size ran with vision off and with vision on, and each vision-on set includes a one-image smoke test. +2. **Extended context (not a standard suite).** UD-Q4_K_M only: fresh prompts from 4K up to the model's full 262,144-token + context, in both vision modes. + +`strata bench run` was not used, because its draft protocol has no Gemma 4 profile. + +This card already has a Gemma 4 UD-Q4_K_M row from the older engine 0.1.45 +([2026-11-10](../2026-11-10-community-rx6700xt-poly9/README.md)). The settings differ, so +[the comparison below](#against-this-cards-earlier-report) is not a controlled engine test. + +## Setup + +- PolyStrata v0.2.20-poly.9 (`b9eced7b`). Engine `strata-poly` 0.1.66, the release's ready-made package + `strata-poly-linux-x64-hip-rdna2-798eb331d6e15658.tar.gz` (SHA-256 `8fbec6b2…3b55a91`, matching the GitHub asset digest; + bundled ROCm 10.2.0a20260930). +- That package has no picture reader. For vision-on, the CPU `strata-vision` was compiled from the same poly.9 checkout and used + as setup configures a CPU reader: up to 300 tokens per picture, 5 threads, no VRAM. Every vision-on load (21 of 21) printed + "loading the vision encoder" and "ready: … images on"; no vision-off load did (`loads.csv`, `server-starts.txt` per set). + The reader is elastic: it starts with the first picture, so it actually ran only for the image smoke test. +- Models (all byte sizes and SHA-256 hashes match the pins in poly.9's `setup.py`): + + | Size | File | Bytes | SHA-256 | Draft model | Projector | + | --- | --- | ---: | --- | --- | --- | + | UD-Q4_K_M | `unsloth/gemma-4-26B-A4B-it-GGUF` revision `c099eb48` (setup's pin), `gemma-4-26B-A4B-it-UD-Q4_K_M.gguf` | 16,947,541,728 | `f2c28b3d…f63f293f` | `mtp-gemma-4-26B-A4B-it-Q8_0.gguf` (`6326fb9f…`) | `mmproj-F16.gguf` (`418a6d87…`) | + | UD-Q3_K_M | same repo, revision `c099eb48`, `gemma-4-26B-A4B-it-UD-Q3_K_M.gguf` | 12,728,497,888 | `811882f6…41cdfa052` | same as above | same as above | + | QAT-UD-Q4_K_XL | `unsloth/gemma-4-26B-A4B-it-qat-GGUF` revision `7b92b5b2`, `gemma-4-26B-A4B-it-qat-UD-Q4_K_XL.gguf` | 14,249,047,104 | `a7c5bc71…d0f5891` | its own `mtp-…-Q8_0.gguf` (`75f58e20…`) | its own `mmproj-F16.gguf` (`d00f211a…`) | + + Full hashes are in `ENV.txt`. +- Configs were written by hand in setup's format, with setup's defaults for this card. `setup.py` itself was not run for these + sizes. Defaults used: `--max-context 32768`, `--conversation-cache-mib auto` (8,192 MiB, 4 parked conversations), `--kv-whole` and the draft model. Threads and + VRAM reserve were left to the engine, which chose 7 threads and a 383 MiB reserve. +- PC: Radeon RX 6700 XT 12 GB (gfx1031, RDNA2, PCIe 4.0 x16, 211 W power cap, in-kernel amdgpu; firmware versions in `ENV.txt`), Ryzen 5 3600 (6 cores; the container sees 10 CPUs). The container has + 56 GiB of RAM (about 54 GiB free at start) and runs on an NVMe SSD. +- OS: Debian 13 Linux container on Proxmox VE (kernel 7.0), with the GPU passed through. Python 3.13.5. +- Every server was bound to 127.0.0.1 only, so no other machine could connect, and nothing else used the GPU. The engine logs + every request it serves, and its per-load counts (`loads.csv`, `engine-requests.csv`) match the benchmark's requests exactly. + `/metrics` totals are included for the UD-Q3_K_M and QAT sets and the extended runs; for the UD-Q4_K_M sets only the request + counts were kept. +- Tools: + - `polystrata.py benchmark` from the poly.9 checkout. + - `tools/strata_bench.py` from a poly.6 checkout, the same copy used for this card's Groot report (#424). It is byte-identical + to poly.9's (SHA-256 `ab049046…`). The 2026-11-10 report used an older version of the tool (`aa2672be…`). +- Server configs (paths replaced) are in `configs/`. Environment and method notes are in `ENV.txt`. + +## 1. Official tools, setup defaults (32K context) + +Experts in VRAM at load, out of 3,840 routed experts: + +| Size | Experts in VRAM | +| --- | ---: | +| UD-Q4_K_M | 1,858 (6.5 GiB) | +| UD-Q3_K_M | 2,659 (6.7 GiB) | +| QAT-UD-Q4_K_XL | 2,472 (7.7 GiB) | + +### `python polystrata.py benchmark` + +The server was freshly loaded before every run. Each set ran 3 times with the default prompts and 3 times with +`--prompt-tokens 24000`. The tool asks for `--think medium` on each request. Values are medians with the range in brackets. "Drafts kept" is accepted over offered, pooled over +the 3 runs. VRAM is the whole card's peak (12 GB card). The tool's RAM column is left out: on Linux it does not include the +mapped model. + +Vision off: + +| Size | Prompt, tokens | Prefill, tokens/s | Decode, tokens/s | Drafts kept | TTFT, s | Peak VRAM | +| --- | ---: | ---: | ---: | ---: | ---: | ---: | +| UD-Q4_K_M | 23 | 42.5 (42.3–43.0) | 56.7 (55.7–58.2) | 64.0% | 0.68 | 11.62 GiB | +| | 3,040 | 988.4 (984.6–989.8) | 74.6 (68.8–77.5) | 74.2% | 3.12 | 11.60 GiB | +| | 10,662 | 994.7 (990.1–997.2) | 64.3 (63.8–65.8) | 56.2% | 9.08 | 11.61 GiB | +| | 31,065 | 820.6 (820.4–823.4) | 55.4 (48.9–56.2) | 62.0% | 37.87 | 11.61 GiB | +| UD-Q3_K_M | 23 | 48.7 (47.6–48.7) | 63.3 (62.9–64.4) | 56.1% | 0.61 | 11.63 GiB | +| | 3,040 | 1,023.5 (972.3–1,029.8) | 66.6 (66.6–72.5) | 55.3% | 3.07 | 11.58 GiB | +| | 10,662 | 1,068.9 (1,066.1–1,069.0) | 66.4 (63.6–68.2) | 55.4% | 8.98 | 11.58 GiB | +| | 31,065 | 855.3 (854.1–856.3) | 53.8 (53.8–54.0) | 51.0% | 36.38 | 11.58 GiB | +| QAT-UD-Q4_K_XL | 23 | 54.8 (54.5–54.9) | 71.5 (69.4–71.7) | 60.5% | 0.59 | 11.63 GiB | +| | 3,040 | 905.0 (903.2–908.1) | 72.9 (69.2–73.1) | 62.4% | 3.51 | 11.61 GiB | +| | 10,662 | 1,058.1 (1,057.8–1,058.4) | 68.3 (65.0–69.9) | 52.3% | 9.42 | 11.61 GiB | +| | 31,065 | 841.9 (838.7–845.6) | 54.7 (49.2–59.0) | 52.3% | 36.99 | 11.61 GiB | + +The 23-token row is from the default-prompt runs. The `--prompt-tokens 24000` runs repeat it, with the same results within +1 tok/s with vision off and within 2.2 tok/s with vision on. + +In `polystrata.py benchmark`, vision on matched vision off within noise for every size: prefill within 1% for every prompt of +3K tokens or more, and decode medians up to 3.0 tok/s apart. The share of drafts kept varied more (for example QAT at 31K: +52.3% off, 61.4% on). The CPU reader uses no VRAM and does nothing for text prompts, so this mainly shows that loading it +costs nothing. The full +vision-on tables are in [`tables.md`](tables.md), and the raw JSON is under `official//vision-on/`. + +### `python tools/strata_bench.py --clients 2 --long` (3 runs, the default) + +| Size | Vision | Short chat decode | Drafts kept (chat) | Agent session decode | 4K prefill | 16K prefill | 2 clients, total | Failures | +| --- | --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: | +| UD-Q4_K_M | off | 73.0 (64.8–97.0) | 62.4% | 72.6 (59.2–81.1) | 1,056 (1,034–1,165) | 1,044 (962–1,047) | 49.2 | 0 | +| | on | 72.9 (62.3–91.4) | 62.2% | 72.9 (62.0–80.6) | 1,146 (1,054–1,164) | 1,049 (1,047–1,050) | 48.8 | 0 | +| UD-Q3_K_M | off | 74.1 (70.9–104.3) | 60.4% | 80.4 (67.5–98.9) | 1,358 (1,087–1,379) | 1,126 (1,120–1,132) | 46.2 | 0 | +| | on | 76.8 (68.1–104.9) | 62.0% | 78.0 (60.9–92.2) | 1,379 (1,081–1,384) | 1,122 (1,118–1,134) | 46.5 | 0 | +| QAT-UD-Q4_K_XL | off | 84.7 (74.1–104.3) | 64.8% | 75.2 (69.5–87.7) | 1,318 (972–1,339) | 1,116 (1,104–1,122) | 41.0 | 0 | +| | on | 87.3 (78.0–109.8) | 67.0% | 77.6 (72.9–91.4) | 1,316 (983–1,338) | 1,118 (1,102–1,122) | 41.1 | 0 | + +All values are tokens/s. The tool skipped its 32K step, because the context is 32K. The agent session's cache hit rate was 68% +for every size. + +### Image smoke test (vision on) + +One request per size with `docs/media/terminal-monitor.png` from the poly.9 repository (312 prompt tokens), asking what kind of +screen it is and what it shows. All three answered correctly in general terms (a monitoring dashboard for a local LLM server; +QAT read the "Strata Monitor" title) and stopped normally, in 11.7–11.8 s. The questions and answers are in +`official//vision-on/C-image-smoke/`. + +### What stands out + +- **QAT-UD-Q4_K_XL writes fastest in a short chat:** 71.5 tok/s (`polystrata.py benchmark`) and 85–87 (strata_bench), against + 57 and 73 for UD-Q4_K_M. It also holds 2,472 experts in VRAM to UD-Q4_K_M's 1,858. +- **UD-Q3_K_M has the highest prefill medians:** 1,358 / 1,379 tok/s (vision off / on) at 4K in strata_bench, 3–5% over QAT, + with overlapping run ranges; about 1% over QAT at 10K–16K. Its drafts are kept least often in most rows (51–57% in + `polystrata.py benchmark`). +- **At 31K the three sizes come together:** 821–855 tok/s prefill and 54–55 tok/s decode with vision off (up to + 58 with vision on). The 31K decode ranges are wide + (for example 48.9–56.2), so differences of a few tok/s there are noise. +- strata_bench's two-client step totalled 41–49 tok/s. The server has one parallel slot (no `--batch`), so the two requests + run in turn and this is not a concurrency result. The order flips here: QAT has the lowest total (41.0). + +### Against this card's earlier report + +The [2026-11-10 report](../2026-11-10-community-rx6700xt-poly9/README.md) measured Gemma 4 UD-Q4_K_M with strata_bench on +engine 0.1.45. Besides the engine version, that run differed in several ways: 64K context, 8 workers, a 1,024 MiB reserve, conversation +cache 0, an `--expert-profile` seed, a locally compiled native gfx1031 build on ROCm 7.13 (this report uses the ready-made +package with bundled ROCm 10.2), an older strata_bench (`aa2672be…`), and strata_bench starting the server itself. +The prompts were the same size (4,101 and 16,390 tokens). + +| Engine | Short chat decode | 4K prefill | 16K prefill | 32K prefill | +| --- | ---: | ---: | ---: | ---: | +| 0.1.45, 64K settings (Nov 10) | 72.5 (60.7–92.1) | 978 | 985 | 819 | +| 0.1.66, setup defaults at 32K (this report) | 73.0 (64.8–97.0) | 1,056 | 1,044 | not run (32K context) | + +Chat decode is unchanged. Prefill is 6–8% higher, but the +8% at 4K is inside this report's own run-to-run spread +(1,034–1,165), so 16K (+6%) is the steadier figure. Agent-session decode was 72.6 tok/s against 67.8. With this many +differences, none of these gaps can be put down to the engine alone. + +## 2. Extended context (not a standard suite) + +UD-Q4_K_M with the official settings, with only `--max-context` changed. **262,144** (the GGUF's native context) loaded on the +first try. With the full-context KV cache, 601 of 3,840 experts fit in VRAM (2.1 GiB), against 1,858 at 32K. + +Fresh prompts came from strata_bench's own prompt runner, stepped by a small wrapper (`extended.py`, included) that replaces +the tool's suite loop and records `/metrics` per step: 3 runs each from 4K to 128K, and 1 run each above that. Replacing the +loop also skipped the tool's warm-up, which calibrates words per token. So every prompt came out about 9% under its target +(the "4K" step is 3,748 tokens, where strata_bench's calibrated 4K is 4,101), and each mode's first 4K request was the first +after load (951 and 956 tok/s, against 995–1,020 for the others). The table gives the tokens actually read. Values are the +engine's per-request lines. Decode comes from 24-token answers, so treat it as noisy. + +| Prompt, tokens | Runs | Prefill, tokens/s | Prefill time | Decode, tokens/s | +| ---: | ---: | ---: | ---: | ---: | +| 3,748 | 3 | 1,008 (951–1,020) | 4 s | 51 (29–53) | +| 14,920 | 3 | 1,042 (1,039–1,047) | 14 s | 54 (53–54) | +| 29,814 | 3 | 856 (849–872) | 35 s | 45 (43–46) | +| 59,603 | 3 | 619 (610–629) | 96 s | 38 (35–41) | +| 119,182 | 3 | 398 (397–400) | 5.0 min | 26 (26–33) | +| 178,761 | 1 | 292 | 10.2 min | 27 | +| 238,066 | 1 | 230 | 17.3 min | 17 | +| 249,017 | 1 | 221 | 18.8 min | 16 | + +Vision off is shown. Vision on is the same within 2% for prefill at every step. Its table is in [`tables.md`](tables.md). + +The largest prompt that completed has 249,017 tokens. The last step asked for 273,890 tokens +of filler, but for the reason above that text came to fewer Gemma tokens. So 262,144 is the context that loaded, not a measured near-262K prompt. There were no failures. + +## Not measured + +- One card only, and one set of 3 runs per configuration. UD-Q2_K_XL was not tested. +- Extended context was run for UD-Q4_K_M only, and without the tool's calibration (see section 2). +- Measured on v0.2.20-poly.9. v0.2.20-poly.10, with a new rdna2 package, was released during the runs and is not covered. +- No quality or accuracy scoring. The image test is a single smoke check. +- Whole-machine RAM was not measured. The tool's RAM column on Linux leaves out the mapped model. +- `STRATA_FATTN`/`FDEC` were not tried, and no tuning was done: this report uses setup defaults only. +- The UD-Q3_K_M and QAT runs and both extended runs had no API key on the server (it was bound to localhost). The UD-Q4_K_M + official runs had one. That should not affect the speed. +- strata_bench wrote no engine-log excerpt: it does that only when it starts the server itself, and every run here used `--url` + against a running server. +- strata_bench's own README text says "the install's own configuration, unchanged" and "not a git checkout". That is the + tool's generated text: configs were written by hand in setup's format, and the tool ran from a poly.6 checkout copy. +- strata_bench's machine block shows `"drafting": "off"` under `engine_info`, while the engine's per-request counters show + drafts offered and accepted in every run. The tables use the counters. The same card's Groot report (#424) shows the same field. + +## Files + +| Path | Contents | +| --- | --- | +| `official//vision-{off,on}/A-polystrata-benchmark/` | 6 raw `polystrata.py benchmark` runs per size and mode (JSON and console text each) | +| `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 and answer | +| `official//vision-{off,on}/engine-requests.csv` | The engine's per-request lines, with drafts accepted and offered (loads 1–3 A default, 4–6 A 24000, 7 B and, for vision on, the image test) | +| `official//vision-{off,on}/loads.csv`, `server-starts.txt` | Each load's start time, request count and vision state, and the server's own start lines (scrubbed) | +| `official/{UD-Q3_K_M,QAT-UD-Q4_K_XL}/*/metrics-totals-after-B.json` | Server `/metrics` totals after each strata_bench run | +| `official//vision-{off,on}/experts-at-load.txt` | Experts placed in VRAM at each load | +| `extended/extended.py` | The wrapper used for section 2 | +| `extended/UD-Q4_K_M/vision-{off,on}/` | strata_bench results and console output, per-request engine timings (CSV), `/metrics` before and after each step, max-context note | +| `configs/` | Each server config, with paths replaced | +| `ENV.txt` | Versions, hashes, hardware and method notes | +| `tables.md` | Every table, generated from the raw files | +| `SHA256SUMS` | Checksums of every raw file (not this README or `tables.md`) | diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/SHA256SUMS b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/SHA256SUMS new file mode 100644 index 000000000..690045ee9 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/SHA256SUMS @@ -0,0 +1,143 @@ +3585d92fe490e0d3570e2b866b5db1f541fe4aad1d9bd510b7a67a798851626b ENV.txt +cb77f66aae88ec4b3e0b06a43bcc1f8d6baf96f4926d58991f190d3a20eb650c configs/extended-262144-UD-Q4_K_M-vision-off.json +35ed689d9cf92239a602af10570713cf4e98a30b9825693e1caf9dc75f1d53e4 configs/extended-262144-UD-Q4_K_M-vision-on.json +92888441a54783ff6afd3e2a7bbecb4789d5c9a731c0b1a967bae2f9105e05b3 configs/official-32k-QAT-UD-Q4_K_XL-vision-off.json +b4f5128c1e1eaed87f901b85f7e2071817d49131794dea3d423005bc14825122 configs/official-32k-QAT-UD-Q4_K_XL-vision-on.json +81e22f7364a71e3603131da21266d8d1647d9bf66ebc623c14f75ab7f9b3743f configs/official-32k-UD-Q3_K_M-vision-off.json +cf2688f50ea23d33f708970df5140b50abfec3672d8c036c8049ff95d03eba1e configs/official-32k-UD-Q3_K_M-vision-on.json +c701d2971f9272d499a0beb6059dfd8fce633b733d3887354bec9d3f3684293e configs/official-32k-UD-Q4_K_M-vision-off.json +91dd9a65db0046f1b16435170b9f6257977adf257b73860eecfa63facb826615 configs/official-32k-UD-Q4_K_M-vision-on.json +fc8c1ef25f2e5363937908ea25c3a79084788c5e9dae2994c35bdb104a504d44 extended/UD-Q4_K_M/vision-off/README-strata_bench.md +65eaacfbbb041335453f021e57f412993713216e62eead533715e81644b75bc0 extended/UD-Q4_K_M/vision-off/contention-log.json +dc6e98b8a7f711bacf20a390a83dc7fb069b8f8d9fe3815a49ef2c49fb66b836 extended/UD-Q4_K_M/vision-off/engine-requests.csv +092662f6c28d187e04e1983f49acc60fd221f08d78909f4df1b65d22b9762601 extended/UD-Q4_K_M/vision-off/extended.txt +171265e7b4e499002bc43f194870493b4406f917789e31e7ba9233e370e307da extended/UD-Q4_K_M/vision-off/max-context.txt +f3c82886f0237e046be3e9163e2031b62a596dc92958a117e9ff482b7f04de07 extended/UD-Q4_K_M/vision-off/results.json +fc8c1ef25f2e5363937908ea25c3a79084788c5e9dae2994c35bdb104a504d44 extended/UD-Q4_K_M/vision-on/README-strata_bench.md +9160247bb6526ddcf161e2d486d267c988c99b1250e60a748d26bec063c5b83a extended/UD-Q4_K_M/vision-on/contention-log.json +4c18f8a553fd034ef9cacb57c1222fa3e5f913568e97d721187844c3fb719eda extended/UD-Q4_K_M/vision-on/engine-requests.csv +050b9846cfc1eabcfbe4f61a7fbd4aacda0e25a658c29756a314460a227b2c6a extended/UD-Q4_K_M/vision-on/extended.txt +2f8bd84e5dd9dfdbf08fd45392b0e3153808fb531de991f034ce0d87076f3030 extended/UD-Q4_K_M/vision-on/max-context.txt +6dd8b4ecf194a70ca9ca7f98dc46a629a696f9e56d9dd8829a5ec305283d2d34 extended/UD-Q4_K_M/vision-on/results.json +b31d0db27bf4048f4b4a10123d2e6f34a122f8878c04e9ad61f05adbc5aafed0 extended/extended.py +3827e7682d1964090d67ca134eb84744038a4391e21b281fafcbce74cd0bf9d1 official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run1.json +1b1771def5fe74cb64457f0cda3f3616ab7d29144a5d2c9d9d0e27b7b759d5ed official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run1.txt +c89fcfaefffd66e5a7c46a5d8e837e6c926915cf75346f06bb205452e4e58bf3 official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run2.json +f978e1c445a0a8fa1d883ee30162f56692684b41f79f3653fd72ff720376e891 official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run2.txt +07b346c4135a53941846fd91ab85a5663daca33e3048c9b001aaa58502faefd4 official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run3.json +2171c22d5271219fb337017c5b168a55eb6f90ac89c319eeef4054497cd34515 official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run3.txt +a882f72417e7997ad1cbcf4cd452c466ab784007e32ca4c040b0992eb2de6964 official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run1.json +4d81ed29893b21b4aa1b64853b52f8a7437416680bad37f7e244d0a3a5afee37 official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run1.txt +2175feffdbcafd6409884ba8fb713c29a25a1b8a000db0e952f8a1d5b91a9385 official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run2.json +a889b49cb91b31d0fc6fef7684a09a6119e47cf7821d00c3f6951347ecc2a3c8 official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run2.txt +f695ef0ad855e39c754f6808e750e8f481a1e8e00b8e099aa72ffa877e487bef official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run3.json +7b657db42c487bd82b4893afb0e59c9808516149f22a90fa1084519e04ed368b official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run3.txt +65a09f18b7f190b9e7b6535d18d816af0120a9e022fe218b69896c56a2212eec official/QAT-UD-Q4_K_XL/vision-off/B-strata_bench/README.md +40d3e59e102ac1962685ca5eda460cdc57f2836cad307255bec21579c05ababd official/QAT-UD-Q4_K_XL/vision-off/B-strata_bench/results.json +2e3d63d93c96df931e0ba2c7582a223bf9e0c45edfc964e033cf22aa3f5d7419 official/QAT-UD-Q4_K_XL/vision-off/B-strata_bench/strata_bench-console.txt +5e0bfd932c19218031559d7d50b8aeaf12799cb5672d1c7c197c5149ce8b5ba6 official/QAT-UD-Q4_K_XL/vision-off/engine-requests.csv +b25d210e255fba90ebf4d726fdae840e443b7c27833e426dbd51b6ab6f87f33f official/QAT-UD-Q4_K_XL/vision-off/experts-at-load.txt +34714380e666912ab070588b309c219fdfed4b231579deae5f082319fc4a449d official/QAT-UD-Q4_K_XL/vision-off/loads.csv +e38a31bc31bb5978c1b6cc4f8b2c460a8ee9ae1cfc7ced78daf198685d946d31 official/QAT-UD-Q4_K_XL/vision-off/metrics-totals-after-B.json +329502038a7d766ab3da6d6a95e1feb9657fa1d5cc161d76e7e1c65fa8d9b44b official/QAT-UD-Q4_K_XL/vision-off/server-starts.txt +86bd63fd6f38af2fb221a79cf0d845f4b0c4f83c5092fb266653c1fe06e2b85a official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run1.json +9d7f58ac37c70519ab7fe4caf2b3ba0fb2f2ed2fb3b79b2222b06a2ece66fd29 official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run1.txt +b186b2f7cc77b39c7b3a9f3340226cabf8968ca76e4999c78c62f98a37e1ce25 official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run2.json +9e1c098109612d7523eab3cc498860d4d418e80e33950c70263501051a8ba2d5 official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run2.txt +296a11b326471a32af3aad35790dea17ecba201ed02638603ec7ae5cbc84356a official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run3.json +1f4e6ded59bd957d989be341ecc0dee4692bafd559e8e9c19d79089cf947c80f official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run3.txt +aa96d8634cc08348e3a337567dd88dd4b77973cff09a4f847eb4a6f6d3c16f11 official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run1.json +e07c0fa711e8403405bbc2afd2b67e23189aa8918003a62904d3669a7f616c71 official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run1.txt +91a5e7452c3a9596e79f9d036d2e025e310b6c28737a906bb033c7e8b8982cea official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run2.json +c3de8d487f9c1bbd3af0e81914610afe3a08cf4fa8bd75e9c0bd3b2f80988fbd official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run2.txt +625356714adc2a0772de440fa2c536a4532b1f5f9ab1dff055cc6119a2e484a9 official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run3.json +d089e5ddb0f4b0de47a09c76b7296df21ac888e99326ebfb99a63102ea823163 official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run3.txt +fcd184c006ae30171893edcf65a3c6b525b5bcf0c80a5fc63b34ff83e86f88a7 official/QAT-UD-Q4_K_XL/vision-on/B-strata_bench/README.md +fa773b233c111d159cb52e1aabfc58e07e122085164579574ef294d0d8743779 official/QAT-UD-Q4_K_XL/vision-on/B-strata_bench/results.json +961ca04810c440abfd70a58be66dd4523c464649ac4a1b5e378fe50d21e212da official/QAT-UD-Q4_K_XL/vision-on/B-strata_bench/strata_bench-console.txt +c4e9fd4a0413c560b658446d098bcfed1fbf17213cc8a38a062f6884fe7b6396 official/QAT-UD-Q4_K_XL/vision-on/C-image-smoke/image-smoke.json +66a53c2d2ccc449017a2206d5b1f60000b3bad82969658cac51fb00b2c3398b8 official/QAT-UD-Q4_K_XL/vision-on/engine-requests.csv +61ec6a7213a678ba69c0075a09b71e048fbeab6fbc6b52c557ebe795d15fec80 official/QAT-UD-Q4_K_XL/vision-on/experts-at-load.txt +be7168cb42d3b5cef562f1905555a77b61a112b524cd69dc56cf8691d484adec official/QAT-UD-Q4_K_XL/vision-on/loads.csv +317526fac70bdcd44b1c702f50ec87915d615518900d7052c46a5666cb8ede6f official/QAT-UD-Q4_K_XL/vision-on/metrics-totals-after-B.json +63f9e4eb47eb158923c3192f206867674bee4e03cce4ea5918c64336a6405996 official/QAT-UD-Q4_K_XL/vision-on/server-starts.txt +168e30152f2cffc2a213ef52ca0491fb94a199ec882bb25d23301e205d0aafb9 official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run1.json +b9b518ed82c3273f1dab1bebde58d64654e73c37772837b3c59095323101d89d official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run1.txt +c670798081b21cf330e1ab3fc184eae404a2b93cc9cc05bdaceb841cba0d0b59 official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run2.json +9b05acdcab572021b3e100cd19cc1b586d21d1a15e7b033cf69cc51faf49ad87 official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run2.txt +b95bdd7c0e78c761bbefcf9f225a0bd0c4d66056065a2e8cb6ba85b5f434ae74 official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run3.json +cf9ec86c502bd992cde86c5daf98ab214b3d4e329c6ddb0e5d6cde8a4b56414a official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run3.txt +fdb2407d04b416644cad439378a8f1b37ea21cfb623d623d8f185481a3424ee1 official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run1.json +7697a559e5ae8ff54b67935f4bf2e92093526ebe69663929d9d6c005b607a9b8 official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run1.txt +c45a596e857ee40877b5b0f448ee74dc61e9af7d5d3ff09303f4d04c183e34a2 official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run2.json +5540e32447bd33bc67a79fc23c2d3a181036e268cb0a2940f0ecac56f0681c0a official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run2.txt +c4c637d34252cdbd66dd1a45fa7fdab7e05b2b2d867d288eb8339ceeb8393bc7 official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run3.json +aaa967ad1d7f5fa2c2f8b1bfbf2ad143040219370c6217375a080c2d60508746 official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run3.txt +4fae7ea15dd0c579482a7e46da726d5e322763d4d7adef61a2aa55d2b25b7a93 official/UD-Q3_K_M/vision-off/B-strata_bench/README.md +c32575b57654bedba341e0d9a488c2419077e29ffc1e9a4663da3aba267d5a65 official/UD-Q3_K_M/vision-off/B-strata_bench/results.json +0ddbdf2a4de1bda81c4b04442d9685c48d732061e32e1ff6e05798d825eca853 official/UD-Q3_K_M/vision-off/B-strata_bench/strata_bench-console.txt +2e16961cbdf548ed161ddedc4c0efff13383c86fdd27324b07b8f7cbd0e580c4 official/UD-Q3_K_M/vision-off/engine-requests.csv +d5434b8ebb4385d22999791629a3ec680328904020806a99ee9e056324103c5e official/UD-Q3_K_M/vision-off/experts-at-load.txt +8d03f813880daf9128f06eb0832e213fbc9e53c509380642e35a05150cb28ba2 official/UD-Q3_K_M/vision-off/loads.csv +f883c59203ac9954e37af5864271dfa39c41c834cf359371c1d19b4824ad8c50 official/UD-Q3_K_M/vision-off/metrics-totals-after-B.json +5962718cdae15d712317810e0c16f22febd39ed5d2741877c74cb594863d18c6 official/UD-Q3_K_M/vision-off/server-starts.txt +7917dc27e05ea22be634511977f85d137852ad96f231731fe78661346d3b6d7b official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run1.json +b93ff8517900968f0b7b49d28f6594bdfba2282efc645ccde881f136d0d56552 official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run1.txt +1094b4742c1a27f38630670484dcee553f14c8dfe359f73f15e8650fdb23e561 official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run2.json +6896aa7885cef5f42108fc6d468eeebc397e007011b16ffc65552d55b273aeb0 official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run2.txt +75b2908958ab968120b7d4e3f53506c123ffed9476f4146fccfebbcb6dcb80d5 official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run3.json +1545f305ecb743ef55796262813a569296ae3250b1ff9ab782b24b91f09ee0b4 official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run3.txt +c462756f6b93a1ce98dc40dae50b66f7c4e5b242919c51e093365c85e7dee58d official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run1.json +39adf8ee8190c9824703e9fcd19ecf7fb04f10ce2f8ba9afd8c3557f6f878df8 official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run1.txt +096bfa8328e9a032fe61b19996abe84ff4c86810e971253bcef088e5bcd844ba official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run2.json +e97bf1fa80377aa89b1464ca848d4ed24e9376dd0ad4a5b259813382fad676b5 official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run2.txt +55f2a55a04281a8f75b6e319dcd1ef259171a7608c30ae00c56e92a199c33002 official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run3.json +d930c28be6d64323faec2d9cc934d8079c241fe6bf9ac54814528c806d1a5270 official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run3.txt +40bb567dfb8c3a634553ffc5e33513d86d5691524ba42a87effc676165cc9f27 official/UD-Q3_K_M/vision-on/B-strata_bench/README.md +b8149338a640f4317cfa6feb8fd9442e698f5bf724eeef721273ea51b428803d official/UD-Q3_K_M/vision-on/B-strata_bench/results.json +39a546abc7b1faa870e218c30d547699280c8b23f8fbe7652b402eaf4f36e882 official/UD-Q3_K_M/vision-on/B-strata_bench/strata_bench-console.txt +9eea9fb06e8369c2fac334c92b2383038e0ad4ad681d49d799156d1af6c1d859 official/UD-Q3_K_M/vision-on/C-image-smoke/image-smoke.json +5c52a19206b0464ba30a78905c3e27714d9342785ba98751aedb1588973a1267 official/UD-Q3_K_M/vision-on/engine-requests.csv +5d8d0055e42499052771eb92d34328c2fe7aea7308de711063a16386801603ad official/UD-Q3_K_M/vision-on/experts-at-load.txt +55fbc0ca4d0b78df4bb50459340a3e566db4ebe17a1e479f2ab55eea365661cd official/UD-Q3_K_M/vision-on/loads.csv +275bf6bcbab69b01db2d3f8d774adb87a2e3e7d98a77132e0fca229b2d33dc3e official/UD-Q3_K_M/vision-on/metrics-totals-after-B.json +592024fdc505a212a04b34b2b0ae34c671d45aff7548003e3babbab2f355f368 official/UD-Q3_K_M/vision-on/server-starts.txt +7864dd696171326a9a837f1727a56c49cd4fa8edff0cd7b53a9a4a75afd9dd1f official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run1.json +33403acc50da3b4ff66bdfb7d3fa607abdc3904f82e384fcbc3d0eeb4d4308de official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run1.txt +4fa60b4d73a3f72061af8f8fcbd53adeb00dc2e4986d83e78186c873a0dafa7e official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run2.json +ac91f847111561e5c596af9532fdc83d4c1080c14ce1358dd3ef24f2945b9c61 official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run2.txt +4c07f03455ca794184090161a091b0436eaa88c157d6fa0e3d9f5861186e108c official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run3.json +62f11f8efdfc83563aadbb2d1ea2f3cf659c1209311edc2c4742f7be2c0d29f7 official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run3.txt +26ac6cf11fdcde6fb4c35d622faf28e16e04a8c788d3fda4309207560f6df4e9 official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run1.json +91ac2913e9c189ab76c7489f4579f9a302f907de073c60ec85e9d6861eb53daa official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run1.txt +fa56a79ea7ececffa6f7c01d98b388a8a689b8d2329d8cd8aae530437caa159e official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run2.json +85c808029d2024958f5080567347a6457197dc8c7d69388469f3daf35f636acf official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run2.txt +14968fcc16007e8f24f50ef6368d5c43f04b9c76670f0bc50012bee6540dccdb official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run3.json +4c3e0b20b4d17d19ece00e47f41ea9b7c93a88ebb334817022672473dbc8b4e8 official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run3.txt +f54028185f77082f38281791a314a9be791dd41ef06bc62e0b6382167c04bd6a official/UD-Q4_K_M/vision-off/B-strata_bench/README.md +3f1ca59fb6cd32eef6e3eb523ad514a46416a59c01e976823dbda501be9c09af official/UD-Q4_K_M/vision-off/B-strata_bench/results.json +6407f0fac94f5d613e0ef2f416168391d6b73f0284f22974df951a044680f679 official/UD-Q4_K_M/vision-off/B-strata_bench/strata_bench-console.txt +4dc60448e7a4f8ada9292071ba210aa8bcd65885009571617a0d37ef04502965 official/UD-Q4_K_M/vision-off/engine-requests.csv +0d6608e6b0c22ad4d6dc0a2629cfafae38428828149f2a5792e2993494fa5498 official/UD-Q4_K_M/vision-off/experts-at-load.txt +c80fc02aee1df820278f2708978636b61630e9711a0380b2c6961609f6828d68 official/UD-Q4_K_M/vision-off/loads.csv +67ae00c7cbf8bdab22e118dde249274fb2f3b78415174b98cd9155eb0f5fc63f official/UD-Q4_K_M/vision-off/server-starts.txt +d1a343d7fb45644357fb14a7951f07aee0394d3ac9c12b4ce358a6c7fe28ec74 official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run1.json +0f10fcdad069cd002865b90c9f0a0a59a5d96adf6f806bfe6e829ea3ed6e7f8a official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run1.txt +c199fd17c23cd040cc5b766f6e13497a57d6ff480da7c9e856cd6fa3cf40a54b official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run2.json +f8f12d19d95901942fef7ebbb7267bf9c36e318881ff4966c3c7f7ed8f699dac official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run2.txt +dd1fc5caf1d10669e78642bbdf11eead126c215e251285d034d86b57f265045c official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run3.json +b07050059127f8e6f93566a4c857ab0fcac74854873eefb098f61afa093b0648 official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run3.txt +c827efcbc0d71ba8f16c611f4186d83ef6a9c40bd9ba7f41278f87c37d86db7b official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run1.json +db2a5420a1de1155b1b36d5c79c20d261638034f0666934842c3e5770ff37bcc official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run1.txt +11d110de748a09c7bb0e67a6866ba31e0ef9cc44574d46ad84fc460a87307dae official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run2.json +960a71671320e93f00017f901680b1d8a6af6680f18fa89b5979afd4c6c50220 official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run2.txt +3a017a48906443d372d1465ed06282f98c61f3d8f166ba5ab05265f581f06a0b official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run3.json +1d281c64e9a3330f6d078553109aa6fe9bf50a083e60e0f7cc3c0d81c4f15a01 official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run3.txt +08f885810fac794e0b6b7cea732e4d21438f3b4b31b22c65444af6d00ef78bf5 official/UD-Q4_K_M/vision-on/B-strata_bench/README.md +27e6237d11da19b7778601d0287c7981dba0bd2abed954ae6bac50c761145d6a official/UD-Q4_K_M/vision-on/B-strata_bench/results.json +ce7ac98c8b78a869fe3539d97575d83328aba912c51d22f6eb688e7b632348c0 official/UD-Q4_K_M/vision-on/B-strata_bench/strata_bench-console.txt +0d50d966f29cb4cba0887777b290d1e29c27c5fa1ee42887a9d4fe0e9c0f57fe official/UD-Q4_K_M/vision-on/C-image-smoke/image-smoke.json +242c38be8a997584d2a3e589128aecfa91c3a78add6202b1e81f8c9f61a8e901 official/UD-Q4_K_M/vision-on/engine-requests.csv +c21f650e1e5f4badf0df7a2ab3ca2286ac340f6405d705737394b55dad79a70c official/UD-Q4_K_M/vision-on/experts-at-load.txt +264d9c9bdb65a4b01350b7714666826efa9d0cddeed3d95ac2cc87c0289c8851 official/UD-Q4_K_M/vision-on/loads.csv +f5b6382d404dbd3ba89fe03af103cce35b54d634b8b41afac6918f736c3a2f06 official/UD-Q4_K_M/vision-on/server-starts.txt diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/extended-262144-UD-Q4_K_M-vision-off.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/extended-262144-UD-Q4_K_M-vision-off.json new file mode 100644 index 000000000..a4c16fc79 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/extended-262144-UD-Q4_K_M-vision-off.json @@ -0,0 +1,22 @@ +{ + "exe": "/strata-poly", + "args": [ + "--model", + "/gemma4-UD-Q4_K_M/gemma-4-26B-A4B-it-UD-Q4_K_M.gguf", + "--max-context", + "262144", + "--draft-model", + "/gemma4-UD-Q4_K_M/mtp-gemma-4-26B-A4B-it-Q8_0.gguf", + "--conversation-cache-mib", + "auto", + "--kv-whole" + ], + "tokenizer": "/gemma4-ud-q4_k_m/tokenizer", + "model_name": "gemma-4-26b-a4b-ud-q4_k_m", + "lib_dirs": [ + "/rocm/lib" + ], + "backend": "hip", + "reasoning_effort": "none", + "reasoning_budget_tokens": 512 +} diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/extended-262144-UD-Q4_K_M-vision-on.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/extended-262144-UD-Q4_K_M-vision-on.json new file mode 100644 index 000000000..6b02bae0b --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/extended-262144-UD-Q4_K_M-vision-on.json @@ -0,0 +1,30 @@ +{ + "exe": "/strata-poly", + "args": [ + "--model", + "/gemma4-UD-Q4_K_M/gemma-4-26B-A4B-it-UD-Q4_K_M.gguf", + "--max-context", + "262144", + "--draft-model", + "/gemma4-UD-Q4_K_M/mtp-gemma-4-26B-A4B-it-Q8_0.gguf", + "--conversation-cache-mib", + "auto", + "--kv-whole" + ], + "tokenizer": "/gemma4-ud-q4_k_m/tokenizer", + "model_name": "gemma-4-26b-a4b-ud-q4_k_m", + "lib_dirs": [ + "/rocm/lib" + ], + "backend": "hip", + "reasoning_effort": "none", + "reasoning_budget_tokens": 512, + "vision": { + "exe": "/strata-vision", + "mmproj": "/gemma4-UD-Q4_K_M/mmproj-F16.gguf", + "model": "/gemma4-UD-Q4_K_M/gemma-4-26B-A4B-it-UD-Q4_K_M.gguf", + "gpu": false, + "max_tokens": 300, + "threads": 5 + } +} diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/official-32k-QAT-UD-Q4_K_XL-vision-off.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/official-32k-QAT-UD-Q4_K_XL-vision-off.json new file mode 100644 index 000000000..1515bca89 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/official-32k-QAT-UD-Q4_K_XL-vision-off.json @@ -0,0 +1,22 @@ +{ + "exe": "/strata-poly", + "args": [ + "--model", + "/gemma4-QAT-UD-Q4_K_XL/gemma-4-26B-A4B-it-qat-UD-Q4_K_XL.gguf", + "--max-context", + "32768", + "--draft-model", + "/gemma4-QAT-UD-Q4_K_XL/mtp-gemma-4-26B-A4B-it-Q8_0.gguf", + "--conversation-cache-mib", + "auto", + "--kv-whole" + ], + "tokenizer": "/gemma4-ud-q4_k_m/tokenizer", + "model_name": "gemma-4-26b-a4b-qat-ud-q4_k_xl", + "lib_dirs": [ + "/rocm/lib" + ], + "backend": "hip", + "reasoning_effort": "none", + "reasoning_budget_tokens": 512 +} diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/official-32k-QAT-UD-Q4_K_XL-vision-on.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/official-32k-QAT-UD-Q4_K_XL-vision-on.json new file mode 100644 index 000000000..071d498a6 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/official-32k-QAT-UD-Q4_K_XL-vision-on.json @@ -0,0 +1,30 @@ +{ + "exe": "/strata-poly", + "args": [ + "--model", + "/gemma4-QAT-UD-Q4_K_XL/gemma-4-26B-A4B-it-qat-UD-Q4_K_XL.gguf", + "--max-context", + "32768", + "--draft-model", + "/gemma4-QAT-UD-Q4_K_XL/mtp-gemma-4-26B-A4B-it-Q8_0.gguf", + "--conversation-cache-mib", + "auto", + "--kv-whole" + ], + "tokenizer": "/gemma4-ud-q4_k_m/tokenizer", + "model_name": "gemma-4-26b-a4b-qat-ud-q4_k_xl", + "lib_dirs": [ + "/rocm/lib" + ], + "backend": "hip", + "reasoning_effort": "none", + "reasoning_budget_tokens": 512, + "vision": { + "exe": "/strata-vision", + "mmproj": "/gemma4-QAT-UD-Q4_K_XL/mmproj-F16.gguf", + "model": "/gemma4-QAT-UD-Q4_K_XL/gemma-4-26B-A4B-it-qat-UD-Q4_K_XL.gguf", + "gpu": false, + "max_tokens": 300, + "threads": 5 + } +} diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/official-32k-UD-Q3_K_M-vision-off.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/official-32k-UD-Q3_K_M-vision-off.json new file mode 100644 index 000000000..95beab2c4 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/official-32k-UD-Q3_K_M-vision-off.json @@ -0,0 +1,22 @@ +{ + "exe": "/strata-poly", + "args": [ + "--model", + "/gemma4-UD-Q3_K_M/gemma-4-26B-A4B-it-UD-Q3_K_M.gguf", + "--max-context", + "32768", + "--draft-model", + "/gemma4-UD-Q4_K_M/mtp-gemma-4-26B-A4B-it-Q8_0.gguf", + "--conversation-cache-mib", + "auto", + "--kv-whole" + ], + "tokenizer": "/gemma4-ud-q4_k_m/tokenizer", + "model_name": "gemma-4-26b-a4b-ud-q3_k_m", + "lib_dirs": [ + "/rocm/lib" + ], + "backend": "hip", + "reasoning_effort": "none", + "reasoning_budget_tokens": 512 +} diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/official-32k-UD-Q3_K_M-vision-on.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/official-32k-UD-Q3_K_M-vision-on.json new file mode 100644 index 000000000..a433b4dd5 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/official-32k-UD-Q3_K_M-vision-on.json @@ -0,0 +1,30 @@ +{ + "exe": "/strata-poly", + "args": [ + "--model", + "/gemma4-UD-Q3_K_M/gemma-4-26B-A4B-it-UD-Q3_K_M.gguf", + "--max-context", + "32768", + "--draft-model", + "/gemma4-UD-Q4_K_M/mtp-gemma-4-26B-A4B-it-Q8_0.gguf", + "--conversation-cache-mib", + "auto", + "--kv-whole" + ], + "tokenizer": "/gemma4-ud-q4_k_m/tokenizer", + "model_name": "gemma-4-26b-a4b-ud-q3_k_m", + "lib_dirs": [ + "/rocm/lib" + ], + "backend": "hip", + "reasoning_effort": "none", + "reasoning_budget_tokens": 512, + "vision": { + "exe": "/strata-vision", + "mmproj": "/gemma4-UD-Q4_K_M/mmproj-F16.gguf", + "model": "/gemma4-UD-Q3_K_M/gemma-4-26B-A4B-it-UD-Q3_K_M.gguf", + "gpu": false, + "max_tokens": 300, + "threads": 5 + } +} diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/official-32k-UD-Q4_K_M-vision-off.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/official-32k-UD-Q4_K_M-vision-off.json new file mode 100644 index 000000000..8f6888eef --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/official-32k-UD-Q4_K_M-vision-off.json @@ -0,0 +1,22 @@ +{ + "exe": "/strata-poly", + "args": [ + "--model", + "/gemma4-UD-Q4_K_M/gemma-4-26B-A4B-it-UD-Q4_K_M.gguf", + "--max-context", + "32768", + "--draft-model", + "/gemma4-UD-Q4_K_M/mtp-gemma-4-26B-A4B-it-Q8_0.gguf", + "--conversation-cache-mib", + "auto", + "--kv-whole" + ], + "tokenizer": "/gemma4-ud-q4_k_m/tokenizer", + "model_name": "gemma-4-26b-a4b-ud-q4_k_m", + "lib_dirs": [ + "/rocm/lib" + ], + "backend": "hip", + "reasoning_effort": "none", + "reasoning_budget_tokens": 512 +} diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/official-32k-UD-Q4_K_M-vision-on.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/official-32k-UD-Q4_K_M-vision-on.json new file mode 100644 index 000000000..e4436d368 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/configs/official-32k-UD-Q4_K_M-vision-on.json @@ -0,0 +1,30 @@ +{ + "exe": "/strata-poly", + "args": [ + "--model", + "/gemma4-UD-Q4_K_M/gemma-4-26B-A4B-it-UD-Q4_K_M.gguf", + "--max-context", + "32768", + "--draft-model", + "/gemma4-UD-Q4_K_M/mtp-gemma-4-26B-A4B-it-Q8_0.gguf", + "--conversation-cache-mib", + "auto", + "--kv-whole" + ], + "tokenizer": "/gemma4-ud-q4_k_m/tokenizer", + "model_name": "gemma-4-26b-a4b-ud-q4_k_m", + "lib_dirs": [ + "/rocm/lib" + ], + "backend": "hip", + "reasoning_effort": "none", + "reasoning_budget_tokens": 512, + "vision": { + "exe": "/strata-vision", + "mmproj": "/gemma4-UD-Q4_K_M/mmproj-F16.gguf", + "model": "/gemma4-UD-Q4_K_M/gemma-4-26B-A4B-it-UD-Q4_K_M.gguf", + "gpu": false, + "max_tokens": 300, + "threads": 5 + } +} diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-off/README-strata_bench.md b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-off/README-strata_bench.md new file mode 100644 index 000000000..67e81fb6e --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-off/README-strata_bench.md @@ -0,0 +1 @@ +# extended-context run (D): see results.json; README of the quick check does not apply diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-off/contention-log.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-off/contention-log.json new file mode 100644 index 000000000..ef6c9b493 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-off/contention-log.json @@ -0,0 +1,218 @@ +[ + { + "label": "4K", + "tokens": 4096, + "runs": 3, + "metrics_before": { + "since": 1796415962.435877, + "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": 1796415962.435877, + "requests": 3, + "prompt_tokens": 11244, + "reused": 0, + "output_tokens": 72, + "prompt_ms": 11332.599999999999, + "decode_ms": 1747.8999999999999, + "drafts_offered": 57, + "drafts_accepted": 37 + } + }, + { + "label": "16K", + "tokens": 16384, + "runs": 3, + "metrics_before": { + "since": 1796415962.435877, + "requests": 3, + "prompt_tokens": 11244, + "reused": 0, + "output_tokens": 72, + "prompt_ms": 11332.599999999999, + "decode_ms": 1747.8999999999999, + "drafts_offered": 57, + "drafts_accepted": 37 + }, + "metrics_after": { + "since": 1796415962.435877, + "requests": 6, + "prompt_tokens": 56004, + "reused": 0, + "output_tokens": 144, + "prompt_ms": 54254.3, + "decode_ms": 3089.7999999999993, + "drafts_offered": 126, + "drafts_accepted": 79 + } + }, + { + "label": "32K", + "tokens": 32768, + "runs": 3, + "metrics_before": { + "since": 1796415962.435877, + "requests": 6, + "prompt_tokens": 56004, + "reused": 0, + "output_tokens": 144, + "prompt_ms": 54254.3, + "decode_ms": 3089.7999999999993, + "drafts_offered": 126, + "drafts_accepted": 79 + }, + "metrics_after": { + "since": 1796415962.435877, + "requests": 9, + "prompt_tokens": 145446, + "reused": 0, + "output_tokens": 216, + "prompt_ms": 158395.40000000002, + "decode_ms": 4698.699999999999, + "drafts_offered": 208, + "drafts_accepted": 118 + } + }, + { + "label": "64K", + "tokens": 65536, + "runs": 3, + "metrics_before": { + "since": 1796415962.435877, + "requests": 9, + "prompt_tokens": 145446, + "reused": 0, + "output_tokens": 216, + "prompt_ms": 158395.40000000002, + "decode_ms": 4698.699999999999, + "drafts_offered": 208, + "drafts_accepted": 118 + }, + "metrics_after": { + "since": 1796415962.435877, + "requests": 12, + "prompt_tokens": 324255, + "reused": 0, + "output_tokens": 288, + "prompt_ms": 447181.2, + "decode_ms": 6609.999999999999, + "drafts_offered": 276, + "drafts_accepted": 154 + } + }, + { + "label": "128K", + "tokens": 131072, + "runs": 3, + "metrics_before": { + "since": 1796415962.435877, + "requests": 12, + "prompt_tokens": 324255, + "reused": 0, + "output_tokens": 288, + "prompt_ms": 447181.2, + "decode_ms": 6609.999999999999, + "drafts_offered": 276, + "drafts_accepted": 154 + }, + "metrics_after": { + "since": 1796415962.435877, + "requests": 15, + "prompt_tokens": 681801, + "reused": 0, + "output_tokens": 360, + "prompt_ms": 1344900.8, + "decode_ms": 9218.199999999999, + "drafts_offered": 340, + "drafts_accepted": 188 + } + }, + { + "label": "192K", + "tokens": 196608, + "runs": 1, + "metrics_before": { + "since": 1796415962.435877, + "requests": 15, + "prompt_tokens": 681801, + "reused": 0, + "output_tokens": 360, + "prompt_ms": 1344900.8, + "decode_ms": 9218.199999999999, + "drafts_offered": 340, + "drafts_accepted": 188 + }, + "metrics_after": { + "since": 1796415962.435877, + "requests": 16, + "prompt_tokens": 860562, + "reused": 0, + "output_tokens": 384, + "prompt_ms": 1957991.1, + "decode_ms": 10119.099999999999, + "drafts_offered": 359, + "drafts_accepted": 200 + } + }, + { + "label": "max-262144", + "tokens": 261844, + "runs": 1, + "metrics_before": { + "since": 1796415962.435877, + "requests": 16, + "prompt_tokens": 860562, + "reused": 0, + "output_tokens": 384, + "prompt_ms": 1957991.1, + "decode_ms": 10119.099999999999, + "drafts_offered": 359, + "drafts_accepted": 200 + }, + "metrics_after": { + "since": 1796415962.435877, + "requests": 17, + "prompt_tokens": 1098628, + "reused": 0, + "output_tokens": 408, + "prompt_ms": 2994270.4000000004, + "decode_ms": 11499.199999999999, + "drafts_offered": 375, + "drafts_accepted": 207 + } + }, + { + "label": "fill-262144", + "tokens": 273890, + "runs": 1, + "metrics_before": { + "since": 1796415962.435877, + "requests": 17, + "prompt_tokens": 1098628, + "reused": 0, + "output_tokens": 408, + "prompt_ms": 2994270.4000000004, + "decode_ms": 11499.199999999999, + "drafts_offered": 375, + "drafts_accepted": 207 + }, + "metrics_after": { + "since": 1796415962.435877, + "requests": 18, + "prompt_tokens": 1347645, + "reused": 0, + "output_tokens": 432, + "prompt_ms": 4120480.3000000003, + "decode_ms": 12960.699999999999, + "drafts_offered": 396, + "drafts_accepted": 219 + } + } +] \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-off/engine-requests.csv b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-off/engine-requests.csv new file mode 100644 index 000000000..047f51125 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-off/engine-requests.csv @@ -0,0 +1,19 @@ +load,prompt_tokens,reused,read,prefill_ms,prefill_tok_s,generated,decode_ms,decode_tok_s,drafts_accepted,drafts_offered +1,3748,0,3748,3941,951.1,24,826,29.1,13,21 +1,3748,0,3748,3674,1020.2,24,452,53.1,12,18 +1,3748,0,3748,3718,1008.0,24,470,51.0,12,18 +1,14920,0,14920,14362,1038.9,24,443,54.2,14,18 +1,14920,0,14920,14246,1047.3,24,443,54.2,14,25 +1,14920,0,14920,14314,1042.3,24,456,52.6,14,26 +1,29814,0,29814,34203,871.7,24,554,43.3,13,29 +1,29814,0,29814,34820,856.2,24,520,46.1,13,26 +1,29814,0,29814,35118,849.0,24,534,44.9,13,27 +1,59603,0,59603,94749,629.1,24,694,34.6,11,25 +1,59603,0,59603,97762,609.7,24,592,40.6,13,22 +1,59603,0,59603,96274,619.1,24,626,38.3,12,21 +1,119182,0,119182,298326,399.5,24,933,25.7,12,25 +1,119182,0,119182,299411,398.1,24,940,25.5,10,21 +1,119182,0,119182,299983,397.3,24,735,32.7,12,18 +1,178761,0,178761,613090,291.6,24,901,26.6,12,19 +1,238066,0,238066,1036279,229.7,24,1380,17.4,7,16 +1,249017,0,249017,1126210,221.1,24,1462,16.4,12,21 diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-off/extended.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-off/extended.txt new file mode 100644 index 000000000..315d44cd3 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-off/extended.txt @@ -0,0 +1,50 @@ +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: 3748 tokens, prompt 951.1 tok/s (0 reused), first token 4.11 s + run 2: 3748 tokens, prompt 1020.2 tok/s (0 reused), first token 3.848 s + run 3: 3748 tokens, prompt 1008.0 tok/s (0 reused), first token 3.758 s +16K prompt: 3 fresh prompts of about 16384 tokens, 24 new tokens + run 1: 14920 tokens, prompt 1038.9 tok/s (0 reused), first token 14.685 s + run 2: 14920 tokens, prompt 1047.3 tok/s (0 reused), first token 14.717 s + run 3: 14920 tokens, prompt 1042.3 tok/s (0 reused), first token 14.376 s +32K prompt: 3 fresh prompts of about 32768 tokens, 24 new tokens + run 1: 29814 tokens, prompt 871.7 tok/s (0 reused), first token 34.895 s + run 2: 29814 tokens, prompt 856.2 tok/s (0 reused), first token 34.914 s + run 3: 29814 tokens, prompt 849.0 tok/s (0 reused), first token 35.214 s +64K prompt: 3 fresh prompts of about 65536 tokens, 24 new tokens + run 1: 59603 tokens, prompt 629.1 tok/s (0 reused), first token 96.35 s + run 2: 59603 tokens, prompt 609.7 tok/s (0 reused), first token 97.918 s + run 3: 59603 tokens, prompt 619.1 tok/s (0 reused), first token 96.431 s +128K prompt: 3 fresh prompts of about 131072 tokens, 24 new tokens + run 1: 119182 tokens, prompt 399.5 tok/s (0 reused), first token 301.755 s + run 2: 119182 tokens, prompt 398.1 tok/s (0 reused), first token 299.691 s + run 3: 119182 tokens, prompt 397.3 tok/s (0 reused), first token 300.255 s +192K prompt: 1 fresh prompts of about 196608 tokens, 24 new tokens + run 1: 178761 tokens, prompt 291.6 tok/s (0 reused), first token 618.532 s +max-262144 prompt: 1 fresh prompts of about 261844 tokens, 24 new tokens + run 1: 238066 tokens, prompt 229.7 tok/s (0 reused), first token 1043.661 s +fill-262144 prompt: 1 fresh prompts of about 273890 tokens, 24 new tokens + run 1: 249017 tokens, prompt 221.1 tok/s (0 reused), first token 1133.946 s + +Results (median, range over the runs): + 4K prompt tok/s 1008.00 (951.10 - 1020.20, n=3) + 4K first token (s) 3.85 (3.76 - 4.11, n=3) + 16K prompt tok/s 1042.30 (1038.90 - 1047.30, n=3) + 16K first token (s) 14.69 (14.38 - 14.72, n=3) + 32K prompt tok/s 856.20 (849.00 - 871.70, n=3) + 32K first token (s) 34.91 (34.90 - 35.21, n=3) + 64K prompt tok/s 619.10 (609.70 - 629.10, n=3) + 64K first token (s) 96.43 (96.35 - 97.92, n=3) + 128K prompt tok/s 398.10 (397.30 - 399.50, n=3) + 128K first token (s) 300.25 (299.69 - 301.75, n=3) + 192K prompt tok/s 291.60 (291.60 - 291.60, n=1) + 192K first token (s) 618.53 (618.53 - 618.53, n=1) + max-262144 prompt tok/s 229.70 (229.70 - 229.70, n=1) + max-262144 first token (s) 1043.66 (1043.66 - 1043.66, n=1) + fill-262144 prompt tok/s 221.10 (221.10 - 221.10, n=1) + fill-262144 first token (s) 1133.95 (1133.95 - 1133.95, n=1) + +Report: /extended-ud-q4_k_m-voff/results/2026-12-04-community-unknown-gemma-4-26b-a4b-ud-q4-k-m/README.md +Share it: open a pull request that adds the folder /extended-ud-q4_k_m-voff/results/2026-12-04-community-unknown-gemma-4-26b-a4b-ud-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-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-off/max-context.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-off/max-context.txt new file mode 100644 index 000000000..fb69ea419 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-off/max-context.txt @@ -0,0 +1,5 @@ +max_context_loaded: 262144 (GGUF native gemma4.context_length; first value tried) +largest fresh prompt completed: 249,017 tokens (fill step asked for 273,890; prompts were sized without strata_bench's calibration, see ENV.txt) +at load: + strata-poly: loaded in 3.8 s; 601 of 3840 routed experts in VRAM (2.1 GiB), 7 CPU threads +flags: official setup defaults (--kv-whole, --conversation-cache-mib auto, MTP draft model), only --max-context changed diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-off/results.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-off/results.json new file mode 100644 index 000000000..313d155d6 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-off/results.json @@ -0,0 +1,655 @@ +{ + "schema": 1, + "tool": "tools/strata_bench.py", + "date": "2026-12-04", + "params": { + "runs": 1, + "think": false, + "clients": 0, + "long": false, + "started_server": false, + "command": "python tools/strata_bench.py" + }, + "elapsed_s": 4162.379186153412, + "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": "gemma-4-26b-a4b-ud-q4_k_m", + "quant": null, + "context": 262144, + "parallel_slots": 1, + "config": {}, + "launch": null, + "engine_info": { + "model": "gemma-4-26b-a4b-ud-q4_k_m", + "max_context": 262144, + "images": false, + "gen": 1, + "version": "0.1.66", + "context": 262144, + "expert_slots": 601, + "expert_cache_mib": 2142, + "pool_workers": 7, + "conversation_cache_mib": 8192, + "conversation_cache_slots": 4, + "conversation_cache_min_free_mib": 2560, + "reserve_mib": 383, + "vram_free_mib": 378, + "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": {}, + "prompts": { + "4K": { + "target_tokens": 4096, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 4.11, + "total_s": 4.934, + "prompt_tokens": 3748, + "reused_tokens": 0, + "read_tokens": 3748, + "generated_tokens": 24, + "prompt_tps": 951.1, + "prompt_tps_source": "engine", + "decode_tps": 29.1, + "decode_tps_source": "engine", + "prompt_ms": 3940.7, + "decode_ms": 825.7, + "drafts_offered": 21, + "drafts_accepted": 13, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.848, + "total_s": 4.299, + "prompt_tokens": 3748, + "reused_tokens": 0, + "read_tokens": 3748, + "generated_tokens": 24, + "prompt_tps": 1020.2, + "prompt_tps_source": "engine", + "decode_tps": 53.1, + "decode_tps_source": "engine", + "prompt_ms": 3673.7, + "decode_ms": 451.9, + "drafts_offered": 18, + "drafts_accepted": 12, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.758, + "total_s": 4.226, + "prompt_tokens": 3748, + "reused_tokens": 0, + "read_tokens": 3748, + "generated_tokens": 24, + "prompt_tps": 1008.0, + "prompt_tps_source": "engine", + "decode_tps": 51.0, + "decode_tps_source": "engine", + "prompt_ms": 3718.2, + "decode_ms": 470.3, + "drafts_offered": 18, + "drafts_accepted": 12, + "run": 2 + } + ], + "prompt_tps": { + "median": 1008.0, + "min": 951.1, + "max": 1020.2, + "n": 3 + }, + "ttft_s": { + "median": 3.848, + "min": 3.758, + "max": 4.11, + "n": 3 + }, + "prompt_tokens": { + "median": 3748, + "min": 3748, + "max": 3748, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "16K": { + "target_tokens": 16384, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 14.685, + "total_s": 15.126, + "prompt_tokens": 14920, + "reused_tokens": 0, + "read_tokens": 14920, + "generated_tokens": 24, + "prompt_tps": 1038.9, + "prompt_tps_source": "engine", + "decode_tps": 54.2, + "decode_tps_source": "engine", + "prompt_ms": 14362.0, + "decode_ms": 443.0, + "drafts_offered": 18, + "drafts_accepted": 14, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 14.717, + "total_s": 15.158, + "prompt_tokens": 14920, + "reused_tokens": 0, + "read_tokens": 14920, + "generated_tokens": 24, + "prompt_tps": 1047.3, + "prompt_tps_source": "engine", + "decode_tps": 54.2, + "decode_tps_source": "engine", + "prompt_ms": 14245.7, + "decode_ms": 442.7, + "drafts_offered": 25, + "drafts_accepted": 14, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 14.376, + "total_s": 14.83, + "prompt_tokens": 14920, + "reused_tokens": 0, + "read_tokens": 14920, + "generated_tokens": 24, + "prompt_tps": 1042.3, + "prompt_tps_source": "engine", + "decode_tps": 52.6, + "decode_tps_source": "engine", + "prompt_ms": 14314.0, + "decode_ms": 456.2, + "drafts_offered": 26, + "drafts_accepted": 14, + "run": 2 + } + ], + "prompt_tps": { + "median": 1042.3, + "min": 1038.9, + "max": 1047.3, + "n": 3 + }, + "ttft_s": { + "median": 14.685, + "min": 14.376, + "max": 14.717, + "n": 3 + }, + "prompt_tokens": { + "median": 14920, + "min": 14920, + "max": 14920, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "32K": { + "target_tokens": 32768, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 34.895, + "total_s": 35.447, + "prompt_tokens": 29814, + "reused_tokens": 0, + "read_tokens": 29814, + "generated_tokens": 24, + "prompt_tps": 871.7, + "prompt_tps_source": "engine", + "decode_tps": 43.3, + "decode_tps_source": "engine", + "prompt_ms": 34203.3, + "decode_ms": 554.2, + "drafts_offered": 29, + "drafts_accepted": 13, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 34.914, + "total_s": 35.432, + "prompt_tokens": 29814, + "reused_tokens": 0, + "read_tokens": 29814, + "generated_tokens": 24, + "prompt_tps": 856.2, + "prompt_tps_source": "engine", + "decode_tps": 46.1, + "decode_tps_source": "engine", + "prompt_ms": 34820.0, + "decode_ms": 520.2, + "drafts_offered": 26, + "drafts_accepted": 13, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 35.214, + "total_s": 35.746, + "prompt_tokens": 29814, + "reused_tokens": 0, + "read_tokens": 29814, + "generated_tokens": 24, + "prompt_tps": 849.0, + "prompt_tps_source": "engine", + "decode_tps": 44.9, + "decode_tps_source": "engine", + "prompt_ms": 35117.8, + "decode_ms": 534.5, + "drafts_offered": 27, + "drafts_accepted": 13, + "run": 2 + } + ], + "prompt_tps": { + "median": 856.2, + "min": 849.0, + "max": 871.7, + "n": 3 + }, + "ttft_s": { + "median": 34.914, + "min": 34.895, + "max": 35.214, + "n": 3 + }, + "prompt_tokens": { + "median": 29814, + "min": 29814, + "max": 29814, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "64K": { + "target_tokens": 65536, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 96.35, + "total_s": 97.041, + "prompt_tokens": 59603, + "reused_tokens": 0, + "read_tokens": 59603, + "generated_tokens": 24, + "prompt_tps": 629.1, + "prompt_tps_source": "engine", + "decode_tps": 34.6, + "decode_tps_source": "engine", + "prompt_ms": 94749.5, + "decode_ms": 693.8, + "drafts_offered": 25, + "drafts_accepted": 11, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 97.918, + "total_s": 98.507, + "prompt_tokens": 59603, + "reused_tokens": 0, + "read_tokens": 59603, + "generated_tokens": 24, + "prompt_tps": 609.7, + "prompt_tps_source": "engine", + "decode_tps": 40.6, + "decode_tps_source": "engine", + "prompt_ms": 97762.0, + "decode_ms": 591.6, + "drafts_offered": 22, + "drafts_accepted": 13, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 96.431, + "total_s": 97.054, + "prompt_tokens": 59603, + "reused_tokens": 0, + "read_tokens": 59603, + "generated_tokens": 24, + "prompt_tps": 619.1, + "prompt_tps_source": "engine", + "decode_tps": 38.3, + "decode_tps_source": "engine", + "prompt_ms": 96274.3, + "decode_ms": 625.9, + "drafts_offered": 21, + "drafts_accepted": 12, + "run": 2 + } + ], + "prompt_tps": { + "median": 619.1, + "min": 609.7, + "max": 629.1, + "n": 3 + }, + "ttft_s": { + "median": 96.431, + "min": 96.35, + "max": 97.918, + "n": 3 + }, + "prompt_tokens": { + "median": 59603, + "min": 59603, + "max": 59603, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "128K": { + "target_tokens": 131072, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 301.755, + "total_s": 302.684, + "prompt_tokens": 119182, + "reused_tokens": 0, + "read_tokens": 119182, + "generated_tokens": 24, + "prompt_tps": 399.5, + "prompt_tps_source": "engine", + "decode_tps": 25.7, + "decode_tps_source": "engine", + "prompt_ms": 298325.9, + "decode_ms": 933.1, + "drafts_offered": 25, + "drafts_accepted": 12, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 299.691, + "total_s": 300.627, + "prompt_tokens": 119182, + "reused_tokens": 0, + "read_tokens": 119182, + "generated_tokens": 24, + "prompt_tps": 398.1, + "prompt_tps_source": "engine", + "decode_tps": 25.5, + "decode_tps_source": "engine", + "prompt_ms": 299411.2, + "decode_ms": 940.1, + "drafts_offered": 21, + "drafts_accepted": 10, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 300.255, + "total_s": 300.987, + "prompt_tokens": 119182, + "reused_tokens": 0, + "read_tokens": 119182, + "generated_tokens": 24, + "prompt_tps": 397.3, + "prompt_tps_source": "engine", + "decode_tps": 32.7, + "decode_tps_source": "engine", + "prompt_ms": 299982.5, + "decode_ms": 735.0, + "drafts_offered": 18, + "drafts_accepted": 12, + "run": 2 + } + ], + "prompt_tps": { + "median": 398.1, + "min": 397.3, + "max": 399.5, + "n": 3 + }, + "ttft_s": { + "median": 300.255, + "min": 299.691, + "max": 301.755, + "n": 3 + }, + "prompt_tokens": { + "median": 119182, + "min": 119182, + "max": 119182, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "192K": { + "target_tokens": 196608, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 618.532, + "total_s": 619.428, + "prompt_tokens": 178761, + "reused_tokens": 0, + "read_tokens": 178761, + "generated_tokens": 24, + "prompt_tps": 291.6, + "prompt_tps_source": "engine", + "decode_tps": 26.6, + "decode_tps_source": "engine", + "prompt_ms": 613090.3, + "decode_ms": 900.9, + "drafts_offered": 19, + "drafts_accepted": 12, + "run": 0 + } + ], + "prompt_tps": { + "median": 291.6, + "min": 291.6, + "max": 291.6, + "n": 1 + }, + "ttft_s": { + "median": 618.532, + "min": 618.532, + "max": 618.532, + "n": 1 + }, + "prompt_tokens": { + "median": 178761, + "min": 178761, + "max": 178761, + "n": 1 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 1 + } + }, + "max-262144": { + "target_tokens": 261844, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 1043.661, + "total_s": 1045.036, + "prompt_tokens": 238066, + "reused_tokens": 0, + "read_tokens": 238066, + "generated_tokens": 24, + "prompt_tps": 229.7, + "prompt_tps_source": "engine", + "decode_tps": 17.4, + "decode_tps_source": "engine", + "prompt_ms": 1036279.3, + "decode_ms": 1380.1, + "drafts_offered": 16, + "drafts_accepted": 7, + "run": 0 + } + ], + "prompt_tps": { + "median": 229.7, + "min": 229.7, + "max": 229.7, + "n": 1 + }, + "ttft_s": { + "median": 1043.661, + "min": 1043.661, + "max": 1043.661, + "n": 1 + }, + "prompt_tokens": { + "median": 238066, + "min": 238066, + "max": 238066, + "n": 1 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 1 + } + }, + "fill-262144": { + "target_tokens": 273890, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 1133.946, + "total_s": 1135.403, + "prompt_tokens": 249017, + "reused_tokens": 0, + "read_tokens": 249017, + "generated_tokens": 24, + "prompt_tps": 221.1, + "prompt_tps_source": "engine", + "decode_tps": 16.4, + "decode_tps_source": "engine", + "prompt_ms": 1126209.9, + "decode_ms": 1461.5, + "drafts_offered": 21, + "drafts_accepted": 12, + "run": 0 + } + ], + "prompt_tps": { + "median": 221.1, + "min": 221.1, + "max": 221.1, + "n": 1 + }, + "ttft_s": { + "median": 1133.946, + "min": 1133.946, + "max": 1133.946, + "n": 1 + }, + "prompt_tokens": { + "median": 249017, + "min": 249017, + "max": 249017, + "n": 1 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 1 + } + } + }, + "agent": {}, + "clients": {}, + "skipped": {}, + "failures": [] + } +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-on/README-strata_bench.md b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-on/README-strata_bench.md new file mode 100644 index 000000000..67e81fb6e --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-on/README-strata_bench.md @@ -0,0 +1 @@ +# extended-context run (D): see results.json; README of the quick check does not apply diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-on/contention-log.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-on/contention-log.json new file mode 100644 index 000000000..fa247a861 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-on/contention-log.json @@ -0,0 +1,218 @@ +[ + { + "label": "4K", + "tokens": 4096, + "runs": 3, + "metrics_before": { + "since": 1796420134.1242726, + "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": 1796420134.1242726, + "requests": 3, + "prompt_tokens": 11244, + "reused": 0, + "output_tokens": 72, + "prompt_ms": 11408.8, + "decode_ms": 1770.6999999999998, + "drafts_offered": 52, + "drafts_accepted": 35 + } + }, + { + "label": "16K", + "tokens": 16384, + "runs": 3, + "metrics_before": { + "since": 1796420134.1242726, + "requests": 3, + "prompt_tokens": 11244, + "reused": 0, + "output_tokens": 72, + "prompt_ms": 11408.8, + "decode_ms": 1770.6999999999998, + "drafts_offered": 52, + "drafts_accepted": 35 + }, + "metrics_after": { + "since": 1796420134.1242726, + "requests": 6, + "prompt_tokens": 56004, + "reused": 0, + "output_tokens": 144, + "prompt_ms": 54664.8, + "decode_ms": 3071.1999999999994, + "drafts_offered": 109, + "drafts_accepted": 76 + } + }, + { + "label": "32K", + "tokens": 32768, + "runs": 3, + "metrics_before": { + "since": 1796420134.1242726, + "requests": 6, + "prompt_tokens": 56004, + "reused": 0, + "output_tokens": 144, + "prompt_ms": 54664.8, + "decode_ms": 3071.1999999999994, + "drafts_offered": 109, + "drafts_accepted": 76 + }, + "metrics_after": { + "since": 1796420134.1242726, + "requests": 9, + "prompt_tokens": 145446, + "reused": 0, + "output_tokens": 216, + "prompt_ms": 157474.80000000002, + "decode_ms": 4746.599999999999, + "drafts_offered": 186, + "drafts_accepted": 114 + } + }, + { + "label": "64K", + "tokens": 65536, + "runs": 3, + "metrics_before": { + "since": 1796420134.1242726, + "requests": 9, + "prompt_tokens": 145446, + "reused": 0, + "output_tokens": 216, + "prompt_ms": 157474.80000000002, + "decode_ms": 4746.599999999999, + "drafts_offered": 186, + "drafts_accepted": 114 + }, + "metrics_after": { + "since": 1796420134.1242726, + "requests": 12, + "prompt_tokens": 324255, + "reused": 0, + "output_tokens": 288, + "prompt_ms": 442792.5, + "decode_ms": 6647.7, + "drafts_offered": 253, + "drafts_accepted": 151 + } + }, + { + "label": "128K", + "tokens": 131072, + "runs": 3, + "metrics_before": { + "since": 1796420134.1242726, + "requests": 12, + "prompt_tokens": 324255, + "reused": 0, + "output_tokens": 288, + "prompt_ms": 442792.5, + "decode_ms": 6647.7, + "drafts_offered": 253, + "drafts_accepted": 151 + }, + "metrics_after": { + "since": 1796420134.1242726, + "requests": 15, + "prompt_tokens": 681801, + "reused": 0, + "output_tokens": 360, + "prompt_ms": 1340124.2, + "decode_ms": 9247.099999999999, + "drafts_offered": 312, + "drafts_accepted": 184 + } + }, + { + "label": "192K", + "tokens": 196608, + "runs": 1, + "metrics_before": { + "since": 1796420134.1242726, + "requests": 15, + "prompt_tokens": 681801, + "reused": 0, + "output_tokens": 360, + "prompt_ms": 1340124.2, + "decode_ms": 9247.099999999999, + "drafts_offered": 312, + "drafts_accepted": 184 + }, + "metrics_after": { + "since": 1796420134.1242726, + "requests": 16, + "prompt_tokens": 860562, + "reused": 0, + "output_tokens": 384, + "prompt_ms": 1953565.4, + "decode_ms": 10294.999999999998, + "drafts_offered": 330, + "drafts_accepted": 194 + } + }, + { + "label": "max-262144", + "tokens": 261844, + "runs": 1, + "metrics_before": { + "since": 1796420134.1242726, + "requests": 16, + "prompt_tokens": 860562, + "reused": 0, + "output_tokens": 384, + "prompt_ms": 1953565.4, + "decode_ms": 10294.999999999998, + "drafts_offered": 330, + "drafts_accepted": 194 + }, + "metrics_after": { + "since": 1796420134.1242726, + "requests": 17, + "prompt_tokens": 1098628, + "reused": 0, + "output_tokens": 408, + "prompt_ms": 2990210.0999999996, + "decode_ms": 11690.499999999998, + "drafts_offered": 344, + "drafts_accepted": 202 + } + }, + { + "label": "fill-262144", + "tokens": 273890, + "runs": 1, + "metrics_before": { + "since": 1796420134.1242726, + "requests": 17, + "prompt_tokens": 1098628, + "reused": 0, + "output_tokens": 408, + "prompt_ms": 2990210.0999999996, + "decode_ms": 11690.499999999998, + "drafts_offered": 344, + "drafts_accepted": 202 + }, + "metrics_after": { + "since": 1796420134.1242726, + "requests": 18, + "prompt_tokens": 1347645, + "reused": 0, + "output_tokens": 432, + "prompt_ms": 4117100.0999999996, + "decode_ms": 12903.399999999998, + "drafts_offered": 366, + "drafts_accepted": 215 + } + } +] \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-on/engine-requests.csv b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-on/engine-requests.csv new file mode 100644 index 000000000..a9e6ea703 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-on/engine-requests.csv @@ -0,0 +1,19 @@ +load,prompt_tokens,reused,read,prefill_ms,prefill_tok_s,generated,decode_ms,decode_tok_s,drafts_accepted,drafts_offered +1,3748,0,3748,3921,955.8,24,831,28.9,14,23 +1,3748,0,3748,3719,1007.7,24,505,47.5,11,17 +1,3748,0,3748,3768,994.7,24,435,55.2,10,12 +1,14920,0,14920,14583,1023.1,24,432,55.5,13,15 +1,14920,0,14920,14303,1043.1,24,427,56.3,14,20 +1,14920,0,14920,14369,1038.3,24,442,54.3,14,22 +1,29814,0,29814,34256,870.3,24,624,38.5,12,29 +1,29814,0,29814,34260,870.2,24,507,47.4,13,23 +1,29814,0,29814,34293,869.4,24,545,44.0,13,25 +1,59603,0,59603,94694,629.4,24,605,39.7,13,23 +1,59603,0,59603,94961,627.7,24,665,36.1,12,23 +1,59603,0,59603,95663,623.1,24,631,38.0,12,21 +1,119182,0,119182,298428,399.4,24,1035,23.2,11,24 +1,119182,0,119182,299677,397.7,24,772,31.1,10,16 +1,119182,0,119182,299227,398.3,24,793,30.3,12,19 +1,178761,0,178761,613441,291.4,24,1048,22.9,10,18 +1,238066,0,238066,1036645,229.7,24,1395,17.2,8,14 +1,249017,0,249017,1126890,221.0,24,1213,19.8,13,22 diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-on/extended.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-on/extended.txt new file mode 100644 index 000000000..e20d28624 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-on/extended.txt @@ -0,0 +1,50 @@ +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: 3748 tokens, prompt 955.8 tok/s (0 reused), first token 4.094 s + run 2: 3748 tokens, prompt 1007.7 tok/s (0 reused), first token 3.922 s + run 3: 3748 tokens, prompt 994.7 tok/s (0 reused), first token 3.808 s +16K prompt: 3 fresh prompts of about 16384 tokens, 24 new tokens + run 1: 14920 tokens, prompt 1023.1 tok/s (0 reused), first token 14.881 s + run 2: 14920 tokens, prompt 1043.1 tok/s (0 reused), first token 14.868 s + run 3: 14920 tokens, prompt 1038.3 tok/s (0 reused), first token 14.432 s +32K prompt: 3 fresh prompts of about 32768 tokens, 24 new tokens + run 1: 29814 tokens, prompt 870.3 tok/s (0 reused), first token 34.944 s + run 2: 29814 tokens, prompt 870.2 tok/s (0 reused), first token 34.355 s + run 3: 29814 tokens, prompt 869.4 tok/s (0 reused), first token 34.39 s +64K prompt: 3 fresh prompts of about 65536 tokens, 24 new tokens + run 1: 59603 tokens, prompt 629.4 tok/s (0 reused), first token 96.302 s + run 2: 59603 tokens, prompt 627.7 tok/s (0 reused), first token 95.12 s + run 3: 59603 tokens, prompt 623.1 tok/s (0 reused), first token 95.818 s +128K prompt: 3 fresh prompts of about 131072 tokens, 24 new tokens + run 1: 119182 tokens, prompt 399.4 tok/s (0 reused), first token 301.791 s + run 2: 119182 tokens, prompt 397.7 tok/s (0 reused), first token 299.953 s + run 3: 119182 tokens, prompt 398.3 tok/s (0 reused), first token 299.505 s +192K prompt: 1 fresh prompts of about 196608 tokens, 24 new tokens + run 1: 178761 tokens, prompt 291.4 tok/s (0 reused), first token 618.89 s +max-262144 prompt: 1 fresh prompts of about 261844 tokens, 24 new tokens + run 1: 238066 tokens, prompt 229.7 tok/s (0 reused), first token 1043.863 s +fill-262144 prompt: 1 fresh prompts of about 273890 tokens, 24 new tokens + run 1: 249017 tokens, prompt 221.0 tok/s (0 reused), first token 1134.571 s + +Results (median, range over the runs): + 4K prompt tok/s 994.70 (955.80 - 1007.70, n=3) + 4K first token (s) 3.92 (3.81 - 4.09, n=3) + 16K prompt tok/s 1038.30 (1023.10 - 1043.10, n=3) + 16K first token (s) 14.87 (14.43 - 14.88, n=3) + 32K prompt tok/s 870.20 (869.40 - 870.30, n=3) + 32K first token (s) 34.39 (34.35 - 34.94, n=3) + 64K prompt tok/s 627.70 (623.10 - 629.40, n=3) + 64K first token (s) 95.82 (95.12 - 96.30, n=3) + 128K prompt tok/s 398.30 (397.70 - 399.40, n=3) + 128K first token (s) 299.95 (299.50 - 301.79, n=3) + 192K prompt tok/s 291.40 (291.40 - 291.40, n=1) + 192K first token (s) 618.89 (618.89 - 618.89, n=1) + max-262144 prompt tok/s 229.70 (229.70 - 229.70, n=1) + max-262144 first token (s) 1043.86 (1043.86 - 1043.86, n=1) + fill-262144 prompt tok/s 221.00 (221.00 - 221.00, n=1) + fill-262144 first token (s) 1134.57 (1134.57 - 1134.57, n=1) + +Report: /extended-ud-q4_k_m-von/results/2026-12-04-community-unknown-gemma-4-26b-a4b-ud-q4-k-m/README.md +Share it: open a pull request that adds the folder /extended-ud-q4_k_m-von/results/2026-12-04-community-unknown-gemma-4-26b-a4b-ud-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-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-on/max-context.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-on/max-context.txt new file mode 100644 index 000000000..e851b77ea --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-on/max-context.txt @@ -0,0 +1,5 @@ +max_context_loaded: 262144 (GGUF native gemma4.context_length; first value tried) +largest fresh prompt completed: 249,017 tokens (fill step asked for 273,890; prompts were sized without strata_bench's calibration, see ENV.txt) +at load: + strata-poly: loaded in 3.2 s; 601 of 3840 routed experts in VRAM (2.1 GiB), 7 CPU threads +flags: official setup defaults (--kv-whole, --conversation-cache-mib auto, MTP draft model), only --max-context changed diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-on/results.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-on/results.json new file mode 100644 index 000000000..19748abc1 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/UD-Q4_K_M/vision-on/results.json @@ -0,0 +1,655 @@ +{ + "schema": 1, + "tool": "tools/strata_bench.py", + "date": "2026-12-04", + "params": { + "runs": 1, + "think": false, + "clients": 0, + "long": false, + "started_server": false, + "command": "python tools/strata_bench.py" + }, + "elapsed_s": 4158.77618932724, + "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": "gemma-4-26b-a4b-ud-q4_k_m", + "quant": null, + "context": 262144, + "parallel_slots": 1, + "config": {}, + "launch": null, + "engine_info": { + "model": "gemma-4-26b-a4b-ud-q4_k_m", + "max_context": 262144, + "images": true, + "gen": 1, + "version": "0.1.66", + "context": 262144, + "expert_slots": 601, + "expert_cache_mib": 2142, + "pool_workers": 7, + "conversation_cache_mib": 8192, + "conversation_cache_slots": 4, + "conversation_cache_min_free_mib": 2560, + "reserve_mib": 383, + "vram_free_mib": 378, + "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": {}, + "prompts": { + "4K": { + "target_tokens": 4096, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 4.094, + "total_s": 4.924, + "prompt_tokens": 3748, + "reused_tokens": 0, + "read_tokens": 3748, + "generated_tokens": 24, + "prompt_tps": 955.8, + "prompt_tps_source": "engine", + "decode_tps": 28.9, + "decode_tps_source": "engine", + "prompt_ms": 3921.4, + "decode_ms": 830.7, + "drafts_offered": 23, + "drafts_accepted": 14, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.922, + "total_s": 4.425, + "prompt_tokens": 3748, + "reused_tokens": 0, + "read_tokens": 3748, + "generated_tokens": 24, + "prompt_tps": 1007.7, + "prompt_tps_source": "engine", + "decode_tps": 47.5, + "decode_tps_source": "engine", + "prompt_ms": 3719.4, + "decode_ms": 504.9, + "drafts_offered": 17, + "drafts_accepted": 11, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.808, + "total_s": 4.241, + "prompt_tokens": 3748, + "reused_tokens": 0, + "read_tokens": 3748, + "generated_tokens": 24, + "prompt_tps": 994.7, + "prompt_tps_source": "engine", + "decode_tps": 55.2, + "decode_tps_source": "engine", + "prompt_ms": 3768.0, + "decode_ms": 435.1, + "drafts_offered": 12, + "drafts_accepted": 10, + "run": 2 + } + ], + "prompt_tps": { + "median": 994.7, + "min": 955.8, + "max": 1007.7, + "n": 3 + }, + "ttft_s": { + "median": 3.922, + "min": 3.808, + "max": 4.094, + "n": 3 + }, + "prompt_tokens": { + "median": 3748, + "min": 3748, + "max": 3748, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "16K": { + "target_tokens": 16384, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 14.881, + "total_s": 15.311, + "prompt_tokens": 14920, + "reused_tokens": 0, + "read_tokens": 14920, + "generated_tokens": 24, + "prompt_tps": 1023.1, + "prompt_tps_source": "engine", + "decode_tps": 55.5, + "decode_tps_source": "engine", + "prompt_ms": 14583.3, + "decode_ms": 432.2, + "drafts_offered": 15, + "drafts_accepted": 13, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 14.868, + "total_s": 15.292, + "prompt_tokens": 14920, + "reused_tokens": 0, + "read_tokens": 14920, + "generated_tokens": 24, + "prompt_tps": 1043.1, + "prompt_tps_source": "engine", + "decode_tps": 56.2, + "decode_tps_source": "engine", + "prompt_ms": 14303.4, + "decode_ms": 426.7, + "drafts_offered": 20, + "drafts_accepted": 14, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 14.432, + "total_s": 14.872, + "prompt_tokens": 14920, + "reused_tokens": 0, + "read_tokens": 14920, + "generated_tokens": 24, + "prompt_tps": 1038.3, + "prompt_tps_source": "engine", + "decode_tps": 54.3, + "decode_tps_source": "engine", + "prompt_ms": 14369.3, + "decode_ms": 441.6, + "drafts_offered": 22, + "drafts_accepted": 14, + "run": 2 + } + ], + "prompt_tps": { + "median": 1038.3, + "min": 1023.1, + "max": 1043.1, + "n": 3 + }, + "ttft_s": { + "median": 14.868, + "min": 14.432, + "max": 14.881, + "n": 3 + }, + "prompt_tokens": { + "median": 14920, + "min": 14920, + "max": 14920, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "32K": { + "target_tokens": 32768, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 34.944, + "total_s": 35.565, + "prompt_tokens": 29814, + "reused_tokens": 0, + "read_tokens": 29814, + "generated_tokens": 24, + "prompt_tps": 870.3, + "prompt_tps_source": "engine", + "decode_tps": 38.5, + "decode_tps_source": "engine", + "prompt_ms": 34256.3, + "decode_ms": 623.5, + "drafts_offered": 29, + "drafts_accepted": 12, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 34.355, + "total_s": 34.859, + "prompt_tokens": 29814, + "reused_tokens": 0, + "read_tokens": 29814, + "generated_tokens": 24, + "prompt_tps": 870.2, + "prompt_tps_source": "engine", + "decode_tps": 47.4, + "decode_tps_source": "engine", + "prompt_ms": 34260.3, + "decode_ms": 506.6, + "drafts_offered": 23, + "drafts_accepted": 13, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 34.39, + "total_s": 34.933, + "prompt_tokens": 29814, + "reused_tokens": 0, + "read_tokens": 29814, + "generated_tokens": 24, + "prompt_tps": 869.4, + "prompt_tps_source": "engine", + "decode_tps": 44.0, + "decode_tps_source": "engine", + "prompt_ms": 34293.4, + "decode_ms": 545.3, + "drafts_offered": 25, + "drafts_accepted": 13, + "run": 2 + } + ], + "prompt_tps": { + "median": 870.2, + "min": 869.4, + "max": 870.3, + "n": 3 + }, + "ttft_s": { + "median": 34.39, + "min": 34.355, + "max": 34.944, + "n": 3 + }, + "prompt_tokens": { + "median": 29814, + "min": 29814, + "max": 29814, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "64K": { + "target_tokens": 65536, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 96.302, + "total_s": 96.904, + "prompt_tokens": 59603, + "reused_tokens": 0, + "read_tokens": 59603, + "generated_tokens": 24, + "prompt_tps": 629.4, + "prompt_tps_source": "engine", + "decode_tps": 39.7, + "decode_tps_source": "engine", + "prompt_ms": 94694.0, + "decode_ms": 605.1, + "drafts_offered": 23, + "drafts_accepted": 13, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 95.12, + "total_s": 95.782, + "prompt_tokens": 59603, + "reused_tokens": 0, + "read_tokens": 59603, + "generated_tokens": 24, + "prompt_tps": 627.7, + "prompt_tps_source": "engine", + "decode_tps": 36.1, + "decode_tps_source": "engine", + "prompt_ms": 94960.9, + "decode_ms": 665.0, + "drafts_offered": 23, + "drafts_accepted": 12, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 95.818, + "total_s": 96.446, + "prompt_tokens": 59603, + "reused_tokens": 0, + "read_tokens": 59603, + "generated_tokens": 24, + "prompt_tps": 623.1, + "prompt_tps_source": "engine", + "decode_tps": 38.0, + "decode_tps_source": "engine", + "prompt_ms": 95662.8, + "decode_ms": 631.0, + "drafts_offered": 21, + "drafts_accepted": 12, + "run": 2 + } + ], + "prompt_tps": { + "median": 627.7, + "min": 623.1, + "max": 629.4, + "n": 3 + }, + "ttft_s": { + "median": 95.818, + "min": 95.12, + "max": 96.302, + "n": 3 + }, + "prompt_tokens": { + "median": 59603, + "min": 59603, + "max": 59603, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "128K": { + "target_tokens": 131072, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 301.791, + "total_s": 302.822, + "prompt_tokens": 119182, + "reused_tokens": 0, + "read_tokens": 119182, + "generated_tokens": 24, + "prompt_tps": 399.4, + "prompt_tps_source": "engine", + "decode_tps": 23.2, + "decode_tps_source": "engine", + "prompt_ms": 298427.7, + "decode_ms": 1035.0, + "drafts_offered": 24, + "drafts_accepted": 11, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 299.953, + "total_s": 300.721, + "prompt_tokens": 119182, + "reused_tokens": 0, + "read_tokens": 119182, + "generated_tokens": 24, + "prompt_tps": 397.7, + "prompt_tps_source": "engine", + "decode_tps": 31.1, + "decode_tps_source": "engine", + "prompt_ms": 299677.5, + "decode_ms": 771.6, + "drafts_offered": 16, + "drafts_accepted": 10, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 299.505, + "total_s": 300.294, + "prompt_tokens": 119182, + "reused_tokens": 0, + "read_tokens": 119182, + "generated_tokens": 24, + "prompt_tps": 398.3, + "prompt_tps_source": "engine", + "decode_tps": 30.3, + "decode_tps_source": "engine", + "prompt_ms": 299226.5, + "decode_ms": 792.8, + "drafts_offered": 19, + "drafts_accepted": 12, + "run": 2 + } + ], + "prompt_tps": { + "median": 398.3, + "min": 397.7, + "max": 399.4, + "n": 3 + }, + "ttft_s": { + "median": 299.953, + "min": 299.505, + "max": 301.791, + "n": 3 + }, + "prompt_tokens": { + "median": 119182, + "min": 119182, + "max": 119182, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "192K": { + "target_tokens": 196608, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 618.89, + "total_s": 619.934, + "prompt_tokens": 178761, + "reused_tokens": 0, + "read_tokens": 178761, + "generated_tokens": 24, + "prompt_tps": 291.4, + "prompt_tps_source": "engine", + "decode_tps": 22.9, + "decode_tps_source": "engine", + "prompt_ms": 613441.2, + "decode_ms": 1047.9, + "drafts_offered": 18, + "drafts_accepted": 10, + "run": 0 + } + ], + "prompt_tps": { + "median": 291.4, + "min": 291.4, + "max": 291.4, + "n": 1 + }, + "ttft_s": { + "median": 618.89, + "min": 618.89, + "max": 618.89, + "n": 1 + }, + "prompt_tokens": { + "median": 178761, + "min": 178761, + "max": 178761, + "n": 1 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 1 + } + }, + "max-262144": { + "target_tokens": 261844, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 1043.863, + "total_s": 1045.253, + "prompt_tokens": 238066, + "reused_tokens": 0, + "read_tokens": 238066, + "generated_tokens": 24, + "prompt_tps": 229.7, + "prompt_tps_source": "engine", + "decode_tps": 17.2, + "decode_tps_source": "engine", + "prompt_ms": 1036644.7, + "decode_ms": 1395.5, + "drafts_offered": 14, + "drafts_accepted": 8, + "run": 0 + } + ], + "prompt_tps": { + "median": 229.7, + "min": 229.7, + "max": 229.7, + "n": 1 + }, + "ttft_s": { + "median": 1043.863, + "min": 1043.863, + "max": 1043.863, + "n": 1 + }, + "prompt_tokens": { + "median": 238066, + "min": 238066, + "max": 238066, + "n": 1 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 1 + } + }, + "fill-262144": { + "target_tokens": 273890, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 1134.571, + "total_s": 1135.779, + "prompt_tokens": 249017, + "reused_tokens": 0, + "read_tokens": 249017, + "generated_tokens": 24, + "prompt_tps": 221.0, + "prompt_tps_source": "engine", + "decode_tps": 19.8, + "decode_tps_source": "engine", + "prompt_ms": 1126890.0, + "decode_ms": 1212.9, + "drafts_offered": 22, + "drafts_accepted": 13, + "run": 0 + } + ], + "prompt_tps": { + "median": 221.0, + "min": 221.0, + "max": 221.0, + "n": 1 + }, + "ttft_s": { + "median": 1134.571, + "min": 1134.571, + "max": 1134.571, + "n": 1 + }, + "prompt_tokens": { + "median": 249017, + "min": 249017, + "max": 249017, + "n": 1 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 1 + } + } + }, + "agent": {}, + "clients": {}, + "skipped": {}, + "failures": [] + } +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/extended.py b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/extended.py new file mode 100644 index 000000000..db36162ed --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/extended/extended.py @@ -0,0 +1,21 @@ +# D: extended-context fresh prompts with strata_bench's own run_prompt (poly.6 copy, same as 's earlier runs). +# STEPS env: "tokens:label:runs,..."; /metrics totals recorded before/after each step (contention check). +import sys, os, json, urllib.request +sys.path.insert(0, os.environ["BENCH_TOOLS"]) +import strata_bench as B +B.render_readme = lambda res: "# extended-context run (D): see results.json; README of the quick check does not apply\n" +def metrics(): + r = urllib.request.Request("http://127.0.0.1:8080/metrics", headers={"Authorization": "Bearer " + os.environ["STRATA_KEY"]}) + try: return json.load(urllib.request.urlopen(r, timeout=10)).get("totals", {}) + except Exception as e: return {"error": str(e)} +def run(self): + log = [] + for s in os.environ["STEPS"].split(","): + t, label, n = s.split(":"); self.runs = int(n) + if label.startswith("fill"): self.ctx = None # near-max fill: let the server judge the size (400 if over) + before = metrics(); self.run_prompt(int(t), label); after = metrics() + log.append({"label": label, "tokens": int(t), "runs": int(n), "metrics_before": before, "metrics_after": after}) + json.dump(log, open(os.environ["OUT_DIR"] + "/contention-log.json", "w"), indent=1) + return self.out +B.Suite.run = run +sys.exit(B.main()) diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run1.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run1.json new file mode 100644 index 000000000..4b696fdab --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run1.json @@ -0,0 +1,41 @@ +{ + "model": "gemma-4-26b-a4b-qat-ud-q4_k_xl", + "backend": "gemma4", + "quantization": "UD-Q4_K_XL", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 75, + "ttft_s": 0.595, + "prefill_tok_s": 54.2, + "decode_tok_s": 68.2, + "cache_hit_rate": 0.884, + "mtp_offered": 76, + "mtp_accepted": 46, + "mtp_acceptance": 0.605, + "vram_peak_gib": 11.63, + "ram_peak_gib": 1.39, + "gpu_util_mean": 32.7, + "cpu_util_mean": 18.6 + }, + { + "prompt": "long-24000", + "prompt_tokens": 31065, + "output_tokens": 97, + "ttft_s": 36.949, + "prefill_tok_s": 845.6, + "decode_tok_s": 54.7, + "cache_hit_rate": 0.945, + "mtp_offered": 93, + "mtp_accepted": 50, + "mtp_acceptance": 0.538, + "vram_peak_gib": 11.61, + "ram_peak_gib": 2.61, + "gpu_util_mean": 95.3, + "cpu_util_mean": 12.1 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run1.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run1.txt new file mode 100644 index 000000000..1e1a1609f --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run1.txt @@ -0,0 +1,9 @@ +(the 24000-token prompt does not fit the context: trying 95% of it) + +gemma-4-26b-a4b-qat-ud-q4_k_xl (gemma4, UD-Q4_K_XL, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 75 0.595 54.2 68.2 0.884 0.605 11.63 1.39 32.7 18.6 + long-24000 31065 97 36.949 845.6 54.7 0.945 0.538 11.61 2.61 95.3 12.1 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-qat-ud-q4_k_xl-voff/A/A-24000-run1.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run2.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run2.json new file mode 100644 index 000000000..2a714e437 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run2.json @@ -0,0 +1,41 @@ +{ + "model": "gemma-4-26b-a4b-qat-ud-q4_k_xl", + "backend": "gemma4", + "quantization": "UD-Q4_K_XL", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 75, + "ttft_s": 0.593, + "prefill_tok_s": 54.4, + "decode_tok_s": 70.7, + "cache_hit_rate": 0.884, + "mtp_offered": 76, + "mtp_accepted": 46, + "mtp_acceptance": 0.605, + "vram_peak_gib": 11.63, + "ram_peak_gib": 1.39, + "gpu_util_mean": 30.7, + "cpu_util_mean": 18.9 + }, + { + "prompt": "long-24000", + "prompt_tokens": 31065, + "output_tokens": 87, + "ttft_s": 36.988, + "prefill_tok_s": 841.9, + "decode_tok_s": 49.2, + "cache_hit_rate": 0.944, + "mtp_offered": 93, + "mtp_accepted": 41, + "mtp_acceptance": 0.441, + "vram_peak_gib": 11.61, + "ram_peak_gib": 2.61, + "gpu_util_mean": 95.8, + "cpu_util_mean": 12.1 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run2.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run2.txt new file mode 100644 index 000000000..640124f5e --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run2.txt @@ -0,0 +1,9 @@ +(the 24000-token prompt does not fit the context: trying 95% of it) + +gemma-4-26b-a4b-qat-ud-q4_k_xl (gemma4, UD-Q4_K_XL, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 75 0.593 54.4 70.7 0.884 0.605 11.63 1.39 30.7 18.9 + long-24000 31065 87 36.988 841.9 49.2 0.944 0.441 11.61 2.61 95.8 12.1 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-qat-ud-q4_k_xl-voff/A/A-24000-run2.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run3.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run3.json new file mode 100644 index 000000000..213c64c05 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run3.json @@ -0,0 +1,41 @@ +{ + "model": "gemma-4-26b-a4b-qat-ud-q4_k_xl", + "backend": "gemma4", + "quantization": "UD-Q4_K_XL", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 75, + "ttft_s": 0.591, + "prefill_tok_s": 54.8, + "decode_tok_s": 71.2, + "cache_hit_rate": 0.884, + "mtp_offered": 76, + "mtp_accepted": 46, + "mtp_acceptance": 0.605, + "vram_peak_gib": 11.63, + "ram_peak_gib": 1.39, + "gpu_util_mean": 31.7, + "cpu_util_mean": 19.1 + }, + { + "prompt": "long-24000", + "prompt_tokens": 31065, + "output_tokens": 104, + "ttft_s": 37.103, + "prefill_tok_s": 838.7, + "decode_tok_s": 59.0, + "cache_hit_rate": 0.942, + "mtp_offered": 99, + "mtp_accepted": 58, + "mtp_acceptance": 0.586, + "vram_peak_gib": 11.61, + "ram_peak_gib": 2.61, + "gpu_util_mean": 94.6, + "cpu_util_mean": 12.0 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run3.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run3.txt new file mode 100644 index 000000000..b1c83e4c7 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-24000-run3.txt @@ -0,0 +1,9 @@ +(the 24000-token prompt does not fit the context: trying 95% of it) + +gemma-4-26b-a4b-qat-ud-q4_k_xl (gemma4, UD-Q4_K_XL, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 75 0.591 54.8 71.2 0.884 0.605 11.63 1.39 31.7 19.1 + long-24000 31065 104 37.103 838.7 59.0 0.942 0.586 11.61 2.61 94.6 12.0 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-qat-ud-q4_k_xl-voff/A/A-24000-run3.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run1.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run1.json new file mode 100644 index 000000000..7e0cd9a9e --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run1.json @@ -0,0 +1,57 @@ +{ + "model": "gemma-4-26b-a4b-qat-ud-q4_k_xl", + "backend": "gemma4", + "quantization": "UD-Q4_K_XL", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 75, + "ttft_s": 0.594, + "prefill_tok_s": 54.5, + "decode_tok_s": 71.7, + "cache_hit_rate": 0.884, + "mtp_offered": 76, + "mtp_accepted": 46, + "mtp_acceptance": 0.605, + "vram_peak_gib": 11.63, + "ram_peak_gib": 1.39, + "gpu_util_mean": 31.0, + "cpu_util_mean": 19.4 + }, + { + "prompt": "long-2000", + "prompt_tokens": 3040, + "output_tokens": 91, + "ttft_s": 3.513, + "prefill_tok_s": 908.1, + "decode_tok_s": 69.2, + "cache_hit_rate": 0.941, + "mtp_offered": 88, + "mtp_accepted": 50, + "mtp_acceptance": 0.568, + "vram_peak_gib": 11.61, + "ram_peak_gib": 1.72, + "gpu_util_mean": 77.7, + "cpu_util_mean": 21.2 + }, + { + "prompt": "long-8000", + "prompt_tokens": 10662, + "output_tokens": 77, + "ttft_s": 9.379, + "prefill_tok_s": 1058.1, + "decode_tok_s": 68.3, + "cache_hit_rate": 0.982, + "mtp_offered": 82, + "mtp_accepted": 43, + "mtp_acceptance": 0.524, + "vram_peak_gib": 11.61, + "ram_peak_gib": 3.04, + "gpu_util_mean": 92.9, + "cpu_util_mean": 15.9 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run1.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run1.txt new file mode 100644 index 000000000..d7015f951 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run1.txt @@ -0,0 +1,9 @@ + +gemma-4-26b-a4b-qat-ud-q4_k_xl (gemma4, UD-Q4_K_XL, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 75 0.594 54.5 71.7 0.884 0.605 11.63 1.39 31.0 19.4 + long-2000 3040 91 3.513 908.1 69.2 0.941 0.568 11.61 1.72 77.7 21.2 + long-8000 10662 77 9.379 1058.1 68.3 0.982 0.524 11.61 3.04 92.9 15.9 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-qat-ud-q4_k_xl-voff/A/A-default-run1.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run2.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run2.json new file mode 100644 index 000000000..1212bcaf9 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run2.json @@ -0,0 +1,57 @@ +{ + "model": "gemma-4-26b-a4b-qat-ud-q4_k_xl", + "backend": "gemma4", + "quantization": "UD-Q4_K_XL", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 75, + "ttft_s": 0.59, + "prefill_tok_s": 54.8, + "decode_tok_s": 71.5, + "cache_hit_rate": 0.884, + "mtp_offered": 76, + "mtp_accepted": 46, + "mtp_acceptance": 0.605, + "vram_peak_gib": 11.63, + "ram_peak_gib": 1.39, + "gpu_util_mean": 31.0, + "cpu_util_mean": 18.7 + }, + { + "prompt": "long-2000", + "prompt_tokens": 3040, + "output_tokens": 88, + "ttft_s": 3.516, + "prefill_tok_s": 905.0, + "decode_tok_s": 73.1, + "cache_hit_rate": 0.936, + "mtp_offered": 74, + "mtp_accepted": 49, + "mtp_acceptance": 0.662, + "vram_peak_gib": 11.61, + "ram_peak_gib": 1.72, + "gpu_util_mean": 71.4, + "cpu_util_mean": 21.6 + }, + { + "prompt": "long-8000", + "prompt_tokens": 10662, + "output_tokens": 80, + "ttft_s": 9.419, + "prefill_tok_s": 1058.4, + "decode_tok_s": 69.9, + "cache_hit_rate": 0.982, + "mtp_offered": 81, + "mtp_accepted": 45, + "mtp_acceptance": 0.556, + "vram_peak_gib": 11.61, + "ram_peak_gib": 3.04, + "gpu_util_mean": 92.0, + "cpu_util_mean": 16.1 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run2.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run2.txt new file mode 100644 index 000000000..ff8f15c0e --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run2.txt @@ -0,0 +1,9 @@ + +gemma-4-26b-a4b-qat-ud-q4_k_xl (gemma4, UD-Q4_K_XL, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 75 0.59 54.8 71.5 0.884 0.605 11.63 1.39 31.0 18.7 + long-2000 3040 88 3.516 905.0 73.1 0.936 0.662 11.61 1.72 71.4 21.6 + long-8000 10662 80 9.419 1058.4 69.9 0.982 0.556 11.61 3.04 92.0 16.1 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-qat-ud-q4_k_xl-voff/A/A-default-run2.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run3.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run3.json new file mode 100644 index 000000000..25525c6c5 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run3.json @@ -0,0 +1,57 @@ +{ + "model": "gemma-4-26b-a4b-qat-ud-q4_k_xl", + "backend": "gemma4", + "quantization": "UD-Q4_K_XL", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 75, + "ttft_s": 0.589, + "prefill_tok_s": 54.9, + "decode_tok_s": 69.4, + "cache_hit_rate": 0.884, + "mtp_offered": 76, + "mtp_accepted": 46, + "mtp_acceptance": 0.605, + "vram_peak_gib": 11.63, + "ram_peak_gib": 1.39, + "gpu_util_mean": 28.3, + "cpu_util_mean": 18.6 + }, + { + "prompt": "long-2000", + "prompt_tokens": 3040, + "output_tokens": 88, + "ttft_s": 3.512, + "prefill_tok_s": 903.2, + "decode_tok_s": 72.9, + "cache_hit_rate": 0.936, + "mtp_offered": 75, + "mtp_accepted": 49, + "mtp_acceptance": 0.653, + "vram_peak_gib": 11.61, + "ram_peak_gib": 1.72, + "gpu_util_mean": 85.9, + "cpu_util_mean": 21.3 + }, + { + "prompt": "long-8000", + "prompt_tokens": 10662, + "output_tokens": 93, + "ttft_s": 9.599, + "prefill_tok_s": 1057.8, + "decode_tok_s": 65.0, + "cache_hit_rate": 0.974, + "mtp_offered": 101, + "mtp_accepted": 50, + "mtp_acceptance": 0.495, + "vram_peak_gib": 11.61, + "ram_peak_gib": 3.04, + "gpu_util_mean": 90.9, + "cpu_util_mean": 16.8 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run3.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run3.txt new file mode 100644 index 000000000..cd32975b0 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/A-polystrata-benchmark/A-default-run3.txt @@ -0,0 +1,9 @@ + +gemma-4-26b-a4b-qat-ud-q4_k_xl (gemma4, UD-Q4_K_XL, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 75 0.589 54.9 69.4 0.884 0.605 11.63 1.39 28.3 18.6 + long-2000 3040 88 3.512 903.2 72.9 0.936 0.653 11.61 1.72 85.9 21.3 + long-8000 10662 93 9.599 1057.8 65.0 0.974 0.495 11.61 3.04 90.9 16.8 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-qat-ud-q4_k_xl-voff/A/A-default-run3.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/B-strata_bench/README.md b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/B-strata_bench/README.md new file mode 100644 index 000000000..7bd99b70f --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/B-strata_bench/README.md @@ -0,0 +1,64 @@ +# Community benchmark on AMD Radeon + +Measured on 2026-12-04 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: gemma-4-26b-a4b-qat-ud-q4_k_xl +- 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 | 48 (45-53) | 0 | 100 (100-100) | 9 | not measured | 84.7 (74.1-104.3) | 1.41 (1.33-1.47) | +| 4K prompt, fresh | 4101 (4101-4101) | 0 (0-0) | 24 cap | 3 | 1318.3 (972.0-1338.7) | not measured | 4.32 (4.16-4.35) | +| 16K prompt, fresh | 16390 (16390-16390) | 0 (0-0) | 24 cap | 3 | 1115.7 (1103.7-1122.3) | not measured | 15.94 (15.77-15.99) | +| agent session, follow-up turns | 15268 (15267-15268) at the last turn | see below | up to 64 | 3 | see below | 75.2 (69.5-87.7) | 4.42 (3.20-5.28) | + +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: 67.9 % (67.9-67.9); earlier-turn tokens read again per session: 274 (273-274) (earlier turns that the cache did not hold; the 14633 (14633-14633) new tokens of the files are read once); first turn (nothing cached) first token: 1.74 s (1.73-1.90). 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 | 396 | 0 | 396 | 463.5 | 1.895 | 89.0 | +| 1 | 4058 | 389 | 3669 | 871.0 | 4.319 | 75.9 | +| 2 | 5771 | 4051 | 1720 | 788.9 | 3.202 | 79.6 | +| 3 | 9248 | 5764 | 3484 | 888.4 | 4.948 | 69.5 | +| 4 | 12154 | 9241 | 2913 | 873.2 | 4.418 | 80.6 | +| 5 | 15268 | 12147 | 3121 | 743.8 | 5.244 | 74.2 | + +### Concurrency: 2 clients + +Total 41.0 tok/s (40.0-41.6); first token p50 3.011 s, p95 4.66 s; request latency p50 4.677 s, p95 6.359 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: 194 s. diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/B-strata_bench/results.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/B-strata_bench/results.json new file mode 100644 index 000000000..2db50bb18 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/B-strata_bench/results.json @@ -0,0 +1,945 @@ +{ + "schema": 1, + "tool": "tools/strata_bench.py", + "date": "2026-12-04", + "params": { + "runs": 3, + "think": false, + "clients": 2, + "long": true, + "started_server": false, + "command": "python tools/strata_bench.py --clients 2 --long" + }, + "elapsed_s": 194.23874521255493, + "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": "gemma-4-26b-a4b-qat-ud-q4_k_xl", + "quant": null, + "context": 32768, + "parallel_slots": 1, + "config": {}, + "launch": null, + "engine_info": { + "model": "gemma-4-26b-a4b-qat-ud-q4_k_xl", + "max_context": 32768, + "images": false, + "gen": 1, + "version": "0.1.66", + "context": 32768, + "expert_slots": 2472, + "expert_cache_mib": 7887, + "pool_workers": 7, + "conversation_cache_mib": 8192, + "conversation_cache_slots": 4, + "conversation_cache_min_free_mib": 2560, + "reserve_mib": 383, + "vram_free_mib": 361, + "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": 1.333, + "total_s": 2.314, + "prompt_tokens": 53, + "reused_tokens": 0, + "read_tokens": 53, + "generated_tokens": 100, + "prompt_tps": 43.4, + "prompt_tps_source": "engine", + "decode_tps": 101.9, + "decode_tps_source": "engine", + "prompt_ms": 1222.1, + "decode_ms": 981.1, + "drafts_offered": 84, + "drafts_accepted": 70, + "run": 0, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.471, + "total_s": 2.743, + "prompt_tokens": 45, + "reused_tokens": 0, + "read_tokens": 45, + "generated_tokens": 100, + "prompt_tps": 33.0, + "prompt_tps_source": "engine", + "decode_tps": 78.7, + "decode_tps_source": "engine", + "prompt_ms": 1364.9, + "decode_ms": 1271.3, + "drafts_offered": 92, + "drafts_accepted": 60, + "run": 0, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.424, + "total_s": 2.773, + "prompt_tokens": 48, + "reused_tokens": 0, + "read_tokens": 48, + "generated_tokens": 100, + "prompt_tps": 36.5, + "prompt_tps_source": "engine", + "decode_tps": 74.1, + "decode_tps_source": "engine", + "prompt_ms": 1314.0, + "decode_ms": 1349.2, + "drafts_offered": 113, + "drafts_accepted": 55, + "run": 0, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.407, + "total_s": 2.366, + "prompt_tokens": 53, + "reused_tokens": 0, + "read_tokens": 53, + "generated_tokens": 100, + "prompt_tps": 41.7, + "prompt_tps_source": "engine", + "decode_tps": 104.3, + "decode_tps_source": "engine", + "prompt_ms": 1271.4, + "decode_ms": 958.6, + "drafts_offered": 86, + "drafts_accepted": 71, + "run": 1, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.388, + "total_s": 2.563, + "prompt_tokens": 45, + "reused_tokens": 0, + "read_tokens": 45, + "generated_tokens": 100, + "prompt_tps": 35.3, + "prompt_tps_source": "engine", + "decode_tps": 85.1, + "decode_tps_source": "engine", + "prompt_ms": 1276.2, + "decode_ms": 1175.3, + "drafts_offered": 100, + "drafts_accepted": 60, + "run": 1, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.423, + "total_s": 2.616, + "prompt_tokens": 48, + "reused_tokens": 0, + "read_tokens": 48, + "generated_tokens": 100, + "prompt_tps": 36.4, + "prompt_tps_source": "engine", + "decode_tps": 83.8, + "decode_tps_source": "engine", + "prompt_ms": 1319.6, + "decode_ms": 1193.2, + "drafts_offered": 102, + "drafts_accepted": 58, + "run": 1, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.408, + "total_s": 2.371, + "prompt_tokens": 53, + "reused_tokens": 0, + "read_tokens": 53, + "generated_tokens": 100, + "prompt_tps": 40.9, + "prompt_tps_source": "engine", + "decode_tps": 103.9, + "decode_tps_source": "engine", + "prompt_ms": 1297.2, + "decode_ms": 962.6, + "drafts_offered": 85, + "drafts_accepted": 70, + "run": 2, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.387, + "total_s": 2.629, + "prompt_tokens": 45, + "reused_tokens": 0, + "read_tokens": 45, + "generated_tokens": 100, + "prompt_tps": 35.0, + "prompt_tps_source": "engine", + "decode_tps": 80.5, + "decode_tps_source": "engine", + "prompt_ms": 1286.6, + "decode_ms": 1241.7, + "drafts_offered": 99, + "drafts_accepted": 53, + "run": 2, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.408, + "total_s": 2.59, + "prompt_tokens": 48, + "reused_tokens": 0, + "read_tokens": 48, + "generated_tokens": 100, + "prompt_tps": 36.7, + "prompt_tps_source": "engine", + "decode_tps": 84.7, + "decode_tps_source": "engine", + "prompt_ms": 1309.3, + "decode_ms": 1181.0, + "drafts_offered": 97, + "drafts_accepted": 59, + "run": 2, + "prompt": 2 + } + ], + "decode_tps": { + "median": 84.7, + "min": 74.1, + "max": 104.3, + "n": 9 + }, + "ttft_s": { + "median": 1.408, + "min": 1.333, + "max": 1.471, + "n": 9 + }, + "generated_tokens": { + "median": 100, + "min": 100, + "max": 100, + "n": 9 + }, + "prompt_tokens": { + "median": 48, + "min": 45, + "max": 53, + "n": 9 + } + }, + "prompts": { + "4K": { + "target_tokens": 4096, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 4.32, + "total_s": 4.699, + "prompt_tokens": 4101, + "reused_tokens": 0, + "read_tokens": 4101, + "generated_tokens": 24, + "prompt_tps": 972.0, + "prompt_tps_source": "engine", + "decode_tps": 63.2, + "decode_tps_source": "engine", + "prompt_ms": 4219.0, + "decode_ms": 379.5, + "drafts_offered": 28, + "drafts_accepted": 12, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.348, + "total_s": 4.696, + "prompt_tokens": 4101, + "reused_tokens": 0, + "read_tokens": 4101, + "generated_tokens": 24, + "prompt_tps": 1338.7, + "prompt_tps_source": "engine", + "decode_tps": 68.9, + "decode_tps_source": "engine", + "prompt_ms": 3063.4, + "decode_ms": 348.1, + "drafts_offered": 27, + "drafts_accepted": 12, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.16, + "total_s": 4.491, + "prompt_tokens": 4101, + "reused_tokens": 0, + "read_tokens": 4101, + "generated_tokens": 24, + "prompt_tps": 1318.3, + "prompt_tps_source": "engine", + "decode_tps": 72.4, + "decode_tps_source": "engine", + "prompt_ms": 3110.8, + "decode_ms": 331.5, + "drafts_offered": 25, + "drafts_accepted": 12, + "run": 2 + } + ], + "prompt_tps": { + "median": 1318.3, + "min": 972.0, + "max": 1338.7, + "n": 3 + }, + "ttft_s": { + "median": 4.32, + "min": 4.16, + "max": 4.348, + "n": 3 + }, + "prompt_tokens": { + "median": 4101, + "min": 4101, + "max": 4101, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "16K": { + "target_tokens": 16384, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 15.766, + "total_s": 16.09, + "prompt_tokens": 16390, + "reused_tokens": 0, + "read_tokens": 16390, + "generated_tokens": 24, + "prompt_tps": 1115.7, + "prompt_tps_source": "engine", + "decode_tps": 74.1, + "decode_tps_source": "engine", + "prompt_ms": 14689.9, + "decode_ms": 324.0, + "drafts_offered": 22, + "drafts_accepted": 15, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 15.994, + "total_s": 16.313, + "prompt_tokens": 16390, + "reused_tokens": 0, + "read_tokens": 16390, + "generated_tokens": 24, + "prompt_tps": 1122.3, + "prompt_tps_source": "engine", + "decode_tps": 75.1, + "decode_tps_source": "engine", + "prompt_ms": 14604.5, + "decode_ms": 319.5, + "drafts_offered": 22, + "drafts_accepted": 15, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 15.94, + "total_s": 16.266, + "prompt_tokens": 16390, + "reused_tokens": 0, + "read_tokens": 16390, + "generated_tokens": 24, + "prompt_tps": 1103.7, + "prompt_tps_source": "engine", + "decode_tps": 73.6, + "decode_tps_source": "engine", + "prompt_ms": 14849.7, + "decode_ms": 326.3, + "drafts_offered": 21, + "drafts_accepted": 14, + "run": 2 + } + ], + "prompt_tps": { + "median": 1115.7, + "min": 1103.7, + "max": 1122.3, + "n": 3 + }, + "ttft_s": { + "median": 15.94, + "min": 15.766, + "max": 15.994, + "n": 3 + }, + "prompt_tokens": { + "median": 16390, + "min": 16390, + "max": 16390, + "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.895, + "total_s": 2.143, + "prompt_tokens": 396, + "reused_tokens": 0, + "read_tokens": 396, + "generated_tokens": 22, + "prompt_tps": 463.5, + "prompt_tps_source": "engine", + "decode_tps": 89.0, + "decode_tps_source": "engine", + "prompt_ms": 854.4, + "decode_ms": 247.1, + "drafts_offered": 19, + "drafts_accepted": 15, + "run": 0, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.319, + "total_s": 4.965, + "prompt_tokens": 4058, + "reused_tokens": 389, + "read_tokens": 3669, + "generated_tokens": 49, + "prompt_tps": 871.0, + "prompt_tps_source": "engine", + "decode_tps": 75.9, + "decode_tps_source": "engine", + "prompt_ms": 4212.2, + "decode_ms": 645.7, + "drafts_offered": 50, + "drafts_accepted": 29, + "run": 0, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.202, + "total_s": 3.893, + "prompt_tokens": 5771, + "reused_tokens": 4051, + "read_tokens": 1720, + "generated_tokens": 55, + "prompt_tps": 788.9, + "prompt_tps_source": "engine", + "decode_tps": 79.6, + "decode_tps_source": "engine", + "prompt_ms": 2180.3, + "decode_ms": 690.8, + "drafts_offered": 56, + "drafts_accepted": 34, + "run": 0, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.948, + "total_s": 5.725, + "prompt_tokens": 9248, + "reused_tokens": 5764, + "read_tokens": 3484, + "generated_tokens": 54, + "prompt_tps": 888.4, + "prompt_tps_source": "engine", + "decode_tps": 69.5, + "decode_tps_source": "engine", + "prompt_ms": 3921.6, + "decode_ms": 776.5, + "drafts_offered": 57, + "drafts_accepted": 29, + "run": 0, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.418, + "total_s": 5.149, + "prompt_tokens": 12154, + "reused_tokens": 9241, + "read_tokens": 2913, + "generated_tokens": 59, + "prompt_tps": 873.2, + "prompt_tps_source": "engine", + "decode_tps": 80.6, + "decode_tps_source": "engine", + "prompt_ms": 3336.1, + "decode_ms": 731.8, + "drafts_offered": 53, + "drafts_accepted": 37, + "run": 0, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 5.244, + "total_s": 5.958, + "prompt_tokens": 15268, + "reused_tokens": 12147, + "read_tokens": 3121, + "generated_tokens": 53, + "prompt_tps": 743.8, + "prompt_tps_source": "engine", + "decode_tps": 74.2, + "decode_tps_source": "engine", + "prompt_ms": 4196.0, + "decode_ms": 714.1, + "drafts_offered": 50, + "drafts_accepted": 32, + "run": 0, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 1.725, + "total_s": 1.951, + "prompt_tokens": 396, + "reused_tokens": 0, + "read_tokens": 396, + "generated_tokens": 22, + "prompt_tps": 574.2, + "prompt_tps_source": "engine", + "decode_tps": 97.0, + "decode_tps_source": "engine", + "prompt_ms": 689.7, + "decode_ms": 226.7, + "drafts_offered": 21, + "drafts_accepted": 15, + "run": 1, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.133, + "total_s": 4.792, + "prompt_tokens": 4058, + "reused_tokens": 389, + "read_tokens": 3669, + "generated_tokens": 48, + "prompt_tps": 912.4, + "prompt_tps_source": "engine", + "decode_tps": 72.8, + "decode_tps_source": "engine", + "prompt_ms": 4021.1, + "decode_ms": 659.4, + "drafts_offered": 57, + "drafts_accepted": 29, + "run": 1, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.26, + "total_s": 3.959, + "prompt_tokens": 5770, + "reused_tokens": 4051, + "read_tokens": 1719, + "generated_tokens": 55, + "prompt_tps": 777.8, + "prompt_tps_source": "engine", + "decode_tps": 78.8, + "decode_tps_source": "engine", + "prompt_ms": 2210.2, + "decode_ms": 698.4, + "drafts_offered": 54, + "drafts_accepted": 34, + "run": 1, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 5.01, + "total_s": 5.769, + "prompt_tokens": 9247, + "reused_tokens": 5763, + "read_tokens": 3484, + "generated_tokens": 54, + "prompt_tps": 880.4, + "prompt_tps_source": "engine", + "decode_tps": 71.1, + "decode_tps_source": "engine", + "prompt_ms": 3957.4, + "decode_ms": 759.4, + "drafts_offered": 58, + "drafts_accepted": 30, + "run": 1, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.314, + "total_s": 5.099, + "prompt_tokens": 12153, + "reused_tokens": 9240, + "read_tokens": 2913, + "generated_tokens": 59, + "prompt_tps": 887.8, + "prompt_tps_source": "engine", + "decode_tps": 75.2, + "decode_tps_source": "engine", + "prompt_ms": 3281.1, + "decode_ms": 784.8, + "drafts_offered": 58, + "drafts_accepted": 37, + "run": 1, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 5.222, + "total_s": 5.936, + "prompt_tokens": 15267, + "reused_tokens": 12146, + "read_tokens": 3121, + "generated_tokens": 60, + "prompt_tps": 749.6, + "prompt_tps_source": "engine", + "decode_tps": 83.9, + "decode_tps_source": "engine", + "prompt_ms": 4163.3, + "decode_ms": 715.0, + "drafts_offered": 53, + "drafts_accepted": 40, + "run": 1, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 1.736, + "total_s": 1.963, + "prompt_tokens": 396, + "reused_tokens": 0, + "read_tokens": 396, + "generated_tokens": 22, + "prompt_tps": 585.5, + "prompt_tps_source": "engine", + "decode_tps": 97.0, + "decode_tps_source": "engine", + "prompt_ms": 676.3, + "decode_ms": 226.8, + "drafts_offered": 21, + "drafts_accepted": 15, + "run": 2, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.144, + "total_s": 4.843, + "prompt_tokens": 4058, + "reused_tokens": 389, + "read_tokens": 3669, + "generated_tokens": 49, + "prompt_tps": 909.5, + "prompt_tps_source": "engine", + "decode_tps": 70.0, + "decode_tps_source": "engine", + "prompt_ms": 4034.1, + "decode_ms": 699.6, + "drafts_offered": 60, + "drafts_accepted": 29, + "run": 2, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.311, + "total_s": 3.938, + "prompt_tokens": 5771, + "reused_tokens": 4051, + "read_tokens": 1720, + "generated_tokens": 55, + "prompt_tps": 763.9, + "prompt_tps_source": "engine", + "decode_tps": 87.7, + "decode_tps_source": "engine", + "prompt_ms": 2251.7, + "decode_ms": 627.4, + "drafts_offered": 50, + "drafts_accepted": 36, + "run": 2, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 5.282, + "total_s": 6.039, + "prompt_tokens": 9248, + "reused_tokens": 5764, + "read_tokens": 3484, + "generated_tokens": 54, + "prompt_tps": 883.1, + "prompt_tps_source": "engine", + "decode_tps": 71.3, + "decode_tps_source": "engine", + "prompt_ms": 3945.0, + "decode_ms": 757.5, + "drafts_offered": 56, + "drafts_accepted": 31, + "run": 2, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.423, + "total_s": 5.152, + "prompt_tokens": 12154, + "reused_tokens": 9241, + "read_tokens": 2913, + "generated_tokens": 59, + "prompt_tps": 884.0, + "prompt_tps_source": "engine", + "decode_tps": 80.9, + "decode_tps_source": "engine", + "prompt_ms": 3295.4, + "decode_ms": 729.5, + "drafts_offered": 51, + "drafts_accepted": 38, + "run": 2, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 5.272, + "total_s": 6.115, + "prompt_tokens": 15268, + "reused_tokens": 12147, + "read_tokens": 3121, + "generated_tokens": 62, + "prompt_tps": 746.4, + "prompt_tps_source": "engine", + "decode_tps": 73.6, + "decode_tps_source": "engine", + "prompt_ms": 4181.5, + "decode_ms": 842.5, + "drafts_offered": 59, + "drafts_accepted": 38, + "run": 2, + "turn": 5 + } + ] + ], + "hit_pct": { + "median": 67.941, + "min": 67.941, + "max": 67.941, + "n": 3 + }, + "reread_tokens": { + "median": 274, + "min": 273, + "max": 274, + "n": 3 + }, + "new_tokens": { + "median": 14633, + "min": 14633, + "max": 14633, + "n": 3 + }, + "turn_ttft_s": { + "median": 4.418, + "min": 3.202, + "max": 5.282, + "n": 15 + }, + "last_turn_prompt_tokens": { + "median": 15268, + "min": 15267, + "max": 15268, + "n": 3 + }, + "turn_decode_tps": { + "median": 75.2, + "min": 69.5, + "max": 87.7, + "n": 15 + }, + "first_turn_ttft_s": { + "median": 1.736, + "min": 1.725, + "max": 1.895, + "n": 3 + } + }, + "clients": { + "clients": 2, + "rounds": [ + { + "round": 0, + "wall_s": 6.4, + "tokens": 256, + "total_tps": 40.02, + "first_s": [ + 1.5269342239480466, + 4.676728100050241 + ], + "latency_s": [ + 3.2037461949512362, + 6.395747900009155 + ], + "errors": [], + "error_count": 0 + }, + { + "round": 1, + "wall_s": 6.25, + "tokens": 256, + "total_tps": 40.97, + "first_s": [ + 1.4049508629832417, + 4.610212879953906 + ], + "latency_s": [ + 3.20179381291382, + 6.247401664033532 + ], + "errors": [], + "error_count": 0 + }, + { + "round": 2, + "wall_s": 6.15, + "tokens": 256, + "total_tps": 41.63, + "first_s": [ + 1.4141550711356103, + 4.494770953897387 + ], + "latency_s": [ + 3.077480240026489, + 6.149450144963339 + ], + "errors": [], + "error_count": 0 + } + ], + "total_tps": { + "median": 40.97, + "min": 40.02, + "max": 41.63, + "n": 3 + }, + "ttft_p50_s": 3.011, + "ttft_p95_s": 4.66, + "latency_p50_s": 4.677, + "latency_p95_s": 6.359, + "errors": 0 + }, + "skipped": { + "32K": "the context is 32768 tokens" + }, + "failures": [] + } +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/B-strata_bench/strata_bench-console.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/B-strata_bench/strata_bench-console.txt new file mode 100644 index 000000000..5a964ce1c --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/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.00 tokens per word +chat: 3 short questions x 3 runs, up to 100 new tokens + run 1 q1: decode 101.9 tok/s, first token 1.333 s, 100 tokens + run 1 q2: decode 78.7 tok/s, first token 1.471 s, 100 tokens + run 1 q3: decode 74.1 tok/s, first token 1.424 s, 100 tokens + run 2 q1: decode 104.3 tok/s, first token 1.407 s, 100 tokens + run 2 q2: decode 85.1 tok/s, first token 1.388 s, 100 tokens + run 2 q3: decode 83.8 tok/s, first token 1.423 s, 100 tokens + run 3 q1: decode 103.9 tok/s, first token 1.408 s, 100 tokens + run 3 q2: decode 80.5 tok/s, first token 1.387 s, 100 tokens + run 3 q3: decode 84.7 tok/s, first token 1.408 s, 100 tokens +4K prompt: 3 fresh prompts of about 4096 tokens, 24 new tokens + run 1: 4101 tokens, prompt 972.0 tok/s (0 reused), first token 4.32 s + run 2: 4101 tokens, prompt 1338.7 tok/s (0 reused), first token 4.348 s + run 3: 4101 tokens, prompt 1318.3 tok/s (0 reused), first token 4.16 s +16K prompt: 3 fresh prompts of about 16384 tokens, 24 new tokens + run 1: 16390 tokens, prompt 1115.7 tok/s (0 reused), first token 15.766 s + run 2: 16390 tokens, prompt 1122.3 tok/s (0 reused), first token 15.994 s + run 3: 16390 tokens, prompt 1103.7 tok/s (0 reused), first token 15.94 s +agent: a session of 6 turns with four tools, x 3 runs (corpus: repo_docs) + run 1 turn 0: prompt 396, reused 0, read 396, first token 1.895 s + run 1 turn 1: prompt 4058, reused 389, read 3669, first token 4.319 s + run 1 turn 2: prompt 5771, reused 4051, read 1720, first token 3.202 s + run 1 turn 3: prompt 9248, reused 5764, read 3484, first token 4.948 s + run 1 turn 4: prompt 12154, reused 9241, read 2913, first token 4.418 s + run 1 turn 5: prompt 15268, reused 12147, read 3121, first token 5.244 s + run 2 turn 0: prompt 396, reused 0, read 396, first token 1.725 s + run 2 turn 1: prompt 4058, reused 389, read 3669, first token 4.133 s + run 2 turn 2: prompt 5770, reused 4051, read 1719, first token 3.26 s + run 2 turn 3: prompt 9247, reused 5763, read 3484, first token 5.01 s + run 2 turn 4: prompt 12153, reused 9240, read 2913, first token 4.314 s + run 2 turn 5: prompt 15267, reused 12146, read 3121, first token 5.222 s + run 3 turn 0: prompt 396, reused 0, read 396, first token 1.736 s + run 3 turn 1: prompt 4058, reused 389, read 3669, first token 4.144 s + run 3 turn 2: prompt 5771, reused 4051, read 1720, first token 3.311 s + run 3 turn 3: prompt 9248, reused 5764, read 3484, first token 5.282 s + run 3 turn 4: prompt 12154, reused 9241, read 2913, first token 4.423 s + run 3 turn 5: prompt 15268, reused 12147, read 3121, first token 5.272 s +concurrency: 2 requests at once x 3 rounds, 128 new tokens each + round 1: 256 tokens in 6.4 s = 40.0 tok/s total + round 2: 256 tokens in 6.2 s = 41.0 tok/s total + round 3: 256 tokens in 6.1 s = 41.6 tok/s total +32K prompt: skipped (the context is 32768 tokens) + +Results (median, range over the runs): + chat decode tok/s 84.70 (74.10 - 104.30, n=9) + chat first token (s) 1.41 (1.33 - 1.47, n=9) + 4K prompt tok/s 1318.30 (972.00 - 1338.70, n=3) + 4K first token (s) 4.32 (4.16 - 4.35, n=3) + 16K prompt tok/s 1115.70 (1103.70 - 1122.30, n=3) + 16K first token (s) 15.94 (15.77 - 15.99, n=3) + agent cache hit % 67.94 (67.94 - 67.94, n=3) + agent re-read tokens/session 274.00 (273.00 - 274.00, n=3) + agent turn first token (s) 4.42 (3.20 - 5.28, n=15) + agent decode tok/s 75.20 (69.50 - 87.70, n=15) + 2 clients total tok/s 40.97 (40.02 - 41.63, n=3) + (0 failed request(s), 1 skipped test(s): see the report) + +Report: /results-qat-ud-q4_k_xl-voff/B/2026-12-04-community-unknown-gemma-4-26b-a4b-qat-ud-q4-k-xl/README.md +Share it: open a pull request that adds the folder /results-qat-ud-q4_k_xl-voff/B/2026-12-04-community-unknown-gemma-4-26b-a4b-qat-ud-q4-k-xl (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-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/engine-requests.csv b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/engine-requests.csv new file mode 100644 index 000000000..0aec45da6 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/engine-requests.csv @@ -0,0 +1,57 @@ +load,prompt_tokens,reused,read,prefill_ms,prefill_tok_s,generated,decode_ms,decode_tok_s,drafts_accepted,drafts_offered +1,23,0,23,422,54.5,75,1046,71.7,46,76 +1,3040,0,3040,3348,908.1,91,1314,69.2,50,88 +1,10662,2048,8614,8141,1058.1,77,1128,68.3,43,82 +2,23,0,23,420,54.8,75,1049,71.5,46,76 +2,3040,0,3040,3359,905.0,88,1204,73.1,49,74 +2,10662,2048,8614,8139,1058.4,80,1144,69.9,45,81 +3,23,0,23,419,54.9,75,1081,69.4,46,76 +3,3040,0,3040,3366,903.2,88,1207,72.9,49,75 +3,10662,2048,8614,8143,1057.8,93,1431,65.0,50,101 +4,23,0,23,424,54.2,75,1099,68.2,46,76 +4,31065,0,31065,36737,845.6,97,1772,54.7,50,93 +5,23,0,23,423,54.4,75,1061,70.7,46,76 +5,31065,0,31065,36897,841.9,87,1769,49.2,41,93 +6,23,0,23,419,54.8,75,1054,71.2,46,76 +6,31065,0,31065,37038,838.7,104,1762,59.0,58,99 +7,35,0,35,526,66.5,24,389,61.7,16,23 +7,1029,0,1029,1743,590.3,8,164,48.8,4,12 +7,53,0,53,1222,43.4,100,981,101.9,70,84 +7,45,0,45,1365,33.0,100,1271,78.7,60,92 +7,48,0,48,1314,36.5,100,1349,74.1,55,113 +7,53,0,53,1271,41.7,100,959,104.3,71,86 +7,45,0,45,1276,35.3,100,1175,85.1,60,100 +7,48,0,48,1320,36.4,100,1193,83.8,58,102 +7,53,0,53,1297,40.9,100,963,103.9,70,85 +7,45,0,45,1287,35.0,100,1242,80.5,53,99 +7,48,0,48,1309,36.7,100,1181,84.7,59,97 +7,4101,0,4101,4219,972.0,24,380,63.2,12,28 +7,4101,0,4101,3063,1338.7,24,348,68.9,12,27 +7,4101,0,4101,3111,1318.3,24,331,72.4,12,25 +7,16390,0,16390,14690,1115.7,24,324,74.1,15,22 +7,16390,0,16390,14604,1122.3,24,320,75.1,15,22 +7,16390,0,16390,14850,1103.7,24,326,73.6,14,21 +7,396,0,396,854,463.5,22,247,89.1,15,19 +7,4058,389,3669,4212,871.0,49,646,75.9,29,50 +7,5771,4051,1720,2180,788.9,55,691,79.6,34,56 +7,9248,5764,3484,3922,888.4,54,776,69.5,29,57 +7,12154,9241,2913,3336,873.2,59,732,80.6,37,53 +7,15268,12147,3121,4196,743.8,53,714,74.2,32,50 +7,396,0,396,690,574.2,22,227,97.1,15,21 +7,4058,389,3669,4021,912.4,48,659,72.8,29,57 +7,5770,4051,1719,2210,777.8,55,698,78.8,34,54 +7,9247,5763,3484,3957,880.4,54,759,71.1,30,58 +7,12153,9240,2913,3281,887.8,59,785,75.2,37,58 +7,15267,12146,3121,4163,749.6,60,715,83.9,40,53 +7,396,0,396,676,585.5,22,227,97.0,15,21 +7,4058,389,3669,4034,909.5,49,700,70.0,29,60 +7,5771,4051,1720,2252,763.9,55,627,87.7,36,50 +7,9248,5764,3484,3945,883.1,54,757,71.3,31,56 +7,12154,9241,2913,3295,884.0,59,730,80.9,38,51 +7,15268,12147,3121,4182,746.4,62,843,73.6,38,59 +7,68,0,68,438,155.1,128,1677,76.3,64,118 +7,63,0,63,1363,46.2,128,1719,74.5,69,147 +7,68,0,68,1284,52.9,128,1797,71.2,58,127 +7,63,0,63,1306,48.3,128,1637,78.2,68,129 +7,68,0,68,1307,52.0,128,1663,77.0,66,127 +7,63,0,63,1319,47.8,128,1655,77.3,67,132 diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/experts-at-load.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/experts-at-load.txt new file mode 100644 index 000000000..d3adcdc58 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/experts-at-load.txt @@ -0,0 +1,7 @@ +load 1 (A-default-run1): loaded in 9.7 s; 2472 of 3840 routed experts in VRAM (7.7 GiB), 7 CPU threads +load 2 (A-default-run2): loaded in 9.7 s; 2472 of 3840 routed experts in VRAM (7.7 GiB), 7 CPU threads +load 3 (A-default-run3): loaded in 9.7 s; 2472 of 3840 routed experts in VRAM (7.7 GiB), 7 CPU threads +load 4 (A-24000-run1): loaded in 9.6 s; 2472 of 3840 routed experts in VRAM (7.7 GiB), 7 CPU threads +load 5 (A-24000-run2): loaded in 9.7 s; 2472 of 3840 routed experts in VRAM (7.7 GiB), 7 CPU threads +load 6 (A-24000-run3): loaded in 9.7 s; 2472 of 3840 routed experts in VRAM (7.7 GiB), 7 CPU threads +load 7 (B-strata_bench): loaded in 9.6 s; 2472 of 3840 routed experts in VRAM (7.7 GiB), 7 CPU threads diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/loads.csv b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/loads.csv new file mode 100644 index 000000000..4ad49512e --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/loads.csv @@ -0,0 +1,8 @@ +load,run,engine_started_utc,requests_logged_by_engine,server_ready_line_says_images_on,image_encoder_started_during_load +1,A-default-run1,20:09:00Z,3,False,False +2,A-default-run2,20:09:36Z,3,False,False +3,A-default-run3,20:10:12Z,3,False,False +4,A-24000-run1,20:10:48Z,2,False,False +5,A-24000-run2,20:11:48Z,2,False,False +6,A-24000-run3,20:12:47Z,2,False,False +7,B-strata_bench,20:13:47Z,41,False,False diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/metrics-totals-after-B.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/metrics-totals-after-B.json new file mode 100644 index 000000000..02f76885b --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/metrics-totals-after-B.json @@ -0,0 +1 @@ +{"since": 1796415237.0511281, "requests": 43, "prompt_tokens": 205161, "reused": 94773, "output_tokens": 2737, "prompt_ms": 134019.7, "decode_ms": 34577.700000000004, "drafts_offered": 2701, "drafts_accepted": 1596} diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/server-starts.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/server-starts.txt new file mode 100644 index 000000000..e34c4a315 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-off/server-starts.txt @@ -0,0 +1,25 @@ +--- load 1 (A-default-run1), engine started 20:09:00Z +2026-12-04T20:08:59+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-qat-ud-q4_k_xl.json --host 127.0.0.1 --port 8080". +2026-12-04T20:09:10+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens) +--- load 2 (A-default-run2), engine started 20:09:36Z +2026-12-04T20:09:35+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-qat-ud-q4_k_xl.json --host 127.0.0.1 --port 8080". +2026-12-04T20:09:46+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens) +--- load 3 (A-default-run3), engine started 20:10:12Z +2026-12-04T20:10:11+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-qat-ud-q4_k_xl.json --host 127.0.0.1 --port 8080". +2026-12-04T20:10:22+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens) +--- load 4 (A-24000-run1), engine started 20:10:48Z +2026-12-04T20:10:47+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-qat-ud-q4_k_xl.json --host 127.0.0.1 --port 8080". +2026-12-04T20:10:58+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens) +--- load 5 (A-24000-run2), engine started 20:11:48Z +2026-12-04T20:11:47+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-qat-ud-q4_k_xl.json --host 127.0.0.1 --port 8080". +2026-12-04T20:11:58+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens) +--- load 6 (A-24000-run3), engine started 20:12:47Z +2026-12-04T20:12:46+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-qat-ud-q4_k_xl.json --host 127.0.0.1 --port 8080". +2026-12-04T20:12:57+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens) +--- load 7 (B-strata_bench), engine started 20:13:47Z +2026-12-04T20:13:46+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-qat-ud-q4_k_xl.json --host 127.0.0.1 --port 8080". +2026-12-04T20:13:57+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens) +2026-12-04T20:17:15+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-qat-ud-q4_k_xl.json --host 127.0.0.1 --port 8080". +2026-12-04T20:17:16+00:00 server: loading the vision encoder ... +2026-12-04T20:17:26+00:00 server: [strata] images: the image encoder starts with the first picture and stops after 120 s without one; it runs on the CPU, and its RAM is free in between ('"elastic": false' in the vision section keeps it running) +2026-12-04T20:17:26+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, images on) diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run1.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run1.json new file mode 100644 index 000000000..9d609bf65 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run1.json @@ -0,0 +1,41 @@ +{ + "model": "gemma-4-26b-a4b-qat-ud-q4_k_xl", + "backend": "gemma4", + "quantization": "UD-Q4_K_XL", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 75, + "ttft_s": 0.589, + "prefill_tok_s": 55.2, + "decode_tok_s": 71.1, + "cache_hit_rate": 0.884, + "mtp_offered": 76, + "mtp_accepted": 46, + "mtp_acceptance": 0.605, + "vram_peak_gib": 11.63, + "ram_peak_gib": 1.4, + "gpu_util_mean": 32.3, + "cpu_util_mean": 18.4 + }, + { + "prompt": "long-24000", + "prompt_tokens": 31065, + "output_tokens": 106, + "ttft_s": 37.054, + "prefill_tok_s": 840.8, + "decode_tok_s": 60.5, + "cache_hit_rate": 0.943, + "mtp_offered": 90, + "mtp_accepted": 61, + "mtp_acceptance": 0.678, + "vram_peak_gib": 11.61, + "ram_peak_gib": 2.62, + "gpu_util_mean": 93.2, + "cpu_util_mean": 12.0 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run1.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run1.txt new file mode 100644 index 000000000..072c1c7a1 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run1.txt @@ -0,0 +1,9 @@ +(the 24000-token prompt does not fit the context: trying 95% of it) + +gemma-4-26b-a4b-qat-ud-q4_k_xl (gemma4, UD-Q4_K_XL, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 75 0.589 55.2 71.1 0.884 0.605 11.63 1.4 32.3 18.4 + long-24000 31065 106 37.054 840.8 60.5 0.943 0.678 11.61 2.62 93.2 12.0 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-qat-ud-q4_k_xl-von/A/A-24000-run1.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run2.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run2.json new file mode 100644 index 000000000..3f06407fb --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run2.json @@ -0,0 +1,41 @@ +{ + "model": "gemma-4-26b-a4b-qat-ud-q4_k_xl", + "backend": "gemma4", + "quantization": "UD-Q4_K_XL", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 75, + "ttft_s": 0.59, + "prefill_tok_s": 54.9, + "decode_tok_s": 72.9, + "cache_hit_rate": 0.883, + "mtp_offered": 75, + "mtp_accepted": 46, + "mtp_acceptance": 0.613, + "vram_peak_gib": 11.63, + "ram_peak_gib": 1.4, + "gpu_util_mean": 29.7, + "cpu_util_mean": 19.1 + }, + { + "prompt": "long-24000", + "prompt_tokens": 31065, + "output_tokens": 97, + "ttft_s": 37.117, + "prefill_tok_s": 839.0, + "decode_tok_s": 55.6, + "cache_hit_rate": 0.94, + "mtp_offered": 89, + "mtp_accepted": 51, + "mtp_acceptance": 0.573, + "vram_peak_gib": 11.61, + "ram_peak_gib": 2.62, + "gpu_util_mean": 93.4, + "cpu_util_mean": 12.0 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run2.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run2.txt new file mode 100644 index 000000000..dc5445b88 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run2.txt @@ -0,0 +1,9 @@ +(the 24000-token prompt does not fit the context: trying 95% of it) + +gemma-4-26b-a4b-qat-ud-q4_k_xl (gemma4, UD-Q4_K_XL, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 75 0.59 54.9 72.9 0.883 0.613 11.63 1.4 29.7 19.1 + long-24000 31065 97 37.117 839.0 55.6 0.94 0.573 11.61 2.62 93.4 12.0 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-qat-ud-q4_k_xl-von/A/A-24000-run2.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run3.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run3.json new file mode 100644 index 000000000..e66b5364c --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run3.json @@ -0,0 +1,41 @@ +{ + "model": "gemma-4-26b-a4b-qat-ud-q4_k_xl", + "backend": "gemma4", + "quantization": "UD-Q4_K_XL", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 75, + "ttft_s": 0.588, + "prefill_tok_s": 55.3, + "decode_tok_s": 70.3, + "cache_hit_rate": 0.884, + "mtp_offered": 76, + "mtp_accepted": 46, + "mtp_acceptance": 0.605, + "vram_peak_gib": 11.63, + "ram_peak_gib": 1.4, + "gpu_util_mean": 32.0, + "cpu_util_mean": 18.9 + }, + { + "prompt": "long-24000", + "prompt_tokens": 31065, + "output_tokens": 92, + "ttft_s": 37.121, + "prefill_tok_s": 839.7, + "decode_tok_s": 57.7, + "cache_hit_rate": 0.94, + "mtp_offered": 85, + "mtp_accepted": 50, + "mtp_acceptance": 0.588, + "vram_peak_gib": 11.61, + "ram_peak_gib": 2.62, + "gpu_util_mean": 93.8, + "cpu_util_mean": 11.9 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run3.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run3.txt new file mode 100644 index 000000000..09446e994 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-24000-run3.txt @@ -0,0 +1,9 @@ +(the 24000-token prompt does not fit the context: trying 95% of it) + +gemma-4-26b-a4b-qat-ud-q4_k_xl (gemma4, UD-Q4_K_XL, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 75 0.588 55.3 70.3 0.884 0.605 11.63 1.4 32.0 18.9 + long-24000 31065 92 37.121 839.7 57.7 0.94 0.588 11.61 2.62 93.8 11.9 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-qat-ud-q4_k_xl-von/A/A-24000-run3.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run1.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run1.json new file mode 100644 index 000000000..80e7c726e --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run1.json @@ -0,0 +1,57 @@ +{ + "model": "gemma-4-26b-a4b-qat-ud-q4_k_xl", + "backend": "gemma4", + "quantization": "UD-Q4_K_XL", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 75, + "ttft_s": 0.592, + "prefill_tok_s": 54.7, + "decode_tok_s": 71.0, + "cache_hit_rate": 0.884, + "mtp_offered": 77, + "mtp_accepted": 46, + "mtp_acceptance": 0.597, + "vram_peak_gib": 11.63, + "ram_peak_gib": 1.4, + "gpu_util_mean": 30.3, + "cpu_util_mean": 19.2 + }, + { + "prompt": "long-2000", + "prompt_tokens": 3040, + "output_tokens": 95, + "ttft_s": 3.562, + "prefill_tok_s": 894.5, + "decode_tok_s": 66.8, + "cache_hit_rate": 0.937, + "mtp_offered": 84, + "mtp_accepted": 56, + "mtp_acceptance": 0.667, + "vram_peak_gib": 11.61, + "ram_peak_gib": 1.73, + "gpu_util_mean": 85.0, + "cpu_util_mean": 21.0 + }, + { + "prompt": "long-8000", + "prompt_tokens": 10662, + "output_tokens": 80, + "ttft_s": 9.4, + "prefill_tok_s": 1057.5, + "decode_tok_s": 69.2, + "cache_hit_rate": 0.982, + "mtp_offered": 80, + "mtp_accepted": 44, + "mtp_acceptance": 0.55, + "vram_peak_gib": 11.61, + "ram_peak_gib": 3.06, + "gpu_util_mean": 88.7, + "cpu_util_mean": 15.6 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run1.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run1.txt new file mode 100644 index 000000000..dd5a7169b --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run1.txt @@ -0,0 +1,9 @@ + +gemma-4-26b-a4b-qat-ud-q4_k_xl (gemma4, UD-Q4_K_XL, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 75 0.592 54.7 71.0 0.884 0.597 11.63 1.4 30.3 19.2 + long-2000 3040 95 3.562 894.5 66.8 0.937 0.667 11.61 1.73 85.0 21.0 + long-8000 10662 80 9.4 1057.5 69.2 0.982 0.55 11.61 3.06 88.7 15.6 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-qat-ud-q4_k_xl-von/A/A-default-run1.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run2.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run2.json new file mode 100644 index 000000000..3c3316e79 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run2.json @@ -0,0 +1,57 @@ +{ + "model": "gemma-4-26b-a4b-qat-ud-q4_k_xl", + "backend": "gemma4", + "quantization": "UD-Q4_K_XL", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 75, + "ttft_s": 0.585, + "prefill_tok_s": 55.6, + "decode_tok_s": 72.3, + "cache_hit_rate": 0.884, + "mtp_offered": 76, + "mtp_accepted": 46, + "mtp_acceptance": 0.605, + "vram_peak_gib": 11.63, + "ram_peak_gib": 1.4, + "gpu_util_mean": 32.7, + "cpu_util_mean": 19.4 + }, + { + "prompt": "long-2000", + "prompt_tokens": 3040, + "output_tokens": 88, + "ttft_s": 3.528, + "prefill_tok_s": 899.1, + "decode_tok_s": 74.0, + "cache_hit_rate": 0.936, + "mtp_offered": 77, + "mtp_accepted": 51, + "mtp_acceptance": 0.662, + "vram_peak_gib": 11.61, + "ram_peak_gib": 1.73, + "gpu_util_mean": 83.9, + "cpu_util_mean": 21.2 + }, + { + "prompt": "long-8000", + "prompt_tokens": 10662, + "output_tokens": 99, + "ttft_s": 9.313, + "prefill_tok_s": 1061.0, + "decode_tok_s": 69.1, + "cache_hit_rate": 0.978, + "mtp_offered": 110, + "mtp_accepted": 58, + "mtp_acceptance": 0.527, + "vram_peak_gib": 11.61, + "ram_peak_gib": 3.06, + "gpu_util_mean": 92.0, + "cpu_util_mean": 16.1 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run2.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run2.txt new file mode 100644 index 000000000..c775c8876 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run2.txt @@ -0,0 +1,9 @@ + +gemma-4-26b-a4b-qat-ud-q4_k_xl (gemma4, UD-Q4_K_XL, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 75 0.585 55.6 72.3 0.884 0.605 11.63 1.4 32.7 19.4 + long-2000 3040 88 3.528 899.1 74.0 0.936 0.662 11.61 1.73 83.9 21.2 + long-8000 10662 99 9.313 1061.0 69.1 0.978 0.527 11.61 3.06 92.0 16.1 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-qat-ud-q4_k_xl-von/A/A-default-run2.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run3.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run3.json new file mode 100644 index 000000000..ad0940919 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run3.json @@ -0,0 +1,57 @@ +{ + "model": "gemma-4-26b-a4b-qat-ud-q4_k_xl", + "backend": "gemma4", + "quantization": "UD-Q4_K_XL", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 75, + "ttft_s": 0.609, + "prefill_tok_s": 52.6, + "decode_tok_s": 72.2, + "cache_hit_rate": 0.884, + "mtp_offered": 76, + "mtp_accepted": 46, + "mtp_acceptance": 0.605, + "vram_peak_gib": 11.63, + "ram_peak_gib": 1.4, + "gpu_util_mean": 32.0, + "cpu_util_mean": 15.6 + }, + { + "prompt": "long-2000", + "prompt_tokens": 3040, + "output_tokens": 91, + "ttft_s": 3.511, + "prefill_tok_s": 906.2, + "decode_tok_s": 74.5, + "cache_hit_rate": 0.937, + "mtp_offered": 76, + "mtp_accepted": 52, + "mtp_acceptance": 0.684, + "vram_peak_gib": 11.61, + "ram_peak_gib": 1.73, + "gpu_util_mean": 82.3, + "cpu_util_mean": 21.6 + }, + { + "prompt": "long-8000", + "prompt_tokens": 10662, + "output_tokens": 104, + "ttft_s": 9.423, + "prefill_tok_s": 1056.6, + "decode_tok_s": 72.5, + "cache_hit_rate": 0.973, + "mtp_offered": 92, + "mtp_accepted": 59, + "mtp_acceptance": 0.641, + "vram_peak_gib": 11.61, + "ram_peak_gib": 3.05, + "gpu_util_mean": 89.5, + "cpu_util_mean": 16.0 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run3.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run3.txt new file mode 100644 index 000000000..53e168770 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/A-polystrata-benchmark/A-default-run3.txt @@ -0,0 +1,9 @@ + +gemma-4-26b-a4b-qat-ud-q4_k_xl (gemma4, UD-Q4_K_XL, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 75 0.609 52.6 72.2 0.884 0.605 11.63 1.4 32.0 15.6 + long-2000 3040 91 3.511 906.2 74.5 0.937 0.684 11.61 1.73 82.3 21.6 + long-8000 10662 104 9.423 1056.6 72.5 0.973 0.641 11.61 3.05 89.5 16.0 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-qat-ud-q4_k_xl-von/A/A-default-run3.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/B-strata_bench/README.md b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/B-strata_bench/README.md new file mode 100644 index 000000000..87f43b5b2 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/B-strata_bench/README.md @@ -0,0 +1,64 @@ +# Community benchmark on AMD Radeon + +Measured on 2026-12-04 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: gemma-4-26b-a4b-qat-ud-q4_k_xl +- 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 | 48 (45-53) | 0 | 100 (100-100) | 9 | not measured | 87.3 (78.0-109.8) | 1.42 (1.32-1.57) | +| 4K prompt, fresh | 4101 (4101-4101) | 0 (0-0) | 24 cap | 3 | 1315.5 (982.7-1338.4) | not measured | 4.28 (4.18-4.42) | +| 16K prompt, fresh | 16390 (16390-16390) | 0 (0-0) | 24 cap | 3 | 1117.9 (1101.6-1122.3) | not measured | 15.93 (15.74-16.05) | +| agent session, follow-up turns | 15273 (15268-15275) at the last turn | see below | up to 64 | 3 | see below | 77.6 (72.9-91.4) | 4.37 (3.21-5.25) | + +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: 67.9 % (67.9-67.9); earlier-turn tokens read again per session: 279 (274-281) (earlier turns that the cache did not hold; the 14633 (14633-14633) new tokens of the files are read once); first turn (nothing cached) first token: 1.76 s (1.74-1.92). 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 | 396 | 0 | 396 | 463.3 | 1.918 | 74.4 | +| 1 | 4058 | 389 | 3669 | 1052.0 | 4.249 | 77.5 | +| 2 | 5770 | 4051 | 1719 | 789.7 | 3.211 | 75.5 | +| 3 | 9250 | 5763 | 3487 | 885.0 | 4.964 | 85.9 | +| 4 | 12162 | 9243 | 2919 | 879.9 | 4.351 | 76.0 | +| 5 | 15268 | 12155 | 3113 | 746.6 | 5.205 | 82.3 | + +### Concurrency: 2 clients + +Total 41.1 tok/s (40.4-41.2); first token p50 3.007 s, p95 4.731 s; request latency p50 4.778 s, p95 6.311 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: 194 s. diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/B-strata_bench/results.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/B-strata_bench/results.json new file mode 100644 index 000000000..955d1ec61 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/B-strata_bench/results.json @@ -0,0 +1,945 @@ +{ + "schema": 1, + "tool": "tools/strata_bench.py", + "date": "2026-12-04", + "params": { + "runs": 3, + "think": false, + "clients": 2, + "long": true, + "started_server": false, + "command": "python tools/strata_bench.py --clients 2 --long" + }, + "elapsed_s": 193.90144181251526, + "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": "gemma-4-26b-a4b-qat-ud-q4_k_xl", + "quant": null, + "context": 32768, + "parallel_slots": 1, + "config": {}, + "launch": null, + "engine_info": { + "model": "gemma-4-26b-a4b-qat-ud-q4_k_xl", + "max_context": 32768, + "images": true, + "gen": 1, + "version": "0.1.66", + "context": 32768, + "expert_slots": 2472, + "expert_cache_mib": 7887, + "pool_workers": 7, + "conversation_cache_mib": 8192, + "conversation_cache_slots": 4, + "conversation_cache_min_free_mib": 2560, + "reserve_mib": 383, + "vram_free_mib": 361, + "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": 1.324, + "total_s": 2.429, + "prompt_tokens": 53, + "reused_tokens": 0, + "read_tokens": 53, + "generated_tokens": 100, + "prompt_tps": 43.5, + "prompt_tps_source": "engine", + "decode_tps": 90.6, + "decode_tps_source": "engine", + "prompt_ms": 1217.6, + "decode_ms": 1104.1, + "drafts_offered": 86, + "drafts_accepted": 68, + "run": 0, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.437, + "total_s": 2.657, + "prompt_tokens": 45, + "reused_tokens": 0, + "read_tokens": 45, + "generated_tokens": 100, + "prompt_tps": 33.8, + "prompt_tps_source": "engine", + "decode_tps": 82.0, + "decode_tps_source": "engine", + "prompt_ms": 1331.8, + "decode_ms": 1220.2, + "drafts_offered": 86, + "drafts_accepted": 59, + "run": 0, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.433, + "total_s": 2.692, + "prompt_tokens": 48, + "reused_tokens": 0, + "read_tokens": 48, + "generated_tokens": 100, + "prompt_tps": 36.5, + "prompt_tps_source": "engine", + "decode_tps": 79.4, + "decode_tps_source": "engine", + "prompt_ms": 1313.9, + "decode_ms": 1258.8, + "drafts_offered": 101, + "drafts_accepted": 57, + "run": 0, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.404, + "total_s": 2.315, + "prompt_tokens": 53, + "reused_tokens": 0, + "read_tokens": 53, + "generated_tokens": 100, + "prompt_tps": 41.2, + "prompt_tps_source": "engine", + "decode_tps": 109.8, + "decode_tps_source": "engine", + "prompt_ms": 1287.4, + "decode_ms": 911.0, + "drafts_offered": 84, + "drafts_accepted": 71, + "run": 1, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.395, + "total_s": 2.541, + "prompt_tokens": 45, + "reused_tokens": 0, + "read_tokens": 45, + "generated_tokens": 100, + "prompt_tps": 35.1, + "prompt_tps_source": "engine", + "decode_tps": 87.3, + "decode_tps_source": "engine", + "prompt_ms": 1283.2, + "decode_ms": 1145.7, + "drafts_offered": 103, + "drafts_accepted": 62, + "run": 1, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.428, + "total_s": 2.71, + "prompt_tokens": 48, + "reused_tokens": 0, + "read_tokens": 48, + "generated_tokens": 100, + "prompt_tps": 36.1, + "prompt_tps_source": "engine", + "decode_tps": 78.0, + "decode_tps_source": "engine", + "prompt_ms": 1328.4, + "decode_ms": 1281.6, + "drafts_offered": 108, + "drafts_accepted": 55, + "run": 1, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.419, + "total_s": 2.374, + "prompt_tokens": 53, + "reused_tokens": 0, + "read_tokens": 53, + "generated_tokens": 100, + "prompt_tps": 40.3, + "prompt_tps_source": "engine", + "decode_tps": 104.6, + "decode_tps_source": "engine", + "prompt_ms": 1314.9, + "decode_ms": 956.4, + "drafts_offered": 83, + "drafts_accepted": 71, + "run": 2, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.571, + "total_s": 2.708, + "prompt_tokens": 45, + "reused_tokens": 0, + "read_tokens": 45, + "generated_tokens": 100, + "prompt_tps": 30.7, + "prompt_tps_source": "engine", + "decode_tps": 87.9, + "decode_tps_source": "engine", + "prompt_ms": 1467.7, + "decode_ms": 1137.2, + "drafts_offered": 91, + "drafts_accepted": 59, + "run": 2, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.404, + "total_s": 2.552, + "prompt_tokens": 48, + "reused_tokens": 0, + "read_tokens": 48, + "generated_tokens": 100, + "prompt_tps": 36.8, + "prompt_tps_source": "engine", + "decode_tps": 87.1, + "decode_tps_source": "engine", + "prompt_ms": 1304.6, + "decode_ms": 1147.8, + "drafts_offered": 92, + "drafts_accepted": 57, + "run": 2, + "prompt": 2 + } + ], + "decode_tps": { + "median": 87.3, + "min": 78.0, + "max": 109.8, + "n": 9 + }, + "ttft_s": { + "median": 1.419, + "min": 1.324, + "max": 1.571, + "n": 9 + }, + "generated_tokens": { + "median": 100, + "min": 100, + "max": 100, + "n": 9 + }, + "prompt_tokens": { + "median": 48, + "min": 45, + "max": 53, + "n": 9 + } + }, + "prompts": { + "4K": { + "target_tokens": 4096, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 4.282, + "total_s": 4.667, + "prompt_tokens": 4101, + "reused_tokens": 0, + "read_tokens": 4101, + "generated_tokens": 24, + "prompt_tps": 982.7, + "prompt_tps_source": "engine", + "decode_tps": 62.5, + "decode_tps_source": "engine", + "prompt_ms": 4173.1, + "decode_ms": 384.1, + "drafts_offered": 27, + "drafts_accepted": 11, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.422, + "total_s": 4.793, + "prompt_tokens": 4101, + "reused_tokens": 0, + "read_tokens": 4101, + "generated_tokens": 24, + "prompt_tps": 1338.4, + "prompt_tps_source": "engine", + "decode_tps": 64.8, + "decode_tps_source": "engine", + "prompt_ms": 3064.2, + "decode_ms": 370.3, + "drafts_offered": 28, + "drafts_accepted": 11, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.176, + "total_s": 4.51, + "prompt_tokens": 4101, + "reused_tokens": 0, + "read_tokens": 4101, + "generated_tokens": 24, + "prompt_tps": 1315.5, + "prompt_tps_source": "engine", + "decode_tps": 71.9, + "decode_tps_source": "engine", + "prompt_ms": 3117.4, + "decode_ms": 333.9, + "drafts_offered": 25, + "drafts_accepted": 12, + "run": 2 + } + ], + "prompt_tps": { + "median": 1315.5, + "min": 982.7, + "max": 1338.4, + "n": 3 + }, + "ttft_s": { + "median": 4.282, + "min": 4.176, + "max": 4.422, + "n": 3 + }, + "prompt_tokens": { + "median": 4101, + "min": 4101, + "max": 4101, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "16K": { + "target_tokens": 16384, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 15.743, + "total_s": 16.09, + "prompt_tokens": 16390, + "reused_tokens": 0, + "read_tokens": 16390, + "generated_tokens": 24, + "prompt_tps": 1117.9, + "prompt_tps_source": "engine", + "decode_tps": 69.1, + "decode_tps_source": "engine", + "prompt_ms": 14660.9, + "decode_ms": 347.1, + "drafts_offered": 23, + "drafts_accepted": 14, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 16.054, + "total_s": 16.368, + "prompt_tokens": 16390, + "reused_tokens": 0, + "read_tokens": 16390, + "generated_tokens": 24, + "prompt_tps": 1122.3, + "prompt_tps_source": "engine", + "decode_tps": 76.3, + "decode_tps_source": "engine", + "prompt_ms": 14603.6, + "decode_ms": 314.7, + "drafts_offered": 22, + "drafts_accepted": 15, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 15.931, + "total_s": 16.286, + "prompt_tokens": 16390, + "reused_tokens": 0, + "read_tokens": 16390, + "generated_tokens": 24, + "prompt_tps": 1101.6, + "prompt_tps_source": "engine", + "decode_tps": 67.6, + "decode_tps_source": "engine", + "prompt_ms": 14878.4, + "decode_ms": 355.2, + "drafts_offered": 24, + "drafts_accepted": 14, + "run": 2 + } + ], + "prompt_tps": { + "median": 1117.9, + "min": 1101.6, + "max": 1122.3, + "n": 3 + }, + "ttft_s": { + "median": 15.931, + "min": 15.743, + "max": 16.054, + "n": 3 + }, + "prompt_tokens": { + "median": 16390, + "min": 16390, + "max": 16390, + "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.918, + "total_s": 2.214, + "prompt_tokens": 396, + "reused_tokens": 0, + "read_tokens": 396, + "generated_tokens": 22, + "prompt_tps": 463.3, + "prompt_tps_source": "engine", + "decode_tps": 74.4, + "decode_tps_source": "engine", + "prompt_ms": 854.7, + "decode_ms": 295.7, + "drafts_offered": 18, + "drafts_accepted": 13, + "run": 0, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.249, + "total_s": 4.868, + "prompt_tokens": 4058, + "reused_tokens": 389, + "read_tokens": 3669, + "generated_tokens": 48, + "prompt_tps": 1052.0, + "prompt_tps_source": "engine", + "decode_tps": 77.5, + "decode_tps_source": "engine", + "prompt_ms": 3487.5, + "decode_ms": 619.3, + "drafts_offered": 45, + "drafts_accepted": 28, + "run": 0, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.211, + "total_s": 3.979, + "prompt_tokens": 5770, + "reused_tokens": 4051, + "read_tokens": 1719, + "generated_tokens": 58, + "prompt_tps": 789.7, + "prompt_tps_source": "engine", + "decode_tps": 75.5, + "decode_tps_source": "engine", + "prompt_ms": 2176.8, + "decode_ms": 768.4, + "drafts_offered": 55, + "drafts_accepted": 35, + "run": 0, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.964, + "total_s": 5.663, + "prompt_tokens": 9250, + "reused_tokens": 5763, + "read_tokens": 3487, + "generated_tokens": 60, + "prompt_tps": 885.0, + "prompt_tps_source": "engine", + "decode_tps": 85.9, + "decode_tps_source": "engine", + "prompt_ms": 3940.2, + "decode_ms": 698.5, + "drafts_offered": 50, + "drafts_accepted": 38, + "run": 0, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.351, + "total_s": 5.021, + "prompt_tokens": 12162, + "reused_tokens": 9243, + "read_tokens": 2919, + "generated_tokens": 51, + "prompt_tps": 879.9, + "prompt_tps_source": "engine", + "decode_tps": 76.0, + "decode_tps_source": "engine", + "prompt_ms": 3317.6, + "decode_ms": 670.7, + "drafts_offered": 49, + "drafts_accepted": 31, + "run": 0, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 5.205, + "total_s": 5.836, + "prompt_tokens": 15268, + "reused_tokens": 12155, + "read_tokens": 3113, + "generated_tokens": 52, + "prompt_tps": 746.6, + "prompt_tps_source": "engine", + "decode_tps": 82.3, + "decode_tps_source": "engine", + "prompt_ms": 4169.6, + "decode_ms": 631.7, + "drafts_offered": 44, + "drafts_accepted": 34, + "run": 0, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 1.744, + "total_s": 1.978, + "prompt_tokens": 396, + "reused_tokens": 0, + "read_tokens": 396, + "generated_tokens": 22, + "prompt_tps": 552.1, + "prompt_tps_source": "engine", + "decode_tps": 93.9, + "decode_tps_source": "engine", + "prompt_ms": 717.3, + "decode_ms": 234.3, + "drafts_offered": 21, + "drafts_accepted": 15, + "run": 1, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.159, + "total_s": 4.817, + "prompt_tokens": 4058, + "reused_tokens": 389, + "read_tokens": 3669, + "generated_tokens": 48, + "prompt_tps": 905.4, + "prompt_tps_source": "engine", + "decode_tps": 72.9, + "decode_tps_source": "engine", + "prompt_ms": 4052.3, + "decode_ms": 658.1, + "drafts_offered": 57, + "drafts_accepted": 29, + "run": 1, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.246, + "total_s": 3.98, + "prompt_tokens": 5770, + "reused_tokens": 4051, + "read_tokens": 1719, + "generated_tokens": 57, + "prompt_tps": 777.0, + "prompt_tps_source": "engine", + "decode_tps": 77.6, + "decode_tps_source": "engine", + "prompt_ms": 2212.4, + "decode_ms": 734.6, + "drafts_offered": 59, + "drafts_accepted": 35, + "run": 1, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.967, + "total_s": 5.58, + "prompt_tokens": 9249, + "reused_tokens": 5763, + "read_tokens": 3486, + "generated_tokens": 56, + "prompt_tps": 890.5, + "prompt_tps_source": "engine", + "decode_tps": 91.4, + "decode_tps_source": "engine", + "prompt_ms": 3914.6, + "decode_ms": 612.6, + "drafts_offered": 45, + "drafts_accepted": 37, + "run": 1, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.366, + "total_s": 5.169, + "prompt_tokens": 12157, + "reused_tokens": 9242, + "read_tokens": 2915, + "generated_tokens": 61, + "prompt_tps": 875.5, + "prompt_tps_source": "engine", + "decode_tps": 75.9, + "decode_tps_source": "engine", + "prompt_ms": 3329.4, + "decode_ms": 803.4, + "drafts_offered": 60, + "drafts_accepted": 38, + "run": 1, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 5.224, + "total_s": 6.01, + "prompt_tokens": 15273, + "reused_tokens": 12150, + "read_tokens": 3123, + "generated_tokens": 64, + "prompt_tps": 747.4, + "prompt_tps_source": "engine", + "decode_tps": 81.5, + "decode_tps_source": "engine", + "prompt_ms": 4178.7, + "decode_ms": 785.7, + "drafts_offered": 53, + "drafts_accepted": 40, + "run": 1, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 1.756, + "total_s": 1.98, + "prompt_tokens": 396, + "reused_tokens": 0, + "read_tokens": 396, + "generated_tokens": 22, + "prompt_tps": 565.8, + "prompt_tps_source": "engine", + "decode_tps": 98.2, + "decode_tps_source": "engine", + "prompt_ms": 699.9, + "decode_ms": 224.1, + "drafts_offered": 19, + "drafts_accepted": 15, + "run": 2, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.165, + "total_s": 4.822, + "prompt_tokens": 4058, + "reused_tokens": 389, + "read_tokens": 3669, + "generated_tokens": 48, + "prompt_tps": 902.9, + "prompt_tps_source": "engine", + "decode_tps": 73.1, + "decode_tps_source": "engine", + "prompt_ms": 4063.5, + "decode_ms": 656.5, + "drafts_offered": 54, + "drafts_accepted": 28, + "run": 2, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.307, + "total_s": 3.995, + "prompt_tokens": 5770, + "reused_tokens": 4051, + "read_tokens": 1719, + "generated_tokens": 58, + "prompt_tps": 777.3, + "prompt_tps_source": "engine", + "decode_tps": 84.3, + "decode_tps_source": "engine", + "prompt_ms": 2211.5, + "decode_ms": 688.3, + "drafts_offered": 55, + "drafts_accepted": 37, + "run": 2, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 5.042, + "total_s": 5.707, + "prompt_tokens": 9250, + "reused_tokens": 5763, + "read_tokens": 3487, + "generated_tokens": 57, + "prompt_tps": 889.0, + "prompt_tps_source": "engine", + "decode_tps": 85.8, + "decode_tps_source": "engine", + "prompt_ms": 3922.2, + "decode_ms": 664.5, + "drafts_offered": 48, + "drafts_accepted": 37, + "run": 2, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.442, + "total_s": 5.214, + "prompt_tokens": 12159, + "reused_tokens": 9243, + "read_tokens": 2916, + "generated_tokens": 61, + "prompt_tps": 873.0, + "prompt_tps_source": "engine", + "decode_tps": 79.0, + "decode_tps_source": "engine", + "prompt_ms": 3340.2, + "decode_ms": 772.3, + "drafts_offered": 57, + "drafts_accepted": 38, + "run": 2, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 5.25, + "total_s": 6.083, + "prompt_tokens": 15275, + "reused_tokens": 12152, + "read_tokens": 3123, + "generated_tokens": 62, + "prompt_tps": 743.7, + "prompt_tps_source": "engine", + "decode_tps": 74.4, + "decode_tps_source": "engine", + "prompt_ms": 4199.3, + "decode_ms": 833.0, + "drafts_offered": 62, + "drafts_accepted": 39, + "run": 2, + "turn": 5 + } + ] + ], + "hit_pct": { + "median": 67.936, + "min": 67.935, + "max": 67.947, + "n": 3 + }, + "reread_tokens": { + "median": 279, + "min": 274, + "max": 281, + "n": 3 + }, + "new_tokens": { + "median": 14633, + "min": 14633, + "max": 14633, + "n": 3 + }, + "turn_ttft_s": { + "median": 4.366, + "min": 3.211, + "max": 5.25, + "n": 15 + }, + "last_turn_prompt_tokens": { + "median": 15273, + "min": 15268, + "max": 15275, + "n": 3 + }, + "turn_decode_tps": { + "median": 77.6, + "min": 72.9, + "max": 91.4, + "n": 15 + }, + "first_turn_ttft_s": { + "median": 1.756, + "min": 1.744, + "max": 1.918, + "n": 3 + } + }, + "clients": { + "clients": 2, + "rounds": [ + { + "round": 0, + "wall_s": 6.34, + "tokens": 256, + "total_tps": 40.39, + "first_s": [ + 1.553473971085623, + 4.789004099089652 + ], + "latency_s": [ + 3.3455203210469335, + 6.337054706178606 + ], + "errors": [], + "error_count": 0 + }, + { + "round": 1, + "wall_s": 6.23, + "tokens": 256, + "total_tps": 41.06, + "first_s": [ + 1.4263717248104513, + 4.459748408058658 + ], + "latency_s": [ + 3.0505777138751, + 6.2339200370479375 + ], + "errors": [], + "error_count": 0 + }, + { + "round": 2, + "wall_s": 6.21, + "tokens": 256, + "total_tps": 41.22, + "first_s": [ + 1.420654232148081, + 4.556838373886421 + ], + "latency_s": [ + 3.145788738038391, + 6.209812121000141 + ], + "errors": [], + "error_count": 0 + } + ], + "total_tps": { + "median": 41.06, + "min": 40.39, + "max": 41.22, + "n": 3 + }, + "ttft_p50_s": 3.007, + "ttft_p95_s": 4.731, + "latency_p50_s": 4.778, + "latency_p95_s": 6.311, + "errors": 0 + }, + "skipped": { + "32K": "the context is 32768 tokens" + }, + "failures": [] + } +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/B-strata_bench/strata_bench-console.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/B-strata_bench/strata_bench-console.txt new file mode 100644 index 000000000..e80567f14 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/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.00 tokens per word +chat: 3 short questions x 3 runs, up to 100 new tokens + run 1 q1: decode 90.6 tok/s, first token 1.324 s, 100 tokens + run 1 q2: decode 82.0 tok/s, first token 1.437 s, 100 tokens + run 1 q3: decode 79.4 tok/s, first token 1.433 s, 100 tokens + run 2 q1: decode 109.8 tok/s, first token 1.404 s, 100 tokens + run 2 q2: decode 87.3 tok/s, first token 1.395 s, 100 tokens + run 2 q3: decode 78.0 tok/s, first token 1.428 s, 100 tokens + run 3 q1: decode 104.6 tok/s, first token 1.419 s, 100 tokens + run 3 q2: decode 87.9 tok/s, first token 1.571 s, 100 tokens + run 3 q3: decode 87.1 tok/s, first token 1.404 s, 100 tokens +4K prompt: 3 fresh prompts of about 4096 tokens, 24 new tokens + run 1: 4101 tokens, prompt 982.7 tok/s (0 reused), first token 4.282 s + run 2: 4101 tokens, prompt 1338.4 tok/s (0 reused), first token 4.422 s + run 3: 4101 tokens, prompt 1315.5 tok/s (0 reused), first token 4.176 s +16K prompt: 3 fresh prompts of about 16384 tokens, 24 new tokens + run 1: 16390 tokens, prompt 1117.9 tok/s (0 reused), first token 15.743 s + run 2: 16390 tokens, prompt 1122.3 tok/s (0 reused), first token 16.054 s + run 3: 16390 tokens, prompt 1101.6 tok/s (0 reused), first token 15.931 s +agent: a session of 6 turns with four tools, x 3 runs (corpus: repo_docs) + run 1 turn 0: prompt 396, reused 0, read 396, first token 1.918 s + run 1 turn 1: prompt 4058, reused 389, read 3669, first token 4.249 s + run 1 turn 2: prompt 5770, reused 4051, read 1719, first token 3.211 s + run 1 turn 3: prompt 9250, reused 5763, read 3487, first token 4.964 s + run 1 turn 4: prompt 12162, reused 9243, read 2919, first token 4.351 s + run 1 turn 5: prompt 15268, reused 12155, read 3113, first token 5.205 s + run 2 turn 0: prompt 396, reused 0, read 396, first token 1.744 s + run 2 turn 1: prompt 4058, reused 389, read 3669, first token 4.159 s + run 2 turn 2: prompt 5770, reused 4051, read 1719, first token 3.246 s + run 2 turn 3: prompt 9249, reused 5763, read 3486, first token 4.967 s + run 2 turn 4: prompt 12157, reused 9242, read 2915, first token 4.366 s + run 2 turn 5: prompt 15273, reused 12150, read 3123, first token 5.224 s + run 3 turn 0: prompt 396, reused 0, read 396, first token 1.756 s + run 3 turn 1: prompt 4058, reused 389, read 3669, first token 4.165 s + run 3 turn 2: prompt 5770, reused 4051, read 1719, first token 3.307 s + run 3 turn 3: prompt 9250, reused 5763, read 3487, first token 5.042 s + run 3 turn 4: prompt 12159, reused 9243, read 2916, first token 4.442 s + run 3 turn 5: prompt 15275, reused 12152, read 3123, first token 5.25 s +concurrency: 2 requests at once x 3 rounds, 128 new tokens each + round 1: 256 tokens in 6.3 s = 40.4 tok/s total + round 2: 256 tokens in 6.2 s = 41.1 tok/s total + round 3: 256 tokens in 6.2 s = 41.2 tok/s total +32K prompt: skipped (the context is 32768 tokens) + +Results (median, range over the runs): + chat decode tok/s 87.30 (78.00 - 109.80, n=9) + chat first token (s) 1.42 (1.32 - 1.57, n=9) + 4K prompt tok/s 1315.50 (982.70 - 1338.40, n=3) + 4K first token (s) 4.28 (4.18 - 4.42, n=3) + 16K prompt tok/s 1117.90 (1101.60 - 1122.30, n=3) + 16K first token (s) 15.93 (15.74 - 16.05, n=3) + agent cache hit % 67.94 (67.94 - 67.95, n=3) + agent re-read tokens/session 279.00 (274.00 - 281.00, n=3) + agent turn first token (s) 4.37 (3.21 - 5.25, n=15) + agent decode tok/s 77.60 (72.90 - 91.40, n=15) + 2 clients total tok/s 41.06 (40.39 - 41.22, n=3) + (0 failed request(s), 1 skipped test(s): see the report) + +Report: /results-qat-ud-q4_k_xl-von/B/2026-12-04-community-unknown-gemma-4-26b-a4b-qat-ud-q4-k-xl/README.md +Share it: open a pull request that adds the folder /results-qat-ud-q4_k_xl-von/B/2026-12-04-community-unknown-gemma-4-26b-a4b-qat-ud-q4-k-xl (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-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/C-image-smoke/image-smoke.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/C-image-smoke/image-smoke.json new file mode 100644 index 000000000..48cf020a8 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/C-image-smoke/image-smoke.json @@ -0,0 +1,17 @@ +{ + "image": "docs/media/terminal-monitor.png (PolyStrata v0.2.20-poly.9)", + "image_sha256": "bd9d03b047338bb9d9d055090e7fc3e03d70d9f1a6f8d68876dc2baafb9103ef", + "question": "Describe this image in two or three sentences: what kind of screen is it and what information does it show?", + "elapsed_s": 11.78, + "usage": { + "prompt_tokens": 312, + "completion_tokens": 66, + "total_tokens": 378, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "finish_reason": "stop", + "content": "This image shows a command-line interface (CLI) dashboard for a software called \"Strata Monitor,\" which is used to monitor a large language model. The screen displays real-time performance metrics, including GPU load, VRAM usage, CPU utilization, and processing speeds, alongside a log of recent requests and their statuses.", + "reasoning_chars": 0 +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/engine-requests.csv b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/engine-requests.csv new file mode 100644 index 000000000..0b807c328 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/engine-requests.csv @@ -0,0 +1,58 @@ +load,prompt_tokens,reused,read,prefill_ms,prefill_tok_s,generated,decode_ms,decode_tok_s,drafts_accepted,drafts_offered +1,23,0,23,420,54.7,75,1057,71.0,46,77 +1,3040,0,3040,3398,894.5,95,1423,66.8,56,84 +1,10662,2048,8614,8146,1057.5,80,1155,69.2,44,80 +2,23,0,23,414,55.6,75,1038,72.3,46,76 +2,3040,0,3040,3381,899.1,88,1188,74.1,51,77 +2,10662,2048,8614,8119,1061.0,99,1433,69.1,58,110 +3,23,0,23,437,52.6,75,1039,72.2,46,76 +3,3040,0,3040,3354,906.3,91,1222,74.5,52,76 +3,10662,2048,8614,8153,1056.6,104,1434,72.5,59,92 +4,23,0,23,416,55.2,75,1055,71.1,46,76 +4,31065,0,31065,36946,840.8,106,1753,60.5,61,90 +5,23,0,23,419,54.9,75,1029,72.9,46,75 +5,31065,0,31065,37027,839.0,97,1744,55.6,51,89 +6,23,0,23,416,55.3,75,1067,70.3,46,76 +6,31065,0,31065,36995,839.7,92,1596,57.7,50,85 +7,35,0,35,530,66.0,24,383,62.6,16,23 +7,1029,0,1029,1749,588.5,8,122,65.5,5,9 +7,53,0,53,1218,43.5,100,1104,90.6,68,86 +7,45,0,45,1332,33.8,100,1220,82.0,59,86 +7,48,0,48,1314,36.5,100,1259,79.4,57,101 +7,53,0,53,1287,41.2,100,911,109.8,71,84 +7,45,0,45,1283,35.1,100,1146,87.3,62,103 +7,48,0,48,1328,36.1,100,1282,78.0,55,108 +7,53,0,53,1315,40.3,100,956,104.6,71,83 +7,45,0,45,1468,30.7,100,1137,87.9,59,91 +7,48,0,48,1305,36.8,100,1148,87.1,57,92 +7,4101,0,4101,4173,982.7,24,384,62.5,11,27 +7,4101,0,4101,3064,1338.4,24,370,64.8,11,28 +7,4101,0,4101,3117,1315.5,24,334,71.9,12,25 +7,16390,0,16390,14661,1117.9,24,347,69.1,14,23 +7,16390,0,16390,14604,1122.3,24,315,76.3,15,22 +7,16390,0,16390,14878,1101.6,24,355,67.6,14,24 +7,396,0,396,855,463.3,22,296,74.4,13,18 +7,4058,389,3669,3488,1052.0,48,619,77.5,28,45 +7,5770,4051,1719,2177,789.7,58,768,75.5,35,55 +7,9250,5763,3487,3940,885.0,60,699,85.9,38,50 +7,12162,9243,2919,3318,879.9,51,671,76.0,31,49 +7,15268,12155,3113,4170,746.6,52,632,82.3,34,44 +7,396,0,396,717,552.1,22,234,93.9,15,21 +7,4058,389,3669,4052,905.4,48,658,72.9,29,57 +7,5770,4051,1719,2212,777.0,57,735,77.6,35,59 +7,9249,5763,3486,3915,890.5,56,613,91.4,37,45 +7,12157,9242,2915,3329,875.5,61,803,75.9,38,60 +7,15273,12150,3123,4179,747.4,64,786,81.5,40,53 +7,396,0,396,700,565.8,22,224,98.2,15,19 +7,4058,389,3669,4064,902.9,48,657,73.1,28,54 +7,5770,4051,1719,2212,777.3,58,688,84.3,37,55 +7,9250,5763,3487,3922,889.0,57,665,85.8,37,48 +7,12159,9243,2916,3340,873.0,61,772,79.0,38,57 +7,15275,12152,3123,4199,743.7,62,833,74.4,39,62 +7,68,0,68,468,145.4,128,1792,71.4,61,129 +7,63,0,63,1327,47.5,128,1548,82.7,71,125 +7,68,0,68,1295,52.5,128,1624,78.8,68,128 +7,63,0,63,1307,48.2,128,1774,72.2,65,151 +7,68,0,68,1302,52.2,128,1725,74.2,64,136 +7,63,0,63,1308,48.2,128,1653,77.4,67,133 +7,312,0,312,751,415.2,66,775,85.1,41,63 diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/experts-at-load.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/experts-at-load.txt new file mode 100644 index 000000000..ce77ef12f --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/experts-at-load.txt @@ -0,0 +1,7 @@ +load 1 (A-default-run1): loaded in 9.7 s; 2472 of 3840 routed experts in VRAM (7.7 GiB), 7 CPU threads +load 2 (A-default-run2): loaded in 9.6 s; 2472 of 3840 routed experts in VRAM (7.7 GiB), 7 CPU threads +load 3 (A-default-run3): loaded in 9.8 s; 2472 of 3840 routed experts in VRAM (7.7 GiB), 7 CPU threads +load 4 (A-24000-run1): loaded in 9.7 s; 2472 of 3840 routed experts in VRAM (7.7 GiB), 7 CPU threads +load 5 (A-24000-run2): loaded in 9.6 s; 2472 of 3840 routed experts in VRAM (7.7 GiB), 7 CPU threads +load 6 (A-24000-run3): loaded in 9.7 s; 2472 of 3840 routed experts in VRAM (7.7 GiB), 7 CPU threads +load 7 (B-strata_bench): loaded in 9.7 s; 2472 of 3840 routed experts in VRAM (7.7 GiB), 7 CPU threads diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/loads.csv b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/loads.csv new file mode 100644 index 000000000..2ad5c4a06 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/loads.csv @@ -0,0 +1,8 @@ +load,run,engine_started_utc,requests_logged_by_engine,server_ready_line_says_images_on,image_encoder_started_during_load +1,A-default-run1,20:17:16Z,3,True,False +2,A-default-run2,20:17:52Z,3,True,False +3,A-default-run3,20:18:29Z,3,True,False +4,A-24000-run1,20:19:05Z,2,True,False +5,A-24000-run2,20:20:04Z,2,True,False +6,A-24000-run3,20:21:04Z,2,True,False +7,B-strata_bench,20:22:04Z,42,True,True diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/metrics-totals-after-B.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/metrics-totals-after-B.json new file mode 100644 index 000000000..abc87f232 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/metrics-totals-after-B.json @@ -0,0 +1 @@ +{"since": 1796415733.8367336, "requests": 44, "prompt_tokens": 205507, "reused": 94794, "output_tokens": 2819, "prompt_ms": 134302.9, "decode_ms": 35017.2, "drafts_offered": 2731, "drafts_accepted": 1661} diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/server-starts.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/server-starts.txt new file mode 100644 index 000000000..a4c721049 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/QAT-UD-Q4_K_XL/vision-on/server-starts.txt @@ -0,0 +1,38 @@ +--- load 1 (A-default-run1), engine started 20:17:16Z +2026-12-04T20:17:15+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-qat-ud-q4_k_xl.json --host 127.0.0.1 --port 8080". +2026-12-04T20:17:16+00:00 server: loading the vision encoder ... +2026-12-04T20:17:26+00:00 server: [strata] images: the image encoder starts with the first picture and stops after 120 s without one; it runs on the CPU, and its RAM is free in between ('"elastic": false' in the vision section keeps it running) +2026-12-04T20:17:26+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, images on) +--- load 2 (A-default-run2), engine started 20:17:52Z +2026-12-04T20:17:51+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-qat-ud-q4_k_xl.json --host 127.0.0.1 --port 8080". +2026-12-04T20:17:52+00:00 server: loading the vision encoder ... +2026-12-04T20:18:02+00:00 server: [strata] images: the image encoder starts with the first picture and stops after 120 s without one; it runs on the CPU, and its RAM is free in between ('"elastic": false' in the vision section keeps it running) +2026-12-04T20:18:02+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, images on) +--- load 3 (A-default-run3), engine started 20:18:29Z +2026-12-04T20:18:28+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-qat-ud-q4_k_xl.json --host 127.0.0.1 --port 8080". +2026-12-04T20:18:29+00:00 server: loading the vision encoder ... +2026-12-04T20:18:39+00:00 server: [strata] images: the image encoder starts with the first picture and stops after 120 s without one; it runs on the CPU, and its RAM is free in between ('"elastic": false' in the vision section keeps it running) +2026-12-04T20:18:39+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, images on) +--- load 4 (A-24000-run1), engine started 20:19:05Z +2026-12-04T20:19:04+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-qat-ud-q4_k_xl.json --host 127.0.0.1 --port 8080". +2026-12-04T20:19:05+00:00 server: loading the vision encoder ... +2026-12-04T20:19:15+00:00 server: [strata] images: the image encoder starts with the first picture and stops after 120 s without one; it runs on the CPU, and its RAM is free in between ('"elastic": false' in the vision section keeps it running) +2026-12-04T20:19:15+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, images on) +--- load 5 (A-24000-run2), engine started 20:20:04Z +2026-12-04T20:20:03+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-qat-ud-q4_k_xl.json --host 127.0.0.1 --port 8080". +2026-12-04T20:20:04+00:00 server: loading the vision encoder ... +2026-12-04T20:20:14+00:00 server: [strata] images: the image encoder starts with the first picture and stops after 120 s without one; it runs on the CPU, and its RAM is free in between ('"elastic": false' in the vision section keeps it running) +2026-12-04T20:20:14+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, images on) +--- load 6 (A-24000-run3), engine started 20:21:04Z +2026-12-04T20:21:03+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-qat-ud-q4_k_xl.json --host 127.0.0.1 --port 8080". +2026-12-04T20:21:04+00:00 server: loading the vision encoder ... +2026-12-04T20:21:14+00:00 server: [strata] images: the image encoder starts with the first picture and stops after 120 s without one; it runs on the CPU, and its RAM is free in between ('"elastic": false' in the vision section keeps it running) +2026-12-04T20:21:14+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, images on) +--- load 7 (B-strata_bench), engine started 20:22:04Z +2026-12-04T20:22:02+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-qat-ud-q4_k_xl.json --host 127.0.0.1 --port 8080". +2026-12-04T20:22:03+00:00 server: loading the vision encoder ... +2026-12-04T20:22:13+00:00 server: [strata] images: the image encoder starts with the first picture and stops after 120 s without one; it runs on the CPU, and its RAM is free in between ('"elastic": false' in the vision section keeps it running) +2026-12-04T20:22:13+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, images on) +2026-12-04T20:25:29+00:00 server: [strata] images: the image encoder started in 1.0 s, on the CPU +2026-12-04T20:25:57+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /extended-ud-q4_k_m-voff/config-262144.json --host 127.0.0.1 --port 8080". +2026-12-04T20:26:02+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 262144 tokens) diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run1.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run1.json new file mode 100644 index 000000000..672bc277d --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run1.json @@ -0,0 +1,41 @@ +{ + "model": "gemma-4-26b-a4b-ud-q3_k_m", + "backend": "gemma4", + "quantization": "UD-Q3_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 65, + "ttft_s": 0.617, + "prefill_tok_s": 48.1, + "decode_tok_s": 64.4, + "cache_hit_rate": 0.894, + "mtp_offered": 65, + "mtp_accepted": 37, + "mtp_acceptance": 0.569, + "vram_peak_gib": 11.63, + "ram_peak_gib": 1.45, + "gpu_util_mean": 31.3, + "cpu_util_mean": 16.9 + }, + { + "prompt": "long-24000", + "prompt_tokens": 31065, + "output_tokens": 92, + "ttft_s": 36.336, + "prefill_tok_s": 856.3, + "decode_tok_s": 53.8, + "cache_hit_rate": 0.951, + "mtp_offered": 98, + "mtp_accepted": 50, + "mtp_acceptance": 0.51, + "vram_peak_gib": 11.58, + "ram_peak_gib": 2.62, + "gpu_util_mean": 96.5, + "cpu_util_mean": 11.7 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run1.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run1.txt new file mode 100644 index 000000000..caa8e6006 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run1.txt @@ -0,0 +1,9 @@ +(the 24000-token prompt does not fit the context: trying 95% of it) + +gemma-4-26b-a4b-ud-q3_k_m (gemma4, UD-Q3_K_M, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 65 0.617 48.1 64.4 0.894 0.569 11.63 1.45 31.3 16.9 + long-24000 31065 92 36.336 856.3 53.8 0.951 0.51 11.58 2.62 96.5 11.7 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-ud-q3_k_m-voff/A/A-24000-run1.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run2.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run2.json new file mode 100644 index 000000000..48e0e8c5b --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run2.json @@ -0,0 +1,41 @@ +{ + "model": "gemma-4-26b-a4b-ud-q3_k_m", + "backend": "gemma4", + "quantization": "UD-Q3_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 65, + "ttft_s": 0.616, + "prefill_tok_s": 48.4, + "decode_tok_s": 64.0, + "cache_hit_rate": 0.894, + "mtp_offered": 65, + "mtp_accepted": 37, + "mtp_acceptance": 0.569, + "vram_peak_gib": 11.63, + "ram_peak_gib": 1.45, + "gpu_util_mean": 31.3, + "cpu_util_mean": 17.4 + }, + { + "prompt": "long-24000", + "prompt_tokens": 31065, + "output_tokens": 92, + "ttft_s": 36.382, + "prefill_tok_s": 855.3, + "decode_tok_s": 54.0, + "cache_hit_rate": 0.951, + "mtp_offered": 98, + "mtp_accepted": 50, + "mtp_acceptance": 0.51, + "vram_peak_gib": 11.58, + "ram_peak_gib": 2.61, + "gpu_util_mean": 96.3, + "cpu_util_mean": 11.9 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run2.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run2.txt new file mode 100644 index 000000000..8d3d30e08 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run2.txt @@ -0,0 +1,9 @@ +(the 24000-token prompt does not fit the context: trying 95% of it) + +gemma-4-26b-a4b-ud-q3_k_m (gemma4, UD-Q3_K_M, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 65 0.616 48.4 64.0 0.894 0.569 11.63 1.45 31.3 17.4 + long-24000 31065 92 36.382 855.3 54.0 0.951 0.51 11.58 2.61 96.3 11.9 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-ud-q3_k_m-voff/A/A-24000-run2.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run3.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run3.json new file mode 100644 index 000000000..538b32ca0 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run3.json @@ -0,0 +1,41 @@ +{ + "model": "gemma-4-26b-a4b-ud-q3_k_m", + "backend": "gemma4", + "quantization": "UD-Q3_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 65, + "ttft_s": 0.624, + "prefill_tok_s": 47.6, + "decode_tok_s": 64.0, + "cache_hit_rate": 0.894, + "mtp_offered": 65, + "mtp_accepted": 37, + "mtp_acceptance": 0.569, + "vram_peak_gib": 11.63, + "ram_peak_gib": 1.45, + "gpu_util_mean": 30.3, + "cpu_util_mean": 16.8 + }, + { + "prompt": "long-24000", + "prompt_tokens": 31065, + "output_tokens": 92, + "ttft_s": 36.376, + "prefill_tok_s": 854.1, + "decode_tok_s": 53.8, + "cache_hit_rate": 0.951, + "mtp_offered": 98, + "mtp_accepted": 50, + "mtp_acceptance": 0.51, + "vram_peak_gib": 11.58, + "ram_peak_gib": 2.62, + "gpu_util_mean": 95.3, + "cpu_util_mean": 11.9 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run3.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run3.txt new file mode 100644 index 000000000..74b7c8ddd --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-24000-run3.txt @@ -0,0 +1,9 @@ +(the 24000-token prompt does not fit the context: trying 95% of it) + +gemma-4-26b-a4b-ud-q3_k_m (gemma4, UD-Q3_K_M, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 65 0.624 47.6 64.0 0.894 0.569 11.63 1.45 30.3 16.8 + long-24000 31065 92 36.376 854.1 53.8 0.951 0.51 11.58 2.62 95.3 11.9 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-ud-q3_k_m-voff/A/A-24000-run3.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run1.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run1.json new file mode 100644 index 000000000..747bff3f7 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run1.json @@ -0,0 +1,57 @@ +{ + "model": "gemma-4-26b-a4b-ud-q3_k_m", + "backend": "gemma4", + "quantization": "UD-Q3_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 65, + "ttft_s": 0.612, + "prefill_tok_s": 48.7, + "decode_tok_s": 62.9, + "cache_hit_rate": 0.894, + "mtp_offered": 65, + "mtp_accepted": 37, + "mtp_acceptance": 0.569, + "vram_peak_gib": 11.63, + "ram_peak_gib": 1.45, + "gpu_util_mean": 28.0, + "cpu_util_mean": 17.1 + }, + { + "prompt": "long-2000", + "prompt_tokens": 3040, + "output_tokens": 94, + "ttft_s": 3.056, + "prefill_tok_s": 1023.5, + "decode_tok_s": 66.6, + "cache_hit_rate": 0.952, + "mtp_offered": 101, + "mtp_accepted": 53, + "mtp_acceptance": 0.525, + "vram_peak_gib": 11.58, + "ram_peak_gib": 1.71, + "gpu_util_mean": 73.5, + "cpu_util_mean": 21.5 + }, + { + "prompt": "long-8000", + "prompt_tokens": 10662, + "output_tokens": 86, + "ttft_s": 8.984, + "prefill_tok_s": 1069.0, + "decode_tok_s": 63.6, + "cache_hit_rate": 0.988, + "mtp_offered": 93, + "mtp_accepted": 49, + "mtp_acceptance": 0.527, + "vram_peak_gib": 11.58, + "ram_peak_gib": 3.03, + "gpu_util_mean": 81.8, + "cpu_util_mean": 14.7 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run1.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run1.txt new file mode 100644 index 000000000..a436650b3 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run1.txt @@ -0,0 +1,9 @@ + +gemma-4-26b-a4b-ud-q3_k_m (gemma4, UD-Q3_K_M, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 65 0.612 48.7 62.9 0.894 0.569 11.63 1.45 28.0 17.1 + long-2000 3040 94 3.056 1023.5 66.6 0.952 0.525 11.58 1.71 73.5 21.5 + long-8000 10662 86 8.984 1069.0 63.6 0.988 0.527 11.58 3.03 81.8 14.7 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-ud-q3_k_m-voff/A/A-default-run1.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run2.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run2.json new file mode 100644 index 000000000..362055dab --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run2.json @@ -0,0 +1,57 @@ +{ + "model": "gemma-4-26b-a4b-ud-q3_k_m", + "backend": "gemma4", + "quantization": "UD-Q3_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 65, + "ttft_s": 0.614, + "prefill_tok_s": 48.7, + "decode_tok_s": 64.4, + "cache_hit_rate": 0.894, + "mtp_offered": 65, + "mtp_accepted": 37, + "mtp_acceptance": 0.569, + "vram_peak_gib": 11.63, + "ram_peak_gib": 1.45, + "gpu_util_mean": 30.7, + "cpu_util_mean": 17.3 + }, + { + "prompt": "long-2000", + "prompt_tokens": 3040, + "output_tokens": 94, + "ttft_s": 3.215, + "prefill_tok_s": 972.3, + "decode_tok_s": 66.6, + "cache_hit_rate": 0.952, + "mtp_offered": 101, + "mtp_accepted": 53, + "mtp_acceptance": 0.525, + "vram_peak_gib": 11.58, + "ram_peak_gib": 1.71, + "gpu_util_mean": 75.7, + "cpu_util_mean": 21.5 + }, + { + "prompt": "long-8000", + "prompt_tokens": 10662, + "output_tokens": 86, + "ttft_s": 8.984, + "prefill_tok_s": 1068.9, + "decode_tok_s": 66.4, + "cache_hit_rate": 0.988, + "mtp_offered": 89, + "mtp_accepted": 49, + "mtp_acceptance": 0.551, + "vram_peak_gib": 11.58, + "ram_peak_gib": 3.03, + "gpu_util_mean": 91.8, + "cpu_util_mean": 15.9 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run2.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run2.txt new file mode 100644 index 000000000..bab111b48 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run2.txt @@ -0,0 +1,9 @@ + +gemma-4-26b-a4b-ud-q3_k_m (gemma4, UD-Q3_K_M, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 65 0.614 48.7 64.4 0.894 0.569 11.63 1.45 30.7 17.3 + long-2000 3040 94 3.215 972.3 66.6 0.952 0.525 11.58 1.71 75.7 21.5 + long-8000 10662 86 8.984 1068.9 66.4 0.988 0.551 11.58 3.03 91.8 15.9 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-ud-q3_k_m-voff/A/A-default-run2.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run3.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run3.json new file mode 100644 index 000000000..004597386 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run3.json @@ -0,0 +1,57 @@ +{ + "model": "gemma-4-26b-a4b-ud-q3_k_m", + "backend": "gemma4", + "quantization": "UD-Q3_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 65, + "ttft_s": 0.624, + "prefill_tok_s": 47.6, + "decode_tok_s": 63.3, + "cache_hit_rate": 0.895, + "mtp_offered": 68, + "mtp_accepted": 37, + "mtp_acceptance": 0.544, + "vram_peak_gib": 11.63, + "ram_peak_gib": 1.44, + "gpu_util_mean": 23.7, + "cpu_util_mean": 17.3 + }, + { + "prompt": "long-2000", + "prompt_tokens": 3040, + "output_tokens": 88, + "ttft_s": 3.067, + "prefill_tok_s": 1029.8, + "decode_tok_s": 72.5, + "cache_hit_rate": 0.949, + "mtp_offered": 82, + "mtp_accepted": 51, + "mtp_acceptance": 0.622, + "vram_peak_gib": 11.58, + "ram_peak_gib": 1.7, + "gpu_util_mean": 70.5, + "cpu_util_mean": 22.7 + }, + { + "prompt": "long-8000", + "prompt_tokens": 10662, + "output_tokens": 93, + "ttft_s": 9.05, + "prefill_tok_s": 1066.1, + "decode_tok_s": 68.2, + "cache_hit_rate": 0.988, + "mtp_offered": 94, + "mtp_accepted": 55, + "mtp_acceptance": 0.585, + "vram_peak_gib": 11.58, + "ram_peak_gib": 3.03, + "gpu_util_mean": 79.2, + "cpu_util_mean": 15.3 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run3.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run3.txt new file mode 100644 index 000000000..770f4f8ab --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/A-polystrata-benchmark/A-default-run3.txt @@ -0,0 +1,9 @@ + +gemma-4-26b-a4b-ud-q3_k_m (gemma4, UD-Q3_K_M, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 65 0.624 47.6 63.3 0.895 0.544 11.63 1.44 23.7 17.3 + long-2000 3040 88 3.067 1029.8 72.5 0.949 0.622 11.58 1.7 70.5 22.7 + long-8000 10662 93 9.05 1066.1 68.2 0.988 0.585 11.58 3.03 79.2 15.3 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-ud-q3_k_m-voff/A/A-default-run3.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/B-strata_bench/README.md b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/B-strata_bench/README.md new file mode 100644 index 000000000..19a64c520 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/B-strata_bench/README.md @@ -0,0 +1,64 @@ +# Community benchmark on AMD Radeon + +Measured on 2026-12-04 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: gemma-4-26b-a4b-ud-q3_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 | 48 (45-53) | 0 | 100 (100-100) | 9 | not measured | 74.1 (70.9-104.3) | 1.02 (1.01-1.13) | +| 4K prompt, fresh | 4101 (4101-4101) | 0 (0-0) | 24 cap | 3 | 1357.6 (1087.1-1378.6) | not measured | 3.87 (3.73-3.97) | +| 16K prompt, fresh | 16390 (16390-16390) | 0 (0-0) | 24 cap | 3 | 1125.5 (1119.7-1132.2) | not measured | 15.37 (15.33-15.50) | +| agent session, follow-up turns | 15253 (15248-15255) at the last turn | see below | up to 64 | 3 | see below | 80.4 (67.5-98.9) | 4.01 (2.74-4.78) | + +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.0 % (67.9-68.0); earlier-turn tokens read again per session: 259 (254-261) (earlier turns that the cache did not hold; the 14633 (14633-14633) new tokens of the files are read once); first turn (nothing cached) first token: 1.43 s (1.30-1.49). 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 | 396 | 0 | 396 | 566.3 | 1.43 | 87.1 | +| 1 | 4058 | 389 | 3669 | 952.7 | 4.295 | 92.1 | +| 2 | 5765 | 4051 | 1714 | 849.5 | 2.74 | 85.3 | +| 3 | 9239 | 5758 | 3481 | 944.1 | 4.435 | 67.5 | +| 4 | 12146 | 9232 | 2914 | 904.5 | 3.923 | 75.7 | +| 5 | 15255 | 12139 | 3116 | 777.9 | 4.783 | 70.7 | + +### Concurrency: 2 clients + +Total 46.2 tok/s (45.2-47.8); first token p50 2.422 s, p95 3.83 s; request latency p50 4.077 s, p95 5.634 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: 177 s. diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/B-strata_bench/results.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/B-strata_bench/results.json new file mode 100644 index 000000000..d7a0ffc7b --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/B-strata_bench/results.json @@ -0,0 +1,945 @@ +{ + "schema": 1, + "tool": "tools/strata_bench.py", + "date": "2026-12-04", + "params": { + "runs": 3, + "think": false, + "clients": 2, + "long": true, + "started_server": false, + "command": "python tools/strata_bench.py --clients 2 --long" + }, + "elapsed_s": 176.5069649219513, + "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": "gemma-4-26b-a4b-ud-q3_k_m", + "quant": null, + "context": 32768, + "parallel_slots": 1, + "config": {}, + "launch": null, + "engine_info": { + "model": "gemma-4-26b-a4b-ud-q3_k_m", + "max_context": 32768, + "images": false, + "gen": 1, + "version": "0.1.66", + "context": 32768, + "expert_slots": 2659, + "expert_cache_mib": 6815, + "pool_workers": 7, + "conversation_cache_mib": 8192, + "conversation_cache_slots": 4, + "conversation_cache_min_free_mib": 2560, + "reserve_mib": 383, + "vram_free_mib": 361, + "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": 1.016, + "total_s": 2.054, + "prompt_tokens": 53, + "reused_tokens": 0, + "read_tokens": 53, + "generated_tokens": 100, + "prompt_tps": 56.5, + "prompt_tps_source": "engine", + "decode_tps": 96.3, + "decode_tps_source": "engine", + "prompt_ms": 938.4, + "decode_ms": 1038.3, + "drafts_offered": 85, + "drafts_accepted": 68, + "run": 0, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.071, + "total_s": 2.421, + "prompt_tokens": 45, + "reused_tokens": 0, + "read_tokens": 45, + "generated_tokens": 100, + "prompt_tps": 45.3, + "prompt_tps_source": "engine", + "decode_tps": 74.1, + "decode_tps_source": "engine", + "prompt_ms": 993.6, + "decode_ms": 1350.3, + "drafts_offered": 102, + "drafts_accepted": 59, + "run": 0, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.023, + "total_s": 2.385, + "prompt_tokens": 48, + "reused_tokens": 0, + "read_tokens": 48, + "generated_tokens": 100, + "prompt_tps": 50.8, + "prompt_tps_source": "engine", + "decode_tps": 73.4, + "decode_tps_source": "engine", + "prompt_ms": 944.9, + "decode_ms": 1361.6, + "drafts_offered": 110, + "drafts_accepted": 57, + "run": 0, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.016, + "total_s": 1.975, + "prompt_tokens": 53, + "reused_tokens": 0, + "read_tokens": 53, + "generated_tokens": 100, + "prompt_tps": 57.8, + "prompt_tps_source": "engine", + "decode_tps": 104.3, + "decode_tps_source": "engine", + "prompt_ms": 917.0, + "decode_ms": 958.9, + "drafts_offered": 87, + "drafts_accepted": 71, + "run": 1, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.13, + "total_s": 2.378, + "prompt_tokens": 45, + "reused_tokens": 0, + "read_tokens": 45, + "generated_tokens": 100, + "prompt_tps": 42.3, + "prompt_tps_source": "engine", + "decode_tps": 80.1, + "decode_tps_source": "engine", + "prompt_ms": 1063.4, + "decode_ms": 1247.7, + "drafts_offered": 96, + "drafts_accepted": 58, + "run": 1, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.026, + "total_s": 2.416, + "prompt_tokens": 48, + "reused_tokens": 0, + "read_tokens": 48, + "generated_tokens": 100, + "prompt_tps": 50.2, + "prompt_tps_source": "engine", + "decode_tps": 71.9, + "decode_tps_source": "engine", + "prompt_ms": 955.5, + "decode_ms": 1390.3, + "drafts_offered": 113, + "drafts_accepted": 55, + "run": 1, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.015, + "total_s": 1.984, + "prompt_tokens": 53, + "reused_tokens": 0, + "read_tokens": 53, + "generated_tokens": 100, + "prompt_tps": 55.8, + "prompt_tps_source": "engine", + "decode_tps": 103.3, + "decode_tps_source": "engine", + "prompt_ms": 949.0, + "decode_ms": 968.2, + "drafts_offered": 85, + "drafts_accepted": 70, + "run": 2, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.017, + "total_s": 2.428, + "prompt_tokens": 45, + "reused_tokens": 0, + "read_tokens": 45, + "generated_tokens": 100, + "prompt_tps": 47.5, + "prompt_tps_source": "engine", + "decode_tps": 70.9, + "decode_tps_source": "engine", + "prompt_ms": 948.0, + "decode_ms": 1410.6, + "drafts_offered": 113, + "drafts_accepted": 53, + "run": 2, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.027, + "total_s": 2.401, + "prompt_tokens": 48, + "reused_tokens": 0, + "read_tokens": 48, + "generated_tokens": 100, + "prompt_tps": 50.2, + "prompt_tps_source": "engine", + "decode_tps": 72.8, + "decode_tps_source": "engine", + "prompt_ms": 955.8, + "decode_ms": 1374.0, + "drafts_offered": 113, + "drafts_accepted": 55, + "run": 2, + "prompt": 2 + } + ], + "decode_tps": { + "median": 74.1, + "min": 70.9, + "max": 104.3, + "n": 9 + }, + "ttft_s": { + "median": 1.023, + "min": 1.015, + "max": 1.13, + "n": 9 + }, + "generated_tokens": { + "median": 100, + "min": 100, + "max": 100, + "n": 9 + }, + "prompt_tokens": { + "median": 48, + "min": 45, + "max": 53, + "n": 9 + } + }, + "prompts": { + "4K": { + "target_tokens": 4096, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 3.869, + "total_s": 4.329, + "prompt_tokens": 4101, + "reused_tokens": 0, + "read_tokens": 4101, + "generated_tokens": 24, + "prompt_tps": 1087.1, + "prompt_tps_source": "engine", + "decode_tps": 52.1, + "decode_tps_source": "engine", + "prompt_ms": 3772.4, + "decode_ms": 460.3, + "drafts_offered": 32, + "drafts_accepted": 10, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.971, + "total_s": 4.349, + "prompt_tokens": 4101, + "reused_tokens": 0, + "read_tokens": 4101, + "generated_tokens": 24, + "prompt_tps": 1378.6, + "prompt_tps_source": "engine", + "decode_tps": 63.5, + "decode_tps_source": "engine", + "prompt_ms": 2974.7, + "decode_ms": 377.8, + "drafts_offered": 24, + "drafts_accepted": 11, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.731, + "total_s": 4.144, + "prompt_tokens": 4101, + "reused_tokens": 0, + "read_tokens": 4101, + "generated_tokens": 24, + "prompt_tps": 1357.6, + "prompt_tps_source": "engine", + "decode_tps": 58.1, + "decode_tps_source": "engine", + "prompt_ms": 3020.7, + "decode_ms": 412.9, + "drafts_offered": 30, + "drafts_accepted": 12, + "run": 2 + } + ], + "prompt_tps": { + "median": 1357.6, + "min": 1087.1, + "max": 1378.6, + "n": 3 + }, + "ttft_s": { + "median": 3.869, + "min": 3.731, + "max": 3.971, + "n": 3 + }, + "prompt_tokens": { + "median": 4101, + "min": 4101, + "max": 4101, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "16K": { + "target_tokens": 16384, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 15.328, + "total_s": 15.753, + "prompt_tokens": 16390, + "reused_tokens": 0, + "read_tokens": 16390, + "generated_tokens": 24, + "prompt_tps": 1119.7, + "prompt_tps_source": "engine", + "decode_tps": 56.6, + "decode_tps_source": "engine", + "prompt_ms": 14638.1, + "decode_ms": 424.2, + "drafts_offered": 27, + "drafts_accepted": 12, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 15.501, + "total_s": 15.906, + "prompt_tokens": 16390, + "reused_tokens": 0, + "read_tokens": 16390, + "generated_tokens": 24, + "prompt_tps": 1132.2, + "prompt_tps_source": "engine", + "decode_tps": 59.1, + "decode_tps_source": "engine", + "prompt_ms": 14476.1, + "decode_ms": 405.8, + "drafts_offered": 28, + "drafts_accepted": 13, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 15.368, + "total_s": 15.694, + "prompt_tokens": 16390, + "reused_tokens": 0, + "read_tokens": 16390, + "generated_tokens": 24, + "prompt_tps": 1125.5, + "prompt_tps_source": "engine", + "decode_tps": 73.6, + "decode_tps_source": "engine", + "prompt_ms": 14561.8, + "decode_ms": 325.9, + "drafts_offered": 22, + "drafts_accepted": 14, + "run": 2 + } + ], + "prompt_tps": { + "median": 1125.5, + "min": 1119.7, + "max": 1132.2, + "n": 3 + }, + "ttft_s": { + "median": 15.368, + "min": 15.328, + "max": 15.501, + "n": 3 + }, + "prompt_tokens": { + "median": 16390, + "min": 16390, + "max": 16390, + "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.43, + "total_s": 1.683, + "prompt_tokens": 396, + "reused_tokens": 0, + "read_tokens": 396, + "generated_tokens": 22, + "prompt_tps": 566.3, + "prompt_tps_source": "engine", + "decode_tps": 87.1, + "decode_tps_source": "engine", + "prompt_ms": 699.3, + "decode_ms": 252.7, + "drafts_offered": 20, + "drafts_accepted": 15, + "run": 0, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.295, + "total_s": 4.762, + "prompt_tokens": 4058, + "reused_tokens": 389, + "read_tokens": 3669, + "generated_tokens": 43, + "prompt_tps": 952.7, + "prompt_tps_source": "engine", + "decode_tps": 92.1, + "decode_tps_source": "engine", + "prompt_ms": 3851.3, + "decode_ms": 466.8, + "drafts_offered": 37, + "drafts_accepted": 30, + "run": 0, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.74, + "total_s": 3.349, + "prompt_tokens": 5765, + "reused_tokens": 4051, + "read_tokens": 1714, + "generated_tokens": 52, + "prompt_tps": 849.5, + "prompt_tps_source": "engine", + "decode_tps": 85.3, + "decode_tps_source": "engine", + "prompt_ms": 2017.6, + "decode_ms": 609.4, + "drafts_offered": 45, + "drafts_accepted": 34, + "run": 0, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.435, + "total_s": 5.25, + "prompt_tokens": 9239, + "reused_tokens": 5758, + "read_tokens": 3481, + "generated_tokens": 55, + "prompt_tps": 944.1, + "prompt_tps_source": "engine", + "decode_tps": 67.5, + "decode_tps_source": "engine", + "prompt_ms": 3687.2, + "decode_ms": 814.5, + "drafts_offered": 58, + "drafts_accepted": 32, + "run": 0, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.923, + "total_s": 4.637, + "prompt_tokens": 12146, + "reused_tokens": 9232, + "read_tokens": 2914, + "generated_tokens": 54, + "prompt_tps": 904.5, + "prompt_tps_source": "engine", + "decode_tps": 75.7, + "decode_tps_source": "engine", + "prompt_ms": 3221.5, + "decode_ms": 713.8, + "drafts_offered": 53, + "drafts_accepted": 35, + "run": 0, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.783, + "total_s": 5.476, + "prompt_tokens": 15255, + "reused_tokens": 12139, + "read_tokens": 3116, + "generated_tokens": 49, + "prompt_tps": 777.9, + "prompt_tps_source": "engine", + "decode_tps": 70.7, + "decode_tps_source": "engine", + "prompt_ms": 4005.6, + "decode_ms": 692.8, + "drafts_offered": 45, + "drafts_accepted": 29, + "run": 0, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 1.299, + "total_s": 1.589, + "prompt_tokens": 396, + "reused_tokens": 0, + "read_tokens": 396, + "generated_tokens": 30, + "prompt_tps": 674.7, + "prompt_tps_source": "engine", + "decode_tps": 103.4, + "decode_tps_source": "engine", + "prompt_ms": 586.9, + "decode_ms": 290.0, + "drafts_offered": 21, + "drafts_accepted": 19, + "run": 1, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.707, + "total_s": 4.142, + "prompt_tokens": 4066, + "reused_tokens": 389, + "read_tokens": 3677, + "generated_tokens": 43, + "prompt_tps": 1010.4, + "prompt_tps_source": "engine", + "decode_tps": 98.9, + "decode_tps_source": "engine", + "prompt_ms": 3639.0, + "decode_ms": 435.0, + "drafts_offered": 30, + "drafts_accepted": 30, + "run": 1, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.748, + "total_s": 3.338, + "prompt_tokens": 5773, + "reused_tokens": 4059, + "read_tokens": 1714, + "generated_tokens": 52, + "prompt_tps": 840.2, + "prompt_tps_source": "engine", + "decode_tps": 88.1, + "decode_tps_source": "engine", + "prompt_ms": 2040.1, + "decode_ms": 590.0, + "drafts_offered": 42, + "drafts_accepted": 34, + "run": 1, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.489, + "total_s": 5.216, + "prompt_tokens": 9247, + "reused_tokens": 5766, + "read_tokens": 3481, + "generated_tokens": 54, + "prompt_tps": 931.2, + "prompt_tps_source": "engine", + "decode_tps": 74.2, + "decode_tps_source": "engine", + "prompt_ms": 3738.1, + "decode_ms": 727.6, + "drafts_offered": 51, + "drafts_accepted": 32, + "run": 1, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.011, + "total_s": 4.559, + "prompt_tokens": 12153, + "reused_tokens": 9240, + "read_tokens": 2913, + "generated_tokens": 45, + "prompt_tps": 899.5, + "prompt_tps_source": "engine", + "decode_tps": 82.1, + "decode_tps_source": "engine", + "prompt_ms": 3238.6, + "decode_ms": 548.2, + "drafts_offered": 40, + "drafts_accepted": 30, + "run": 1, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.71, + "total_s": 5.406, + "prompt_tokens": 15253, + "reused_tokens": 12146, + "read_tokens": 3107, + "generated_tokens": 49, + "prompt_tps": 774.4, + "prompt_tps_source": "engine", + "decode_tps": 70.4, + "decode_tps_source": "engine", + "prompt_ms": 4012.3, + "decode_ms": 696.1, + "drafts_offered": 49, + "drafts_accepted": 29, + "run": 1, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 1.491, + "total_s": 1.73, + "prompt_tokens": 396, + "reused_tokens": 0, + "read_tokens": 396, + "generated_tokens": 22, + "prompt_tps": 648.1, + "prompt_tps_source": "engine", + "decode_tps": 91.7, + "decode_tps_source": "engine", + "prompt_ms": 611.0, + "decode_ms": 239.8, + "drafts_offered": 21, + "drafts_accepted": 15, + "run": 2, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.694, + "total_s": 4.138, + "prompt_tokens": 4058, + "reused_tokens": 389, + "read_tokens": 3669, + "generated_tokens": 43, + "prompt_tps": 1014.0, + "prompt_tps_source": "engine", + "decode_tps": 96.8, + "decode_tps_source": "engine", + "prompt_ms": 3618.5, + "decode_ms": 444.2, + "drafts_offered": 36, + "drafts_accepted": 31, + "run": 2, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.775, + "total_s": 3.36, + "prompt_tokens": 5765, + "reused_tokens": 4051, + "read_tokens": 1714, + "generated_tokens": 52, + "prompt_tps": 834.8, + "prompt_tps_source": "engine", + "decode_tps": 88.9, + "decode_tps_source": "engine", + "prompt_ms": 2053.3, + "decode_ms": 585.1, + "drafts_offered": 44, + "drafts_accepted": 35, + "run": 2, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.448, + "total_s": 5.157, + "prompt_tokens": 9239, + "reused_tokens": 5758, + "read_tokens": 3481, + "generated_tokens": 57, + "prompt_tps": 946.3, + "prompt_tps_source": "engine", + "decode_tps": 80.4, + "decode_tps_source": "engine", + "prompt_ms": 3678.4, + "decode_ms": 708.9, + "drafts_offered": 51, + "drafts_accepted": 37, + "run": 2, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.969, + "total_s": 4.547, + "prompt_tokens": 12148, + "reused_tokens": 9232, + "read_tokens": 2916, + "generated_tokens": 45, + "prompt_tps": 907.8, + "prompt_tps_source": "engine", + "decode_tps": 77.8, + "decode_tps_source": "engine", + "prompt_ms": 3212.3, + "decode_ms": 578.4, + "drafts_offered": 41, + "drafts_accepted": 30, + "run": 2, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.725, + "total_s": 5.579, + "prompt_tokens": 15248, + "reused_tokens": 12141, + "read_tokens": 3107, + "generated_tokens": 64, + "prompt_tps": 773.4, + "prompt_tps_source": "engine", + "decode_tps": 75.0, + "decode_tps_source": "engine", + "prompt_ms": 4017.3, + "decode_ms": 853.7, + "drafts_offered": 57, + "drafts_accepted": 40, + "run": 2, + "turn": 5 + } + ] + ], + "hit_pct": { + "median": 67.956, + "min": 67.944, + "max": 67.969, + "n": 3 + }, + "reread_tokens": { + "median": 259, + "min": 254, + "max": 261, + "n": 3 + }, + "new_tokens": { + "median": 14633, + "min": 14633, + "max": 14633, + "n": 3 + }, + "turn_ttft_s": { + "median": 4.011, + "min": 2.74, + "max": 4.783, + "n": 15 + }, + "last_turn_prompt_tokens": { + "median": 15253, + "min": 15248, + "max": 15255, + "n": 3 + }, + "turn_decode_tps": { + "median": 80.4, + "min": 67.5, + "max": 98.9, + "n": 15 + }, + "first_turn_ttft_s": { + "median": 1.43, + "min": 1.299, + "max": 1.491, + "n": 3 + } + }, + "clients": { + "clients": 2, + "rounds": [ + { + "round": 0, + "wall_s": 5.54, + "tokens": 256, + "total_tps": 46.17, + "first_s": [ + 1.0898354961536825, + 3.836964471032843 + ], + "latency_s": [ + 2.7980164671316743, + 5.543761329958215 + ], + "errors": [], + "error_count": 0 + }, + { + "round": 1, + "wall_s": 5.66, + "tokens": 256, + "total_tps": 45.19, + "first_s": [ + 1.0538306790404022, + 3.807761549949646 + ], + "latency_s": [ + 2.729979815892875, + 5.664600085001439 + ], + "errors": [], + "error_count": 0 + }, + { + "round": 2, + "wall_s": 5.36, + "tokens": 256, + "total_tps": 47.79, + "first_s": [ + 1.059536854038015, + 3.753621553070843 + ], + "latency_s": [ + 2.703849029028788, + 5.355972584104165 + ], + "errors": [], + "error_count": 0 + } + ], + "total_tps": { + "median": 46.17, + "min": 45.19, + "max": 47.79, + "n": 3 + }, + "ttft_p50_s": 2.422, + "ttft_p95_s": 3.83, + "latency_p50_s": 4.077, + "latency_p95_s": 5.634, + "errors": 0 + }, + "skipped": { + "32K": "the context is 32768 tokens" + }, + "failures": [] + } +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/B-strata_bench/strata_bench-console.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/B-strata_bench/strata_bench-console.txt new file mode 100644 index 000000000..5d35dcd7a --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/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.00 tokens per word +chat: 3 short questions x 3 runs, up to 100 new tokens + run 1 q1: decode 96.3 tok/s, first token 1.016 s, 100 tokens + run 1 q2: decode 74.1 tok/s, first token 1.071 s, 100 tokens + run 1 q3: decode 73.4 tok/s, first token 1.023 s, 100 tokens + run 2 q1: decode 104.3 tok/s, first token 1.016 s, 100 tokens + run 2 q2: decode 80.1 tok/s, first token 1.13 s, 100 tokens + run 2 q3: decode 71.9 tok/s, first token 1.026 s, 100 tokens + run 3 q1: decode 103.3 tok/s, first token 1.015 s, 100 tokens + run 3 q2: decode 70.9 tok/s, first token 1.017 s, 100 tokens + run 3 q3: decode 72.8 tok/s, first token 1.027 s, 100 tokens +4K prompt: 3 fresh prompts of about 4096 tokens, 24 new tokens + run 1: 4101 tokens, prompt 1087.1 tok/s (0 reused), first token 3.869 s + run 2: 4101 tokens, prompt 1378.6 tok/s (0 reused), first token 3.971 s + run 3: 4101 tokens, prompt 1357.6 tok/s (0 reused), first token 3.731 s +16K prompt: 3 fresh prompts of about 16384 tokens, 24 new tokens + run 1: 16390 tokens, prompt 1119.7 tok/s (0 reused), first token 15.328 s + run 2: 16390 tokens, prompt 1132.2 tok/s (0 reused), first token 15.501 s + run 3: 16390 tokens, prompt 1125.5 tok/s (0 reused), first token 15.368 s +agent: a session of 6 turns with four tools, x 3 runs (corpus: repo_docs) + run 1 turn 0: prompt 396, reused 0, read 396, first token 1.43 s + run 1 turn 1: prompt 4058, reused 389, read 3669, first token 4.295 s + run 1 turn 2: prompt 5765, reused 4051, read 1714, first token 2.74 s + run 1 turn 3: prompt 9239, reused 5758, read 3481, first token 4.435 s + run 1 turn 4: prompt 12146, reused 9232, read 2914, first token 3.923 s + run 1 turn 5: prompt 15255, reused 12139, read 3116, first token 4.783 s + run 2 turn 0: prompt 396, reused 0, read 396, first token 1.299 s + run 2 turn 1: prompt 4066, reused 389, read 3677, first token 3.707 s + run 2 turn 2: prompt 5773, reused 4059, read 1714, first token 2.748 s + run 2 turn 3: prompt 9247, reused 5766, read 3481, first token 4.489 s + run 2 turn 4: prompt 12153, reused 9240, read 2913, first token 4.011 s + run 2 turn 5: prompt 15253, reused 12146, read 3107, first token 4.71 s + run 3 turn 0: prompt 396, reused 0, read 396, first token 1.491 s + run 3 turn 1: prompt 4058, reused 389, read 3669, first token 3.694 s + run 3 turn 2: prompt 5765, reused 4051, read 1714, first token 2.775 s + run 3 turn 3: prompt 9239, reused 5758, read 3481, first token 4.448 s + run 3 turn 4: prompt 12148, reused 9232, read 2916, first token 3.969 s + run 3 turn 5: prompt 15248, reused 12141, read 3107, first token 4.725 s +concurrency: 2 requests at once x 3 rounds, 128 new tokens each + round 1: 256 tokens in 5.5 s = 46.2 tok/s total + round 2: 256 tokens in 5.7 s = 45.2 tok/s total + round 3: 256 tokens in 5.4 s = 47.8 tok/s total +32K prompt: skipped (the context is 32768 tokens) + +Results (median, range over the runs): + chat decode tok/s 74.10 (70.90 - 104.30, n=9) + chat first token (s) 1.02 (1.01 - 1.13, n=9) + 4K prompt tok/s 1357.60 (1087.10 - 1378.60, n=3) + 4K first token (s) 3.87 (3.73 - 3.97, n=3) + 16K prompt tok/s 1125.50 (1119.70 - 1132.20, n=3) + 16K first token (s) 15.37 (15.33 - 15.50, n=3) + agent cache hit % 67.96 (67.94 - 67.97, n=3) + agent re-read tokens/session 259.00 (254.00 - 261.00, n=3) + agent turn first token (s) 4.01 (2.74 - 4.78, n=15) + agent decode tok/s 80.40 (67.50 - 98.90, n=15) + 2 clients total tok/s 46.17 (45.19 - 47.79, n=3) + (0 failed request(s), 1 skipped test(s): see the report) + +Report: /results-ud-q3_k_m-voff/B/2026-12-04-community-unknown-gemma-4-26b-a4b-ud-q3-k-m/README.md +Share it: open a pull request that adds the folder /results-ud-q3_k_m-voff/B/2026-12-04-community-unknown-gemma-4-26b-a4b-ud-q3-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-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/engine-requests.csv b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/engine-requests.csv new file mode 100644 index 000000000..3e3c6d492 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/engine-requests.csv @@ -0,0 +1,57 @@ +load,prompt_tokens,reused,read,prefill_ms,prefill_tok_s,generated,decode_ms,decode_tok_s,drafts_accepted,drafts_offered +1,23,0,23,473,48.7,65,1034,62.9,37,65 +1,3040,0,3040,2970,1023.5,94,1412,66.6,53,101 +1,10662,2048,8614,8058,1069.0,86,1351,63.6,49,93 +2,23,0,23,473,48.7,65,1010,64.4,37,65 +2,3040,0,3040,3127,972.3,94,1411,66.6,53,101 +2,10662,2048,8614,8059,1068.9,86,1296,66.4,49,89 +3,23,0,23,483,47.6,65,1027,63.3,37,68 +3,3040,0,3040,2952,1029.8,88,1214,72.5,51,82 +3,10662,2048,8614,8080,1066.1,93,1363,68.2,55,94 +4,23,0,23,478,48.2,65,1009,64.4,37,65 +4,31065,0,31065,36280,856.3,92,1712,53.8,50,98 +5,23,0,23,475,48.4,65,1016,64.0,37,65 +5,31065,0,31065,36320,855.3,92,1705,54.0,50,98 +6,23,0,23,483,47.6,65,1015,64.0,37,65 +6,31065,0,31065,36370,854.1,92,1709,53.8,50,98 +7,35,0,35,562,62.2,24,354,67.9,16,24 +7,1029,0,1029,1394,738.4,8,153,52.3,3,9 +7,53,0,53,938,56.5,100,1038,96.3,68,85 +7,45,0,45,994,45.3,100,1350,74.1,59,102 +7,48,0,48,945,50.8,100,1362,73.4,57,110 +7,53,0,53,917,57.8,100,959,104.3,71,87 +7,45,0,45,1063,42.3,100,1248,80.1,58,96 +7,48,0,48,955,50.2,100,1390,71.9,55,113 +7,53,0,53,949,55.8,100,968,103.3,70,85 +7,45,0,45,948,47.5,100,1411,70.9,53,113 +7,48,0,48,956,50.2,100,1374,72.8,55,113 +7,4101,0,4101,3772,1087.1,24,460,52.1,10,32 +7,4101,0,4101,2975,1378.6,24,378,63.5,11,24 +7,4101,0,4101,3021,1357.6,24,413,58.1,12,30 +7,16390,0,16390,14638,1119.7,24,424,56.6,12,27 +7,16390,0,16390,14476,1132.2,24,406,59.1,13,28 +7,16390,0,16390,14562,1125.5,24,326,73.6,14,22 +7,396,0,396,699,566.3,22,253,87.1,15,20 +7,4058,389,3669,3851,952.7,43,467,92.1,30,37 +7,5765,4051,1714,2018,849.5,52,609,85.3,34,45 +7,9239,5758,3481,3687,944.1,55,814,67.5,32,58 +7,12146,9232,2914,3222,904.5,54,714,75.7,35,53 +7,15255,12139,3116,4006,777.9,49,693,70.7,29,45 +7,396,0,396,587,674.8,30,290,103.4,19,21 +7,4066,389,3677,3639,1010.4,43,435,98.9,30,30 +7,5773,4059,1714,2040,840.1,52,590,88.1,34,42 +7,9247,5766,3481,3738,931.2,54,728,74.2,32,51 +7,12153,9240,2913,3239,899.5,45,548,82.1,30,40 +7,15253,12146,3107,4012,774.4,49,696,70.4,29,49 +7,396,0,396,611,648.1,22,240,91.8,15,21 +7,4058,389,3669,3618,1014.0,43,444,96.8,31,36 +7,5765,4051,1714,2053,834.7,52,585,88.9,35,44 +7,9239,5758,3481,3678,946.3,57,709,80.4,37,51 +7,12148,9232,2916,3212,907.8,45,578,77.8,30,41 +7,15248,12141,3107,4017,773.4,64,854,75.0,40,57 +7,68,0,68,368,184.8,128,1708,75.0,68,117 +7,63,0,63,959,65.7,128,1707,75.0,71,135 +7,63,0,63,980,64.3,128,1676,76.4,72,130 +7,68,0,68,988,68.8,128,1857,68.9,63,132 +7,68,0,68,972,70.0,128,1644,77.9,70,120 +7,63,0,63,966,65.2,128,1602,79.9,75,128 diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/experts-at-load.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/experts-at-load.txt new file mode 100644 index 000000000..1fae484da --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/experts-at-load.txt @@ -0,0 +1,7 @@ +load 1 (A-default-run1): loaded in 13.8 s; 2659 of 3840 routed experts in VRAM (6.7 GiB), 7 CPU threads +load 2 (A-default-run2): loaded in 7.0 s; 2659 of 3840 routed experts in VRAM (6.7 GiB), 7 CPU threads +load 3 (A-default-run3): loaded in 7.0 s; 2659 of 3840 routed experts in VRAM (6.7 GiB), 7 CPU threads +load 4 (A-24000-run1): loaded in 6.9 s; 2659 of 3840 routed experts in VRAM (6.7 GiB), 7 CPU threads +load 5 (A-24000-run2): loaded in 7.0 s; 2659 of 3840 routed experts in VRAM (6.7 GiB), 7 CPU threads +load 6 (A-24000-run3): loaded in 7.0 s; 2659 of 3840 routed experts in VRAM (6.7 GiB), 7 CPU threads +load 7 (B-strata_bench): loaded in 6.9 s; 2659 of 3840 routed experts in VRAM (6.7 GiB), 7 CPU threads diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/loads.csv b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/loads.csv new file mode 100644 index 000000000..64fbfe689 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/loads.csv @@ -0,0 +1,8 @@ +load,run,engine_started_utc,requests_logged_by_engine,server_ready_line_says_images_on,image_encoder_started_during_load +1,A-default-run1,19:53:35Z,3,False,False +2,A-default-run2,19:54:13Z,3,False,False +3,A-default-run3,19:54:45Z,3,False,False +4,A-24000-run1,19:55:18Z,2,False,False +5,A-24000-run2,19:56:13Z,2,False,False +6,A-24000-run3,19:57:09Z,2,False,False +7,B-strata_bench,19:58:04Z,41,False,False diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/metrics-totals-after-B.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/metrics-totals-after-B.json new file mode 100644 index 000000000..8d1592361 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/metrics-totals-after-B.json @@ -0,0 +1 @@ +{"since": 1796414291.7714517, "requests": 43, "prompt_tokens": 205081, "reused": 94740, "output_tokens": 2677, "prompt_ms": 123687.10000000005, "decode_ms": 34455.1, "drafts_offered": 2603, "drafts_accepted": 1593} diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/server-starts.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/server-starts.txt new file mode 100644 index 000000000..05cc4a33d --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-off/server-starts.txt @@ -0,0 +1,25 @@ +--- load 1 (A-default-run1), engine started 19:53:35Z +2026-12-04T19:53:34+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-ud-q3_k_m.json --host 127.0.0.1 --port 8080". +2026-12-04T19:53:49+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens) +--- load 2 (A-default-run2), engine started 19:54:13Z +2026-12-04T19:54:12+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-ud-q3_k_m.json --host 127.0.0.1 --port 8080". +2026-12-04T19:54:20+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens) +--- load 3 (A-default-run3), engine started 19:54:45Z +2026-12-04T19:54:44+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-ud-q3_k_m.json --host 127.0.0.1 --port 8080". +2026-12-04T19:54:53+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens) +--- load 4 (A-24000-run1), engine started 19:55:18Z +2026-12-04T19:55:16+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-ud-q3_k_m.json --host 127.0.0.1 --port 8080". +2026-12-04T19:55:25+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens) +--- load 5 (A-24000-run2), engine started 19:56:13Z +2026-12-04T19:56:12+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-ud-q3_k_m.json --host 127.0.0.1 --port 8080". +2026-12-04T19:56:20+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens) +--- load 6 (A-24000-run3), engine started 19:57:09Z +2026-12-04T19:57:08+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-ud-q3_k_m.json --host 127.0.0.1 --port 8080". +2026-12-04T19:57:16+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens) +--- load 7 (B-strata_bench), engine started 19:58:04Z +2026-12-04T19:58:03+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-ud-q3_k_m.json --host 127.0.0.1 --port 8080". +2026-12-04T19:58:11+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens) +2026-12-04T20:01:14+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-ud-q3_k_m.json --host 127.0.0.1 --port 8080". +2026-12-04T20:01:15+00:00 server: loading the vision encoder ... +2026-12-04T20:01:22+00:00 server: [strata] images: the image encoder starts with the first picture and stops after 120 s without one; it runs on the CPU, and its RAM is free in between ('"elastic": false' in the vision section keeps it running) +2026-12-04T20:01:22+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, images on) diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run1.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run1.json new file mode 100644 index 000000000..0883913cd --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run1.json @@ -0,0 +1,41 @@ +{ + "model": "gemma-4-26b-a4b-ud-q3_k_m", + "backend": "gemma4", + "quantization": "UD-Q3_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 65, + "ttft_s": 0.619, + "prefill_tok_s": 47.8, + "decode_tok_s": 64.7, + "cache_hit_rate": 0.894, + "mtp_offered": 65, + "mtp_accepted": 37, + "mtp_acceptance": 0.569, + "vram_peak_gib": 11.63, + "ram_peak_gib": 1.46, + "gpu_util_mean": 31.7, + "cpu_util_mean": 17.3 + }, + { + "prompt": "long-24000", + "prompt_tokens": 31065, + "output_tokens": 92, + "ttft_s": 36.361, + "prefill_tok_s": 854.8, + "decode_tok_s": 54.1, + "cache_hit_rate": 0.951, + "mtp_offered": 98, + "mtp_accepted": 50, + "mtp_acceptance": 0.51, + "vram_peak_gib": 11.58, + "ram_peak_gib": 2.62, + "gpu_util_mean": 95.8, + "cpu_util_mean": 11.7 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run1.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run1.txt new file mode 100644 index 000000000..88423b5f5 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run1.txt @@ -0,0 +1,9 @@ +(the 24000-token prompt does not fit the context: trying 95% of it) + +gemma-4-26b-a4b-ud-q3_k_m (gemma4, UD-Q3_K_M, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 65 0.619 47.8 64.7 0.894 0.569 11.63 1.46 31.7 17.3 + long-24000 31065 92 36.361 854.8 54.1 0.951 0.51 11.58 2.62 95.8 11.7 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-ud-q3_k_m-von/A/A-24000-run1.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run2.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run2.json new file mode 100644 index 000000000..62722bad5 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run2.json @@ -0,0 +1,41 @@ +{ + "model": "gemma-4-26b-a4b-ud-q3_k_m", + "backend": "gemma4", + "quantization": "UD-Q3_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 65, + "ttft_s": 0.632, + "prefill_tok_s": 46.9, + "decode_tok_s": 65.0, + "cache_hit_rate": 0.894, + "mtp_offered": 65, + "mtp_accepted": 37, + "mtp_acceptance": 0.569, + "vram_peak_gib": 11.63, + "ram_peak_gib": 1.46, + "gpu_util_mean": 30.3, + "cpu_util_mean": 17.5 + }, + { + "prompt": "long-24000", + "prompt_tokens": 31065, + "output_tokens": 92, + "ttft_s": 36.564, + "prefill_tok_s": 850.2, + "decode_tok_s": 54.2, + "cache_hit_rate": 0.951, + "mtp_offered": 98, + "mtp_accepted": 50, + "mtp_acceptance": 0.51, + "vram_peak_gib": 11.58, + "ram_peak_gib": 2.61, + "gpu_util_mean": 96.4, + "cpu_util_mean": 11.8 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run2.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run2.txt new file mode 100644 index 000000000..8e887340b --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run2.txt @@ -0,0 +1,9 @@ +(the 24000-token prompt does not fit the context: trying 95% of it) + +gemma-4-26b-a4b-ud-q3_k_m (gemma4, UD-Q3_K_M, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 65 0.632 46.9 65.0 0.894 0.569 11.63 1.46 30.3 17.5 + long-24000 31065 92 36.564 850.2 54.2 0.951 0.51 11.58 2.61 96.4 11.8 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-ud-q3_k_m-von/A/A-24000-run2.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run3.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run3.json new file mode 100644 index 000000000..9c7fef346 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run3.json @@ -0,0 +1,41 @@ +{ + "model": "gemma-4-26b-a4b-ud-q3_k_m", + "backend": "gemma4", + "quantization": "UD-Q3_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 65, + "ttft_s": 0.617, + "prefill_tok_s": 48.3, + "decode_tok_s": 65.1, + "cache_hit_rate": 0.894, + "mtp_offered": 65, + "mtp_accepted": 37, + "mtp_acceptance": 0.569, + "vram_peak_gib": 11.63, + "ram_peak_gib": 1.46, + "gpu_util_mean": 31.7, + "cpu_util_mean": 17.5 + }, + { + "prompt": "long-24000", + "prompt_tokens": 31065, + "output_tokens": 92, + "ttft_s": 36.393, + "prefill_tok_s": 855.2, + "decode_tok_s": 53.9, + "cache_hit_rate": 0.951, + "mtp_offered": 98, + "mtp_accepted": 50, + "mtp_acceptance": 0.51, + "vram_peak_gib": 11.58, + "ram_peak_gib": 2.62, + "gpu_util_mean": 96.0, + "cpu_util_mean": 11.9 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run3.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run3.txt new file mode 100644 index 000000000..c01f584b4 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-24000-run3.txt @@ -0,0 +1,9 @@ +(the 24000-token prompt does not fit the context: trying 95% of it) + +gemma-4-26b-a4b-ud-q3_k_m (gemma4, UD-Q3_K_M, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 65 0.617 48.3 65.1 0.894 0.569 11.63 1.46 31.7 17.5 + long-24000 31065 92 36.393 855.2 53.9 0.951 0.51 11.58 2.62 96.0 11.9 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-ud-q3_k_m-von/A/A-24000-run3.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run1.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run1.json new file mode 100644 index 000000000..061a6f9be --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run1.json @@ -0,0 +1,57 @@ +{ + "model": "gemma-4-26b-a4b-ud-q3_k_m", + "backend": "gemma4", + "quantization": "UD-Q3_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 65, + "ttft_s": 0.645, + "prefill_tok_s": 45.4, + "decode_tok_s": 63.4, + "cache_hit_rate": 0.894, + "mtp_offered": 65, + "mtp_accepted": 37, + "mtp_acceptance": 0.569, + "vram_peak_gib": 11.63, + "ram_peak_gib": 1.46, + "gpu_util_mean": 25.3, + "cpu_util_mean": 17.2 + }, + { + "prompt": "long-2000", + "prompt_tokens": 3040, + "output_tokens": 94, + "ttft_s": 3.23, + "prefill_tok_s": 970.0, + "decode_tok_s": 65.6, + "cache_hit_rate": 0.952, + "mtp_offered": 101, + "mtp_accepted": 53, + "mtp_acceptance": 0.525, + "vram_peak_gib": 11.58, + "ram_peak_gib": 1.72, + "gpu_util_mean": 74.9, + "cpu_util_mean": 20.6 + }, + { + "prompt": "long-8000", + "prompt_tokens": 10662, + "output_tokens": 86, + "ttft_s": 8.977, + "prefill_tok_s": 1067.8, + "decode_tok_s": 63.4, + "cache_hit_rate": 0.988, + "mtp_offered": 92, + "mtp_accepted": 49, + "mtp_acceptance": 0.533, + "vram_peak_gib": 11.58, + "ram_peak_gib": 3.04, + "gpu_util_mean": 91.0, + "cpu_util_mean": 14.8 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run1.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run1.txt new file mode 100644 index 000000000..3fb1b598a --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run1.txt @@ -0,0 +1,9 @@ + +gemma-4-26b-a4b-ud-q3_k_m (gemma4, UD-Q3_K_M, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 65 0.645 45.4 63.4 0.894 0.569 11.63 1.46 25.3 17.2 + long-2000 3040 94 3.23 970.0 65.6 0.952 0.525 11.58 1.72 74.9 20.6 + long-8000 10662 86 8.977 1067.8 63.4 0.988 0.533 11.58 3.04 91.0 14.8 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-ud-q3_k_m-von/A/A-default-run1.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run2.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run2.json new file mode 100644 index 000000000..c77f53517 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run2.json @@ -0,0 +1,57 @@ +{ + "model": "gemma-4-26b-a4b-ud-q3_k_m", + "backend": "gemma4", + "quantization": "UD-Q3_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 65, + "ttft_s": 0.645, + "prefill_tok_s": 45.6, + "decode_tok_s": 63.5, + "cache_hit_rate": 0.895, + "mtp_offered": 68, + "mtp_accepted": 37, + "mtp_acceptance": 0.544, + "vram_peak_gib": 11.63, + "ram_peak_gib": 1.46, + "gpu_util_mean": 27.0, + "cpu_util_mean": 17.1 + }, + { + "prompt": "long-2000", + "prompt_tokens": 3040, + "output_tokens": 75, + "ttft_s": 3.048, + "prefill_tok_s": 1032.4, + "decode_tok_s": 63.0, + "cache_hit_rate": 0.948, + "mtp_offered": 72, + "mtp_accepted": 36, + "mtp_acceptance": 0.5, + "vram_peak_gib": 11.58, + "ram_peak_gib": 1.72, + "gpu_util_mean": 72.8, + "cpu_util_mean": 21.3 + }, + { + "prompt": "long-8000", + "prompt_tokens": 10662, + "output_tokens": 93, + "ttft_s": 8.968, + "prefill_tok_s": 1071.3, + "decode_tok_s": 62.5, + "cache_hit_rate": 0.987, + "mtp_offered": 104, + "mtp_accepted": 53, + "mtp_acceptance": 0.51, + "vram_peak_gib": 11.58, + "ram_peak_gib": 3.04, + "gpu_util_mean": 90.6, + "cpu_util_mean": 14.3 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run2.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run2.txt new file mode 100644 index 000000000..c834e0330 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run2.txt @@ -0,0 +1,9 @@ + +gemma-4-26b-a4b-ud-q3_k_m (gemma4, UD-Q3_K_M, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 65 0.645 45.6 63.5 0.895 0.544 11.63 1.46 27.0 17.1 + long-2000 3040 75 3.048 1032.4 63.0 0.948 0.5 11.58 1.72 72.8 21.3 + long-8000 10662 93 8.968 1071.3 62.5 0.987 0.51 11.58 3.04 90.6 14.3 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-ud-q3_k_m-von/A/A-default-run2.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run3.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run3.json new file mode 100644 index 000000000..19ba185af --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run3.json @@ -0,0 +1,57 @@ +{ + "model": "gemma-4-26b-a4b-ud-q3_k_m", + "backend": "gemma4", + "quantization": "UD-Q3_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 65, + "ttft_s": 0.619, + "prefill_tok_s": 47.9, + "decode_tok_s": 64.6, + "cache_hit_rate": 0.894, + "mtp_offered": 65, + "mtp_accepted": 37, + "mtp_acceptance": 0.569, + "vram_peak_gib": 11.63, + "ram_peak_gib": 1.46, + "gpu_util_mean": 31.7, + "cpu_util_mean": 18.3 + }, + { + "prompt": "long-2000", + "prompt_tokens": 3040, + "output_tokens": 94, + "ttft_s": 3.075, + "prefill_tok_s": 1020.8, + "decode_tok_s": 66.6, + "cache_hit_rate": 0.952, + "mtp_offered": 101, + "mtp_accepted": 53, + "mtp_acceptance": 0.525, + "vram_peak_gib": 11.58, + "ram_peak_gib": 1.72, + "gpu_util_mean": 75.0, + "cpu_util_mean": 21.3 + }, + { + "prompt": "long-8000", + "prompt_tokens": 10662, + "output_tokens": 86, + "ttft_s": 8.903, + "prefill_tok_s": 1065.7, + "decode_tok_s": 66.1, + "cache_hit_rate": 0.988, + "mtp_offered": 89, + "mtp_accepted": 49, + "mtp_acceptance": 0.551, + "vram_peak_gib": 11.58, + "ram_peak_gib": 3.05, + "gpu_util_mean": 88.5, + "cpu_util_mean": 14.3 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run3.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run3.txt new file mode 100644 index 000000000..b6c604ee7 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/A-polystrata-benchmark/A-default-run3.txt @@ -0,0 +1,9 @@ + +gemma-4-26b-a4b-ud-q3_k_m (gemma4, UD-Q3_K_M, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 65 0.619 47.9 64.6 0.894 0.569 11.63 1.46 31.7 18.3 + long-2000 3040 94 3.075 1020.8 66.6 0.952 0.525 11.58 1.72 75.0 21.3 + long-8000 10662 86 8.903 1065.7 66.1 0.988 0.551 11.58 3.05 88.5 14.3 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-ud-q3_k_m-von/A/A-default-run3.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/B-strata_bench/README.md b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/B-strata_bench/README.md new file mode 100644 index 000000000..687d9b160 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/B-strata_bench/README.md @@ -0,0 +1,64 @@ +# Community benchmark on AMD Radeon + +Measured on 2026-12-04 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: gemma-4-26b-a4b-ud-q3_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 | 48 (45-53) | 0 | 100 (100-100) | 9 | not measured | 76.8 (68.1-104.9) | 1.04 (1.01-1.08) | +| 4K prompt, fresh | 4101 (4101-4101) | 0 (0-0) | 24 cap | 3 | 1378.6 (1081.1-1383.5) | not measured | 3.86 (3.68-3.95) | +| 16K prompt, fresh | 16390 (16390-16390) | 0 (0-0) | 24 cap | 3 | 1122.1 (1118.3-1134.3) | not measured | 15.44 (15.38-15.51) | +| agent session, follow-up turns | 15250 (15243-15269) at the last turn | see below | up to 64 | 3 | see below | 78.0 (60.9-92.2) | 3.95 (2.72-4.76) | + +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.0 % (67.9-68.0); earlier-turn tokens read again per session: 256 (249-275) (earlier turns that the cache did not hold; the 14633 (14633-14633) new tokens of the files are read once); first turn (nothing cached) first token: 1.34 s (1.34-1.46). Corpus: `repo_docs` (53e7037ff848) [README.md, docs/HOW_IT_WORKS.md, docs/DETAILS.md, docs/INSTALL.md, docs/MODELS.md]. + +| Turn (run 1) | Prompt tokens | Reused | Read | Prompt tok/s | First token (s) | Decode tok/s | +| ---: | ---: | ---: | ---: | ---: | ---: | ---: | +| 0 | 396 | 0 | 396 | 548.9 | 1.463 | 83.4 | +| 1 | 4058 | 389 | 3669 | 1137.3 | 3.759 | 92.2 | +| 2 | 5765 | 4051 | 1714 | 850.4 | 2.723 | 85.9 | +| 3 | 9239 | 5758 | 3481 | 944.4 | 4.399 | 72.4 | +| 4 | 12142 | 9232 | 2910 | 909.3 | 3.95 | 64.4 | +| 5 | 15243 | 12135 | 3108 | 778.8 | 4.69 | 75.2 | + +### Concurrency: 2 clients + +Total 46.5 tok/s (43.2-46.7); first token p50 2.431 s, p95 3.889 s; request latency p50 4.171 s, p95 5.817 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: 177 s. diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/B-strata_bench/results.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/B-strata_bench/results.json new file mode 100644 index 000000000..6be73fc85 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/B-strata_bench/results.json @@ -0,0 +1,945 @@ +{ + "schema": 1, + "tool": "tools/strata_bench.py", + "date": "2026-12-04", + "params": { + "runs": 3, + "think": false, + "clients": 2, + "long": true, + "started_server": false, + "command": "python tools/strata_bench.py --clients 2 --long" + }, + "elapsed_s": 176.8970115184784, + "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": "gemma-4-26b-a4b-ud-q3_k_m", + "quant": null, + "context": 32768, + "parallel_slots": 1, + "config": {}, + "launch": null, + "engine_info": { + "model": "gemma-4-26b-a4b-ud-q3_k_m", + "max_context": 32768, + "images": true, + "gen": 1, + "version": "0.1.66", + "context": 32768, + "expert_slots": 2659, + "expert_cache_mib": 6815, + "pool_workers": 7, + "conversation_cache_mib": 8192, + "conversation_cache_slots": 4, + "conversation_cache_min_free_mib": 2560, + "reserve_mib": 383, + "vram_free_mib": 361, + "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": 1.007, + "total_s": 2.032, + "prompt_tokens": 53, + "reused_tokens": 0, + "read_tokens": 53, + "generated_tokens": 100, + "prompt_tps": 56.6, + "prompt_tps_source": "engine", + "decode_tps": 97.6, + "decode_tps_source": "engine", + "prompt_ms": 936.8, + "decode_ms": 1025.0, + "drafts_offered": 84, + "drafts_accepted": 69, + "run": 0, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.076, + "total_s": 2.509, + "prompt_tokens": 45, + "reused_tokens": 0, + "read_tokens": 45, + "generated_tokens": 100, + "prompt_tps": 45.4, + "prompt_tps_source": "engine", + "decode_tps": 69.8, + "decode_tps_source": "engine", + "prompt_ms": 991.6, + "decode_ms": 1432.3, + "drafts_offered": 109, + "drafts_accepted": 56, + "run": 0, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.041, + "total_s": 2.509, + "prompt_tokens": 48, + "reused_tokens": 0, + "read_tokens": 48, + "generated_tokens": 100, + "prompt_tps": 49.7, + "prompt_tps_source": "engine", + "decode_tps": 68.1, + "decode_tps_source": "engine", + "prompt_ms": 965.2, + "decode_ms": 1467.9, + "drafts_offered": 113, + "drafts_accepted": 54, + "run": 0, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.033, + "total_s": 1.988, + "prompt_tokens": 53, + "reused_tokens": 0, + "read_tokens": 53, + "generated_tokens": 100, + "prompt_tps": 55.6, + "prompt_tps_source": "engine", + "decode_tps": 104.7, + "decode_tps_source": "engine", + "prompt_ms": 952.7, + "decode_ms": 954.7, + "drafts_offered": 87, + "drafts_accepted": 71, + "run": 1, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.041, + "total_s": 2.408, + "prompt_tokens": 45, + "reused_tokens": 0, + "read_tokens": 45, + "generated_tokens": 100, + "prompt_tps": 47.0, + "prompt_tps_source": "engine", + "decode_tps": 73.2, + "decode_tps_source": "engine", + "prompt_ms": 957.4, + "decode_ms": 1366.9, + "drafts_offered": 82, + "drafts_accepted": 47, + "run": 1, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.039, + "total_s": 2.385, + "prompt_tokens": 48, + "reused_tokens": 0, + "read_tokens": 48, + "generated_tokens": 100, + "prompt_tps": 49.6, + "prompt_tps_source": "engine", + "decode_tps": 74.3, + "decode_tps_source": "engine", + "prompt_ms": 967.5, + "decode_ms": 1346.3, + "drafts_offered": 111, + "drafts_accepted": 56, + "run": 1, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.028, + "total_s": 1.982, + "prompt_tokens": 53, + "reused_tokens": 0, + "read_tokens": 53, + "generated_tokens": 100, + "prompt_tps": 55.2, + "prompt_tps_source": "engine", + "decode_tps": 104.9, + "decode_tps_source": "engine", + "prompt_ms": 959.7, + "decode_ms": 953.1, + "drafts_offered": 85, + "drafts_accepted": 71, + "run": 2, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.051, + "total_s": 2.354, + "prompt_tokens": 45, + "reused_tokens": 0, + "read_tokens": 45, + "generated_tokens": 100, + "prompt_tps": 46.1, + "prompt_tps_source": "engine", + "decode_tps": 76.8, + "decode_tps_source": "engine", + "prompt_ms": 975.3, + "decode_ms": 1302.4, + "drafts_offered": 99, + "drafts_accepted": 56, + "run": 2, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.028, + "total_s": 2.276, + "prompt_tokens": 48, + "reused_tokens": 0, + "read_tokens": 48, + "generated_tokens": 100, + "prompt_tps": 50.2, + "prompt_tps_source": "engine", + "decode_tps": 80.2, + "decode_tps_source": "engine", + "prompt_ms": 955.5, + "decode_ms": 1247.5, + "drafts_offered": 99, + "drafts_accepted": 59, + "run": 2, + "prompt": 2 + } + ], + "decode_tps": { + "median": 76.8, + "min": 68.1, + "max": 104.9, + "n": 9 + }, + "ttft_s": { + "median": 1.039, + "min": 1.007, + "max": 1.076, + "n": 9 + }, + "generated_tokens": { + "median": 100, + "min": 100, + "max": 100, + "n": 9 + }, + "prompt_tokens": { + "median": 48, + "min": 45, + "max": 53, + "n": 9 + } + }, + "prompts": { + "4K": { + "target_tokens": 4096, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 3.861, + "total_s": 4.244, + "prompt_tokens": 4101, + "reused_tokens": 0, + "read_tokens": 4101, + "generated_tokens": 24, + "prompt_tps": 1081.1, + "prompt_tps_source": "engine", + "decode_tps": 63.3, + "decode_tps_source": "engine", + "prompt_ms": 3793.4, + "decode_ms": 379.0, + "drafts_offered": 23, + "drafts_accepted": 11, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.949, + "total_s": 4.303, + "prompt_tokens": 4101, + "reused_tokens": 0, + "read_tokens": 4101, + "generated_tokens": 24, + "prompt_tps": 1378.6, + "prompt_tps_source": "engine", + "decode_tps": 67.8, + "decode_tps_source": "engine", + "prompt_ms": 2974.8, + "decode_ms": 354.1, + "drafts_offered": 25, + "drafts_accepted": 12, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.679, + "total_s": 3.997, + "prompt_tokens": 4101, + "reused_tokens": 0, + "read_tokens": 4101, + "generated_tokens": 24, + "prompt_tps": 1383.5, + "prompt_tps_source": "engine", + "decode_tps": 75.5, + "decode_tps_source": "engine", + "prompt_ms": 2964.3, + "decode_ms": 317.7, + "drafts_offered": 22, + "drafts_accepted": 13, + "run": 2 + } + ], + "prompt_tps": { + "median": 1378.6, + "min": 1081.1, + "max": 1383.5, + "n": 3 + }, + "ttft_s": { + "median": 3.861, + "min": 3.679, + "max": 3.949, + "n": 3 + }, + "prompt_tokens": { + "median": 4101, + "min": 4101, + "max": 4101, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "16K": { + "target_tokens": 16384, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 15.385, + "total_s": 15.853, + "prompt_tokens": 16390, + "reused_tokens": 0, + "read_tokens": 16390, + "generated_tokens": 24, + "prompt_tps": 1122.1, + "prompt_tps_source": "engine", + "decode_tps": 51.3, + "decode_tps_source": "engine", + "prompt_ms": 14606.4, + "decode_ms": 467.7, + "drafts_offered": 30, + "drafts_accepted": 11, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 15.508, + "total_s": 15.967, + "prompt_tokens": 16390, + "reused_tokens": 0, + "read_tokens": 16390, + "generated_tokens": 24, + "prompt_tps": 1134.3, + "prompt_tps_source": "engine", + "decode_tps": 52.3, + "decode_tps_source": "engine", + "prompt_ms": 14449.5, + "decode_ms": 459.3, + "drafts_offered": 30, + "drafts_accepted": 11, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 15.439, + "total_s": 15.85, + "prompt_tokens": 16390, + "reused_tokens": 0, + "read_tokens": 16390, + "generated_tokens": 24, + "prompt_tps": 1118.3, + "prompt_tps_source": "engine", + "decode_tps": 58.4, + "decode_tps_source": "engine", + "prompt_ms": 14656.0, + "decode_ms": 411.3, + "drafts_offered": 27, + "drafts_accepted": 13, + "run": 2 + } + ], + "prompt_tps": { + "median": 1122.1, + "min": 1118.3, + "max": 1134.3, + "n": 3 + }, + "ttft_s": { + "median": 15.439, + "min": 15.385, + "max": 15.508, + "n": 3 + }, + "prompt_tokens": { + "median": 16390, + "min": 16390, + "max": 16390, + "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.463, + "total_s": 1.727, + "prompt_tokens": 396, + "reused_tokens": 0, + "read_tokens": 396, + "generated_tokens": 22, + "prompt_tps": 548.9, + "prompt_tps_source": "engine", + "decode_tps": 83.4, + "decode_tps_source": "engine", + "prompt_ms": 721.4, + "decode_ms": 263.9, + "drafts_offered": 21, + "drafts_accepted": 15, + "run": 0, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.759, + "total_s": 4.226, + "prompt_tokens": 4058, + "reused_tokens": 389, + "read_tokens": 3669, + "generated_tokens": 43, + "prompt_tps": 1137.3, + "prompt_tps_source": "engine", + "decode_tps": 92.2, + "decode_tps_source": "engine", + "prompt_ms": 3226.1, + "decode_ms": 466.6, + "drafts_offered": 38, + "drafts_accepted": 30, + "run": 0, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.723, + "total_s": 3.328, + "prompt_tokens": 5765, + "reused_tokens": 4051, + "read_tokens": 1714, + "generated_tokens": 52, + "prompt_tps": 850.4, + "prompt_tps_source": "engine", + "decode_tps": 85.9, + "decode_tps_source": "engine", + "prompt_ms": 2015.6, + "decode_ms": 605.1, + "drafts_offered": 48, + "drafts_accepted": 35, + "run": 0, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.399, + "total_s": 5.103, + "prompt_tokens": 9239, + "reused_tokens": 5758, + "read_tokens": 3481, + "generated_tokens": 51, + "prompt_tps": 944.4, + "prompt_tps_source": "engine", + "decode_tps": 72.4, + "decode_tps_source": "engine", + "prompt_ms": 3685.8, + "decode_ms": 704.1, + "drafts_offered": 52, + "drafts_accepted": 31, + "run": 0, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.95, + "total_s": 4.664, + "prompt_tokens": 12142, + "reused_tokens": 9232, + "read_tokens": 2910, + "generated_tokens": 46, + "prompt_tps": 909.3, + "prompt_tps_source": "engine", + "decode_tps": 64.4, + "decode_tps_source": "engine", + "prompt_ms": 3200.1, + "decode_ms": 714.0, + "drafts_offered": 49, + "drafts_accepted": 28, + "run": 0, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.69, + "total_s": 5.328, + "prompt_tokens": 15243, + "reused_tokens": 12135, + "read_tokens": 3108, + "generated_tokens": 48, + "prompt_tps": 778.8, + "prompt_tps_source": "engine", + "decode_tps": 75.2, + "decode_tps_source": "engine", + "prompt_ms": 3990.7, + "decode_ms": 638.7, + "drafts_offered": 37, + "drafts_accepted": 29, + "run": 0, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 1.337, + "total_s": 1.573, + "prompt_tokens": 396, + "reused_tokens": 0, + "read_tokens": 396, + "generated_tokens": 22, + "prompt_tps": 680.3, + "prompt_tps_source": "engine", + "decode_tps": 93.1, + "decode_tps_source": "engine", + "prompt_ms": 582.1, + "decode_ms": 236.3, + "drafts_offered": 21, + "drafts_accepted": 15, + "run": 1, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.697, + "total_s": 4.228, + "prompt_tokens": 4058, + "reused_tokens": 389, + "read_tokens": 3669, + "generated_tokens": 47, + "prompt_tps": 1012.7, + "prompt_tps_source": "engine", + "decode_tps": 88.4, + "decode_tps_source": "engine", + "prompt_ms": 3622.9, + "decode_ms": 531.9, + "drafts_offered": 43, + "drafts_accepted": 32, + "run": 1, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.786, + "total_s": 3.492, + "prompt_tokens": 5769, + "reused_tokens": 4051, + "read_tokens": 1718, + "generated_tokens": 59, + "prompt_tps": 844.6, + "prompt_tps_source": "engine", + "decode_tps": 83.5, + "decode_tps_source": "engine", + "prompt_ms": 2034.2, + "decode_ms": 706.7, + "drafts_offered": 52, + "drafts_accepted": 38, + "run": 1, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.507, + "total_s": 5.308, + "prompt_tokens": 9250, + "reused_tokens": 5762, + "read_tokens": 3488, + "generated_tokens": 58, + "prompt_tps": 926.9, + "prompt_tps_source": "engine", + "decode_tps": 72.4, + "decode_tps_source": "engine", + "prompt_ms": 3762.9, + "decode_ms": 800.9, + "drafts_offered": 60, + "drafts_accepted": 36, + "run": 1, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.94, + "total_s": 4.691, + "prompt_tokens": 12160, + "reused_tokens": 9243, + "read_tokens": 2917, + "generated_tokens": 54, + "prompt_tps": 901.7, + "prompt_tps_source": "engine", + "decode_tps": 72.0, + "decode_tps_source": "engine", + "prompt_ms": 3235.1, + "decode_ms": 750.5, + "drafts_offered": 57, + "drafts_accepted": 34, + "run": 1, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.706, + "total_s": 5.491, + "prompt_tokens": 15269, + "reused_tokens": 12153, + "read_tokens": 3116, + "generated_tokens": 60, + "prompt_tps": 783.3, + "prompt_tps_source": "engine", + "decode_tps": 76.4, + "decode_tps_source": "engine", + "prompt_ms": 3977.8, + "decode_ms": 785.2, + "drafts_offered": 57, + "drafts_accepted": 39, + "run": 1, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 1.341, + "total_s": 1.58, + "prompt_tokens": 396, + "reused_tokens": 0, + "read_tokens": 396, + "generated_tokens": 22, + "prompt_tps": 675.2, + "prompt_tps_source": "engine", + "decode_tps": 91.8, + "decode_tps_source": "engine", + "prompt_ms": 586.5, + "decode_ms": 239.6, + "drafts_offered": 21, + "drafts_accepted": 15, + "run": 2, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.734, + "total_s": 4.232, + "prompt_tokens": 4058, + "reused_tokens": 389, + "read_tokens": 3669, + "generated_tokens": 43, + "prompt_tps": 1007.1, + "prompt_tps_source": "engine", + "decode_tps": 86.4, + "decode_tps_source": "engine", + "prompt_ms": 3643.2, + "decode_ms": 497.8, + "drafts_offered": 41, + "drafts_accepted": 29, + "run": 2, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.8, + "total_s": 3.466, + "prompt_tokens": 5765, + "reused_tokens": 4051, + "read_tokens": 1714, + "generated_tokens": 52, + "prompt_tps": 836.9, + "prompt_tps_source": "engine", + "decode_tps": 78.0, + "decode_tps_source": "engine", + "prompt_ms": 2048.0, + "decode_ms": 666.5, + "drafts_offered": 47, + "drafts_accepted": 33, + "run": 2, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.418, + "total_s": 5.097, + "prompt_tokens": 9239, + "reused_tokens": 5758, + "read_tokens": 3481, + "generated_tokens": 54, + "prompt_tps": 945.5, + "prompt_tps_source": "engine", + "decode_tps": 79.6, + "decode_tps_source": "engine", + "prompt_ms": 3681.7, + "decode_ms": 678.7, + "drafts_offered": 51, + "drafts_accepted": 34, + "run": 2, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.965, + "total_s": 4.786, + "prompt_tokens": 12145, + "reused_tokens": 9232, + "read_tokens": 2913, + "generated_tokens": 50, + "prompt_tps": 903.6, + "prompt_tps_source": "engine", + "decode_tps": 60.9, + "decode_tps_source": "engine", + "prompt_ms": 3223.9, + "decode_ms": 820.7, + "drafts_offered": 62, + "drafts_accepted": 28, + "run": 2, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.765, + "total_s": 5.579, + "prompt_tokens": 15250, + "reused_tokens": 12138, + "read_tokens": 3112, + "generated_tokens": 64, + "prompt_tps": 775.9, + "prompt_tps_source": "engine", + "decode_tps": 78.6, + "decode_tps_source": "engine", + "prompt_ms": 4010.6, + "decode_ms": 814.2, + "drafts_offered": 57, + "drafts_accepted": 42, + "run": 2, + "turn": 5 + } + ] + ], + "hit_pct": { + "median": 67.951, + "min": 67.944, + "max": 67.959, + "n": 3 + }, + "reread_tokens": { + "median": 256, + "min": 249, + "max": 275, + "n": 3 + }, + "new_tokens": { + "median": 14633, + "min": 14633, + "max": 14633, + "n": 3 + }, + "turn_ttft_s": { + "median": 3.95, + "min": 2.723, + "max": 4.765, + "n": 15 + }, + "last_turn_prompt_tokens": { + "median": 15250, + "min": 15243, + "max": 15269, + "n": 3 + }, + "turn_decode_tps": { + "median": 78.0, + "min": 60.9, + "max": 92.2, + "n": 15 + }, + "first_turn_ttft_s": { + "median": 1.341, + "min": 1.337, + "max": 1.463, + "n": 3 + } + }, + "clients": { + "clients": 2, + "rounds": [ + { + "round": 0, + "wall_s": 5.92, + "tokens": 256, + "total_tps": 43.23, + "first_s": [ + 1.0900437959935516, + 3.91475734510459 + ], + "latency_s": [ + 2.85583572788164, + 5.9218932369258255 + ], + "errors": [], + "error_count": 0 + }, + { + "round": 1, + "wall_s": 5.49, + "tokens": 256, + "total_tps": 46.66, + "first_s": [ + 1.0570654750335962, + 3.7727629649452865 + ], + "latency_s": [ + 2.6983908631373197, + 5.485930688912049 + ], + "errors": [], + "error_count": 0 + }, + { + "round": 2, + "wall_s": 5.5, + "tokens": 256, + "total_tps": 46.51, + "first_s": [ + 1.0841489390004426, + 3.8116578608751297 + ], + "latency_s": [ + 2.741519152885303, + 5.504037885926664 + ], + "errors": [], + "error_count": 0 + } + ], + "total_tps": { + "median": 46.51, + "min": 43.23, + "max": 46.66, + "n": 3 + }, + "ttft_p50_s": 2.431, + "ttft_p95_s": 3.889, + "latency_p50_s": 4.171, + "latency_p95_s": 5.817, + "errors": 0 + }, + "skipped": { + "32K": "the context is 32768 tokens" + }, + "failures": [] + } +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/B-strata_bench/strata_bench-console.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/B-strata_bench/strata_bench-console.txt new file mode 100644 index 000000000..5fa0a5ee6 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/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.00 tokens per word +chat: 3 short questions x 3 runs, up to 100 new tokens + run 1 q1: decode 97.6 tok/s, first token 1.007 s, 100 tokens + run 1 q2: decode 69.8 tok/s, first token 1.076 s, 100 tokens + run 1 q3: decode 68.1 tok/s, first token 1.041 s, 100 tokens + run 2 q1: decode 104.7 tok/s, first token 1.033 s, 100 tokens + run 2 q2: decode 73.2 tok/s, first token 1.041 s, 100 tokens + run 2 q3: decode 74.3 tok/s, first token 1.039 s, 100 tokens + run 3 q1: decode 104.9 tok/s, first token 1.028 s, 100 tokens + run 3 q2: decode 76.8 tok/s, first token 1.051 s, 100 tokens + run 3 q3: decode 80.2 tok/s, first token 1.028 s, 100 tokens +4K prompt: 3 fresh prompts of about 4096 tokens, 24 new tokens + run 1: 4101 tokens, prompt 1081.1 tok/s (0 reused), first token 3.861 s + run 2: 4101 tokens, prompt 1378.6 tok/s (0 reused), first token 3.949 s + run 3: 4101 tokens, prompt 1383.5 tok/s (0 reused), first token 3.679 s +16K prompt: 3 fresh prompts of about 16384 tokens, 24 new tokens + run 1: 16390 tokens, prompt 1122.1 tok/s (0 reused), first token 15.385 s + run 2: 16390 tokens, prompt 1134.3 tok/s (0 reused), first token 15.508 s + run 3: 16390 tokens, prompt 1118.3 tok/s (0 reused), first token 15.439 s +agent: a session of 6 turns with four tools, x 3 runs (corpus: repo_docs) + run 1 turn 0: prompt 396, reused 0, read 396, first token 1.463 s + run 1 turn 1: prompt 4058, reused 389, read 3669, first token 3.759 s + run 1 turn 2: prompt 5765, reused 4051, read 1714, first token 2.723 s + run 1 turn 3: prompt 9239, reused 5758, read 3481, first token 4.399 s + run 1 turn 4: prompt 12142, reused 9232, read 2910, first token 3.95 s + run 1 turn 5: prompt 15243, reused 12135, read 3108, first token 4.69 s + run 2 turn 0: prompt 396, reused 0, read 396, first token 1.337 s + run 2 turn 1: prompt 4058, reused 389, read 3669, first token 3.697 s + run 2 turn 2: prompt 5769, reused 4051, read 1718, first token 2.786 s + run 2 turn 3: prompt 9250, reused 5762, read 3488, first token 4.507 s + run 2 turn 4: prompt 12160, reused 9243, read 2917, first token 3.94 s + run 2 turn 5: prompt 15269, reused 12153, read 3116, first token 4.706 s + run 3 turn 0: prompt 396, reused 0, read 396, first token 1.341 s + run 3 turn 1: prompt 4058, reused 389, read 3669, first token 3.734 s + run 3 turn 2: prompt 5765, reused 4051, read 1714, first token 2.8 s + run 3 turn 3: prompt 9239, reused 5758, read 3481, first token 4.418 s + run 3 turn 4: prompt 12145, reused 9232, read 2913, first token 3.965 s + run 3 turn 5: prompt 15250, reused 12138, read 3112, first token 4.765 s +concurrency: 2 requests at once x 3 rounds, 128 new tokens each + round 1: 256 tokens in 5.9 s = 43.2 tok/s total + round 2: 256 tokens in 5.5 s = 46.7 tok/s total + round 3: 256 tokens in 5.5 s = 46.5 tok/s total +32K prompt: skipped (the context is 32768 tokens) + +Results (median, range over the runs): + chat decode tok/s 76.80 (68.10 - 104.90, n=9) + chat first token (s) 1.04 (1.01 - 1.08, n=9) + 4K prompt tok/s 1378.60 (1081.10 - 1383.50, n=3) + 4K first token (s) 3.86 (3.68 - 3.95, n=3) + 16K prompt tok/s 1122.10 (1118.30 - 1134.30, n=3) + 16K first token (s) 15.44 (15.38 - 15.51, n=3) + agent cache hit % 67.95 (67.94 - 67.96, n=3) + agent re-read tokens/session 256.00 (249.00 - 275.00, n=3) + agent turn first token (s) 3.95 (2.72 - 4.76, n=15) + agent decode tok/s 78.00 (60.90 - 92.20, n=15) + 2 clients total tok/s 46.51 (43.23 - 46.66, n=3) + (0 failed request(s), 1 skipped test(s): see the report) + +Report: /results-ud-q3_k_m-von/B/2026-12-04-community-unknown-gemma-4-26b-a4b-ud-q3-k-m/README.md +Share it: open a pull request that adds the folder /results-ud-q3_k_m-von/B/2026-12-04-community-unknown-gemma-4-26b-a4b-ud-q3-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-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/C-image-smoke/image-smoke.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/C-image-smoke/image-smoke.json new file mode 100644 index 000000000..32d936e7a --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/C-image-smoke/image-smoke.json @@ -0,0 +1,17 @@ +{ + "image": "docs/media/terminal-monitor.png (PolyStrata v0.2.20-poly.9)", + "image_sha256": "bd9d03b047338bb9d9d055090e7fc3e03d70d9f1a6f8d68876dc2baafb9103ef", + "question": "Describe this image in two or three sentences: what kind of screen is it and what information does it show?", + "elapsed_s": 11.71, + "usage": { + "prompt_tokens": 312, + "completion_tokens": 59, + "total_tokens": 371, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "finish_reason": "stop", + "content": "This is a technical monitoring dashboard, likely for a local large language model (LLM) server, displaying real-time performance metrics. It shows various data points such as GPU load, VRAM usage, processing speed (tokens per second), power consumption, and a log of recent requests.", + "reasoning_chars": 0 +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/engine-requests.csv b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/engine-requests.csv new file mode 100644 index 000000000..591682636 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/engine-requests.csv @@ -0,0 +1,58 @@ +load,prompt_tokens,reused,read,prefill_ms,prefill_tok_s,generated,decode_ms,decode_tok_s,drafts_accepted,drafts_offered +1,23,0,23,507,45.4,65,1025,63.4,37,65 +1,3040,0,3040,3134,970.0,94,1433,65.6,53,101 +1,10662,2048,8614,8067,1067.8,86,1357,63.4,49,92 +2,23,0,23,505,45.6,65,1023,63.5,37,68 +2,3040,0,3040,2945,1032.4,75,1190,63.0,36,72 +2,10662,2048,8614,8040,1071.3,93,1488,62.5,53,104 +3,23,0,23,480,47.9,65,1006,64.6,37,65 +3,3040,0,3040,2978,1020.8,94,1412,66.6,53,101 +3,10662,2048,8614,8083,1065.7,86,1301,66.1,49,89 +4,23,0,23,481,47.8,65,1005,64.7,37,65 +4,31065,0,31065,36342,854.8,92,1701,54.1,50,98 +5,23,0,23,490,46.9,65,1001,65.0,37,65 +5,31065,0,31065,36538,850.2,92,1699,54.2,50,98 +6,23,0,23,477,48.3,65,998,65.1,37,65 +6,31065,0,31065,36325,855.2,92,1705,53.9,50,98 +7,35,0,35,558,62.7,24,340,70.7,16,24 +7,1029,0,1029,1404,732.9,8,124,64.8,5,8 +7,53,0,53,937,56.6,100,1025,97.6,69,84 +7,45,0,45,992,45.4,100,1432,69.8,56,109 +7,48,0,48,965,49.7,100,1468,68.1,54,113 +7,53,0,53,953,55.6,100,955,104.7,71,87 +7,45,0,45,957,47.0,100,1367,73.2,47,82 +7,48,0,48,967,49.6,100,1346,74.3,56,111 +7,53,0,53,960,55.2,100,953,104.9,71,85 +7,45,0,45,975,46.1,100,1302,76.8,56,99 +7,48,0,48,956,50.2,100,1247,80.2,59,99 +7,4101,0,4101,3793,1081.1,24,379,63.3,11,23 +7,4101,0,4101,2975,1378.6,24,354,67.8,12,25 +7,4101,0,4101,2964,1383.5,24,318,75.6,13,22 +7,16390,0,16390,14606,1122.1,24,468,51.3,11,30 +7,16390,0,16390,14449,1134.3,24,459,52.3,11,30 +7,16390,0,16390,14656,1118.3,24,411,58.3,13,27 +7,396,0,396,721,548.9,22,264,83.4,15,21 +7,4058,389,3669,3226,1137.3,43,467,92.1,30,38 +7,5765,4051,1714,2016,850.4,52,605,85.9,35,48 +7,9239,5758,3481,3686,944.4,51,704,72.4,31,52 +7,12142,9232,2910,3200,909.3,46,714,64.4,28,49 +7,15243,12135,3108,3991,778.8,48,639,75.2,29,37 +7,396,0,396,582,680.3,22,236,93.1,15,21 +7,4058,389,3669,3623,1012.7,47,532,88.4,32,43 +7,5769,4051,1718,2034,844.5,59,707,83.5,38,52 +7,9250,5762,3488,3763,926.9,58,801,72.4,36,60 +7,12160,9243,2917,3235,901.7,54,750,72.0,34,57 +7,15269,12153,3116,3978,783.3,60,785,76.4,39,57 +7,396,0,396,587,675.1,22,240,91.8,15,21 +7,4058,389,3669,3643,1007.1,43,498,86.4,29,41 +7,5765,4051,1714,2048,836.9,52,666,78.0,33,47 +7,9239,5758,3481,3682,945.5,54,679,79.6,34,51 +7,12145,9232,2913,3224,903.6,50,821,60.9,28,62 +7,15250,12138,3112,4011,775.9,64,814,78.6,42,57 +7,63,0,63,367,171.8,128,1765,72.5,71,140 +7,68,0,68,980,69.4,128,2007,63.8,61,146 +7,68,0,68,973,69.9,128,1641,78.0,70,113 +7,63,0,63,1007,62.6,128,1713,74.7,72,139 +7,63,0,63,1013,62.2,128,1657,77.2,75,135 +7,68,0,68,990,68.7,128,1693,75.6,69,127 +7,312,0,312,603,517.2,59,759,77.7,35,62 diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/experts-at-load.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/experts-at-load.txt new file mode 100644 index 000000000..f040485d3 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/experts-at-load.txt @@ -0,0 +1,7 @@ +load 1 (A-default-run1): loaded in 7.1 s; 2659 of 3840 routed experts in VRAM (6.7 GiB), 7 CPU threads +load 2 (A-default-run2): loaded in 7.0 s; 2659 of 3840 routed experts in VRAM (6.7 GiB), 7 CPU threads +load 3 (A-default-run3): loaded in 7.1 s; 2659 of 3840 routed experts in VRAM (6.7 GiB), 7 CPU threads +load 4 (A-24000-run1): loaded in 7.1 s; 2659 of 3840 routed experts in VRAM (6.7 GiB), 7 CPU threads +load 5 (A-24000-run2): loaded in 7.1 s; 2659 of 3840 routed experts in VRAM (6.7 GiB), 7 CPU threads +load 6 (A-24000-run3): loaded in 7.1 s; 2659 of 3840 routed experts in VRAM (6.7 GiB), 7 CPU threads +load 7 (B-strata_bench): loaded in 7.2 s; 2659 of 3840 routed experts in VRAM (6.7 GiB), 7 CPU threads diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/loads.csv b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/loads.csv new file mode 100644 index 000000000..b46aac9eb --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/loads.csv @@ -0,0 +1,8 @@ +load,run,engine_started_utc,requests_logged_by_engine,server_ready_line_says_images_on,image_encoder_started_during_load +1,A-default-run1,20:01:15Z,3,True,False +2,A-default-run2,20:01:47Z,3,True,False +3,A-default-run3,20:02:19Z,3,True,False +4,A-24000-run1,20:02:51Z,2,True,False +5,A-24000-run2,20:03:47Z,2,True,False +6,A-24000-run3,20:04:43Z,2,True,False +7,B-strata_bench,20:05:38Z,42,True,True diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/metrics-totals-after-B.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/metrics-totals-after-B.json new file mode 100644 index 000000000..664d5bbd4 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/metrics-totals-after-B.json @@ -0,0 +1 @@ +{"since": 1796414746.1546073, "requests": 44, "prompt_tokens": 205390, "reused": 94731, "output_tokens": 2752, "prompt_ms": 123821.40000000001, "decode_ms": 36106.6, "drafts_offered": 2734, "drafts_accepted": 1627} diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/server-starts.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/server-starts.txt new file mode 100644 index 000000000..858449d32 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q3_K_M/vision-on/server-starts.txt @@ -0,0 +1,38 @@ +--- load 1 (A-default-run1), engine started 20:01:15Z +2026-12-04T20:01:14+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-ud-q3_k_m.json --host 127.0.0.1 --port 8080". +2026-12-04T20:01:15+00:00 server: loading the vision encoder ... +2026-12-04T20:01:22+00:00 server: [strata] images: the image encoder starts with the first picture and stops after 120 s without one; it runs on the CPU, and its RAM is free in between ('"elastic": false' in the vision section keeps it running) +2026-12-04T20:01:22+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, images on) +--- load 2 (A-default-run2), engine started 20:01:47Z +2026-12-04T20:01:46+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-ud-q3_k_m.json --host 127.0.0.1 --port 8080". +2026-12-04T20:01:47+00:00 server: loading the vision encoder ... +2026-12-04T20:01:54+00:00 server: [strata] images: the image encoder starts with the first picture and stops after 120 s without one; it runs on the CPU, and its RAM is free in between ('"elastic": false' in the vision section keeps it running) +2026-12-04T20:01:54+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, images on) +--- load 3 (A-default-run3), engine started 20:02:19Z +2026-12-04T20:02:18+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-ud-q3_k_m.json --host 127.0.0.1 --port 8080". +2026-12-04T20:02:19+00:00 server: loading the vision encoder ... +2026-12-04T20:02:27+00:00 server: [strata] images: the image encoder starts with the first picture and stops after 120 s without one; it runs on the CPU, and its RAM is free in between ('"elastic": false' in the vision section keeps it running) +2026-12-04T20:02:27+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, images on) +--- load 4 (A-24000-run1), engine started 20:02:51Z +2026-12-04T20:02:50+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-ud-q3_k_m.json --host 127.0.0.1 --port 8080". +2026-12-04T20:02:51+00:00 server: loading the vision encoder ... +2026-12-04T20:02:59+00:00 server: [strata] images: the image encoder starts with the first picture and stops after 120 s without one; it runs on the CPU, and its RAM is free in between ('"elastic": false' in the vision section keeps it running) +2026-12-04T20:02:59+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, images on) +--- load 5 (A-24000-run2), engine started 20:03:47Z +2026-12-04T20:03:46+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-ud-q3_k_m.json --host 127.0.0.1 --port 8080". +2026-12-04T20:03:47+00:00 server: loading the vision encoder ... +2026-12-04T20:03:54+00:00 server: [strata] images: the image encoder starts with the first picture and stops after 120 s without one; it runs on the CPU, and its RAM is free in between ('"elastic": false' in the vision section keeps it running) +2026-12-04T20:03:54+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, images on) +--- load 6 (A-24000-run3), engine started 20:04:43Z +2026-12-04T20:04:42+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-ud-q3_k_m.json --host 127.0.0.1 --port 8080". +2026-12-04T20:04:43+00:00 server: loading the vision encoder ... +2026-12-04T20:04:50+00:00 server: [strata] images: the image encoder starts with the first picture and stops after 120 s without one; it runs on the CPU, and its RAM is free in between ('"elastic": false' in the vision section keeps it running) +2026-12-04T20:04:50+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, images on) +--- load 7 (B-strata_bench), engine started 20:05:38Z +2026-12-04T20:05:37+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-ud-q3_k_m.json --host 127.0.0.1 --port 8080". +2026-12-04T20:05:38+00:00 server: loading the vision encoder ... +2026-12-04T20:05:46+00:00 server: [strata] images: the image encoder starts with the first picture and stops after 120 s without one; it runs on the CPU, and its RAM is free in between ('"elastic": false' in the vision section keeps it running) +2026-12-04T20:05:46+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, images on) +2026-12-04T20:08:46+00:00 server: [strata] images: the image encoder started in 1.4 s, on the CPU +2026-12-04T20:08:59+00:00 Started - [] /bin/bash -c "cd /terminal && exec .venv/bin/python -u serve/server.py --engine strata --config /terminal/strata-gemma4-qat-ud-q4_k_xl.json --host 127.0.0.1 --port 8080". +2026-12-04T20:09:10+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens) diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run1.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run1.json new file mode 100644 index 000000000..173c82cd1 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run1.json @@ -0,0 +1,41 @@ +{ + "model": "gemma-4-26b-a4b-ud-q4_k_m", + "backend": "gemma4", + "quantization": "UD-Q4_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 66, + "ttft_s": 0.682, + "prefill_tok_s": 42.3, + "decode_tok_s": 57.6, + "cache_hit_rate": 0.813, + "mtp_offered": 63, + "mtp_accepted": 38, + "mtp_acceptance": 0.603, + "vram_peak_gib": 11.62, + "ram_peak_gib": 1.42, + "gpu_util_mean": 29.7, + "cpu_util_mean": 20.1 + }, + { + "prompt": "long-24000", + "prompt_tokens": 31065, + "output_tokens": 99, + "ttft_s": 37.865, + "prefill_tok_s": 820.6, + "decode_tok_s": 55.4, + "cache_hit_rate": 0.894, + "mtp_offered": 95, + "mtp_accepted": 59, + "mtp_acceptance": 0.621, + "vram_peak_gib": 11.61, + "ram_peak_gib": 2.63, + "gpu_util_mean": 94.7, + "cpu_util_mean": 13.1 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run1.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run1.txt new file mode 100644 index 000000000..85763af34 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run1.txt @@ -0,0 +1,9 @@ +(the 24000-token prompt does not fit the context: trying 95% of it) + +gemma-4-26b-a4b-ud-q4_k_m (gemma4, UD-Q4_K_M, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 66 0.682 42.3 57.6 0.813 0.603 11.62 1.42 29.7 20.1 + long-24000 31065 99 37.865 820.6 55.4 0.894 0.621 11.61 2.63 94.7 13.1 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-voff/A/A-24000-run1.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run2.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run2.json new file mode 100644 index 000000000..7e85ac6e1 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run2.json @@ -0,0 +1,41 @@ +{ + "model": "gemma-4-26b-a4b-ud-q4_k_m", + "backend": "gemma4", + "quantization": "UD-Q4_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 66, + "ttft_s": 0.698, + "prefill_tok_s": 41.2, + "decode_tok_s": 56.7, + "cache_hit_rate": 0.798, + "mtp_offered": 49, + "mtp_accepted": 36, + "mtp_acceptance": 0.735, + "vram_peak_gib": 11.62, + "ram_peak_gib": 1.43, + "gpu_util_mean": 28.3, + "cpu_util_mean": 20.0 + }, + { + "prompt": "long-24000", + "prompt_tokens": 31065, + "output_tokens": 101, + "ttft_s": 37.795, + "prefill_tok_s": 823.4, + "decode_tok_s": 48.9, + "cache_hit_rate": 0.899, + "mtp_offered": 89, + "mtp_accepted": 55, + "mtp_acceptance": 0.618, + "vram_peak_gib": 11.61, + "ram_peak_gib": 2.63, + "gpu_util_mean": 94.8, + "cpu_util_mean": 12.9 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run2.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run2.txt new file mode 100644 index 000000000..b9737aa80 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run2.txt @@ -0,0 +1,9 @@ +(the 24000-token prompt does not fit the context: trying 95% of it) + +gemma-4-26b-a4b-ud-q4_k_m (gemma4, UD-Q4_K_M, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 66 0.698 41.2 56.7 0.798 0.735 11.62 1.43 28.3 20.0 + long-24000 31065 101 37.795 823.4 48.9 0.899 0.618 11.61 2.63 94.8 12.9 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-voff/A/A-24000-run2.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run3.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run3.json new file mode 100644 index 000000000..e6164d56c --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run3.json @@ -0,0 +1,41 @@ +{ + "model": "gemma-4-26b-a4b-ud-q4_k_m", + "backend": "gemma4", + "quantization": "UD-Q4_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 66, + "ttft_s": 0.674, + "prefill_tok_s": 42.9, + "decode_tok_s": 57.9, + "cache_hit_rate": 0.813, + "mtp_offered": 63, + "mtp_accepted": 38, + "mtp_acceptance": 0.603, + "vram_peak_gib": 11.62, + "ram_peak_gib": 1.42, + "gpu_util_mean": 28.7, + "cpu_util_mean": 20.0 + }, + { + "prompt": "long-24000", + "prompt_tokens": 31065, + "output_tokens": 99, + "ttft_s": 37.873, + "prefill_tok_s": 820.4, + "decode_tok_s": 56.2, + "cache_hit_rate": 0.894, + "mtp_offered": 95, + "mtp_accepted": 59, + "mtp_acceptance": 0.621, + "vram_peak_gib": 11.61, + "ram_peak_gib": 2.63, + "gpu_util_mean": 95.4, + "cpu_util_mean": 12.9 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run3.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run3.txt new file mode 100644 index 000000000..187105887 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-24000-run3.txt @@ -0,0 +1,9 @@ +(the 24000-token prompt does not fit the context: trying 95% of it) + +gemma-4-26b-a4b-ud-q4_k_m (gemma4, UD-Q4_K_M, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 66 0.674 42.9 57.9 0.813 0.603 11.62 1.42 28.7 20.0 + long-24000 31065 99 37.873 820.4 56.2 0.894 0.621 11.61 2.63 95.4 12.9 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-voff/A/A-24000-run3.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run1.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run1.json new file mode 100644 index 000000000..049f70536 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run1.json @@ -0,0 +1,57 @@ +{ + "model": "gemma-4-26b-a4b-ud-q4_k_m", + "backend": "gemma4", + "quantization": "UD-Q4_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 66, + "ttft_s": 0.683, + "prefill_tok_s": 42.3, + "decode_tok_s": 58.2, + "cache_hit_rate": 0.798, + "mtp_offered": 49, + "mtp_accepted": 36, + "mtp_acceptance": 0.735, + "vram_peak_gib": 11.62, + "ram_peak_gib": 1.43, + "gpu_util_mean": 26.0, + "cpu_util_mean": 20.5 + }, + { + "prompt": "long-2000", + "prompt_tokens": 3040, + "output_tokens": 82, + "ttft_s": 3.119, + "prefill_tok_s": 984.6, + "decode_tok_s": 68.8, + "cache_hit_rate": 0.879, + "mtp_offered": 65, + "mtp_accepted": 46, + "mtp_acceptance": 0.708, + "vram_peak_gib": 11.6, + "ram_peak_gib": 1.74, + "gpu_util_mean": 69.0, + "cpu_util_mean": 29.4 + }, + { + "prompt": "long-8000", + "prompt_tokens": 10662, + "output_tokens": 94, + "ttft_s": 9.081, + "prefill_tok_s": 994.7, + "decode_tok_s": 63.8, + "cache_hit_rate": 0.939, + "mtp_offered": 92, + "mtp_accepted": 53, + "mtp_acceptance": 0.576, + "vram_peak_gib": 11.61, + "ram_peak_gib": 3.07, + "gpu_util_mean": 94.9, + "cpu_util_mean": 18.4 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run1.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run1.txt new file mode 100644 index 000000000..0e01d72c7 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run1.txt @@ -0,0 +1,9 @@ + +gemma-4-26b-a4b-ud-q4_k_m (gemma4, UD-Q4_K_M, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 66 0.683 42.3 58.2 0.798 0.735 11.62 1.43 26.0 20.5 + long-2000 3040 82 3.119 984.6 68.8 0.879 0.708 11.6 1.74 69.0 29.4 + long-8000 10662 94 9.081 994.7 63.8 0.939 0.576 11.61 3.07 94.9 18.4 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-voff/A/A-default-run1.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run2.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run2.json new file mode 100644 index 000000000..48a1a6066 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run2.json @@ -0,0 +1,57 @@ +{ + "model": "gemma-4-26b-a4b-ud-q4_k_m", + "backend": "gemma4", + "quantization": "UD-Q4_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 66, + "ttft_s": 0.679, + "prefill_tok_s": 42.5, + "decode_tok_s": 56.7, + "cache_hit_rate": 0.813, + "mtp_offered": 63, + "mtp_accepted": 38, + "mtp_acceptance": 0.603, + "vram_peak_gib": 11.62, + "ram_peak_gib": 1.42, + "gpu_util_mean": 28.0, + "cpu_util_mean": 20.3 + }, + { + "prompt": "long-2000", + "prompt_tokens": 3040, + "output_tokens": 90, + "ttft_s": 3.096, + "prefill_tok_s": 989.8, + "decode_tok_s": 77.5, + "cache_hit_rate": 0.884, + "mtp_offered": 77, + "mtp_accepted": 59, + "mtp_acceptance": 0.766, + "vram_peak_gib": 11.6, + "ram_peak_gib": 1.7, + "gpu_util_mean": 63.0, + "cpu_util_mean": 29.8 + }, + { + "prompt": "long-8000", + "prompt_tokens": 10662, + "output_tokens": 105, + "ttft_s": 9.043, + "prefill_tok_s": 997.2, + "decode_tok_s": 64.3, + "cache_hit_rate": 0.944, + "mtp_offered": 107, + "mtp_accepted": 59, + "mtp_acceptance": 0.551, + "vram_peak_gib": 11.61, + "ram_peak_gib": 3.03, + "gpu_util_mean": 88.5, + "cpu_util_mean": 18.6 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run2.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run2.txt new file mode 100644 index 000000000..282f68898 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run2.txt @@ -0,0 +1,9 @@ + +gemma-4-26b-a4b-ud-q4_k_m (gemma4, UD-Q4_K_M, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 66 0.679 42.5 56.7 0.813 0.603 11.62 1.42 28.0 20.3 + long-2000 3040 90 3.096 989.8 77.5 0.884 0.766 11.6 1.7 63.0 29.8 + long-8000 10662 105 9.043 997.2 64.3 0.944 0.551 11.61 3.03 88.5 18.6 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-voff/A/A-default-run2.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run3.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run3.json new file mode 100644 index 000000000..03dd32680 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run3.json @@ -0,0 +1,57 @@ +{ + "model": "gemma-4-26b-a4b-ud-q4_k_m", + "backend": "gemma4", + "quantization": "UD-Q4_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 66, + "ttft_s": 0.674, + "prefill_tok_s": 43.0, + "decode_tok_s": 55.7, + "cache_hit_rate": 0.813, + "mtp_offered": 63, + "mtp_accepted": 38, + "mtp_acceptance": 0.603, + "vram_peak_gib": 11.62, + "ram_peak_gib": 1.42, + "gpu_util_mean": 29.7, + "cpu_util_mean": 21.9 + }, + { + "prompt": "long-2000", + "prompt_tokens": 3040, + "output_tokens": 90, + "ttft_s": 3.115, + "prefill_tok_s": 988.4, + "decode_tok_s": 74.6, + "cache_hit_rate": 0.885, + "mtp_offered": 79, + "mtp_accepted": 59, + "mtp_acceptance": 0.747, + "vram_peak_gib": 11.6, + "ram_peak_gib": 1.71, + "gpu_util_mean": 63.0, + "cpu_util_mean": 27.4 + }, + { + "prompt": "long-8000", + "prompt_tokens": 10662, + "output_tokens": 105, + "ttft_s": 9.097, + "prefill_tok_s": 990.1, + "decode_tok_s": 65.8, + "cache_hit_rate": 0.942, + "mtp_offered": 109, + "mtp_accepted": 61, + "mtp_acceptance": 0.56, + "vram_peak_gib": 11.61, + "ram_peak_gib": 3.03, + "gpu_util_mean": 98.0, + "cpu_util_mean": 17.9 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run3.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run3.txt new file mode 100644 index 000000000..d212b4a5b --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/A-polystrata-benchmark/A-default-run3.txt @@ -0,0 +1,9 @@ + +gemma-4-26b-a4b-ud-q4_k_m (gemma4, UD-Q4_K_M, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 66 0.674 43.0 55.7 0.813 0.603 11.62 1.42 29.7 21.9 + long-2000 3040 90 3.115 988.4 74.6 0.885 0.747 11.6 1.71 63.0 27.4 + long-8000 10662 105 9.097 990.1 65.8 0.942 0.56 11.61 3.03 98.0 17.9 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-voff/A/A-default-run3.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/B-strata_bench/README.md b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/B-strata_bench/README.md new file mode 100644 index 000000000..682e9b2a1 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/B-strata_bench/README.md @@ -0,0 +1,64 @@ +# Community benchmark on AMD Radeon + +Measured on 2026-12-04 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: gemma-4-26b-a4b-ud-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 | 48 (45-53) | 0 | 100 (100-100) | 9 | not measured | 73.0 (64.8-97.0) | 0.66 (0.57-1.15) | +| 4K prompt, fresh | 4101 (4101-4101) | 0 (0-0) | 24 cap | 3 | 1055.8 (1034.0-1164.9) | not measured | 4.08 (3.94-4.20) | +| 16K prompt, fresh | 16390 (16390-16390) | 0 (0-0) | 24 cap | 3 | 1044.3 (961.5-1047.1) | not measured | 16.01 (15.95-17.84) | +| agent session, follow-up turns | 15259 (15257-15261) at the last turn | see below | up to 64 | 3 | see below | 72.6 (59.2-81.1) | 3.86 (2.73-5.51) | + +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.0 % (68.0-68.0); earlier-turn tokens read again per session: 265 (263-267) (earlier turns that the cache did not hold; the 14633 (14633-14633) new tokens of the files are read once); first turn (nothing cached) first token: 0.97 s (0.97-1.26). 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 | 396 | 0 | 396 | 397.0 | 1.258 | 61.4 | +| 1 | 4058 | 389 | 3669 | 668.7 | 5.508 | 72.6 | +| 2 | 5773 | 4051 | 1722 | 691.3 | 2.735 | 79.8 | +| 3 | 9247 | 5766 | 3481 | 804.0 | 4.564 | 68.1 | +| 4 | 12154 | 9240 | 2914 | 821.9 | 3.785 | 70.5 | +| 5 | 15259 | 12147 | 3112 | 695.2 | 4.722 | 72.5 | + +### Concurrency: 2 clients + +Total 49.2 tok/s (47.7-49.8); first token p50 2.001 s, p95 3.561 s; request latency p50 3.997 s, p95 5.325 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: 178 s. diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/B-strata_bench/results.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/B-strata_bench/results.json new file mode 100644 index 000000000..926b6ce59 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/B-strata_bench/results.json @@ -0,0 +1,945 @@ +{ + "schema": 1, + "tool": "tools/strata_bench.py", + "date": "2026-12-04", + "params": { + "runs": 3, + "think": false, + "clients": 2, + "long": true, + "started_server": false, + "command": "python tools/strata_bench.py --clients 2 --long" + }, + "elapsed_s": 178.0186746120453, + "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": "gemma-4-26b-a4b-ud-q4_k_m", + "quant": null, + "context": 32768, + "parallel_slots": 1, + "config": {}, + "launch": null, + "engine_info": { + "model": "gemma-4-26b-a4b-ud-q4_k_m", + "max_context": 32768, + "images": false, + "gen": 1, + "version": "0.1.66", + "context": 32768, + "expert_slots": 1858, + "expert_cache_mib": 6623, + "pool_workers": 7, + "conversation_cache_mib": 8192, + "conversation_cache_slots": 4, + "conversation_cache_min_free_mib": 2560, + "reserve_mib": 383, + "vram_free_mib": 369, + "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.568, + "total_s": 1.701, + "prompt_tokens": 53, + "reused_tokens": 0, + "read_tokens": 53, + "generated_tokens": 100, + "prompt_tps": 99.0, + "prompt_tps_source": "engine", + "decode_tps": 88.2, + "decode_tps_source": "engine", + "prompt_ms": 535.6, + "decode_ms": 1133.5, + "drafts_offered": 87, + "drafts_accepted": 68, + "run": 0, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.15, + "total_s": 2.52, + "prompt_tokens": 45, + "reused_tokens": 0, + "read_tokens": 45, + "generated_tokens": 100, + "prompt_tps": 40.1, + "prompt_tps_source": "engine", + "decode_tps": 73.0, + "decode_tps_source": "engine", + "prompt_ms": 1123.4, + "decode_ms": 1370.5, + "drafts_offered": 101, + "drafts_accepted": 60, + "run": 0, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.677, + "total_s": 2.222, + "prompt_tokens": 48, + "reused_tokens": 0, + "read_tokens": 48, + "generated_tokens": 100, + "prompt_tps": 74.1, + "prompt_tps_source": "engine", + "decode_tps": 64.8, + "decode_tps_source": "engine", + "prompt_ms": 647.5, + "decode_ms": 1544.4, + "drafts_offered": 109, + "drafts_accepted": 58, + "run": 0, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.668, + "total_s": 1.699, + "prompt_tokens": 53, + "reused_tokens": 0, + "read_tokens": 53, + "generated_tokens": 100, + "prompt_tps": 83.0, + "prompt_tps_source": "engine", + "decode_tps": 97.0, + "decode_tps_source": "engine", + "prompt_ms": 638.9, + "decode_ms": 1031.1, + "drafts_offered": 82, + "drafts_accepted": 70, + "run": 1, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.641, + "total_s": 1.991, + "prompt_tokens": 45, + "reused_tokens": 0, + "read_tokens": 45, + "generated_tokens": 100, + "prompt_tps": 72.1, + "prompt_tps_source": "engine", + "decode_tps": 74.1, + "decode_tps_source": "engine", + "prompt_ms": 624.0, + "decode_ms": 1349.1, + "drafts_offered": 105, + "drafts_accepted": 57, + "run": 1, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.656, + "total_s": 2.046, + "prompt_tokens": 48, + "reused_tokens": 0, + "read_tokens": 48, + "generated_tokens": 100, + "prompt_tps": 78.3, + "prompt_tps_source": "engine", + "decode_tps": 72.0, + "decode_tps_source": "engine", + "prompt_ms": 613.3, + "decode_ms": 1389.7, + "drafts_offered": 107, + "drafts_accepted": 57, + "run": 1, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.681, + "total_s": 1.728, + "prompt_tokens": 53, + "reused_tokens": 0, + "read_tokens": 53, + "generated_tokens": 100, + "prompt_tps": 82.4, + "prompt_tps_source": "engine", + "decode_tps": 95.5, + "decode_tps_source": "engine", + "prompt_ms": 643.2, + "decode_ms": 1046.7, + "drafts_offered": 84, + "drafts_accepted": 70, + "run": 2, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.641, + "total_s": 2.028, + "prompt_tokens": 45, + "reused_tokens": 0, + "read_tokens": 45, + "generated_tokens": 100, + "prompt_tps": 72.4, + "prompt_tps_source": "engine", + "decode_tps": 72.1, + "decode_tps_source": "engine", + "prompt_ms": 621.2, + "decode_ms": 1387.0, + "drafts_offered": 109, + "drafts_accepted": 57, + "run": 2, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.662, + "total_s": 2.045, + "prompt_tokens": 48, + "reused_tokens": 0, + "read_tokens": 48, + "generated_tokens": 100, + "prompt_tps": 76.4, + "prompt_tps_source": "engine", + "decode_tps": 72.3, + "decode_tps_source": "engine", + "prompt_ms": 628.0, + "decode_ms": 1382.5, + "drafts_offered": 105, + "drafts_accepted": 58, + "run": 2, + "prompt": 2 + } + ], + "decode_tps": { + "median": 73.0, + "min": 64.8, + "max": 97.0, + "n": 9 + }, + "ttft_s": { + "median": 0.662, + "min": 0.568, + "max": 1.15, + "n": 9 + }, + "generated_tokens": { + "median": 100, + "min": 100, + "max": 100, + "n": 9 + }, + "prompt_tokens": { + "median": 48, + "min": 45, + "max": 53, + "n": 9 + } + }, + "prompts": { + "4K": { + "target_tokens": 4096, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 3.937, + "total_s": 4.369, + "prompt_tokens": 4101, + "reused_tokens": 0, + "read_tokens": 4101, + "generated_tokens": 24, + "prompt_tps": 1055.8, + "prompt_tps_source": "engine", + "decode_tps": 55.6, + "decode_tps_source": "engine", + "prompt_ms": 3884.2, + "decode_ms": 431.9, + "drafts_offered": 26, + "drafts_accepted": 12, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.078, + "total_s": 4.477, + "prompt_tokens": 4101, + "reused_tokens": 0, + "read_tokens": 4101, + "generated_tokens": 24, + "prompt_tps": 1164.9, + "prompt_tps_source": "engine", + "decode_tps": 60.1, + "decode_tps_source": "engine", + "prompt_ms": 3520.4, + "decode_ms": 399.5, + "drafts_offered": 31, + "drafts_accepted": 13, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.202, + "total_s": 4.559, + "prompt_tokens": 4101, + "reused_tokens": 0, + "read_tokens": 4101, + "generated_tokens": 24, + "prompt_tps": 1034.0, + "prompt_tps_source": "engine", + "decode_tps": 67.3, + "decode_tps_source": "engine", + "prompt_ms": 3966.2, + "decode_ms": 356.8, + "drafts_offered": 25, + "drafts_accepted": 13, + "run": 2 + } + ], + "prompt_tps": { + "median": 1055.8, + "min": 1034.0, + "max": 1164.9, + "n": 3 + }, + "ttft_s": { + "median": 4.078, + "min": 3.937, + "max": 4.202, + "n": 3 + }, + "prompt_tokens": { + "median": 4101, + "min": 4101, + "max": 4101, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "16K": { + "target_tokens": 16384, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 16.007, + "total_s": 16.43, + "prompt_tokens": 16390, + "reused_tokens": 0, + "read_tokens": 16390, + "generated_tokens": 24, + "prompt_tps": 1047.1, + "prompt_tps_source": "engine", + "decode_tps": 56.7, + "decode_tps_source": "engine", + "prompt_ms": 15652.7, + "decode_ms": 423.1, + "drafts_offered": 29, + "drafts_accepted": 13, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 17.844, + "total_s": 18.265, + "prompt_tokens": 16390, + "reused_tokens": 0, + "read_tokens": 16390, + "generated_tokens": 24, + "prompt_tps": 961.5, + "prompt_tps_source": "engine", + "decode_tps": 57.1, + "decode_tps_source": "engine", + "prompt_ms": 17047.1, + "decode_ms": 420.5, + "drafts_offered": 30, + "drafts_accepted": 12, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 15.945, + "total_s": 16.281, + "prompt_tokens": 16390, + "reused_tokens": 0, + "read_tokens": 16390, + "generated_tokens": 24, + "prompt_tps": 1044.3, + "prompt_tps_source": "engine", + "decode_tps": 71.3, + "decode_tps_source": "engine", + "prompt_ms": 15694.9, + "decode_ms": 336.5, + "drafts_offered": 23, + "drafts_accepted": 15, + "run": 2 + } + ], + "prompt_tps": { + "median": 1044.3, + "min": 961.5, + "max": 1047.1, + "n": 3 + }, + "ttft_s": { + "median": 16.007, + "min": 15.945, + "max": 17.844, + "n": 3 + }, + "prompt_tokens": { + "median": 16390, + "min": 16390, + "max": 16390, + "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.258, + "total_s": 1.616, + "prompt_tokens": 396, + "reused_tokens": 0, + "read_tokens": 396, + "generated_tokens": 22, + "prompt_tps": 397.0, + "prompt_tps_source": "engine", + "decode_tps": 61.4, + "decode_tps_source": "engine", + "prompt_ms": 997.5, + "decode_ms": 358.2, + "drafts_offered": 19, + "drafts_accepted": 13, + "run": 0, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 5.508, + "total_s": 6.21, + "prompt_tokens": 4058, + "reused_tokens": 389, + "read_tokens": 3669, + "generated_tokens": 51, + "prompt_tps": 668.7, + "prompt_tps_source": "engine", + "decode_tps": 72.6, + "decode_tps_source": "engine", + "prompt_ms": 5486.9, + "decode_ms": 702.5, + "drafts_offered": 44, + "drafts_accepted": 29, + "run": 0, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.735, + "total_s": 3.387, + "prompt_tokens": 5773, + "reused_tokens": 4051, + "read_tokens": 1722, + "generated_tokens": 52, + "prompt_tps": 691.3, + "prompt_tps_source": "engine", + "decode_tps": 79.8, + "decode_tps_source": "engine", + "prompt_ms": 2491.1, + "decode_ms": 652.0, + "drafts_offered": 39, + "drafts_accepted": 31, + "run": 0, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.564, + "total_s": 5.372, + "prompt_tokens": 9247, + "reused_tokens": 5766, + "read_tokens": 3481, + "generated_tokens": 55, + "prompt_tps": 804.0, + "prompt_tps_source": "engine", + "decode_tps": 68.1, + "decode_tps_source": "engine", + "prompt_ms": 4329.8, + "decode_ms": 807.7, + "drafts_offered": 48, + "drafts_accepted": 30, + "run": 0, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.785, + "total_s": 4.495, + "prompt_tokens": 12154, + "reused_tokens": 9240, + "read_tokens": 2914, + "generated_tokens": 50, + "prompt_tps": 821.9, + "prompt_tps_source": "engine", + "decode_tps": 70.5, + "decode_tps_source": "engine", + "prompt_ms": 3545.4, + "decode_ms": 709.6, + "drafts_offered": 42, + "drafts_accepted": 28, + "run": 0, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.722, + "total_s": 5.467, + "prompt_tokens": 15259, + "reused_tokens": 12147, + "read_tokens": 3112, + "generated_tokens": 54, + "prompt_tps": 695.2, + "prompt_tps_source": "engine", + "decode_tps": 72.5, + "decode_tps_source": "engine", + "prompt_ms": 4476.2, + "decode_ms": 745.2, + "drafts_offered": 44, + "drafts_accepted": 31, + "run": 0, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 0.973, + "total_s": 1.214, + "prompt_tokens": 396, + "reused_tokens": 0, + "read_tokens": 396, + "generated_tokens": 22, + "prompt_tps": 546.1, + "prompt_tps_source": "engine", + "decode_tps": 91.1, + "decode_tps_source": "engine", + "prompt_ms": 725.2, + "decode_ms": 241.4, + "drafts_offered": 16, + "drafts_accepted": 13, + "run": 1, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.714, + "total_s": 4.371, + "prompt_tokens": 4058, + "reused_tokens": 389, + "read_tokens": 3669, + "generated_tokens": 48, + "prompt_tps": 1000.7, + "prompt_tps_source": "engine", + "decode_tps": 73.1, + "decode_tps_source": "engine", + "prompt_ms": 3666.5, + "decode_ms": 657.0, + "drafts_offered": 41, + "drafts_accepted": 28, + "run": 1, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.736, + "total_s": 3.441, + "prompt_tokens": 5770, + "reused_tokens": 4051, + "read_tokens": 1719, + "generated_tokens": 52, + "prompt_tps": 690.2, + "prompt_tps_source": "engine", + "decode_tps": 73.8, + "decode_tps_source": "engine", + "prompt_ms": 2490.6, + "decode_ms": 705.0, + "drafts_offered": 42, + "drafts_accepted": 28, + "run": 1, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.411, + "total_s": 5.195, + "prompt_tokens": 9244, + "reused_tokens": 5763, + "read_tokens": 3481, + "generated_tokens": 56, + "prompt_tps": 835.0, + "prompt_tps_source": "engine", + "decode_tps": 71.5, + "decode_tps_source": "engine", + "prompt_ms": 4168.9, + "decode_ms": 783.7, + "drafts_offered": 47, + "drafts_accepted": 32, + "run": 1, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.796, + "total_s": 4.64, + "prompt_tokens": 12152, + "reused_tokens": 9237, + "read_tokens": 2915, + "generated_tokens": 50, + "prompt_tps": 819.3, + "prompt_tps_source": "engine", + "decode_tps": 59.2, + "decode_tps_source": "engine", + "prompt_ms": 3557.7, + "decode_ms": 844.4, + "drafts_offered": 47, + "drafts_accepted": 25, + "run": 1, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.721, + "total_s": 5.509, + "prompt_tokens": 15257, + "reused_tokens": 12145, + "read_tokens": 3112, + "generated_tokens": 53, + "prompt_tps": 695.9, + "prompt_tps_source": "engine", + "decode_tps": 67.2, + "decode_tps_source": "engine", + "prompt_ms": 4471.9, + "decode_ms": 788.4, + "drafts_offered": 46, + "drafts_accepted": 29, + "run": 1, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 0.968, + "total_s": 1.22, + "prompt_tokens": 396, + "reused_tokens": 0, + "read_tokens": 396, + "generated_tokens": 22, + "prompt_tps": 544.3, + "prompt_tps_source": "engine", + "decode_tps": 87.5, + "decode_tps_source": "engine", + "prompt_ms": 727.5, + "decode_ms": 251.5, + "drafts_offered": 17, + "drafts_accepted": 13, + "run": 2, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.665, + "total_s": 4.298, + "prompt_tokens": 4058, + "reused_tokens": 389, + "read_tokens": 3669, + "generated_tokens": 48, + "prompt_tps": 1009.7, + "prompt_tps_source": "engine", + "decode_tps": 75.9, + "decode_tps_source": "engine", + "prompt_ms": 3633.9, + "decode_ms": 632.3, + "drafts_offered": 40, + "drafts_accepted": 27, + "run": 2, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.777, + "total_s": 3.492, + "prompt_tokens": 5770, + "reused_tokens": 4051, + "read_tokens": 1719, + "generated_tokens": 58, + "prompt_tps": 687.1, + "prompt_tps_source": "engine", + "decode_tps": 81.1, + "decode_tps_source": "engine", + "prompt_ms": 2501.7, + "decode_ms": 714.9, + "drafts_offered": 45, + "drafts_accepted": 35, + "run": 2, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.465, + "total_s": 5.281, + "prompt_tokens": 9250, + "reused_tokens": 5763, + "read_tokens": 3487, + "generated_tokens": 54, + "prompt_tps": 828.6, + "prompt_tps_source": "engine", + "decode_tps": 66.2, + "decode_tps_source": "engine", + "prompt_ms": 4208.3, + "decode_ms": 816.0, + "drafts_offered": 50, + "drafts_accepted": 29, + "run": 2, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.861, + "total_s": 4.505, + "prompt_tokens": 12156, + "reused_tokens": 9243, + "read_tokens": 2913, + "generated_tokens": 50, + "prompt_tps": 814.9, + "prompt_tps_source": "engine", + "decode_tps": 77.6, + "decode_tps_source": "engine", + "prompt_ms": 3574.7, + "decode_ms": 644.5, + "drafts_offered": 37, + "drafts_accepted": 31, + "run": 2, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.765, + "total_s": 5.433, + "prompt_tokens": 15261, + "reused_tokens": 12149, + "read_tokens": 3112, + "generated_tokens": 49, + "prompt_tps": 690.8, + "prompt_tps_source": "engine", + "decode_tps": 73.4, + "decode_tps_source": "engine", + "prompt_ms": 4504.8, + "decode_ms": 668.0, + "drafts_offered": 36, + "drafts_accepted": 29, + "run": 2, + "turn": 5 + } + ] + ], + "hit_pct": { + "median": 67.954, + "min": 67.952, + "max": 67.955, + "n": 3 + }, + "reread_tokens": { + "median": 265, + "min": 263, + "max": 267, + "n": 3 + }, + "new_tokens": { + "median": 14633, + "min": 14633, + "max": 14633, + "n": 3 + }, + "turn_ttft_s": { + "median": 3.861, + "min": 2.735, + "max": 5.508, + "n": 15 + }, + "last_turn_prompt_tokens": { + "median": 15259, + "min": 15257, + "max": 15261, + "n": 3 + }, + "turn_decode_tps": { + "median": 72.6, + "min": 59.2, + "max": 81.1, + "n": 15 + }, + "first_turn_ttft_s": { + "median": 0.973, + "min": 0.968, + "max": 1.258, + "n": 3 + } + }, + "clients": { + "clients": 2, + "rounds": [ + { + "round": 0, + "wall_s": 5.37, + "tokens": 256, + "total_tps": 47.7, + "first_s": [ + 0.7803053599782288, + 3.5993530091363937 + ], + "latency_s": [ + 2.857421562075615, + 5.366099576000124 + ], + "errors": [], + "error_count": 0 + }, + { + "round": 1, + "wall_s": 5.2, + "tokens": 256, + "total_tps": 49.19, + "first_s": [ + 0.7051258010324091, + 3.4446215461939573 + ], + "latency_s": [ + 2.7428221439477056, + 5.203367845155299 + ], + "errors": [], + "error_count": 0 + }, + { + "round": 2, + "wall_s": 5.14, + "tokens": 256, + "total_tps": 49.84, + "first_s": [ + 0.7194707309827209, + 3.220900436863303 + ], + "latency_s": [ + 2.4890136199537665, + 5.136032004840672 + ], + "errors": [], + "error_count": 0 + } + ], + "total_tps": { + "median": 49.19, + "min": 47.7, + "max": 49.84, + "n": 3 + }, + "ttft_p50_s": 2.001, + "ttft_p95_s": 3.561, + "latency_p50_s": 3.997, + "latency_p95_s": 5.325, + "errors": 0 + }, + "skipped": { + "32K": "the context is 32768 tokens" + }, + "failures": [] + } +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/B-strata_bench/strata_bench-console.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/B-strata_bench/strata_bench-console.txt new file mode 100644 index 000000000..f56199fe5 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/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.00 tokens per word +chat: 3 short questions x 3 runs, up to 100 new tokens + run 1 q1: decode 88.2 tok/s, first token 0.568 s, 100 tokens + run 1 q2: decode 73.0 tok/s, first token 1.15 s, 100 tokens + run 1 q3: decode 64.8 tok/s, first token 0.677 s, 100 tokens + run 2 q1: decode 97.0 tok/s, first token 0.668 s, 100 tokens + run 2 q2: decode 74.1 tok/s, first token 0.641 s, 100 tokens + run 2 q3: decode 72.0 tok/s, first token 0.656 s, 100 tokens + run 3 q1: decode 95.5 tok/s, first token 0.681 s, 100 tokens + run 3 q2: decode 72.1 tok/s, first token 0.641 s, 100 tokens + run 3 q3: decode 72.3 tok/s, first token 0.662 s, 100 tokens +4K prompt: 3 fresh prompts of about 4096 tokens, 24 new tokens + run 1: 4101 tokens, prompt 1055.8 tok/s (0 reused), first token 3.937 s + run 2: 4101 tokens, prompt 1164.9 tok/s (0 reused), first token 4.078 s + run 3: 4101 tokens, prompt 1034.0 tok/s (0 reused), first token 4.202 s +16K prompt: 3 fresh prompts of about 16384 tokens, 24 new tokens + run 1: 16390 tokens, prompt 1047.1 tok/s (0 reused), first token 16.007 s + run 2: 16390 tokens, prompt 961.5 tok/s (0 reused), first token 17.844 s + run 3: 16390 tokens, prompt 1044.3 tok/s (0 reused), first token 15.945 s +agent: a session of 6 turns with four tools, x 3 runs (corpus: repo_docs) + run 1 turn 0: prompt 396, reused 0, read 396, first token 1.258 s + run 1 turn 1: prompt 4058, reused 389, read 3669, first token 5.508 s + run 1 turn 2: prompt 5773, reused 4051, read 1722, first token 2.735 s + run 1 turn 3: prompt 9247, reused 5766, read 3481, first token 4.564 s + run 1 turn 4: prompt 12154, reused 9240, read 2914, first token 3.785 s + run 1 turn 5: prompt 15259, reused 12147, read 3112, first token 4.722 s + run 2 turn 0: prompt 396, reused 0, read 396, first token 0.973 s + run 2 turn 1: prompt 4058, reused 389, read 3669, first token 3.714 s + run 2 turn 2: prompt 5770, reused 4051, read 1719, first token 2.736 s + run 2 turn 3: prompt 9244, reused 5763, read 3481, first token 4.411 s + run 2 turn 4: prompt 12152, reused 9237, read 2915, first token 3.796 s + run 2 turn 5: prompt 15257, reused 12145, read 3112, first token 4.721 s + run 3 turn 0: prompt 396, reused 0, read 396, first token 0.968 s + run 3 turn 1: prompt 4058, reused 389, read 3669, first token 3.665 s + run 3 turn 2: prompt 5770, reused 4051, read 1719, first token 2.777 s + run 3 turn 3: prompt 9250, reused 5763, read 3487, first token 4.465 s + run 3 turn 4: prompt 12156, reused 9243, read 2913, first token 3.861 s + run 3 turn 5: prompt 15261, reused 12149, read 3112, first token 4.765 s +concurrency: 2 requests at once x 3 rounds, 128 new tokens each + round 1: 256 tokens in 5.4 s = 47.7 tok/s total + round 2: 256 tokens in 5.2 s = 49.2 tok/s total + round 3: 256 tokens in 5.1 s = 49.8 tok/s total +32K prompt: skipped (the context is 32768 tokens) + +Results (median, range over the runs): + chat decode tok/s 73.00 (64.80 - 97.00, n=9) + chat first token (s) 0.66 (0.57 - 1.15, n=9) + 4K prompt tok/s 1055.80 (1034.00 - 1164.90, n=3) + 4K first token (s) 4.08 (3.94 - 4.20, n=3) + 16K prompt tok/s 1044.30 (961.50 - 1047.10, n=3) + 16K first token (s) 16.01 (15.95 - 17.84, n=3) + agent cache hit % 67.95 (67.95 - 67.95, n=3) + agent re-read tokens/session 265.00 (263.00 - 267.00, n=3) + agent turn first token (s) 3.86 (2.73 - 5.51, n=15) + agent decode tok/s 72.60 (59.20 - 81.10, n=15) + 2 clients total tok/s 49.19 (47.70 - 49.84, n=3) + (0 failed request(s), 1 skipped test(s): see the report) + +Report: /results-voff/B/2026-12-04-community-unknown-gemma-4-26b-a4b-ud-q4-k-m/README.md +Share it: open a pull request that adds the folder /results-voff/B/2026-12-04-community-unknown-gemma-4-26b-a4b-ud-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-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/engine-requests.csv b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/engine-requests.csv new file mode 100644 index 000000000..51b99036f --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/engine-requests.csv @@ -0,0 +1,57 @@ +load,prompt_tokens,reused,read,prefill_ms,prefill_tok_s,generated,decode_ms,decode_tok_s,drafts_accepted,drafts_offered +1,23,0,23,544,42.3,66,1134,58.2,36,49 +1,3040,0,3040,3087,984.7,82,1191,68.8,46,65 +1,10662,2048,8614,8660,994.7,94,1473,63.8,53,92 +2,23,0,23,541,42.5,66,1163,56.7,38,63 +2,3040,0,3040,3071,989.8,90,1161,77.5,59,77 +2,10662,2048,8614,8638,997.2,105,1634,64.3,59,107 +3,23,0,23,535,43.0,66,1185,55.7,38,63 +3,3040,0,3040,3076,988.4,90,1206,74.6,59,79 +3,10662,2048,8614,8700,990.1,105,1596,65.8,61,109 +4,23,0,23,544,42.3,66,1146,57.6,38,63 +4,31065,0,31065,37859,820.6,99,1788,55.4,59,95 +5,23,0,23,558,41.2,66,1164,56.7,36,49 +5,31065,0,31065,37728,823.4,101,2064,48.9,55,89 +6,23,0,23,536,42.9,66,1140,57.9,38,63 +6,31065,0,31065,37867,820.4,99,1761,56.2,59,95 +7,35,0,35,683,51.3,24,482,49.8,16,24 +7,1029,0,1029,1361,756.1,8,138,58.0,5,8 +7,53,0,53,536,99.0,100,1134,88.2,68,87 +7,45,0,45,1123,40.1,100,1370,73.0,60,101 +7,48,0,48,647,74.1,100,1544,64.8,58,109 +7,53,0,53,639,82.9,100,1031,97.0,70,82 +7,45,0,45,624,72.1,100,1349,74.1,57,105 +7,48,0,48,613,78.3,100,1390,72.0,57,107 +7,53,0,53,643,82.4,100,1047,95.5,70,84 +7,45,0,45,621,72.4,100,1387,72.1,57,109 +7,48,0,48,628,76.4,100,1382,72.3,58,105 +7,4101,0,4101,3884,1055.8,24,432,55.6,12,26 +7,4101,0,4101,3520,1164.9,24,400,60.1,13,31 +7,4101,0,4101,3966,1034.0,24,357,67.3,13,25 +7,16390,0,16390,15653,1047.1,24,423,56.7,13,29 +7,16390,0,16390,17047,961.5,24,420,57.1,12,30 +7,16390,0,16390,15695,1044.3,24,336,71.3,15,23 +7,396,0,396,997,397.0,22,358,61.4,13,19 +7,4058,389,3669,5487,668.7,51,702,72.6,29,44 +7,5773,4051,1722,2491,691.3,52,652,79.8,31,39 +7,9247,5766,3481,4330,804.0,55,808,68.1,30,48 +7,12154,9240,2914,3545,821.9,50,710,70.5,28,42 +7,15259,12147,3112,4476,695.2,54,745,72.5,31,44 +7,396,0,396,725,546.1,22,241,91.1,13,16 +7,4058,389,3669,3666,1000.7,48,657,73.1,28,41 +7,5770,4051,1719,2491,690.2,52,705,73.8,28,42 +7,9244,5763,3481,4169,835.0,56,784,71.5,32,47 +7,12152,9237,2915,3558,819.4,50,844,59.2,25,47 +7,15257,12145,3112,4472,695.9,53,788,67.2,29,46 +7,396,0,396,727,544.4,22,251,87.5,13,17 +7,4058,389,3669,3634,1009.7,48,632,75.9,27,40 +7,5770,4051,1719,2502,687.1,58,715,81.1,35,45 +7,9250,5763,3487,4208,828.6,54,816,66.2,29,50 +7,12156,9243,2913,3575,814.9,50,645,77.6,31,37 +7,15261,12149,3112,4505,690.8,49,668,73.3,29,36 +7,68,0,68,541,125.7,128,2077,61.6,62,127 +7,63,0,63,701,89.9,128,1767,72.5,71,135 +7,68,0,68,672,101.1,128,2037,62.8,62,149 +7,63,0,63,672,93.7,128,1759,72.8,72,144 +7,63,0,63,692,91.0,128,1769,72.3,71,141 +7,68,0,68,688,98.8,128,1915,66.8,64,141 diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/experts-at-load.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/experts-at-load.txt new file mode 100644 index 000000000..a87a3e338 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/experts-at-load.txt @@ -0,0 +1,7 @@ +load 1 (A-default-run1): loaded in 4.4 s; 1858 of 3840 routed experts in VRAM (6.5 GiB), 7 CPU threads +load 2 (A-default-run2): loaded in 4.3 s; 1858 of 3840 routed experts in VRAM (6.5 GiB), 7 CPU threads +load 3 (A-default-run3): loaded in 4.3 s; 1858 of 3840 routed experts in VRAM (6.5 GiB), 7 CPU threads +load 4 (A-24000-run1): loaded in 4.3 s; 1858 of 3840 routed experts in VRAM (6.5 GiB), 7 CPU threads +load 5 (A-24000-run2): loaded in 4.3 s; 1858 of 3840 routed experts in VRAM (6.5 GiB), 7 CPU threads +load 6 (A-24000-run3): loaded in 4.3 s; 1858 of 3840 routed experts in VRAM (6.5 GiB), 7 CPU threads +load 7 (B-strata_bench): loaded in 4.4 s; 1858 of 3840 routed experts in VRAM (6.5 GiB), 7 CPU threads diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/loads.csv b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/loads.csv new file mode 100644 index 000000000..d87e6158f --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/loads.csv @@ -0,0 +1,8 @@ +load,run,engine_started_utc,requests_logged_by_engine,server_ready_line_says_images_on,image_encoder_started_during_load +1,A-default-run1,12:08:37Z,3,False,False +2,A-default-run2,12:09:04Z,3,False,False +3,A-default-run3,12:09:32Z,3,False,False +4,A-24000-run1,12:09:59Z,2,False,False +5,A-24000-run2,12:10:51Z,2,False,False +6,A-24000-run3,12:11:43Z,2,False,False +7,B-strata_bench,12:12:36Z,41,False,False diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/server-starts.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/server-starts.txt new file mode 100644 index 000000000..e5eb61eab --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-off/server-starts.txt @@ -0,0 +1,21 @@ +--- load 1 (A-default-run1), engine started 12:08:37Z +2026-12-04T12:08:36+00:00 Started - [] /serve.sh. +2026-12-04T12:08:41+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, API key required) +--- load 2 (A-default-run2), engine started 12:09:04Z +2026-12-04T12:09:03+00:00 Started - [] /serve.sh. +2026-12-04T12:09:09+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, API key required) +--- load 3 (A-default-run3), engine started 12:09:32Z +2026-12-04T12:09:30+00:00 Started - [] /serve.sh. +2026-12-04T12:09:36+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, API key required) +--- load 4 (A-24000-run1), engine started 12:09:59Z +2026-12-04T12:09:58+00:00 Started - [] /serve.sh. +2026-12-04T12:10:03+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, API key required) +--- load 5 (A-24000-run2), engine started 12:10:51Z +2026-12-04T12:10:50+00:00 Started - [] /serve.sh. +2026-12-04T12:10:56+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, API key required) +--- load 6 (A-24000-run3), engine started 12:11:43Z +2026-12-04T12:11:42+00:00 Started - [] /serve.sh. +2026-12-04T12:11:48+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, API key required) +--- load 7 (B-strata_bench), engine started 12:12:36Z +2026-12-04T12:12:34+00:00 Started - [] /serve.sh. +2026-12-04T12:12:40+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, API key required) diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run1.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run1.json new file mode 100644 index 000000000..08abce1f8 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run1.json @@ -0,0 +1,41 @@ +{ + "model": "gemma-4-26b-a4b-ud-q4_k_m", + "backend": "gemma4", + "quantization": "UD-Q4_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 66, + "ttft_s": 0.68, + "prefill_tok_s": 42.5, + "decode_tok_s": 57.3, + "cache_hit_rate": 0.798, + "mtp_offered": 49, + "mtp_accepted": 36, + "mtp_acceptance": 0.735, + "vram_peak_gib": 11.62, + "ram_peak_gib": 1.44, + "gpu_util_mean": 25.3, + "cpu_util_mean": 19.8 + }, + { + "prompt": "long-24000", + "prompt_tokens": 31065, + "output_tokens": 101, + "ttft_s": 37.756, + "prefill_tok_s": 826.5, + "decode_tok_s": 55.2, + "cache_hit_rate": 0.898, + "mtp_offered": 87, + "mtp_accepted": 55, + "mtp_acceptance": 0.632, + "vram_peak_gib": 11.61, + "ram_peak_gib": 2.64, + "gpu_util_mean": 95.1, + "cpu_util_mean": 13.0 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run1.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run1.txt new file mode 100644 index 000000000..e04b1ddc8 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run1.txt @@ -0,0 +1,9 @@ +(the 24000-token prompt does not fit the context: trying 95% of it) + +gemma-4-26b-a4b-ud-q4_k_m (gemma4, UD-Q4_K_M, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 66 0.68 42.5 57.3 0.798 0.735 11.62 1.44 25.3 19.8 + long-24000 31065 101 37.756 826.5 55.2 0.898 0.632 11.61 2.64 95.1 13.0 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-von/A/A-24000-run1.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run2.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run2.json new file mode 100644 index 000000000..f5392abaa --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run2.json @@ -0,0 +1,41 @@ +{ + "model": "gemma-4-26b-a4b-ud-q4_k_m", + "backend": "gemma4", + "quantization": "UD-Q4_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 66, + "ttft_s": 0.684, + "prefill_tok_s": 42.2, + "decode_tok_s": 58.0, + "cache_hit_rate": 0.813, + "mtp_offered": 63, + "mtp_accepted": 38, + "mtp_acceptance": 0.603, + "vram_peak_gib": 11.62, + "ram_peak_gib": 1.43, + "gpu_util_mean": 28.7, + "cpu_util_mean": 20.6 + }, + { + "prompt": "long-24000", + "prompt_tokens": 31065, + "output_tokens": 99, + "ttft_s": 37.819, + "prefill_tok_s": 821.6, + "decode_tok_s": 55.8, + "cache_hit_rate": 0.894, + "mtp_offered": 95, + "mtp_accepted": 59, + "mtp_acceptance": 0.621, + "vram_peak_gib": 11.61, + "ram_peak_gib": 2.64, + "gpu_util_mean": 96.0, + "cpu_util_mean": 12.9 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run2.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run2.txt new file mode 100644 index 000000000..02d8ae98d --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run2.txt @@ -0,0 +1,9 @@ +(the 24000-token prompt does not fit the context: trying 95% of it) + +gemma-4-26b-a4b-ud-q4_k_m (gemma4, UD-Q4_K_M, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 66 0.684 42.2 58.0 0.813 0.603 11.62 1.43 28.7 20.6 + long-24000 31065 99 37.819 821.6 55.8 0.894 0.621 11.61 2.64 96.0 12.9 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-von/A/A-24000-run2.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run3.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run3.json new file mode 100644 index 000000000..8f7d475c0 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run3.json @@ -0,0 +1,41 @@ +{ + "model": "gemma-4-26b-a4b-ud-q4_k_m", + "backend": "gemma4", + "quantization": "UD-Q4_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 66, + "ttft_s": 0.683, + "prefill_tok_s": 42.3, + "decode_tok_s": 58.1, + "cache_hit_rate": 0.813, + "mtp_offered": 63, + "mtp_accepted": 38, + "mtp_acceptance": 0.603, + "vram_peak_gib": 11.6, + "ram_peak_gib": 1.44, + "gpu_util_mean": 31.3, + "cpu_util_mean": 20.7 + }, + { + "prompt": "long-24000", + "prompt_tokens": 31065, + "output_tokens": 99, + "ttft_s": 37.793, + "prefill_tok_s": 822.1, + "decode_tok_s": 56.7, + "cache_hit_rate": 0.896, + "mtp_offered": 98, + "mtp_accepted": 59, + "mtp_acceptance": 0.602, + "vram_peak_gib": 11.61, + "ram_peak_gib": 2.61, + "gpu_util_mean": 95.6, + "cpu_util_mean": 12.7 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run3.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run3.txt new file mode 100644 index 000000000..274bfe1b7 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-24000-run3.txt @@ -0,0 +1,9 @@ +(the 24000-token prompt does not fit the context: trying 95% of it) + +gemma-4-26b-a4b-ud-q4_k_m (gemma4, UD-Q4_K_M, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 66 0.683 42.3 58.1 0.813 0.603 11.6 1.44 31.3 20.7 + long-24000 31065 99 37.793 822.1 56.7 0.896 0.602 11.61 2.61 95.6 12.7 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-von/A/A-24000-run3.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run1.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run1.json new file mode 100644 index 000000000..3795e2029 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run1.json @@ -0,0 +1,57 @@ +{ + "model": "gemma-4-26b-a4b-ud-q4_k_m", + "backend": "gemma4", + "quantization": "UD-Q4_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 66, + "ttft_s": 0.676, + "prefill_tok_s": 42.9, + "decode_tok_s": 57.3, + "cache_hit_rate": 0.813, + "mtp_offered": 63, + "mtp_accepted": 38, + "mtp_acceptance": 0.603, + "vram_peak_gib": 11.6, + "ram_peak_gib": 1.46, + "gpu_util_mean": 26.3, + "cpu_util_mean": 21.2 + }, + { + "prompt": "long-2000", + "prompt_tokens": 3040, + "output_tokens": 93, + "ttft_s": 3.139, + "prefill_tok_s": 987.4, + "decode_tok_s": 71.9, + "cache_hit_rate": 0.885, + "mtp_offered": 79, + "mtp_accepted": 59, + "mtp_acceptance": 0.747, + "vram_peak_gib": 11.6, + "ram_peak_gib": 1.72, + "gpu_util_mean": 78.5, + "cpu_util_mean": 29.6 + }, + { + "prompt": "long-8000", + "prompt_tokens": 10662, + "output_tokens": 105, + "ttft_s": 9.016, + "prefill_tok_s": 999.3, + "decode_tok_s": 64.2, + "cache_hit_rate": 0.944, + "mtp_offered": 115, + "mtp_accepted": 60, + "mtp_acceptance": 0.522, + "vram_peak_gib": 11.61, + "ram_peak_gib": 3.07, + "gpu_util_mean": 91.4, + "cpu_util_mean": 18.5 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run1.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run1.txt new file mode 100644 index 000000000..07929903d --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run1.txt @@ -0,0 +1,9 @@ + +gemma-4-26b-a4b-ud-q4_k_m (gemma4, UD-Q4_K_M, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 66 0.676 42.9 57.3 0.813 0.603 11.6 1.46 26.3 21.2 + long-2000 3040 93 3.139 987.4 71.9 0.885 0.747 11.6 1.72 78.5 29.6 + long-8000 10662 105 9.016 999.3 64.2 0.944 0.522 11.61 3.07 91.4 18.5 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-von/A/A-default-run1.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run2.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run2.json new file mode 100644 index 000000000..a729ae0bf --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run2.json @@ -0,0 +1,57 @@ +{ + "model": "gemma-4-26b-a4b-ud-q4_k_m", + "backend": "gemma4", + "quantization": "UD-Q4_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 66, + "ttft_s": 0.679, + "prefill_tok_s": 42.5, + "decode_tok_s": 58.4, + "cache_hit_rate": 0.798, + "mtp_offered": 49, + "mtp_accepted": 36, + "mtp_acceptance": 0.735, + "vram_peak_gib": 11.62, + "ram_peak_gib": 1.44, + "gpu_util_mean": 23.7, + "cpu_util_mean": 20.3 + }, + { + "prompt": "long-2000", + "prompt_tokens": 3040, + "output_tokens": 80, + "ttft_s": 3.134, + "prefill_tok_s": 987.5, + "decode_tok_s": 64.0, + "cache_hit_rate": 0.874, + "mtp_offered": 61, + "mtp_accepted": 43, + "mtp_acceptance": 0.705, + "vram_peak_gib": 11.6, + "ram_peak_gib": 1.74, + "gpu_util_mean": 66.2, + "cpu_util_mean": 29.3 + }, + { + "prompt": "long-8000", + "prompt_tokens": 10662, + "output_tokens": 105, + "ttft_s": 9.035, + "prefill_tok_s": 1001.0, + "decode_tok_s": 64.2, + "cache_hit_rate": 0.94, + "mtp_offered": 101, + "mtp_accepted": 59, + "mtp_acceptance": 0.584, + "vram_peak_gib": 11.61, + "ram_peak_gib": 3.07, + "gpu_util_mean": 96.8, + "cpu_util_mean": 20.1 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run2.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run2.txt new file mode 100644 index 000000000..c8f420735 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run2.txt @@ -0,0 +1,9 @@ + +gemma-4-26b-a4b-ud-q4_k_m (gemma4, UD-Q4_K_M, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 66 0.679 42.5 58.4 0.798 0.735 11.62 1.44 23.7 20.3 + long-2000 3040 80 3.134 987.5 64.0 0.874 0.705 11.6 1.74 66.2 29.3 + long-8000 10662 105 9.035 1001.0 64.2 0.94 0.584 11.61 3.07 96.8 20.1 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-von/A/A-default-run2.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run3.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run3.json new file mode 100644 index 000000000..84e24a581 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run3.json @@ -0,0 +1,57 @@ +{ + "model": "gemma-4-26b-a4b-ud-q4_k_m", + "backend": "gemma4", + "quantization": "UD-Q4_K_M", + "context": 32768, + "max_tokens": 256, + "runs": [ + { + "prompt": "short", + "prompt_tokens": 23, + "output_tokens": 66, + "ttft_s": 0.672, + "prefill_tok_s": 43.2, + "decode_tok_s": 56.1, + "cache_hit_rate": 0.813, + "mtp_offered": 63, + "mtp_accepted": 38, + "mtp_acceptance": 0.603, + "vram_peak_gib": 11.6, + "ram_peak_gib": 1.45, + "gpu_util_mean": 20.3, + "cpu_util_mean": 21.8 + }, + { + "prompt": "long-2000", + "prompt_tokens": 3040, + "output_tokens": 90, + "ttft_s": 3.114, + "prefill_tok_s": 993.5, + "decode_tok_s": 72.6, + "cache_hit_rate": 0.884, + "mtp_offered": 79, + "mtp_accepted": 58, + "mtp_acceptance": 0.734, + "vram_peak_gib": 11.6, + "ram_peak_gib": 1.72, + "gpu_util_mean": 68.2, + "cpu_util_mean": 29.5 + }, + { + "prompt": "long-8000", + "prompt_tokens": 10662, + "output_tokens": 102, + "ttft_s": 8.988, + "prefill_tok_s": 999.4, + "decode_tok_s": 66.9, + "cache_hit_rate": 0.945, + "mtp_offered": 102, + "mtp_accepted": 61, + "mtp_acceptance": 0.598, + "vram_peak_gib": 11.61, + "ram_peak_gib": 3.05, + "gpu_util_mean": 89.7, + "cpu_util_mean": 17.8 + } + ] +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run3.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run3.txt new file mode 100644 index 000000000..458aab4a3 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/A-polystrata-benchmark/A-default-run3.txt @@ -0,0 +1,9 @@ + +gemma-4-26b-a4b-ud-q4_k_m (gemma4, UD-Q4_K_M, context 32768) + prompt tokens in out TTFT s prefill tok/s decode tok/s cache hits MTP right VRAM GiB RAM GiB GPU % CPU % + short 23 66 0.672 43.2 56.1 0.813 0.603 11.6 1.45 20.3 21.8 + long-2000 3040 90 3.114 993.5 72.6 0.884 0.734 11.6 1.72 68.2 29.5 + long-8000 10662 102 8.988 999.4 66.9 0.945 0.598 11.61 3.05 89.7 17.8 + +VRAM and RAM are the machine's use at its highest while the request ran, not the engine's alone. +written: /results-von/A/A-default-run3.json diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/B-strata_bench/README.md b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/B-strata_bench/README.md new file mode 100644 index 000000000..a4f3f3be0 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/B-strata_bench/README.md @@ -0,0 +1,64 @@ +# Community benchmark on AMD Radeon + +Measured on 2026-12-04 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: gemma-4-26b-a4b-ud-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 | 48 (45-53) | 0 | 100 (100-100) | 9 | not measured | 72.9 (62.3-91.4) | 0.68 (0.59-0.71) | +| 4K prompt, fresh | 4101 (4101-4101) | 0 (0-0) | 24 cap | 3 | 1145.5 (1053.5-1163.6) | not measured | 3.95 (3.82-4.08) | +| 16K prompt, fresh | 16390 (16390-16390) | 0 (0-0) | 24 cap | 3 | 1049.0 (1047.2-1049.9) | not measured | 15.98 (15.88-16.27) | +| agent session, follow-up turns | 15257 (15256-15257) at the last turn | see below | up to 64 | 3 | see below | 72.9 (62.0-80.6) | 3.85 (2.74-4.85) | + +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.0 % (68.0-68.0); earlier-turn tokens read again per session: 263 (262-263) (earlier turns that the cache did not hold; the 14633 (14633-14633) new tokens of the files are read once); first turn (nothing cached) first token: 0.98 s (0.97-1.29). 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 | 396 | 0 | 396 | 392.7 | 1.295 | 80.4 | +| 1 | 4058 | 389 | 3669 | 1014.1 | 3.643 | 63.1 | +| 2 | 5770 | 4051 | 1719 | 687.6 | 2.74 | 67.1 | +| 3 | 9244 | 5763 | 3481 | 834.3 | 4.41 | 73.4 | +| 4 | 12152 | 9237 | 2915 | 792.8 | 3.914 | 78.4 | +| 5 | 15257 | 12145 | 3112 | 676.2 | 4.849 | 71.0 | + +### Concurrency: 2 clients + +Total 48.8 tok/s (47.1-51.5); first token p50 2.083 s, p95 3.59 s; request latency p50 3.965 s, p95 5.389 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: 174 s. diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/B-strata_bench/results.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/B-strata_bench/results.json new file mode 100644 index 000000000..7a35824df --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/B-strata_bench/results.json @@ -0,0 +1,945 @@ +{ + "schema": 1, + "tool": "tools/strata_bench.py", + "date": "2026-12-04", + "params": { + "runs": 3, + "think": false, + "clients": 2, + "long": true, + "started_server": false, + "command": "python tools/strata_bench.py --clients 2 --long" + }, + "elapsed_s": 174.2150661945343, + "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": "gemma-4-26b-a4b-ud-q4_k_m", + "quant": null, + "context": 32768, + "parallel_slots": 1, + "config": {}, + "launch": null, + "engine_info": { + "model": "gemma-4-26b-a4b-ud-q4_k_m", + "max_context": 32768, + "images": true, + "gen": 1, + "version": "0.1.66", + "context": 32768, + "expert_slots": 1858, + "expert_cache_mib": 6623, + "pool_workers": 7, + "conversation_cache_mib": 8192, + "conversation_cache_slots": 4, + "conversation_cache_min_free_mib": 2560, + "reserve_mib": 383, + "vram_free_mib": 369, + "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.588, + "total_s": 1.762, + "prompt_tokens": 53, + "reused_tokens": 0, + "read_tokens": 53, + "generated_tokens": 100, + "prompt_tps": 94.3, + "prompt_tps_source": "engine", + "decode_tps": 85.1, + "decode_tps_source": "engine", + "prompt_ms": 562.3, + "decode_ms": 1174.4, + "drafts_offered": 72, + "drafts_accepted": 63, + "run": 0, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.708, + "total_s": 2.098, + "prompt_tokens": 45, + "reused_tokens": 0, + "read_tokens": 45, + "generated_tokens": 100, + "prompt_tps": 66.7, + "prompt_tps_source": "engine", + "decode_tps": 72.0, + "decode_tps_source": "engine", + "prompt_ms": 674.5, + "decode_ms": 1389.5, + "drafts_offered": 104, + "drafts_accepted": 61, + "run": 0, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.687, + "total_s": 2.291, + "prompt_tokens": 48, + "reused_tokens": 0, + "read_tokens": 48, + "generated_tokens": 100, + "prompt_tps": 75.1, + "prompt_tps_source": "engine", + "decode_tps": 62.3, + "decode_tps_source": "engine", + "prompt_ms": 639.2, + "decode_ms": 1604.2, + "drafts_offered": 113, + "drafts_accepted": 55, + "run": 0, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.687, + "total_s": 1.782, + "prompt_tokens": 53, + "reused_tokens": 0, + "read_tokens": 53, + "generated_tokens": 100, + "prompt_tps": 81.4, + "prompt_tps_source": "engine", + "decode_tps": 91.4, + "decode_tps_source": "engine", + "prompt_ms": 650.8, + "decode_ms": 1094.6, + "drafts_offered": 83, + "drafts_accepted": 70, + "run": 1, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.662, + "total_s": 1.96, + "prompt_tokens": 45, + "reused_tokens": 0, + "read_tokens": 45, + "generated_tokens": 100, + "prompt_tps": 71.1, + "prompt_tps_source": "engine", + "decode_tps": 77.1, + "decode_tps_source": "engine", + "prompt_ms": 633.3, + "decode_ms": 1297.4, + "drafts_offered": 102, + "drafts_accepted": 59, + "run": 1, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.678, + "total_s": 2.05, + "prompt_tokens": 48, + "reused_tokens": 0, + "read_tokens": 48, + "generated_tokens": 100, + "prompt_tps": 75.3, + "prompt_tps_source": "engine", + "decode_tps": 72.9, + "decode_tps_source": "engine", + "prompt_ms": 637.5, + "decode_ms": 1372.3, + "drafts_offered": 109, + "drafts_accepted": 57, + "run": 1, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.687, + "total_s": 1.799, + "prompt_tokens": 53, + "reused_tokens": 0, + "read_tokens": 53, + "generated_tokens": 100, + "prompt_tps": 79.6, + "prompt_tps_source": "engine", + "decode_tps": 90.0, + "decode_tps_source": "engine", + "prompt_ms": 666.1, + "decode_ms": 1111.6, + "drafts_offered": 83, + "drafts_accepted": 70, + "run": 2, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.667, + "total_s": 2.048, + "prompt_tokens": 45, + "reused_tokens": 0, + "read_tokens": 45, + "generated_tokens": 100, + "prompt_tps": 70.8, + "prompt_tps_source": "engine", + "decode_tps": 72.4, + "decode_tps_source": "engine", + "prompt_ms": 635.7, + "decode_ms": 1380.9, + "drafts_offered": 107, + "drafts_accepted": 56, + "run": 2, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.674, + "total_s": 2.146, + "prompt_tokens": 48, + "reused_tokens": 0, + "read_tokens": 48, + "generated_tokens": 100, + "prompt_tps": 73.8, + "prompt_tps_source": "engine", + "decode_tps": 68.0, + "decode_tps_source": "engine", + "prompt_ms": 650.7, + "decode_ms": 1471.3, + "drafts_offered": 105, + "drafts_accepted": 55, + "run": 2, + "prompt": 2 + } + ], + "decode_tps": { + "median": 72.9, + "min": 62.3, + "max": 91.4, + "n": 9 + }, + "ttft_s": { + "median": 0.678, + "min": 0.588, + "max": 0.708, + "n": 9 + }, + "generated_tokens": { + "median": 100, + "min": 100, + "max": 100, + "n": 9 + }, + "prompt_tokens": { + "median": 48, + "min": 45, + "max": 53, + "n": 9 + } + }, + "prompts": { + "4K": { + "target_tokens": 4096, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 3.948, + "total_s": 4.351, + "prompt_tokens": 4101, + "reused_tokens": 0, + "read_tokens": 4101, + "generated_tokens": 24, + "prompt_tps": 1053.5, + "prompt_tps_source": "engine", + "decode_tps": 59.7, + "decode_tps_source": "engine", + "prompt_ms": 3892.8, + "decode_ms": 402.0, + "drafts_offered": 26, + "drafts_accepted": 14, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.077, + "total_s": 4.447, + "prompt_tokens": 4101, + "reused_tokens": 0, + "read_tokens": 4101, + "generated_tokens": 24, + "prompt_tps": 1163.6, + "prompt_tps_source": "engine", + "decode_tps": 64.9, + "decode_tps_source": "engine", + "prompt_ms": 3524.3, + "decode_ms": 369.8, + "drafts_offered": 23, + "drafts_accepted": 13, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.822, + "total_s": 4.176, + "prompt_tokens": 4101, + "reused_tokens": 0, + "read_tokens": 4101, + "generated_tokens": 24, + "prompt_tps": 1145.5, + "prompt_tps_source": "engine", + "decode_tps": 67.9, + "decode_tps_source": "engine", + "prompt_ms": 3580.1, + "decode_ms": 353.4, + "drafts_offered": 22, + "drafts_accepted": 13, + "run": 2 + } + ], + "prompt_tps": { + "median": 1145.5, + "min": 1053.5, + "max": 1163.6, + "n": 3 + }, + "ttft_s": { + "median": 3.948, + "min": 3.822, + "max": 4.077, + "n": 3 + }, + "prompt_tokens": { + "median": 4101, + "min": 4101, + "max": 4101, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "16K": { + "target_tokens": 16384, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 15.979, + "total_s": 16.367, + "prompt_tokens": 16390, + "reused_tokens": 0, + "read_tokens": 16390, + "generated_tokens": 24, + "prompt_tps": 1047.2, + "prompt_tps_source": "engine", + "decode_tps": 61.8, + "decode_tps_source": "engine", + "prompt_ms": 15651.0, + "decode_ms": 388.2, + "drafts_offered": 23, + "drafts_accepted": 13, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 16.274, + "total_s": 16.646, + "prompt_tokens": 16390, + "reused_tokens": 0, + "read_tokens": 16390, + "generated_tokens": 24, + "prompt_tps": 1049.0, + "prompt_tps_source": "engine", + "decode_tps": 64.7, + "decode_tps_source": "engine", + "prompt_ms": 15623.7, + "decode_ms": 371.2, + "drafts_offered": 23, + "drafts_accepted": 14, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 15.876, + "total_s": 16.342, + "prompt_tokens": 16390, + "reused_tokens": 0, + "read_tokens": 16390, + "generated_tokens": 24, + "prompt_tps": 1049.9, + "prompt_tps_source": "engine", + "decode_tps": 51.5, + "decode_tps_source": "engine", + "prompt_ms": 15611.3, + "decode_ms": 465.7, + "drafts_offered": 28, + "drafts_accepted": 11, + "run": 2 + } + ], + "prompt_tps": { + "median": 1049.0, + "min": 1047.2, + "max": 1049.9, + "n": 3 + }, + "ttft_s": { + "median": 15.979, + "min": 15.876, + "max": 16.274, + "n": 3 + }, + "prompt_tokens": { + "median": 16390, + "min": 16390, + "max": 16390, + "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.295, + "total_s": 1.569, + "prompt_tokens": 396, + "reused_tokens": 0, + "read_tokens": 396, + "generated_tokens": 22, + "prompt_tps": 392.7, + "prompt_tps_source": "engine", + "decode_tps": 80.4, + "decode_tps_source": "engine", + "prompt_ms": 1008.5, + "decode_ms": 273.5, + "drafts_offered": 21, + "drafts_accepted": 15, + "run": 0, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.643, + "total_s": 4.403, + "prompt_tokens": 4058, + "reused_tokens": 389, + "read_tokens": 3669, + "generated_tokens": 48, + "prompt_tps": 1014.1, + "prompt_tps_source": "engine", + "decode_tps": 63.1, + "decode_tps_source": "engine", + "prompt_ms": 3618.1, + "decode_ms": 760.5, + "drafts_offered": 52, + "drafts_accepted": 28, + "run": 0, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.74, + "total_s": 3.515, + "prompt_tokens": 5770, + "reused_tokens": 4051, + "read_tokens": 1719, + "generated_tokens": 52, + "prompt_tps": 687.6, + "prompt_tps_source": "engine", + "decode_tps": 67.1, + "decode_tps_source": "engine", + "prompt_ms": 2499.9, + "decode_ms": 774.8, + "drafts_offered": 53, + "drafts_accepted": 32, + "run": 0, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.41, + "total_s": 5.173, + "prompt_tokens": 9244, + "reused_tokens": 5763, + "read_tokens": 3481, + "generated_tokens": 56, + "prompt_tps": 834.3, + "prompt_tps_source": "engine", + "decode_tps": 73.4, + "decode_tps_source": "engine", + "prompt_ms": 4172.5, + "decode_ms": 762.5, + "drafts_offered": 52, + "drafts_accepted": 35, + "run": 0, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.914, + "total_s": 4.552, + "prompt_tokens": 12152, + "reused_tokens": 9237, + "read_tokens": 2915, + "generated_tokens": 50, + "prompt_tps": 792.8, + "prompt_tps_source": "engine", + "decode_tps": 78.4, + "decode_tps_source": "engine", + "prompt_ms": 3677.0, + "decode_ms": 637.7, + "drafts_offered": 44, + "drafts_accepted": 33, + "run": 0, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.849, + "total_s": 5.539, + "prompt_tokens": 15257, + "reused_tokens": 12145, + "read_tokens": 3112, + "generated_tokens": 49, + "prompt_tps": 676.2, + "prompt_tps_source": "engine", + "decode_tps": 71.0, + "decode_tps_source": "engine", + "prompt_ms": 4602.0, + "decode_ms": 690.5, + "drafts_offered": 48, + "drafts_accepted": 31, + "run": 0, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 0.979, + "total_s": 1.234, + "prompt_tokens": 396, + "reused_tokens": 0, + "read_tokens": 396, + "generated_tokens": 22, + "prompt_tps": 530.1, + "prompt_tps_source": "engine", + "decode_tps": 86.3, + "decode_tps_source": "engine", + "prompt_ms": 747.0, + "decode_ms": 255.0, + "drafts_offered": 21, + "drafts_accepted": 15, + "run": 1, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.7, + "total_s": 4.392, + "prompt_tokens": 4058, + "reused_tokens": 389, + "read_tokens": 3669, + "generated_tokens": 48, + "prompt_tps": 999.5, + "prompt_tps_source": "engine", + "decode_tps": 69.4, + "decode_tps_source": "engine", + "prompt_ms": 3671.0, + "decode_ms": 691.9, + "drafts_offered": 55, + "drafts_accepted": 29, + "run": 1, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.739, + "total_s": 3.432, + "prompt_tokens": 5770, + "reused_tokens": 4051, + "read_tokens": 1719, + "generated_tokens": 52, + "prompt_tps": 690.1, + "prompt_tps_source": "engine", + "decode_tps": 75.0, + "decode_tps_source": "engine", + "prompt_ms": 2491.0, + "decode_ms": 693.2, + "drafts_offered": 51, + "drafts_accepted": 32, + "run": 1, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.401, + "total_s": 5.14, + "prompt_tokens": 9244, + "reused_tokens": 5763, + "read_tokens": 3481, + "generated_tokens": 56, + "prompt_tps": 838.9, + "prompt_tps_source": "engine", + "decode_tps": 75.8, + "decode_tps_source": "engine", + "prompt_ms": 4149.6, + "decode_ms": 739.2, + "drafts_offered": 54, + "drafts_accepted": 36, + "run": 1, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.855, + "total_s": 4.661, + "prompt_tokens": 12152, + "reused_tokens": 9237, + "read_tokens": 2915, + "generated_tokens": 50, + "prompt_tps": 813.3, + "prompt_tps_source": "engine", + "decode_tps": 62.0, + "decode_tps_source": "engine", + "prompt_ms": 3584.0, + "decode_ms": 805.9, + "drafts_offered": 58, + "drafts_accepted": 29, + "run": 1, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.738, + "total_s": 5.743, + "prompt_tokens": 15257, + "reused_tokens": 12145, + "read_tokens": 3112, + "generated_tokens": 64, + "prompt_tps": 698.1, + "prompt_tps_source": "engine", + "decode_tps": 63.7, + "decode_tps_source": "engine", + "prompt_ms": 4458.1, + "decode_ms": 1005.3, + "drafts_offered": 73, + "drafts_accepted": 38, + "run": 1, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 0.975, + "total_s": 1.22, + "prompt_tokens": 396, + "reused_tokens": 0, + "read_tokens": 396, + "generated_tokens": 22, + "prompt_tps": 543.5, + "prompt_tps_source": "engine", + "decode_tps": 90.0, + "decode_tps_source": "engine", + "prompt_ms": 728.6, + "decode_ms": 244.5, + "drafts_offered": 21, + "drafts_accepted": 15, + "run": 2, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.678, + "total_s": 4.324, + "prompt_tokens": 4058, + "reused_tokens": 389, + "read_tokens": 3669, + "generated_tokens": 48, + "prompt_tps": 1006.8, + "prompt_tps_source": "engine", + "decode_tps": 74.3, + "decode_tps_source": "engine", + "prompt_ms": 3644.4, + "decode_ms": 646.1, + "drafts_offered": 53, + "drafts_accepted": 30, + "run": 2, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.779, + "total_s": 3.424, + "prompt_tokens": 5770, + "reused_tokens": 4051, + "read_tokens": 1719, + "generated_tokens": 52, + "prompt_tps": 687.7, + "prompt_tps_source": "engine", + "decode_tps": 80.6, + "decode_tps_source": "engine", + "prompt_ms": 2499.8, + "decode_ms": 644.8, + "drafts_offered": 48, + "drafts_accepted": 34, + "run": 2, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.42, + "total_s": 5.174, + "prompt_tokens": 9244, + "reused_tokens": 5763, + "read_tokens": 3481, + "generated_tokens": 55, + "prompt_tps": 833.7, + "prompt_tps_source": "engine", + "decode_tps": 72.9, + "decode_tps_source": "engine", + "prompt_ms": 4175.6, + "decode_ms": 754.1, + "drafts_offered": 58, + "drafts_accepted": 35, + "run": 2, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 3.815, + "total_s": 4.487, + "prompt_tokens": 12151, + "reused_tokens": 9237, + "read_tokens": 2914, + "generated_tokens": 50, + "prompt_tps": 815.3, + "prompt_tps_source": "engine", + "decode_tps": 74.4, + "decode_tps_source": "engine", + "prompt_ms": 3574.1, + "decode_ms": 671.7, + "drafts_offered": 49, + "drafts_accepted": 32, + "run": 2, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.742, + "total_s": 5.511, + "prompt_tokens": 15256, + "reused_tokens": 12144, + "read_tokens": 3112, + "generated_tokens": 52, + "prompt_tps": 693.3, + "prompt_tps_source": "engine", + "decode_tps": 67.7, + "decode_tps_source": "engine", + "prompt_ms": 4488.6, + "decode_ms": 768.6, + "drafts_offered": 57, + "drafts_accepted": 32, + "run": 2, + "turn": 5 + } + ] + ], + "hit_pct": { + "median": 67.952, + "min": 67.952, + "max": 67.953, + "n": 3 + }, + "reread_tokens": { + "median": 263, + "min": 262, + "max": 263, + "n": 3 + }, + "new_tokens": { + "median": 14633, + "min": 14633, + "max": 14633, + "n": 3 + }, + "turn_ttft_s": { + "median": 3.855, + "min": 2.739, + "max": 4.849, + "n": 15 + }, + "last_turn_prompt_tokens": { + "median": 15257, + "min": 15256, + "max": 15257, + "n": 3 + }, + "turn_decode_tps": { + "median": 72.9, + "min": 62.0, + "max": 80.6, + "n": 15 + }, + "first_turn_ttft_s": { + "median": 0.979, + "min": 0.975, + "max": 1.295, + "n": 3 + } + }, + "clients": { + "clients": 2, + "rounds": [ + { + "round": 0, + "wall_s": 5.44, + "tokens": 256, + "total_tps": 47.09, + "first_s": [ + 0.8121567349880934, + 3.656446455977857 + ], + "latency_s": [ + 2.9588274359703064, + 5.435533097945154 + ], + "errors": [], + "error_count": 0 + }, + { + "round": 1, + "wall_s": 4.97, + "tokens": 256, + "total_tps": 51.49, + "first_s": [ + 0.7028307979926467, + 3.353150107897818 + ], + "latency_s": [ + 2.6337775390129536, + 4.971378798829392 + ], + "errors": [], + "error_count": 0 + }, + { + "round": 2, + "wall_s": 5.25, + "tokens": 256, + "total_tps": 48.77, + "first_s": [ + 0.7104836469516158, + 3.39112483500503 + ], + "latency_s": [ + 2.680625948123634, + 5.248431954998523 + ], + "errors": [], + "error_count": 0 + } + ], + "total_tps": { + "median": 48.77, + "min": 47.09, + "max": 51.49, + "n": 3 + }, + "ttft_p50_s": 2.083, + "ttft_p95_s": 3.59, + "latency_p50_s": 3.965, + "latency_p95_s": 5.389, + "errors": 0 + }, + "skipped": { + "32K": "the context is 32768 tokens" + }, + "failures": [] + } +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/B-strata_bench/strata_bench-console.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/B-strata_bench/strata_bench-console.txt new file mode 100644 index 000000000..8a6d71b38 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/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.00 tokens per word +chat: 3 short questions x 3 runs, up to 100 new tokens + run 1 q1: decode 85.1 tok/s, first token 0.588 s, 100 tokens + run 1 q2: decode 72.0 tok/s, first token 0.708 s, 100 tokens + run 1 q3: decode 62.3 tok/s, first token 0.687 s, 100 tokens + run 2 q1: decode 91.4 tok/s, first token 0.687 s, 100 tokens + run 2 q2: decode 77.1 tok/s, first token 0.662 s, 100 tokens + run 2 q3: decode 72.9 tok/s, first token 0.678 s, 100 tokens + run 3 q1: decode 90.0 tok/s, first token 0.687 s, 100 tokens + run 3 q2: decode 72.4 tok/s, first token 0.667 s, 100 tokens + run 3 q3: decode 68.0 tok/s, first token 0.674 s, 100 tokens +4K prompt: 3 fresh prompts of about 4096 tokens, 24 new tokens + run 1: 4101 tokens, prompt 1053.5 tok/s (0 reused), first token 3.948 s + run 2: 4101 tokens, prompt 1163.6 tok/s (0 reused), first token 4.077 s + run 3: 4101 tokens, prompt 1145.5 tok/s (0 reused), first token 3.822 s +16K prompt: 3 fresh prompts of about 16384 tokens, 24 new tokens + run 1: 16390 tokens, prompt 1047.2 tok/s (0 reused), first token 15.979 s + run 2: 16390 tokens, prompt 1049.0 tok/s (0 reused), first token 16.274 s + run 3: 16390 tokens, prompt 1049.9 tok/s (0 reused), first token 15.876 s +agent: a session of 6 turns with four tools, x 3 runs (corpus: repo_docs) + run 1 turn 0: prompt 396, reused 0, read 396, first token 1.295 s + run 1 turn 1: prompt 4058, reused 389, read 3669, first token 3.643 s + run 1 turn 2: prompt 5770, reused 4051, read 1719, first token 2.74 s + run 1 turn 3: prompt 9244, reused 5763, read 3481, first token 4.41 s + run 1 turn 4: prompt 12152, reused 9237, read 2915, first token 3.914 s + run 1 turn 5: prompt 15257, reused 12145, read 3112, first token 4.849 s + run 2 turn 0: prompt 396, reused 0, read 396, first token 0.979 s + run 2 turn 1: prompt 4058, reused 389, read 3669, first token 3.7 s + run 2 turn 2: prompt 5770, reused 4051, read 1719, first token 2.739 s + run 2 turn 3: prompt 9244, reused 5763, read 3481, first token 4.401 s + run 2 turn 4: prompt 12152, reused 9237, read 2915, first token 3.855 s + run 2 turn 5: prompt 15257, reused 12145, read 3112, first token 4.738 s + run 3 turn 0: prompt 396, reused 0, read 396, first token 0.975 s + run 3 turn 1: prompt 4058, reused 389, read 3669, first token 3.678 s + run 3 turn 2: prompt 5770, reused 4051, read 1719, first token 2.779 s + run 3 turn 3: prompt 9244, reused 5763, read 3481, first token 4.42 s + run 3 turn 4: prompt 12151, reused 9237, read 2914, first token 3.815 s + run 3 turn 5: prompt 15256, reused 12144, read 3112, first token 4.742 s +concurrency: 2 requests at once x 3 rounds, 128 new tokens each + round 1: 256 tokens in 5.4 s = 47.1 tok/s total + round 2: 256 tokens in 5.0 s = 51.5 tok/s total + round 3: 256 tokens in 5.2 s = 48.8 tok/s total +32K prompt: skipped (the context is 32768 tokens) + +Results (median, range over the runs): + chat decode tok/s 72.90 (62.30 - 91.40, n=9) + chat first token (s) 0.68 (0.59 - 0.71, n=9) + 4K prompt tok/s 1145.50 (1053.50 - 1163.60, n=3) + 4K first token (s) 3.95 (3.82 - 4.08, n=3) + 16K prompt tok/s 1049.00 (1047.20 - 1049.90, n=3) + 16K first token (s) 15.98 (15.88 - 16.27, n=3) + agent cache hit % 67.95 (67.95 - 67.95, n=3) + agent re-read tokens/session 263.00 (262.00 - 263.00, n=3) + agent turn first token (s) 3.85 (2.74 - 4.85, n=15) + agent decode tok/s 72.90 (62.00 - 80.60, n=15) + 2 clients total tok/s 48.77 (47.09 - 51.49, n=3) + (0 failed request(s), 1 skipped test(s): see the report) + +Report: /results-von/B/2026-12-04-community-unknown-gemma-4-26b-a4b-ud-q4-k-m/README.md +Share it: open a pull request that adds the folder /results-von/B/2026-12-04-community-unknown-gemma-4-26b-a4b-ud-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-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/C-image-smoke/image-smoke.json b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/C-image-smoke/image-smoke.json new file mode 100644 index 000000000..b69a98530 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/C-image-smoke/image-smoke.json @@ -0,0 +1,17 @@ +{ + "image": "docs/media/terminal-monitor.png (PolyStrata v0.2.20-poly.9)", + "image_sha256": "bd9d03b047338bb9d9d055090e7fc3e03d70d9f1a6f8d68876dc2baafb9103ef", + "question": "Describe this image in two or three sentences: what kind of screen is it and what information does it show?", + "elapsed_s": 11.66, + "usage": { + "prompt_tokens": 312, + "completion_tokens": 67, + "total_tokens": 379, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "finish_reason": "stop", + "content": "This is a technical monitoring dashboard, likely a command-line interface (CLI) or terminal-based web application, used to track the performance of an AI model. It displays real-time telemetry such as GPU load, VRAM usage, processing speed (tokens per second), power consumption, and a log of recent processing requests.", + "reasoning_chars": 0 +} \ No newline at end of file diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/engine-requests.csv b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/engine-requests.csv new file mode 100644 index 000000000..c7d10ac54 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/engine-requests.csv @@ -0,0 +1,58 @@ +load,prompt_tokens,reused,read,prefill_ms,prefill_tok_s,generated,decode_ms,decode_tok_s,drafts_accepted,drafts_offered +1,23,0,23,536,42.9,66,1153,57.3,38,63 +1,3040,0,3040,3079,987.4,93,1293,71.9,59,79 +1,10662,2048,8614,8620,999.3,105,1635,64.2,60,115 +2,23,0,23,541,42.5,66,1130,58.4,36,49 +2,3040,0,3040,3079,987.5,80,1250,64.0,43,61 +2,10662,2048,8614,8605,1001.0,105,1635,64.2,59,101 +3,23,0,23,532,43.2,66,1177,56.1,38,63 +3,3040,0,3040,3060,993.5,90,1240,72.6,58,79 +3,10662,2048,8614,8619,999.4,102,1524,66.9,61,102 +4,23,0,23,542,42.5,66,1152,57.3,36,49 +4,31065,0,31065,37584,826.5,101,1831,55.2,55,87 +5,23,0,23,545,42.2,66,1139,58.0,38,63 +5,31065,0,31065,37812,821.6,99,1773,55.8,59,95 +6,23,0,23,544,42.3,66,1135,58.2,38,63 +6,31065,0,31065,37786,822.1,99,1746,56.7,59,98 +7,35,0,35,677,51.7,24,474,50.6,16,24 +7,1029,0,1029,1354,759.7,8,129,62.1,5,6 +7,53,0,53,562,94.3,100,1174,85.1,63,72 +7,45,0,45,675,66.7,100,1390,72.0,61,104 +7,48,0,48,639,75.1,100,1604,62.3,55,113 +7,53,0,53,651,81.4,100,1095,91.4,70,83 +7,45,0,45,633,71.1,100,1297,77.1,59,102 +7,48,0,48,637,75.3,100,1372,72.9,57,109 +7,53,0,53,666,79.6,100,1112,90.0,70,83 +7,45,0,45,636,70.8,100,1381,72.4,56,107 +7,48,0,48,651,73.8,100,1471,68.0,55,105 +7,4101,0,4101,3893,1053.5,24,402,59.7,14,26 +7,4101,0,4101,3524,1163.6,24,370,64.9,13,23 +7,4101,0,4101,3580,1145.5,24,353,67.9,13,22 +7,16390,0,16390,15651,1047.2,24,388,61.8,13,23 +7,16390,0,16390,15624,1049.0,24,371,64.7,14,23 +7,16390,0,16390,15611,1049.9,24,466,51.5,11,28 +7,396,0,396,1008,392.7,22,273,80.4,15,21 +7,4058,389,3669,3618,1014.1,48,761,63.1,28,52 +7,5770,4051,1719,2500,687.6,52,775,67.1,32,53 +7,9244,5763,3481,4172,834.3,56,762,73.4,35,52 +7,12152,9237,2915,3677,792.8,50,638,78.4,33,44 +7,15257,12145,3112,4602,676.2,49,691,71.0,31,48 +7,396,0,396,747,530.1,22,255,86.3,15,21 +7,4058,389,3669,3671,999.4,48,692,69.4,29,55 +7,5770,4051,1719,2491,690.1,52,693,75.0,32,51 +7,9244,5763,3481,4150,838.9,56,739,75.8,36,54 +7,12152,9237,2915,3584,813.3,50,806,62.0,29,58 +7,15257,12145,3112,4458,698.1,64,1005,63.7,38,73 +7,396,0,396,729,543.5,22,244,90.0,15,21 +7,4058,389,3669,3644,1006.8,48,646,74.3,30,53 +7,5770,4051,1719,2500,687.7,52,645,80.6,34,48 +7,9244,5763,3481,4176,833.6,55,754,72.9,35,58 +7,12151,9237,2914,3574,815.3,50,672,74.4,32,49 +7,15256,12144,3112,4489,693.3,52,769,67.7,32,57 +7,68,0,68,536,127.0,128,2146,59.6,62,127 +7,63,0,63,650,96.9,128,1779,72.0,72,135 +7,68,0,68,663,102.5,128,1931,66.3,63,139 +7,63,0,63,683,92.2,128,1618,79.1,76,131 +7,68,0,68,665,102.2,128,1970,65.0,62,143 +7,63,0,63,672,93.7,128,1857,68.9,69,149 +7,312,0,312,880,354.5,67,928,72.2,42,63 diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/experts-at-load.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/experts-at-load.txt new file mode 100644 index 000000000..8230d5294 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/experts-at-load.txt @@ -0,0 +1,7 @@ +load 1 (A-default-run1): loaded in 4.6 s; 1858 of 3840 routed experts in VRAM (6.5 GiB), 7 CPU threads +load 2 (A-default-run2): loaded in 4.6 s; 1858 of 3840 routed experts in VRAM (6.5 GiB), 7 CPU threads +load 3 (A-default-run3): loaded in 4.7 s; 1858 of 3840 routed experts in VRAM (6.5 GiB), 7 CPU threads +load 4 (A-24000-run1): loaded in 4.6 s; 1858 of 3840 routed experts in VRAM (6.5 GiB), 7 CPU threads +load 5 (A-24000-run2): loaded in 4.6 s; 1858 of 3840 routed experts in VRAM (6.5 GiB), 7 CPU threads +load 6 (A-24000-run3): loaded in 4.6 s; 1858 of 3840 routed experts in VRAM (6.5 GiB), 7 CPU threads +load 7 (B-strata_bench): loaded in 4.6 s; 1858 of 3840 routed experts in VRAM (6.5 GiB), 7 CPU threads diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/loads.csv b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/loads.csv new file mode 100644 index 000000000..e409d033a --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/loads.csv @@ -0,0 +1,8 @@ +load,run,engine_started_utc,requests_logged_by_engine,server_ready_line_says_images_on,image_encoder_started_during_load +1,A-default-run1,12:16:56Z,3,True,False +2,A-default-run2,12:17:24Z,3,True,False +3,A-default-run3,12:17:51Z,3,True,False +4,A-24000-run1,12:18:19Z,2,True,False +5,A-24000-run2,12:19:11Z,2,True,False +6,A-24000-run3,12:20:03Z,2,True,False +7,B-strata_bench,12:20:55Z,42,True,True diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/server-starts.txt b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/server-starts.txt new file mode 100644 index 000000000..2d1662048 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/official/UD-Q4_K_M/vision-on/server-starts.txt @@ -0,0 +1,36 @@ +--- load 1 (A-default-run1), engine started 12:16:56Z +2026-12-04T12:16:55+00:00 Started - [] /serve.sh. +2026-12-04T12:16:56+00:00 server: loading the vision encoder ... +2026-12-04T12:17:01+00:00 server: [strata] images: the image encoder starts with the first picture and stops after 120 s without one; it runs on the CPU, and its RAM is free in between ('"elastic": false' in the vision section keeps it running) +2026-12-04T12:17:01+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, images on, API key required) +--- load 2 (A-default-run2), engine started 12:17:24Z +2026-12-04T12:17:23+00:00 Started - [] /serve.sh. +2026-12-04T12:17:24+00:00 server: loading the vision encoder ... +2026-12-04T12:17:29+00:00 server: [strata] images: the image encoder starts with the first picture and stops after 120 s without one; it runs on the CPU, and its RAM is free in between ('"elastic": false' in the vision section keeps it running) +2026-12-04T12:17:29+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, images on, API key required) +--- load 3 (A-default-run3), engine started 12:17:51Z +2026-12-04T12:17:50+00:00 Started - [] /serve.sh. +2026-12-04T12:17:51+00:00 server: loading the vision encoder ... +2026-12-04T12:17:56+00:00 server: [strata] images: the image encoder starts with the first picture and stops after 120 s without one; it runs on the CPU, and its RAM is free in between ('"elastic": false' in the vision section keeps it running) +2026-12-04T12:17:56+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, images on, API key required) +--- load 4 (A-24000-run1), engine started 12:18:19Z +2026-12-04T12:18:18+00:00 Started - [] /serve.sh. +2026-12-04T12:18:19+00:00 server: loading the vision encoder ... +2026-12-04T12:18:24+00:00 server: [strata] images: the image encoder starts with the first picture and stops after 120 s without one; it runs on the CPU, and its RAM is free in between ('"elastic": false' in the vision section keeps it running) +2026-12-04T12:18:24+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, images on, API key required) +--- load 5 (A-24000-run2), engine started 12:19:11Z +2026-12-04T12:19:10+00:00 Started - [] /serve.sh. +2026-12-04T12:19:11+00:00 server: loading the vision encoder ... +2026-12-04T12:19:16+00:00 server: [strata] images: the image encoder starts with the first picture and stops after 120 s without one; it runs on the CPU, and its RAM is free in between ('"elastic": false' in the vision section keeps it running) +2026-12-04T12:19:16+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, images on, API key required) +--- load 6 (A-24000-run3), engine started 12:20:03Z +2026-12-04T12:20:02+00:00 Started - [] /serve.sh. +2026-12-04T12:20:03+00:00 server: loading the vision encoder ... +2026-12-04T12:20:08+00:00 server: [strata] images: the image encoder starts with the first picture and stops after 120 s without one; it runs on the CPU, and its RAM is free in between ('"elastic": false' in the vision section keeps it running) +2026-12-04T12:20:08+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, images on, API key required) +--- load 7 (B-strata_bench), engine started 12:20:55Z +2026-12-04T12:20:54+00:00 Started - [] /serve.sh. +2026-12-04T12:20:55+00:00 server: loading the vision encoder ... +2026-12-04T12:21:00+00:00 server: [strata] images: the image encoder starts with the first picture and stops after 120 s without one; it runs on the CPU, and its RAM is free in between ('"elastic": false' in the vision section keeps it running) +2026-12-04T12:21:00+00:00 server: ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens, images on, API key required) +2026-12-04T12:23:59+00:00 server: [strata] images: the image encoder started in 0.9 s, on the CPU diff --git a/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/tables.md b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/tables.md new file mode 100644 index 000000000..2af262fe9 --- /dev/null +++ b/docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/tables.md @@ -0,0 +1,112 @@ + +#### A UD-Q4_K_M vision-off (experts at load: 1858 of 3840 (6.5 GiB)) + +| Prompt, tokens | Prefill, tokens/s | Decode, tokens/s | MTP kept | TTFT, s | Peak VRAM (card) | +| --- | ---: | ---: | ---: | ---: | ---: | +| 23 | 42.5 (42.3–43.0) | 56.7 (55.7–58.2) | 64.0% | 0.68 (0.67–0.68) | 11.62 GiB | +| 3,040 | 988.4 (984.6–989.8) | 74.6 (68.8–77.5) | 74.2% | 3.12 (3.10–3.12) | 11.60 GiB | +| 10,662 | 994.7 (990.1–997.2) | 64.3 (63.8–65.8) | 56.2% | 9.08 (9.04–9.10) | 11.61 GiB | +| 23 | 42.3 (41.2–42.9) | 57.6 (56.7–57.9) | 64.0% | 0.68 (0.67–0.70) | 11.62 GiB | +| 31,065 | 820.6 (820.4–823.4) | 55.4 (48.9–56.2) | 62.0% | 37.87 (37.80–37.87) | 11.61 GiB | + +#### A UD-Q4_K_M vision-on (experts at load: 1858 of 3840 (6.5 GiB)) + +| Prompt, tokens | Prefill, tokens/s | Decode, tokens/s | MTP kept | TTFT, s | Peak VRAM (card) | +| --- | ---: | ---: | ---: | ---: | ---: | +| 23 | 42.9 (42.5–43.2) | 57.3 (56.1–58.4) | 64.0% | 0.68 (0.67–0.68) | 11.62 GiB | +| 3,040 | 987.5 (987.4–993.5) | 71.9 (64.0–72.6) | 73.1% | 3.13 (3.11–3.14) | 11.60 GiB | +| 10,662 | 999.4 (999.3–1,001.0) | 64.2 (64.2–66.9) | 56.6% | 9.02 (8.99–9.04) | 11.61 GiB | +| 23 | 42.3 (42.2–42.5) | 58.0 (57.3–58.1) | 64.0% | 0.68 (0.68–0.68) | 11.62 GiB | +| 31,065 | 822.1 (821.6–826.5) | 55.8 (55.2–56.7) | 61.8% | 37.79 (37.76–37.82) | 11.61 GiB | + +#### A UD-Q3_K_M vision-off (experts at load: 2659 of 3840 (6.7 GiB)) + +| Prompt, tokens | Prefill, tokens/s | Decode, tokens/s | MTP kept | TTFT, s | Peak VRAM (card) | +| --- | ---: | ---: | ---: | ---: | ---: | +| 23 | 48.7 (47.6–48.7) | 63.3 (62.9–64.4) | 56.1% | 0.61 (0.61–0.62) | 11.63 GiB | +| 3,040 | 1,023.5 (972.3–1,029.8) | 66.6 (66.6–72.5) | 55.3% | 3.07 (3.06–3.21) | 11.58 GiB | +| 10,662 | 1,068.9 (1,066.1–1,069.0) | 66.4 (63.6–68.2) | 55.4% | 8.98 (8.98–9.05) | 11.58 GiB | +| 23 | 48.1 (47.6–48.4) | 64.0 (64.0–64.4) | 56.9% | 0.62 (0.62–0.62) | 11.63 GiB | +| 31,065 | 855.3 (854.1–856.3) | 53.8 (53.8–54.0) | 51.0% | 36.38 (36.34–36.38) | 11.58 GiB | + +#### A UD-Q3_K_M vision-on (experts at load: 2659 of 3840 (6.7 GiB)) + +| Prompt, tokens | Prefill, tokens/s | Decode, tokens/s | MTP kept | TTFT, s | Peak VRAM (card) | +| --- | ---: | ---: | ---: | ---: | ---: | +| 23 | 45.6 (45.4–47.9) | 63.5 (63.4–64.6) | 56.1% | 0.65 (0.62–0.65) | 11.63 GiB | +| 3,040 | 1,020.8 (970.0–1,032.4) | 65.6 (63.0–66.6) | 51.8% | 3.08 (3.05–3.23) | 11.58 GiB | +| 10,662 | 1,067.8 (1,065.7–1,071.3) | 63.4 (62.5–66.1) | 53.0% | 8.97 (8.90–8.98) | 11.58 GiB | +| 23 | 47.8 (46.9–48.3) | 65.0 (64.7–65.1) | 56.9% | 0.62 (0.62–0.63) | 11.63 GiB | +| 31,065 | 854.8 (850.2–855.2) | 54.1 (53.9–54.2) | 51.0% | 36.39 (36.36–36.56) | 11.58 GiB | + +#### A QAT-UD-Q4_K_XL vision-off (experts at load: 2472 of 3840 (7.7 GiB)) + +| Prompt, tokens | Prefill, tokens/s | Decode, tokens/s | MTP kept | TTFT, s | Peak VRAM (card) | +| --- | ---: | ---: | ---: | ---: | ---: | +| 23 | 54.8 (54.5–54.9) | 71.5 (69.4–71.7) | 60.5% | 0.59 (0.59–0.59) | 11.63 GiB | +| 3,040 | 905.0 (903.2–908.1) | 72.9 (69.2–73.1) | 62.4% | 3.51 (3.51–3.52) | 11.61 GiB | +| 10,662 | 1,058.1 (1,057.8–1,058.4) | 68.3 (65.0–69.9) | 52.3% | 9.42 (9.38–9.60) | 11.61 GiB | +| 23 | 54.4 (54.2–54.8) | 70.7 (68.2–71.2) | 60.5% | 0.59 (0.59–0.59) | 11.63 GiB | +| 31,065 | 841.9 (838.7–845.6) | 54.7 (49.2–59.0) | 52.3% | 36.99 (36.95–37.10) | 11.61 GiB | + +#### A QAT-UD-Q4_K_XL vision-on (experts at load: 2472 of 3840 (7.7 GiB)) + +| Prompt, tokens | Prefill, tokens/s | Decode, tokens/s | MTP kept | TTFT, s | Peak VRAM (card) | +| --- | ---: | ---: | ---: | ---: | ---: | +| 23 | 54.7 (52.6–55.6) | 72.2 (71.0–72.3) | 60.3% | 0.59 (0.58–0.61) | 11.63 GiB | +| 3,040 | 899.1 (894.5–906.2) | 74.0 (66.8–74.5) | 67.1% | 3.53 (3.51–3.56) | 11.61 GiB | +| 10,662 | 1,057.5 (1,056.6–1,061.0) | 69.2 (69.1–72.5) | 57.1% | 9.40 (9.31–9.42) | 11.61 GiB | +| 23 | 55.2 (54.9–55.3) | 71.1 (70.3–72.9) | 60.8% | 0.59 (0.59–0.59) | 11.63 GiB | +| 31,065 | 839.7 (839.0–840.8) | 57.7 (55.6–60.5) | 61.4% | 37.12 (37.05–37.12) | 11.61 GiB | + +#### B strata_bench (--runs 3 --clients 2 --long) + +| Size | Mode | Chat decode, tokens/s | Chat MTP kept | 4K prefill | 16K prefill | 2-client aggregate decode | Failures | +| --- | --- | ---: | ---: | ---: | ---: | ---: | ---: | +| UD-Q4_K_M | vision-off | 73.0 (64.8–97.0) | 62.4% | 1,056 (1,034–1,165) | 1,044 (962–1,047) | 49.19 | 0 | +| UD-Q4_K_M | vision-on | 72.9 (62.3–91.4) | 62.2% | 1,146 (1,054–1,164) | 1,049 (1,047–1,050) | 48.77 | 0 | +| UD-Q3_K_M | vision-off | 74.1 (70.9–104.3) | 60.4% | 1,358 (1,087–1,379) | 1,126 (1,120–1,132) | 46.17 | 0 | +| UD-Q3_K_M | vision-on | 76.8 (68.1–104.9) | 62.0% | 1,379 (1,081–1,384) | 1,122 (1,118–1,134) | 46.51 | 0 | +| QAT-UD-Q4_K_XL | vision-off | 84.7 (74.1–104.3) | 64.8% | 1,318 (972–1,339) | 1,116 (1,104–1,122) | 40.97 | 0 | +| QAT-UD-Q4_K_XL | vision-on | 87.3 (78.0–109.8) | 67.0% | 1,316 (983–1,338) | 1,118 (1,102–1,122) | 41.06 | 0 | + +#### D extended UD-Q4_K_M vision-off (engine per-request lines) + +| Prompt, tokens | Runs | Prefill, tokens/s | Prefill time, s | Decode, tokens/s (24-token answers) | MTP kept | +| ---: | ---: | ---: | ---: | ---: | ---: | +| 3,748 | 3 | 1,008.0 (951.1–1,020.2) | 4 (4–4) | 51.0 (29.1–53.1) | 65% | +| 14,920 | 3 | 1,042.3 (1,038.9–1,047.3) | 14 (14–14) | 54.2 (52.6–54.2) | 61% | +| 29,814 | 3 | 856.2 (849.0–871.7) | 35 (34–35) | 44.9 (43.3–46.1) | 48% | +| 59,603 | 3 | 619.1 (609.7–629.1) | 96 (95–98) | 38.3 (34.6–40.6) | 53% | +| 119,182 | 3 | 398.1 (397.3–399.5) | 299 (298–300) | 25.7 (25.5–32.7) | 53% | +| 178,761 | 1 | 291.6 | 613 | 26.6 | 63% | +| 238,066 | 1 | 229.7 | 1,036 | 17.4 | 44% | +| 249,017 | 1 | 221.1 | 1,126 | 16.4 | 57% | + +#### D extended UD-Q4_K_M vision-on (engine per-request lines) + +| Prompt, tokens | Runs | Prefill, tokens/s | Prefill time, s | Decode, tokens/s (24-token answers) | MTP kept | +| ---: | ---: | ---: | ---: | ---: | ---: | +| 3,748 | 3 | 994.7 (955.8–1,007.7) | 4 (4–4) | 47.5 (28.9–55.2) | 67% | +| 14,920 | 3 | 1,038.3 (1,023.1–1,043.1) | 14 (14–15) | 55.5 (54.3–56.3) | 72% | +| 29,814 | 3 | 870.2 (869.4–870.3) | 34 (34–34) | 44.0 (38.5–47.4) | 49% | +| 59,603 | 3 | 627.7 (623.1–629.4) | 95 (95–96) | 38.0 (36.1–39.7) | 55% | +| 119,182 | 3 | 398.3 (397.7–399.4) | 299 (298–300) | 30.3 (23.2–31.1) | 56% | +| 178,761 | 1 | 291.4 | 613 | 22.9 | 56% | +| 238,066 | 1 | 229.7 | 1,037 | 17.2 | 57% | +| 249,017 | 1 | 221.0 | 1,127 | 19.8 | 59% | + +#### file-count checks + +- UD-Q4_K_M vision-off A-default: 3 runs +- UD-Q4_K_M vision-off A-24000: 3 runs +- UD-Q4_K_M vision-on A-default: 3 runs +- UD-Q4_K_M vision-on A-24000: 3 runs +- UD-Q3_K_M vision-off A-default: 3 runs +- UD-Q3_K_M vision-off A-24000: 3 runs +- UD-Q3_K_M vision-on A-default: 3 runs +- UD-Q3_K_M vision-on A-24000: 3 runs +- QAT-UD-Q4_K_XL vision-off A-default: 3 runs +- QAT-UD-Q4_K_XL vision-off A-24000: 3 runs +- QAT-UD-Q4_K_XL vision-on A-default: 3 runs +- QAT-UD-Q4_K_XL vision-on A-24000: 3 runs From 3b1c24cecbfd332f09db1436e8c2753940aa07e8 Mon Sep 17 00:00:00 2001 From: Community Benchmarks <103804044+firetussin@users.noreply.github.com> Date: Fri, 4 Dec 2026 17:32:24 -0600 Subject: [PATCH 2/2] docs: link the Gemma 4 community row to its PR Co-Authored-By: Claude Opus 5.5 --- 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 71f9c10d0..602c33dbb 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 | Gemma 4 26B-A4B UD-Q4_K_M, UD-Q3_K_M and QAT-UD-Q4_K_XL with their Q8_0 draft files, v0.2.20-poly.9 (b9eced7b), engine 0.1.66, `polystrata.py benchmark` and `tools/strata_bench.py`; 1,858 / 2,659 / 2,472 of 3,840 experts in VRAM at 32K | 32K setup defaults, `--kv-whole`; separately 262,144 for UD-Q4_K_M | on, 51% to 74% of the guesses kept | strata_bench short chat: 73 / 74 / 85 (Q4_K_M / Q3_K_M / QAT); `polystrata.py benchmark`: 57 / 63 / 72 in a short chat, 54–55 after 31K | strata_bench: 1,056 / 1,358 / 1,318 at 4K, 1,044 / 1,126 / 1,116 at 16K; `polystrata.py benchmark`: 821 / 855 / 842 at 31K; at the full 262,144 context, 221 for a 249,017-token prompt (18.8 min of prefill) | three of setup's four sizes on one AMD card; vision on (CPU reader) and off measured the same; this card's 0.1.45 Gemma report of 2026-11-10 wrote the same short-chat speed (72.5) | +| [firetussin](https://github.com/simplexai-labs/PolyStrata/pull/449) | 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 | Gemma 4 26B-A4B UD-Q4_K_M, UD-Q3_K_M and QAT-UD-Q4_K_XL with their Q8_0 draft files, v0.2.20-poly.9 (b9eced7b), engine 0.1.66, `polystrata.py benchmark` and `tools/strata_bench.py`; 1,858 / 2,659 / 2,472 of 3,840 experts in VRAM at 32K | 32K setup defaults, `--kv-whole`; separately 262,144 for UD-Q4_K_M | on, 51% to 74% of the guesses kept | strata_bench short chat: 73 / 74 / 85 (Q4_K_M / Q3_K_M / QAT); `polystrata.py benchmark`: 57 / 63 / 72 in a short chat, 54–55 after 31K | strata_bench: 1,056 / 1,358 / 1,318 at 4K, 1,044 / 1,126 / 1,116 at 16K; `polystrata.py benchmark`: 821 / 855 / 842 at 31K; at the full 262,144 context, 221 for a 249,017-token prompt (18.8 min of prefill) | three of setup's four sizes on one AMD card; vision on (CPU reader) and off measured the same; this card's 0.1.45 Gemma report of 2026-11-10 wrote the same short-chat speed (72.5) | 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).