Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/COMMUNITY_BENCHMARKS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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](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).
Expand Down
96 changes: 96 additions & 0 deletions docs/bench-results/2026-12-04-gemma4-rx6700xt-poly9/ENV.txt
Original file line number Diff line number Diff line change
@@ -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-<name>.json beside polystrata.py) with
setup's defaults for this card: --max-context 32768, --conversation-cache-mib auto, --kv-whole, --draft-model <MTP file>; 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/<size>/<vision-off|vision-on>/
A-polystrata-benchmark: `python polystrata.py benchmark --model <name>` 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/<mode>/: 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.
Loading