Repository navigation
Description
Summary
Retest on v0.2.20-poly.5 as invited in #323 (closed by VecSzn: "feel free to open a new benchmark report
if you retest on v0.2.20-poly.5 with the default int8 prompt path"). Same PC, same model and settings as #323,
updated with UPDATE.bat --yes (git pull to d62dfac, strata-poly recompiled by setup for gfx1201).
- Prompt reading: 191.3 → 1036.1 tok/s at 2.8K and 1104.0 tok/s at 8K (5.4x / new measurement) vs the
pre-update main numbers in [Benchmark] RX 9070 XT 16 GB (gfx1201), native Windows 11 HIP — Inkling 2 Mini UD-Q4_K_XL runs: 38-52 tok/s decode #323. - A/B isolating the int8 prompt path (
STRATA_PF_I8MMA=0): +25% at 2.8K and +22% at 8K from the int8
matrix-core path on Windows; decode unchanged. - High-accuracy mode (setup's small-card flags removed): decode 15-20% slower on short/medium requests,
prompt speed unchanged. - One note on the switch name:
STRATA_POLY_HIP_INT8suggested in the [Benchmark] RX 9070 XT 16 GB (gfx1201), native Windows 11 HIP — Inkling 2 Mini UD-Q4_K_XL runs: 38-52 tok/s decode #323 comment does not exist in
poly.5 (it appears to be a preview-branch name). The release's off switches are--no-prompt-int8and
STRATA_PF_I8MMA=0(engine/src/poly/main.cpp,mmq_own.cu: "on an AMD RDNA3 / RDNA4 card the int8 kernel
is the default and --no-prompt-int8 turns it off"). An env block with the preview name is silently ignored —
our first B arm ran with int8 still on until we switched toSTRATA_PF_I8MMA=0.
Environment
| Component | Specification |
|---|---|
| GPU | AMD Radeon RX 9070 XT 16 GB (gfx1201), driver 32.0.32029.2010 (Adrenalin) |
| CPU | AMD Ryzen 9 5950X (16 cores / 32 threads, AVX2) |
| RAM | 64 GB |
| OS | Windows 11 (build 26300) |
| PolyStrata | v0.2.20-poly.5, main at d62dfac |
| Engine | strata-poly 0.1.66, local-hip build by setup, arch gfx1201, src 44f8847bd6b7fd1a, ROCm TheRock wheels 10.2.0a20260930, hipBLASLt 1.5.0 (100500) |
| Model | Unsloth Mainline_Support (inkling2_loop) UD-Q4_K_XL, 17.6 GB |
Protocol
Four requests through /v1/chat/completions (serve/server.py, port 8080), one at a time, one fresh process
per arm. Every prompt carries a unique random nonce prefix so the conversation cache cannot reuse a
previous arm's filler (the log confirms 0 reused for every measured prompt; an earlier attempt with the
nonce as a suffix showed 2,048 tokens reused on the 8K filler and was discarded).
hello: "Say hello in five words." + nonce,reasoning_effort: none, max_tokens 64.is_prime: prime-function code question + nonce,reasoning_effort: low, max_tokens 512.filler2.8K: nonce + 60 repetitions of a four-pangram block (~2,856 tokens) + "Count to twenty in
words, separated by commas.",temperature: 0,reasoning_effort: none, max_tokens 128.filler8K: same with 170 repetitions (~8,026 tokens).
Arms (run config strata-inkling-ud-q4_k_xl.json, everything else as setup wrote it):
- A — defaults:
--attn-requant q5_0 --loop-bf16 --tail-skip 4 --kv-whole, int8 prompt path on (default). - B — int8 off: A +
"env": {"STRATA_PF_I8MMA": "0"}. - C — high accuracy:
--attn-requant q5_0 --loop-bf16 --tail-skip 4removed (the
--inkling-small-card offequivalent), int8 on.
Single run per arm (not a mean of 3); all finishes stop, all answers correct (the count-to-twenty output
checked each time). Load and VRAM per arm:
| Arm | Load | Experts in VRAM | Other programs held |
|---|---|---|---|
| A | 12.6 s | 2,107 of 3,072 (9.6 GiB) | 1,467 MiB |
| B | 12.8 s | 2,090 of 3,072 (9.5 GiB) | 1,467 MiB |
| C | 11.9 s | 2,063 of 3,072 (9.4 GiB) | 1,466 MiB |
Results
Prompt reading (tok/s):
| Test | #323 (pre-update main) | A: poly.5 defaults | B: STRATA_PF_I8MMA=0 | C: high accuracy |
|---|---|---|---|---|
| hello (~30 tok) | 35.0 | 71.3 | 68.0 | 64.8 |
| is_prime (~49 tok) | 80.6 | 126.8 | 90.7 | 119.9 |
| filler 2,856 tok | 191.3 | 1,036.1 | 827.8 | 1,022.0 |
| filler 8,026 tok | not run | 1,104.0 | 906.8 | 1,112.6 |
Decode (tok/s):
| Test | #323 (pre-update main) | A: poly.5 defaults | B: STRATA_PF_I8MMA=0 | C: high accuracy |
|---|---|---|---|---|
| hello (7 tok) | 37.8 | 49.3 | 47.8 | 39.4 |
| is_prime (234-455 tok) | 47.9 | 46.8 | 48.0 | 38.6 |
| after filler 2.8K (49 tok) | 51.7 | 48.2 | 47.2 | 40.5 |
| after filler 8K (49 tok) | not run | 49.9 | 47.9 | 47.0 |
(The nonce adds ~9-11 prompt tokens vs #323; decode token counts differ with answer length, is_prime
answers ranged 234-455 tokens across arms.)
Findings
- The int8 prompt path is most of the prompt gain on Windows. A vs B: +25.2% at 2.8K (1,036.1 vs
827.8) and +21.7% at 8K (1,104.0 vs 906.8). Decode is within noise (47-50 tok/s in both arms). - The rest of the gain over [Benchmark] RX 9070 XT 16 GB (gfx1201), native Windows 11 HIP — Inkling 2 Mini UD-Q4_K_XL runs: 38-52 tok/s decode #323 is the release itself: even with int8 off, poly.5 reads 2.8K at
827.8 tok/s vs 191.3 on pre-update main (4.3x). The per-call rocBLAS overhead noted in the [Benchmark] RX 9070 XT 16 GB (gfx1201), native Windows 11 HIP — Inkling 2 Mini UD-Q4_K_XL runs: 38-52 tok/s decode #323 comments
is largely gone in the FP16/BLAS fallback too. - 8K reads faster than 2.8K (1,104 vs 1,036 in A): per-call overhead amortizes, consistent with the
correction comment in [Benchmark] RX 9070 XT 16 GB (gfx1201), native Windows 11 HIP — Inkling 2 Mini UD-Q4_K_XL runs: 38-52 tok/s decode #323 (2K 307 vs 8K 996 on the old Windows build). - High-accuracy mode costs decode, not prompts: C vs A decode −20% (hello), −18% (is_prime), −16%
(after 2.8K), −6% (after 8K); prompt speeds unchanged (1,022 / 1,113). The tail-skip/requant flags buy
~15-20% decode on this card, as the docs say. - Windows vs native Linux gap remains: okada-shogo measured 1,685.8 tok/s at 2K on native Linux
(ROCm 7.2.4, IQ4_NL, preview-2); our 2.8K on Windows poly.5 is 1,036.1. Different file, size and ROCm,
so not a like-for-like comparison, but the direction matches the host-round-trip cost difference
(51 µs Windows vs 18 µs Linux) noted in [Benchmark] RX 9070 XT 16 GB (gfx1201), native Windows 11 HIP — Inkling 2 Mini UD-Q4_K_XL runs: 38-52 tok/s decode #323.
Log (arm A, key lines)
[strata] engine started: ...\engine-poly\strata-poly.exe --serve --model ...\Inkling-2-Mini-UD-Q4_K_XL.gguf --max-context 32768 ... --attn-requant q5_0 --loop-bf16 --tail-skip 4 --kv-whole
strata: Windows budgets 15419 of this card's 16304 MiB for this process
strata: other programs hold 1467 MiB of card 0
strata-poly: loaded in 12.6 s; 2107 of 3072 routed experts in VRAM (9.6 GiB), 22 CPU threads
strata serve: prompt 2856 tokens = 0 reused + 2856 read in 2756 ms (1036.1 tok/s), 49 generated in 1017 ms (48.2 tok/s)
strata serve: prompt 8026 tokens = 0 reused + 8026 read in 7270 ms (1104.0 tok/s), 49 generated in 982 ms (49.9 tok/s)
No hangs, no driver resets, no failed requests in any arm.
What was NOT tested
- Means of 3 runs (single run per arm), images (vision off), contexts beyond 32K, parallel requests,
other sizes/files (IQ4_NL, UD-Q2_K_XL),poly_inkling2_test, long agent sessions, native Linux on this PC. --no-prompt-int8as an arg (used the env equivalentSTRATA_PF_I8MMA=0).
Related
#323 (our pre-update report, closed; numbers added to COMMUNITY_BENCHMARKS.md), #309 (main vs preview prompt
gap), #306 (doorbell, "Not run: Windows HIP"), PRs #293 / #294 / #295 / #302. Thanks okada-shogo for the
pointer and VecSzn for shipping the int8 path in poly.5.
Activity
kzzalews commentedon Nov 25, 2026
Follow-up on the same PC (RX 9070 XT 16 GB gfx1201, Ryzen 9 5950X, 64 GB RAM, Windows 11, v0.2.20-poly.5,
UD-Q4_K_XL, setup's small-card flags on): context-window measurements, including
--kv q8_0on AMD, whichdocs/models/inkling.mdlists as "AMD not run yet". It runs: no errors, no driver resets, correct answers.Configurations
Same run config as the report above, one fresh process per arm,
--kv-wholekept (setup's AMD default):--max-context 131072.--max-context 262144 --kv q8_0.Protocol as above: unique random nonce prefix per prompt (log confirms
0 reused), one run per arm,temperature: 0andreasoning_effort: nonefor the fillers, count-to-twenty output checked each time.The long fillers are the same four-pangram block repeated (2,100 / 4,200 times).
Results
Decode (tok/s):
Prompt reading (tok/s):
All finishes
stop; every count-to-twenty answer correct, including after the 197K-token prompt.Findings
--kv q8_0works on AMD (gfx1201, Windows, ROCm TheRock 10.2.0a20260930). The docs' "AMD not runyet" can be updated: at least this card/OS/ROCm combination loads, reads a 197K prompt and answers
correctly with it. No
STRATA_KV_INT8was set (plain q8_0 path).the 128K fp16 arm on every test. The halved KV cache (~4.4 GiB at 256K q8_0 vs 4 GiB at 128K fp16)
is what pays for the doubled context.
--kv-wholethe context reservation costs decode on every request, short chats included(hello 49.3 → 37.9 at 128K), because the experts give up the VRAM at load.
(128K arm) and after ~197K is 23.4 tok/s (256K arm), vs 34-44 tok/s on short/medium prompts in the
same processes. Prompt reading itself holds up well (884 tok/s at 99K, 653 at 197K).
q8_0 at 512K (~8.5 GiB) would leave room for only ~460 experts. 256K q8_0 looks like the practical
ceiling on this card.
Log (arm E, key lines)
What was NOT tested
prompts), means of 3 runs,
STRATA_KV_INT8=1, 512K q8_0, native Linux, other cards.kzzalews commentedon Nov 25, 2026
Speed-option sweep on the same PC (RX 9070 XT 16 GB gfx1201, Ryzen 9 5950X, 64 GB RAM, Windows 11,
v0.2.20-poly.5), following the context tests above. One fresh process per arm, unique nonce prefix per
prompt, single runs. Baseline re-measured the same day: UD-Q4_K_XL, 32K, setup defaults (A2).
Decode (tok/s)
--expert-swaps 0--threads 28--kv q8_0Prompt reading (tok/s), fillers:
--expert-swaps 0Findings
engaged on is_prime (23/61 accepted), not on the fillers (0/0). Decode 2-13% below baseline. Consistent
with setup enabling the drafter only when the card holds every expert.
(209/328 drafts accepted, 64%), after 2.8K 85.7 (35/50), after 8K 70.3 (33/54). The 7-token hello loses
(40.2 vs 60.8, draft 1/3): the draft overhead outweighs one accepted guess. Q2 + DSpark is the speed
pick on this card for code/agent-style answers.
3,072 of 3,072 experts in VRAM (7.3 GiB), no small-card flags added by setup.
--expert-swaps 0(G): mixed. +6% hello, +8.5% after 2.8K, +3% after 8K, but −7% is_prime; prompts+7-9%. The docs' accuracy caveat (answers move more) applies; not a clear win on this card.
--threads 28(H): no gain (−12% hello, −2-3% elsewhere). The engine's default 22 threads on this16-core/32-thread CPU is better left alone.
STRATA_KV_INT8=1(I): no measurable effect at 33K keys. With--kv q8_0and 64K context, a32,936-token prompt: 1,135.9 tok/s read / 42.9 decode without it, 1,130.4 / 42.2 with it (within noise).
The docs' gain is at 131K+; not reachable usefully on this card.
3,072 experts in VRAM (2.1 GiB); decode 32-37 tok/s on short/medium prompts. A 394,836-token prompt
was read at 381.3 tok/s (~17 min) and answered at 17.8 tok/s (finish
lengthonly because max_tokenswas 128 and the model started thinking about the repetitive filler — not an engine error). 256K q8_0
on Q4 (above) remains the balanced large-context option.
Drafter file-format note (possible upstream issue)
PolyStrata poly.5 rejects the current
dspark-Inkling-2-Mini-Q8_0.ggufat the top ofunsloth/Inkling-2-Mini-GGUF(now the newer mainline format, 58 tensors): the engine fails withnot a DSpark drafter of this model (dflash.dspark.markov_rank). The file setup's sha256 pins(402,278,560 bytes,
2ec78510…) is today'sdspark-Inkling-2-Mini-Q8_0_Old.gguf— that one loads andruns (arms F/J2). A fresh
--setup --family inklingon a full-resident card may now download a drafter theengine refuses, or fail the hash check; renaming/pinning the
_Oldfile or accepting the new format inds_open()would fix it. (TheMainline_Support/*.gguf_filedrafter also lacksdflash.dspark.markov_rank.)Log (arm J2, key lines)
No hangs, no driver resets, no failed requests in any arm (J3's
lengthfinish is the max_tokens cap).What was NOT tested
note greedy output can flip near-tie tokens with a drafter); KL comparisons; Q2 + DSpark at long contexts;
--no-draftvs drafter acceptance at other--windowvalues; native Linux.Practical recommendation for this PC