mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4696] [Benchmark] RX 6700 XT (gfx1031, Windows 10): official rdna2 package (engine 0.1.52) - F16 prompt doubles 16K prefill #2148
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#2148
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 @calvinjin-king on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4696
Follow-up to #3598 (my numbers on a self-built gfx1031 HIP engine) and to @Vop3p's Windows tuning notes in that thread (#4012).
Setup
Same PC as #3598: RX 6700 XT 12 GB (gfx1031), i5-12490F (no iGPU — the display is on the card), 64 GB RAM, Windows 10 Pro 22H2. Same model and method as #3598: Qwen3.8-Flash-Next IQ3_XXS,
--max-context 65536, output cap 256 tokens, greedy, the communitybenchmark.pyharness, 4,096- and 16,384-token synthetic prompts, medians of 3 reps, speeds taken from the engine's own log lines.What changed: everything below runs on the official
windows-x86_64-hip-rdna2package from the v0.2.7 release — no self-build:a42cc3d7df70+rocm-win10.2.0a20260930(BUILD.json), file SHA-256s checked against the release'sSHA256SUMS.txtstrata-deviceon the real card:AMD Radeon RX 6700 XT — HIP arch gfx1031 wave32 (compiled for gfx1030,gfx1031), memory plan FITSserve/server.py+ its private Python); the run config is otherwise identical to #3598 (same pack, GGUF, PLE, MTP,--kv int8,--kv-resident 32768,--spec 4)AMD_HIP.md lists the rdna2 package as "has a package, not tested on a real card" — consider this the gfx1031 real-card data point for 0.1.52.
Results (prefill tok/s, decode tok/s, medians n=3)
STRATA_HIP_PROMPT_F16=1--prefill 8192(kept)--pcie-frac 0.2--vram-reserve-mib 1024STRATA_HOST_CORE=siblingRun-to-run spread is about ±1%.
What transferred from the 6900 XT tuning (#4012), and what did not
STRATA_HIP_PROMPT_F16=1is the big lever on gfx1031 too: +75% (4K) / +91% (16K) prefill. The engine prints the FP16-prompt tip on this card, and the package's rocBLAS is tuned for that path.--prefill 8192adds ~1-2% at 16K (Windows auto stops at 6,144). Kept.--pcie-frac 0.2: no measurable change here.--vram-reserve-mib 1024: no measurable change. This card does not page VRAM under this load (the GPU expert cache took 4.83 GiB of the 12 GiB budget), unlike the 16 GB 6900 XT case in #4012.STRATA_HOST_CORE=sibling: no change (a hair slower, within noise).STRATA_SH_STREAM: not tried, per the Windows note in AMD_HIP.md.Net vs the self-built engine of #3598: 16K prefill 314.7 → 641.9 tok/s (+104%), 4K TTFT 13.5 s → 7.8 s, decode ~35.7 → 37-40 tok/s.
Quality: on the final (FP16 prompt) config, a 16K needle at depth 50% is FOUND (exact-string recall). FP16 prompt is not bit-identical to the default, as documented.
Reproduce
Provenance
Measured on the PC described above. The upgrade and the A/B matrix were carried out with an AI coding assistant (ZCode) driving PowerShell — same disclosure as #4012; every number above is from the logged engine output of these runs. Raw per-config outputs (
bench-output-*.json/.md) and engine logs are kept; happy to paste any of them or to move the final numbers to the community-benchmarks page.@calvinjin-king commented on GitHub (Oct 30, 2026):
Standard-protocol runs to back the numbers in the opening post (
strata bench run, suite standard-v1, protocolstrata-qwen38-thinking-v1-draft.1, 22 stages, model files hashed, officialwindows-x86_64-hip-rdna2package, engine 0.1.52, commita42cc3d7df70). Two runs, same machine, same frozen prompt corpus, one at a time over loopback:Defaults (track default) — run
20261030T…-b5ac4a3a:Tuned (track custom:
STRATA_HIP_PROMPT_F16=1+--prefill 8192) — run20261030T114108Z-2b400943:Both runs: 21/21 required requests finished, 0 failed, sanity 12/12 (instruction 4/4, retrieval 4/4, tool calls 4/4).
So under the official protocol on this card: +75% prompt at 4K, +117% at 16K, 16K TTFT 50.1 s → 23.1 s; decode unchanged within noise.
How this lines up with the earlier data:
STRATA_HIP_PROMPT_F16=1the card reaches 710 tok/s at prompt-16k — the same lever that took the 6900 XT from 479 to 1,087 in #4012, proportionally just as large on gfx1031.Local result folders written by
strata bench run(README.md, results.json, outputs.jsonl each):2026-10-30-standard-rx-6700-xt-2b400943(tuned)2026-10-30-standard-rx-6700-xt-b5ac4a3a(defaults)Happy to open a
bench/resultsPR with both folders (#4012-style) if that is the preferred way to feed the community-benchmarks page. One tooling note:strata bench comparecurrently validates only the serving-suite report kind (strata.serving.benchmark), so two standard-v1 runs cannot be diffed with it — the deltas above are computed by hand from the two run reports.@jollyroger1480 commented on GitHub (Nov 1, 2026):
Great data point — this is exactly what the rdna2 package needed. A few things from the code side (we port and run Strata-based engines on Linux/gfx1030, ROCm 10):
Why the lever is opt-in and default-off —
STRATA_HIP_PROMPT_F16(src/prefill/gemm.cu) flips the prompt stage's 16-bit GEMMs to FP16-in/FP16-out. The default-off is deliberate, not an oversight: FP16 rounding changes the prompt-path numbers, which matches your "not bit-identical, needle still FOUND" note. So "doubles prefill but check quality" is the intended trade — your needle-at-50%-depth result is the right way to validate it.gfx103x family consistency — upstream already carries an RX 6800 (gfx1030, Windows) observation in the tree (~7.9K-token prompt at ~800 tok/s with the lever on), and your RX 6700 XT (gfx1031) reproduces the same ~2x. With #4012's 6900 XT that's now three RDNA2 SKUs agreeing, which suggests the win is rocBLAS-tuning-wide on RDNA2 rather than card-specific.
Doc nudge — AMD_HIP.md still lists the rdna2 package as "has a package, not tested on a real card." Between #3598 (self-built) and this issue (official 0.1.52, SHA-verified), that line has real-card coverage now and could cite them.
One question: all the RDNA2 F16-prompt numbers so far are Windows. If a Linux/ROCm data point would be useful to the thread, we can run the same F16 on/off A/B on a 6950 XT (gfx1030) under ROCm 10 and post the matrix — say the word and which harness you'd want it in (community benchmark.py for comparability, or just engine-log medians is fine).
@jollyroger1480 commented on GitHub (Nov 1, 2026):
The Linux data point, as offered — and it flips the conclusion for our side of the fence.
Setup: RX 6950 XT (gfx1030), Linux, ROCm 10.1, our port's engine (0.2.8 base), Qwen3.8-Flash-Next Q2_0 GSQ-RCO (the big-brain config:
--kv int8 --max-context 65536, MTP, expert paging), served through the control, ~15.2K-token synthetic prompt, 3 interleaved A/B reps, medians.STRATA_HIP_PROMPT_F16was carried through the config'senvblock and the engine printed the activation line on every ON arm, so the path genuinely engaged.+10% median, with ±10% run-to-run spread — nowhere near your +75-91%. My read, consistent with your own caveat ("the package's rocBLAS is tuned for that path"): the FP16-prompt win is largely a Windows-package rocBLAS tuning effect. On Linux ROCm 10.1 at least, gfx1030 users shouldn't expect the 2x — worth a line in AMD_HIP.md next to the tip if more Linux points agree.
Caveats, in fairness: different model/config than yours (Q2_0 paged MoE vs your IQ3_XXS, chat-template serving), the desktop runs on this GPU, and my decode numbers are noisier than my prefill. Your methodology (interleaved reps, medians, engine-log timings) is the right one — I just couldn't match ±1% on a desktop card.
@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