Skip to content

[Benchmark] RX 9070 XT 16 GB (gfx1201), Windows 11 — Inkling 2 Mini UD-Q4_K_XL on v0.2.20-poly.5: prompts 191 → 1036-1104 tok/s, int8 A/B and high-accuracy mode #347

Backlog

Description

@kzzalews

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).

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).

  1. hello: "Say hello in five words." + nonce, reasoning_effort: none, max_tokens 64.
  2. is_prime: prime-function code question + nonce, reasoning_effort: low, max_tokens 512.
  3. 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.
  4. 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 4 removed (the
    --inkling-small-card off equivalent), 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

  1. 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).
  2. 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.
  3. 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).
  4. 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.
  5. 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-int8 as an arg (used the env equivalent STRATA_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

  1. kzzalews commented on Nov 25, 2026

    @kzzalews
    Author

    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_0 on AMD, which
    docs/models/inkling.md lists 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-whole kept (setup's AMD default):

    • D — 128K fp16: --max-context 131072.
    • E — 256K q8_0: --max-context 262144 --kv q8_0.

    Protocol as above: unique random nonce prefix per prompt (log confirms 0 reused), one run per arm,
    temperature: 0 and reasoning_effort: none for the fillers, count-to-twenty output checked each time.
    The long fillers are the same four-pangram block repeated (2,100 / 4,200 times).

    Arm Load Experts in VRAM at load
    32K (report above) 12.6 s 2,108 of 3,072 (9.6 GiB)
    D: 128K fp16 11.3 s 1,488 of 3,072 (6.6 GiB)
    E: 256K q8_0 10.9 s 1,413 of 3,072 (6.3 GiB)

    Results

    Decode (tok/s):

    Test 32K fp16 D: 128K fp16 E: 256K q8_0
    hello (7 tok) 49.3 37.9 34.3
    is_prime (232-237 tok, reasoning low) 46.8 40.8 40.4
    after filler 2.8K (49 tok) 48.2 44.0 42.3
    after filler 8K (50 tok) 49.9 46.7 44.7
    after filler 98,736 tok (49 tok) — 26.0 —
    after filler 197,435 tok (49 tok) — — 23.4

    Prompt reading (tok/s):

    Test 32K fp16 D: 128K fp16 E: 256K q8_0
    filler 2,856 tok 1,036.1 809.3 680.0
    filler 8,026 tok 1,104.0 938.7 889.5
    filler 98,736 tok — 884.4 —
    filler 197,435 tok — — 652.7

    All finishes stop; every count-to-twenty answer correct, including after the 197K-token prompt.

    Findings

    1. --kv q8_0 works on AMD (gfx1201, Windows, ROCm TheRock 10.2.0a20260930). The docs' "AMD not run
      yet" can be updated: at least this card/OS/ROCm combination loads, reads a 197K prompt and answers
      correctly with it. No STRATA_KV_INT8 was set (plain q8_0 path).
    2. q8_0 makes 256K cost what 128K fp16 costs: 1,413 vs 1,488 experts at load, decode within ~10% of
      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.
    3. With --kv-whole the 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.
    4. Filling the context costs more than reserving it: decode after a ~99K prompt is 26.0 tok/s
      (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).
    5. 512K and 1M do not fit a 16 GB card: fp16 KV alone is 16 / 32 GiB (32,768 bytes a token);
      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)

    [strata] engine started: ...\engine-poly\strata-poly.exe --serve --model ...\Inkling-2-Mini-UD-Q4_K_XL.gguf --max-context 262144 ... --attn-requant q5_0 --loop-bf16 --tail-skip 4 --kv-whole --kv q8_0
    strata-poly: loaded in 10.9 s; 1413 of 3072 routed experts in VRAM (6.3 GiB), 22 CPU threads
    strata-poly: the expert cache 1413 -> 1439 experts (6.46 GiB) for the VRAM free now, 384 MiB left
    strata serve: prompt 197435 tokens = 0 reused + 197435 read in 302474 ms (652.7 tok/s), 49 generated in 2091 ms (23.4 tok/s)
    

    What was NOT tested

    • Token-level accuracy of q8_0 vs fp16 on AMD (no KL / greedy-id comparison; only correct answers on these
      prompts), means of 3 runs, STRATA_KV_INT8=1, 512K q8_0, native Linux, other cards.
    • The 32K column repeats the single runs from the report above (same day, same conditions).
  2. kzzalews commented on Nov 25, 2026

    @kzzalews
    Author

    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)

    Arm hello (7 tok) is_prime (232-415 tok) after filler 2.8K after filler 8K
    A2: Q4 defaults (baseline) 54.1 46.7 49.3 50.7
    F: Q4 + DSpark drafter 47.0 45.6 47.5 48.5
    G: Q4 + --expert-swaps 0 57.4 43.3 53.5 52.2
    H: Q4 + --threads 28 47.7 45.2 48.8 49.5
    J: UD-Q2_K_XL, 32K 60.8 54.8 55.5 55.5
    J2: UD-Q2_K_XL + DSpark 40.2 88.0 85.7 70.3
    J3: Q2 + 512K --kv q8_0 32.3 36.1 34.3 37.4

    Prompt reading (tok/s), fillers:

    Arm 2,856 tok 8,026 tok
    A2: Q4 defaults 1,054.3 1,130.8
    G: --expert-swaps 0 1,149.5 1,213.2
    J: Q2 1,993.2 2,061.0
    J2: Q2 + DSpark 1,966.3 2,044.8
    J3: Q2 + 512K q8_0 791.7 961.9

    Findings

    1. DSpark on the partial-expert Q4 (F): no gain. 1,782-2,108 of 3,072 experts in VRAM; drafts only
      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.
    2. DSpark on the full-resident Q2 (J2): +27% to +61% decode on longer answers. is_prime 88.0 tok/s
      (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. UD-Q2_K_XL alone (J): +9-17% decode and ~1.9x prompt reading vs Q4 (1,993-2,061 tok/s). Load 11.1 s,
      3,072 of 3,072 experts in VRAM (7.3 GiB), no small-card flags added by setup.
    4. --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.
    5. --threads 28 (H): no gain (−12% hello, −2-3% elsewhere). The engine's default 22 threads on this
      16-core/32-thread CPU is better left alone.
    6. STRATA_KV_INT8=1 (I): no measurable effect at 33K keys. With --kv q8_0 and 64K context, a
      32,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.
    7. 512K context is possible with Q2 + q8_0 (J3), at a price. The 512K q8_0 cache left only 875 of
      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 length only because max_tokens
      was 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.gguf at the top of
    unsloth/Inkling-2-Mini-GGUF (now the newer mainline format, 58 tensors): the engine fails with
    not a DSpark drafter of this model (dflash.dspark.markov_rank). The file setup's sha256 pins
    (402,278,560 bytes, 2ec78510…) is today's dspark-Inkling-2-Mini-Q8_0_Old.gguf — that one loads and
    runs (arms F/J2). A fresh --setup --family inkling on a full-resident card may now download a drafter the
    engine refuses, or fail the hash check; renaming/pinning the _Old file or accepting the new format in
    ds_open() would fix it. (The Mainline_Support/*.gguf_file drafter also lacks dflash.dspark.markov_rank.)

    Log (arm J2, key lines)

    strata-poly: loaded in 11.1 s; 3072 of 3072 routed experts in VRAM (7.3 GiB), 22 CPU threads   [arm J]
    strata serve: prompt 49 tokens = 0 reused + 49 read in 313 ms (156.5 tok/s), 328 generated in 3728 ms (88.0 tok/s), drafts accepted 209 of 328
    

    No hangs, no driver resets, no failed requests in any arm (J3's length finish is the max_tokens cap).

    What was NOT tested

    • Means of 3 runs; quality benchmarks (HumanEval etc.) for Q2 vs Q4 and for the drafter on AMD (the docs
      note greedy output can flip near-tie tokens with a drafter); KL comparisons; Q2 + DSpark at long contexts;
    • --no-draft vs drafter acceptance at other --window values; native Linux.

    Practical recommendation for this PC

    • Quality default: Q4 UD-Q4_K_XL, 32K, setup defaults (~50 tok/s decode, ~1,050-1,130 tok/s prompts).
    • Speed: Q2 UD-Q2_K_XL + DSpark drafter (~70-88 tok/s on longer answers, ~2,000 tok/s prompts).
    • Large context: Q4 + 256K q8_0 (balanced) or Q2 + 512K q8_0 (possible, slow).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions