[GH-ISSUE #4954] [Benchmark] RX 7900 XTX 24 GB (gfx1100), Windows: v0.2.9 / engine 0.1.55 hip-rdna3, Qwen3.8-Flash-Next IQ3_XXS — context ladder to 246K, picture readers, resident experts #2281

Closed
opened 2026-11-04 01:58:09 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @crkva on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4954

What did you measure, or what went wrong

Hardware and software

  • GPU: AMD Radeon RX 7900 XTX 24 GB (gfx1100), driver 32.0.31041.1004. CPU: Ryzen 7 7800X3D. RAM: 64 GB DDR5 (63.6 GiB usable), 32-48 GiB paging file. OS: Windows 11 Pro, build 26200. PCIe 4.0 x16 (engine measures 28.2 GB/s).
  • Strata v0.2.9 source checkout (c62d5e3a), engine 0.1.55 windows-x86_64-hip-rdna3 from the signed feed (setup.py --update); bundled gfx1100 hipBLASLt table loaded (prefill gemm: hipBLASLt tuning enabled (32 rows, gfx1100, version 100500)).
  • Model: Qwen3.8-Flash-Next GSQ-RCO IQ3_XXS, native pack, --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp <rt> --kv int8 --kv-resident 32768 --resident-experts (STRATA_RESIDENT_HEADROOM_GIB=10), CPU picture reader where noted. One fresh engine per configuration; temperature 0, reasoning off; speeds are the server's timings.

A. Context ladder (resident experts + CPU picture reader). A 6-digit code is placed in the middle of synthetic log text; the first request asks for it (cold prompt read), the follow-up asks for ~300 words (the prompt is reused from cache, so its decode speed is the speed at that depth).

window prompt tokens code found prompt read first answer decode at that depth min free RAM / commit
32K 8,035 yes 846 tok/s (9.5 s) 9.7 s 67.6 tok/s 24.4 / 24.5 GiB
32K 16,119 yes 1,097 tok/s (14.7 s) 14.8 s 77.3 tok/s 23.9 / 24.0 GiB
64K 32,014 yes 1,173 tok/s (27.3 s) 27.6 s 73.5 tok/s 20.8 / 27.4 GiB
128K 32,015 yes 1,182 tok/s (27.1 s) 27.3 s 69.9 tok/s 19.5 / 26.6 GiB
128K 64,251 yes 1,218 tok/s (52.8 s) 52.9 s 73.4 tok/s 18.7 / 25.9 GiB
128K 117,930 yes 1,172 tok/s (100.7 s) 100.8 s 73.2 tok/s 17.2 / 24.4 GiB
256K 64,250 yes 1,203 tok/s (53.4 s) 53.6 s 70.1 tok/s 16.9 / 24.1 GiB
256K 117,897 yes 1,150 tok/s (102.5 s) 102.7 s 70.0 tok/s 13.3 / 20.0 GiB
256K 245,952 yes 1,064 tok/s (231.1 s) 231.4 s 64.6 tok/s 13.3 / 19.4 GiB

All 16 ladder points (8K-246K, four windows) found the code. The configured window barely changes speed at equal prompt length; prompt reading stays ~1,150-1,220 tok/s from 16K to 118K and drops ~10% at 246K; decode at depth stays 65-77 tok/s. Load time 112-217 s (cold file cache after restarts).

B. 0.1.42 -> 0.1.55 and resident experts (131K window, medians of 3, no picture reader)

count decode code decode 8K prefill 32K prefill min RAM / commit ready
0.1.42 (resident) 129.2 82.3 880 1,075 17.2 / 21.8 GiB -
0.1.55 (resident) 123.0 76.8 904 1,093 18.7 / 20.9 GiB 96 s
0.1.55 without --resident-experts 144.2 85.7 1,033 1,317 7.8 / 10.2 GiB 40 s
0.1.55, STRATA_HIPBLASLT_TUNING unset 127.4 78.2 904 1,084 18.8 / 20.9 GiB 125 s

Without resident experts 0.1.55 is 4-20% faster and loads in 40 s, at ~11 GiB less free RAM and commit.

C. Picture readers on gfx1100 (the 0.1.55 rdna3 strata-vision-hip.exe starts and works on this card).
Text speed with the reader loaded (131K, resident experts, medians of 3): no reader 76.8 tok/s code decode / 1,093 tok/s 32K prefill; GPU reader (vision max_tokens 1024, 700 MiB reserve) 50.3 / 879 (-35% / -20%); CPU reader (300 tokens, 8 threads) 80.0 / 1,085 (no measurable cost).
OCR on 8 images (6 generated with exact ground truth: 15 px prose, 14 px code, Croatian diacritics, 11 px grey status bar, random 10-character codes, a 44-cell table; 2 real: a dashboard screenshot and a 2664x1157 bill), two runs each:

case GPU reader 1024 GPU reader 2048 CPU reader 300
prose / code / Croatian, character error 0 / 0 / 0 % 0 / 0 / 0 % 0 / 0 / 0 %
11 px grey text, character error 4.4 % 4.4 % 4.4 %
random codes exact 8/12 8/12 8/12
table cells / dashboard fields / bill fields 44/44, 6/6, 5/5 same same
cold latency, real images 4.5-4.7 s 5.5-6.2 s 6.9-7.2 s

On this card the CPU reader gave the same answers at no text-speed cost, so setup's "GPU reader from 24 GB" default looks expensive for a 24 GB card that serves a 131K context; it may be worth measuring the text-speed cost on other 24 GB cards.

D. Engine starts: 79 fresh 0.1.55 starts today, 1 bad (#3431 marker; details in that issue).

Limitations: one machine, single runs per ladder point, synthetic needle prompts (no reasoning tasks at depth), 8-image OCR set.

Reproduction status

Measured locally

Originally created by @crkva on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4954 ### What did you measure, or what went wrong **Hardware and software** - GPU: AMD Radeon RX 7900 XTX 24 GB (gfx1100), driver 32.0.31041.1004. CPU: Ryzen 7 7800X3D. RAM: 64 GB DDR5 (63.6 GiB usable), 32-48 GiB paging file. OS: Windows 11 Pro, build 26200. PCIe 4.0 x16 (engine measures 28.2 GB/s). - Strata v0.2.9 source checkout (`c62d5e3a`), engine 0.1.55 `windows-x86_64-hip-rdna3` from the signed feed (`setup.py --update`); bundled gfx1100 hipBLASLt table loaded (`prefill gemm: hipBLASLt tuning enabled (32 rows, gfx1100, version 100500)`). - Model: Qwen3.8-Flash-Next GSQ-RCO IQ3_XXS, native pack, `--expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp <rt> --kv int8 --kv-resident 32768 --resident-experts` (`STRATA_RESIDENT_HEADROOM_GIB=10`), CPU picture reader where noted. One fresh engine per configuration; temperature 0, reasoning off; speeds are the server's `timings`. **A. Context ladder (resident experts + CPU picture reader).** A 6-digit code is placed in the middle of synthetic log text; the first request asks for it (cold prompt read), the follow-up asks for ~300 words (the prompt is reused from cache, so its decode speed is the speed at that depth). | window | prompt tokens | code found | prompt read | first answer | decode at that depth | min free RAM / commit | |---|---|---|---|---|---|---| | 32K | 8,035 | yes | 846 tok/s (9.5 s) | 9.7 s | 67.6 tok/s | 24.4 / 24.5 GiB | | 32K | 16,119 | yes | 1,097 tok/s (14.7 s) | 14.8 s | 77.3 tok/s | 23.9 / 24.0 GiB | | 64K | 32,014 | yes | 1,173 tok/s (27.3 s) | 27.6 s | 73.5 tok/s | 20.8 / 27.4 GiB | | 128K | 32,015 | yes | 1,182 tok/s (27.1 s) | 27.3 s | 69.9 tok/s | 19.5 / 26.6 GiB | | 128K | 64,251 | yes | 1,218 tok/s (52.8 s) | 52.9 s | 73.4 tok/s | 18.7 / 25.9 GiB | | 128K | 117,930 | yes | 1,172 tok/s (100.7 s) | 100.8 s | 73.2 tok/s | 17.2 / 24.4 GiB | | 256K | 64,250 | yes | 1,203 tok/s (53.4 s) | 53.6 s | 70.1 tok/s | 16.9 / 24.1 GiB | | 256K | 117,897 | yes | 1,150 tok/s (102.5 s) | 102.7 s | 70.0 tok/s | 13.3 / 20.0 GiB | | 256K | **245,952** | yes | 1,064 tok/s (231.1 s) | 231.4 s | 64.6 tok/s | 13.3 / 19.4 GiB | All 16 ladder points (8K-246K, four windows) found the code. The configured window barely changes speed at equal prompt length; prompt reading stays ~1,150-1,220 tok/s from 16K to 118K and drops ~10% at 246K; decode at depth stays 65-77 tok/s. Load time 112-217 s (cold file cache after restarts). **B. 0.1.42 -> 0.1.55 and resident experts (131K window, medians of 3, no picture reader)** | | count decode | code decode | 8K prefill | 32K prefill | min RAM / commit | ready | |---|---|---|---|---|---|---| | 0.1.42 (resident) | 129.2 | 82.3 | 880 | 1,075 | 17.2 / 21.8 GiB | - | | 0.1.55 (resident) | 123.0 | 76.8 | 904 | 1,093 | 18.7 / 20.9 GiB | 96 s | | 0.1.55 without `--resident-experts` | 144.2 | 85.7 | 1,033 | 1,317 | 7.8 / 10.2 GiB | 40 s | | 0.1.55, `STRATA_HIPBLASLT_TUNING` unset | 127.4 | 78.2 | 904 | 1,084 | 18.8 / 20.9 GiB | 125 s | Without resident experts 0.1.55 is 4-20% faster and loads in 40 s, at ~11 GiB less free RAM and commit. **C. Picture readers on gfx1100 (the 0.1.55 rdna3 `strata-vision-hip.exe` starts and works on this card).** Text speed with the reader loaded (131K, resident experts, medians of 3): no reader 76.8 tok/s code decode / 1,093 tok/s 32K prefill; **GPU reader (vision `max_tokens` 1024, 700 MiB reserve) 50.3 / 879 (-35% / -20%)**; CPU reader (300 tokens, 8 threads) 80.0 / 1,085 (no measurable cost). OCR on 8 images (6 generated with exact ground truth: 15 px prose, 14 px code, Croatian diacritics, 11 px grey status bar, random 10-character codes, a 44-cell table; 2 real: a dashboard screenshot and a 2664x1157 bill), two runs each: | case | GPU reader 1024 | GPU reader 2048 | CPU reader 300 | |---|---|---|---| | prose / code / Croatian, character error | 0 / 0 / 0 % | 0 / 0 / 0 % | 0 / 0 / 0 % | | 11 px grey text, character error | 4.4 % | 4.4 % | 4.4 % | | random codes exact | 8/12 | 8/12 | 8/12 | | table cells / dashboard fields / bill fields | 44/44, 6/6, 5/5 | same | same | | cold latency, real images | 4.5-4.7 s | 5.5-6.2 s | 6.9-7.2 s | On this card the CPU reader gave the same answers at no text-speed cost, so setup's "GPU reader from 24 GB" default looks expensive for a 24 GB card that serves a 131K context; it may be worth measuring the text-speed cost on other 24 GB cards. **D. Engine starts:** 79 fresh 0.1.55 starts today, 1 bad (#3431 marker; details in that issue). Limitations: one machine, single runs per ladder point, synthetic needle prompts (no reasoning tasks at depth), 8-image OCR set. ### Reproduction status Measured locally
Author
Owner

@ditupao commented on GitHub (Nov 2, 2026):

Since you have a single RX7900, try set -DSTRATA_WINDOW_MAX_T=8 and rebuilt a 0.1.55. I opened an issue for this problem. #5009

<!-- gh-comment-id:6582440985 --> @ditupao commented on GitHub (Nov 2, 2026): Since you have a single RX7900, try set -DSTRATA_WINDOW_MAX_T=8 and rebuilt a 0.1.55. I opened an issue for this problem. #5009
Author
Owner

@crkva commented on GitHub (Nov 3, 2026):

@ditupao Thanks for the suggestion. I tested -DSTRATA_WINDOW_MAX_T=8 against a matching 16-row build on my Windows RX 7900 XTX. The large prefill gain from #5009 did not reproduce with my model/settings.

Both engines were built from 99866a47a2b8 (the source commit in my installed 0.1.55 package), with ROCm 10.2.0a20260930, gfx1100, Release, portable CPU kernels, native experts and prefill MMQ. Only STRATA_WINDOW_MAX_T=16 versus 8 changed. I used two local builds because the shipped Windows package targets four GPU architectures.

Environment: Windows 11 build 26200, driver 32.0.31041.1004, RX 7900 XTX 24 GB, Ryzen 7 7800X3D, 64 GB RAM. Original Qwen3.8-Flash-Next GSQ-RCO IQ3_XXS, 200000 context, resident experts, --ple-io mmap, adaptation disabled, CPU vision, existing gfx1100 hipBLASLt table. --spec 4 --spec-min-p 0.5 --kv int8 --kv-resident 32768 --expert-cache auto --prefill auto.

Medians of three warmed repetitions, identical prompts, temperature 0, reasoning off, 512-token output cap. Engine-reported timings; all 24 timed requests had zero cached prompt tokens:

Workload 16 rows 8 rows Change
8,016-token prefill 894.6 tok/s 900.7 tok/s +0.7%
32,609-token prefill 1,086.4 tok/s 1,094.6 tok/s +0.8%
Counting decode 72.1 tok/s 71.8 tok/s -0.4%
Code-generation decode 71.7 tok/s 68.7 tok/s -4.2%

Raw 32K prefill runs: 16 rows: 1086.4 / 1089.2 / 1081.4; 8 rows: 1089.1 / 1094.6 / 1099.3.

Both builds passed the device self-test, window-limit/eviction tests, batch-row test, batch-operation parity and speculative-verifier parity (1,296 rows each, zero mismatches). Both passed all nine counting checks, a tool call, and exact recall of three markers across a 153,427-token prompt. That long prompt ran at 1,079.4 versus 1,083.5 tok/s (one run each). Both failed the same reasoning-disabled arithmetic question, answering 206 instead of 228; no build-specific correctness regression was observed. No stalls or API failures occurred during these runs.

Limits: one load per variant, 16 rows tested before 8, no randomized crossover or long soak. Auto-sizing gave 8,517 versus 8,526 GPU expert slots. Generated code differed between builds, so code throughput is not a fixed-output kernel comparison or a code-quality score. I did not test Linux, Swift-1.5, multi-GPU or high-concurrency workloads.

I'll keep the shipped engine for this setup. This doesn't contradict your Linux result—the OS, model and runtime settings differ—but the 8-row rebuild alone did not provide a useful improvement here.

<!-- gh-comment-id:6596586518 --> @crkva commented on GitHub (Nov 3, 2026): @ditupao Thanks for the suggestion. I tested `-DSTRATA_WINDOW_MAX_T=8` against a matching 16-row build on my Windows RX 7900 XTX. The large prefill gain from #5009 did not reproduce with my model/settings. Both engines were built from `99866a47a2b8` (the source commit in my installed 0.1.55 package), with ROCm `10.2.0a20260930`, gfx1100, Release, portable CPU kernels, native experts and prefill MMQ. Only `STRATA_WINDOW_MAX_T=16` versus `8` changed. I used two local builds because the shipped Windows package targets four GPU architectures. Environment: Windows 11 build 26200, driver 32.0.31041.1004, RX 7900 XTX 24 GB, Ryzen 7 7800X3D, 64 GB RAM. Original Qwen3.8-Flash-Next GSQ-RCO IQ3_XXS, 200000 context, resident experts, `--ple-io mmap`, adaptation disabled, CPU vision, existing gfx1100 hipBLASLt table. `--spec 4 --spec-min-p 0.5 --kv int8 --kv-resident 32768 --expert-cache auto --prefill auto`. Medians of three warmed repetitions, identical prompts, temperature 0, reasoning off, 512-token output cap. Engine-reported timings; all 24 timed requests had zero cached prompt tokens: | Workload | 16 rows | 8 rows | Change | |---|---:|---:|---:| | 8,016-token prefill | 894.6 tok/s | 900.7 tok/s | +0.7% | | 32,609-token prefill | 1,086.4 tok/s | 1,094.6 tok/s | +0.8% | | Counting decode | 72.1 tok/s | 71.8 tok/s | -0.4% | | Code-generation decode | 71.7 tok/s | 68.7 tok/s | -4.2% | Raw 32K prefill runs: **16 rows:** `1086.4 / 1089.2 / 1081.4`; **8 rows:** `1089.1 / 1094.6 / 1099.3`. Both builds passed the device self-test, window-limit/eviction tests, batch-row test, batch-operation parity and speculative-verifier parity (1,296 rows each, zero mismatches). Both passed all nine counting checks, a tool call, and exact recall of three markers across a 153,427-token prompt. That long prompt ran at 1,079.4 versus 1,083.5 tok/s (one run each). Both failed the same reasoning-disabled arithmetic question, answering 206 instead of 228; no build-specific correctness regression was observed. No stalls or API failures occurred during these runs. Limits: one load per variant, 16 rows tested before 8, no randomized crossover or long soak. Auto-sizing gave 8,517 versus 8,526 GPU expert slots. Generated code differed between builds, so code throughput is not a fixed-output kernel comparison or a code-quality score. I did not test Linux, Swift-1.5, multi-GPU or high-concurrency workloads. I'll keep the shipped engine for this setup. This doesn't contradict your Linux result—the OS, model and runtime settings differ—but the 8-row rebuild alone did not provide a useful improvement here.
Author
Owner

@ditupao commented on GitHub (Nov 3, 2026):

Sorry for misleading you earlier — the 8-row suggestion turned out to be my own CPU bottleneck, not the engine.

The ~20% prefill regression I reported on 0.1.55 came from my old i5-13500 (6 P-cores) starving the 16-row window. On the i7-14700K it is gone: the stock build and the 8-row rebuild land at 3,198 vs 3,216 t/s at 32K, i.e. nothing between them.

Separately, on Ubuntu 24.04 I compared ROCm 7.2.4 and ROCm 10.1 (hipBLASLt 1.4) with everything else fixed: 10.1 cost about 21% of prefill (3,484 → 2,739 t/s at 32K, 3,332 → 2,622 at 131K) and changed nothing in decode. I have no Windows measurement of that, so I can't say whether it reproduces on your side.

I also tried to reproduce your setup on the same card — official 0.1.55, --expert-cache auto, --kv int8 --kv-resident 32768, CPU vision, 32K prompts — changing one thing at a time: KV in pinned RAM instead of VRAM, a much smaller resident-expert set, a 56 GiB RAM cgroup with a cold page cache, the resident low-RAM mode, and --vision on/off. None of them came near 1,000 t/s; the lowest I could make the card go was ~2,850 t/s. I've attached the write-up with every number and the exact commands so you can judge it yourself.

REPORT-PREFILL-DEEP-DIVE-en.md

<!-- gh-comment-id:6604406552 --> @ditupao commented on GitHub (Nov 3, 2026): Sorry for misleading you earlier — the 8-row suggestion turned out to be my own CPU bottleneck, not the engine. The ~20% prefill regression I reported on 0.1.55 came from my old i5-13500 (6 P-cores) starving the 16-row window. On the i7-14700K it is gone: the stock build and the 8-row rebuild land at 3,198 vs 3,216 t/s at 32K, i.e. nothing between them. Separately, on Ubuntu 24.04 I compared ROCm 7.2.4 and ROCm 10.1 (hipBLASLt 1.4) with everything else fixed: 10.1 cost about 21% of prefill (3,484 → 2,739 t/s at 32K, 3,332 → 2,622 at 131K) and changed nothing in decode. I have no Windows measurement of that, so I can't say whether it reproduces on your side. I also tried to reproduce your setup on the same card — official 0.1.55, `--expert-cache auto`, `--kv int8 --kv-resident 32768`, CPU vision, 32K prompts — changing one thing at a time: KV in pinned RAM instead of VRAM, a much smaller resident-expert set, a 56 GiB RAM cgroup with a cold page cache, the resident low-RAM mode, and `--vision` on/off. None of them came near 1,000 t/s; the lowest I could make the card go was ~2,850 t/s. I've attached the write-up with every number and the exact commands so you can judge it yourself. [REPORT-PREFILL-DEEP-DIVE-en.md](https://github.com/user-attachments/files/34319880/REPORT-PREFILL-DEEP-DIVE-en.md)
Author
Owner

@Niko1221 commented on GitHub (Nov 5, 2026):

Thank you for the benchmark. We have collected these results for the benchmarks page on the Strata website, so we are closing this here. If you measure again, for example on 0.2.11, you are welcome to open a new report.

The Strata project

<!-- gh-comment-id:6658915542 --> @Niko1221 commented on GitHub (Nov 5, 2026): Thank you for the benchmark. We have collected these results for the benchmarks page on the Strata website, so we are closing this here. If you measure again, for example on 0.2.11, you are welcome to open a new report. The Strata project
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#2281
No description provided.