[GH-ISSUE #4696] [Benchmark] RX 6700 XT (gfx1031, Windows 10): official rdna2 package (engine 0.1.52) - F16 prompt doubles 16K prefill #2148

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

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 community benchmark.py harness, 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-rdna2 package from the v0.2.7 release — no self-build:

  • engine 0.1.52, build a42cc3d7df70+rocm-win10.2.0a20260930 (BUILD.json), file SHA-256s checked against the release's SHA256SUMS.txt
  • strata-device on the real card: AMD Radeon RX 6700 XT — HIP arch gfx1031 wave32 (compiled for gfx1030,gfx1031), memory plan FITS
  • served through control 0.1.52 (bundled with the 0.2.7 desktop app, serve/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)

config 4K prefill 16K prefill decode (4K / 16K)
self-built 0.1.45, from #3598 ~310 314.7 35.7
official 0.1.52, defaults 311.3 331.5 39.5 / 38.4
defaults, re-run 307.5 329.7 36.0 / 37.0
+ STRATA_HIP_PROMPT_F16=1 544.4 633.4 37.5 / 39.2
+ --prefill 8192 (kept) 543.6 641.3 38.6 / 37.6
+ --pcie-frac 0.2 538.3 640.4 36.3 / 37.0
+ --vram-reserve-mib 1024 538.8 640.1 36.3 / 37.6
+ STRATA_HOST_CORE=sibling 537.6 637.3 37.6 / 37.6
final config, re-run + needle check 542.6 641.9 37.3 / 39.9

Run-to-run spread is about ±1%.

What transferred from the 6900 XT tuning (#4012), and what did not

  • STRATA_HIP_PROMPT_F16=1 is 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 8192 adds ~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

$env:STRATA_HIP_PROMPT_F16 = "1"
# config json: exe/lib_dirs/cwd point at the unpacked rdna2 package; args as in #3598 plus --prefill 8192
& <control>\python\python.exe <control>\serve\server.py --engine strata --config strata-iq3_xxs-0152.json --port 8081
& python benchmark.py --url http://127.0.0.1:8081/v1/chat/completions --log <engine log> --lengths 4096,16384 --reps 3 --cap 256

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.

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 community `benchmark.py` harness, 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-rdna2` package** from the v0.2.7 release — no self-build: - engine **0.1.52**, build `a42cc3d7df70+rocm-win10.2.0a20260930` (BUILD.json), file SHA-256s checked against the release's `SHA256SUMS.txt` - `strata-device` on the real card: `AMD Radeon RX 6700 XT — HIP arch gfx1031 wave32 (compiled for gfx1030,gfx1031)`, memory plan FITS - served through control 0.1.52 (bundled with the 0.2.7 desktop app, `serve/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) | config | 4K prefill | 16K prefill | decode (4K / 16K) | |---|---|---|---| | self-built 0.1.45, from #3598 | ~310 | 314.7 | 35.7 | | official 0.1.52, defaults | 311.3 | 331.5 | 39.5 / 38.4 | | defaults, re-run | 307.5 | 329.7 | 36.0 / 37.0 | | + `STRATA_HIP_PROMPT_F16=1` | 544.4 | 633.4 | 37.5 / 39.2 | | + `--prefill 8192` (**kept**) | 543.6 | **641.3** | 38.6 / 37.6 | | + `--pcie-frac 0.2` | 538.3 | 640.4 | 36.3 / 37.0 | | + `--vram-reserve-mib 1024` | 538.8 | 640.1 | 36.3 / 37.6 | | + `STRATA_HOST_CORE=sibling` | 537.6 | 637.3 | 37.6 / 37.6 | | final config, re-run + needle check | 542.6 | 641.9 | 37.3 / 39.9 | Run-to-run spread is about ±1%. ## What transferred from the 6900 XT tuning (#4012), and what did not - **`STRATA_HIP_PROMPT_F16=1` is 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 8192` adds ~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 ```powershell $env:STRATA_HIP_PROMPT_F16 = "1" # config json: exe/lib_dirs/cwd point at the unpacked rdna2 package; args as in #3598 plus --prefill 8192 & <control>\python\python.exe <control>\serve\server.py --engine strata --config strata-iq3_xxs-0152.json --port 8081 & python benchmark.py --url http://127.0.0.1:8081/v1/chat/completions --log <engine log> --lengths 4096,16384 --reps 3 --cap 256 ``` ## 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.
Author
Owner

@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, protocol strata-qwen38-thinking-v1-draft.1, 22 stages, model files hashed, official windows-x86_64-hip-rdna2 package, engine 0.1.52, commit a42cc3d7df70). Two runs, same machine, same frozen prompt corpus, one at a time over loopback:

