mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[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
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2281
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
c62d5e3a), engine 0.1.55windows-x86_64-hip-rdna3from the signed feed (setup.py --update); bundled gfx1100 hipBLASLt table loaded (prefill gemm: hipBLASLt tuning enabled (32 rows, gfx1100, version 100500)).--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'stimings.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).
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)
--resident-expertsSTRATA_HIPBLASLT_TUNINGunsetWithout 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.exestarts 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_tokens1024, 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:
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
@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
@crkva commented on GitHub (Nov 3, 2026):
@ditupao Thanks for the suggestion. I tested
-DSTRATA_WINDOW_MAX_T=8against 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 ROCm10.2.0a20260930, gfx1100, Release, portable CPU kernels, native experts and prefill MMQ. OnlySTRATA_WINDOW_MAX_T=16versus8changed. 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:
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.
@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--visionon/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
@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