Defaults (track default) — run 20261030T…-b5ac4a3a:

Case Prompt tok/s Decode tok/s TTFT s
prompt-4k 308.1 (307.8-308.8) n=3 33.0 13.33
prompt-16k 327.1 (326.7-327.2) n=3 34.6 50.14

Tuned (track custom: STRATA_HIP_PROMPT_F16=1 + --prefill 8192) — run 20261030T114108Z-2b400943:

Case Prompt tok/s Decode tok/s TTFT s
prompt-4k 537.9 (536.8-538.2) n=3 34.0 7.66
prompt-16k 710.0 (709.6-711.6) n=3 33.2 23.14

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:

  • The defaults run reproduces the quick-harness numbers in the opening post (311.3 / 331.5 there, 308.1 / 327.1 here) within ~1-2%, so the community harness and the standard suite agree on this machine.
  • Against the self-built 0.1.45 engine of #3598 (~314.7 tok/s prompt at 16K, community harness): the official package at defaults is already level or slightly ahead despite the different prompt corpus, and with STRATA_HIP_PROMPT_F16=1 the 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/results PR with both folders (#4012-style) if that is the preferred way to feed the community-benchmarks page. One tooling note: strata bench compare currently 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.

<!-- gh-comment-id:6522167445 --> @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, protocol `strata-qwen38-thinking-v1-draft.1`, 22 stages, model files hashed, official `windows-x86_64-hip-rdna2` package, engine 0.1.52, commit `a42cc3d7df70`). Two runs, same machine, same frozen prompt corpus, one at a time over loopback: **Defaults (track default)** — run `20261030T…-b5ac4a3a`: | Case | Prompt tok/s | Decode tok/s | TTFT s | |---|---|---|---| | prompt-4k | 308.1 (307.8-308.8) n=3 | 33.0 | 13.33 | | prompt-16k | 327.1 (326.7-327.2) n=3 | 34.6 | 50.14 | **Tuned (track custom: `STRATA_HIP_PROMPT_F16=1` + `--prefill 8192`)** — run `20261030T114108Z-2b400943`: | Case | Prompt tok/s | Decode tok/s | TTFT s | |---|---|---|---| | prompt-4k | 537.9 (536.8-538.2) n=3 | 34.0 | 7.66 | | prompt-16k | 710.0 (709.6-711.6) n=3 | 33.2 | 23.14 | 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: - The defaults run reproduces the quick-harness numbers in the opening post (311.3 / 331.5 there, 308.1 / 327.1 here) within ~1-2%, so the community harness and the standard suite agree on this machine. - Against the self-built 0.1.45 engine of #3598 (~314.7 tok/s prompt at 16K, community harness): the official package at defaults is already level or slightly ahead despite the different prompt corpus, and with `STRATA_HIP_PROMPT_F16=1` the 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/results` PR with both folders (#4012-style) if that is the preferred way to feed the community-benchmarks page. One tooling note: `strata bench compare` currently 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.
Author
Owner

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

<!-- gh-comment-id:6564503124 --> @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).
Author
Owner

@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_F16 was carried through the config's env block and the engine printed the activation line on every ON arm, so the path genuinely engaged.

arm prefill tok/s (reps) median decode
off 251.6 / 253.5 / 263.2 253.5 23-32
on 270.8 / 324.4 / 278.5 278.5 26-36

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

<!-- gh-comment-id:6564962455 --> @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_F16` was carried through the config's `env` block and the engine printed the activation line on every ON arm, so the path genuinely engaged. | arm | prefill tok/s (reps) | median | decode | |---|---|---|---| | off | 251.6 / 253.5 / 263.2 | **253.5** | 23-32 | | on | 270.8 / 324.4 / 278.5 | **278.5** | 26-36 | **+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.
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:6658983185 --> @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#2148
No description provided.