[PR #5458] [Benchmark] RDNA3 / gfx1100 (RX 7900 XTX): deep-prefill and expert-kernel measurements on Qwen3.8-Flash-Next IQ3_S #5435

Open
opened 2026-11-07 16:35:10 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/5458
Author: @xyzzing
Created: 11/7/2026
Status: 🔄 Open

Base: main ← Head: benchmark-gfx1100-rdna3


📝 Commits (1)

  • b1ef056 [Benchmark] RDNA3 / gfx1100 (RX 7900 XTX) measurement report: deep-prefill and expert-kernel results on Qwen3.8-Flash-Next IQ3_S

📊 Changes

6 files changed (+521 additions, -0 deletions)

View changed files

➕ docs/rdna3-gfx1100/CONFIG.md (+9 -0)
➕ docs/rdna3-gfx1100/MEASUREMENTS.md (+35 -0)
➕ docs/rdna3-gfx1100/exp-modes-20261107.txt (+176 -0)
➕ docs/rdna3-gfx1100/mmvq-ceiling-20261107.txt (+9 -0)
➕ docs/rdna3-gfx1100/mmvq-paired-20261107.txt (+112 -0)
➕ docs/rdna3-gfx1100/mmvq-sweep-20261107.txt (+180 -0)

📄 Description

Problem and result

The defaults tables cover gfx12/gfx1151/iGPUs but not gfx1100 (RDNA3), and the expert layout / prompt-attention switches carry no gfx1100 measurements. This results-only report supplies paired RDNA3 numbers on a RX 7900 XTX (Qwen3.8-Flash-Next GSQ/RCO IQ3_S, engine 0.1.55, v0.2.9 + 10 locally replayed fork commits, measured tree b706bc808, binary sha256 125759e9…):

  • Deep-prefill deployment-level stack: STRATA_PA_FAST=1 +5.43% (CI95 [1.0475, 1.0606]); STRATA_PF_FUSED=1 + STRATA_PREFILL_RING=512 +9.08% (CI95 [1.0874, 1.0958]); combined +13.82% (CI95 [1.1028, 1.1460]) over --prefill auto:32768 at 94K depth. Deployed on this card as user-level configuration (the defaults table stays bit-identical-only).
  • Defaults-table candidate: STRATA_TSUM=1 (decode mmvq transposed butterfly sums) — bitwise-equal, paired decode_ms -0.91% (CI95 [0.9847, 0.9928], 15 request-pairs, excludes 1.00). An [Engine] issue proposes the gfx1100 row separately per the defaults scope rule; the table change itself is NOT in this PR.
  • Negative results (all bitwise-clean, all slower on gfx1100): expert layout modes 2/4 3.0x slower, mode 8 2.1x slower (the gfx1151 default does not transfer), S26 STRATA_EXPERT_V2=1 1.31x slower, STRATA_EXPDEC=1 1.09x slower, and the mmvq upstream multi-column layout 17-22% slower than the exact layout at ncols 8 (the reverse of NVIDIA — per-arch dispatch is earning its keep).

Issue #5459 (the defaults row scope agreement, filed per the "changes to defaults" rule) references this PR. No prior issue covered gfx1100 for these switches.

Approach

Results-only report per CONTRIBUTING, kept separate from engine changes: docs/rdna3-gfx1100/ contains the human report (MEASUREMENTS.md), the sanitized configuration (CONFIG.md), and four raw-data files — including the discarded cross-process sweep preserved next to the paired reversal that reversed it, so the drift lesson is auditable. Every timing comparison is in-process interleaved (bench medians over 12 runs) or paired alternating launches with a bootstrap CI (seed 20261107); correctness gates ran before timing (bitwise where the mechanism claims bitwise).

Validation

Passed:

  • env -i PATH=… cmake -S . -B build-il -DCMAKE_BUILD_TYPE=Release -DSTRATA_ENABLE_HIP=ON -DCMAKE_HIP_ARCHITECTURES=gfx1100 … + cmake --build build-il --target strata_kernels hip_mmvq_ceiling_bench -j — worktree of b706bc808, HIP SDK 7.17.26392, gfx1100, Release: built clean.
  • native_expert_bench <shard1> 5,17,41 48 8 0 <mode> 200 for modes 2/4/8 and every env arm: "0 differing" (bitwise parity) on all runs, raw logs in exp-modes-20261107.txt.
  • The paired/parity bench runs quoted in MEASUREMENTS.md: hip_mmvq_ceiling_bench paired 30 / parity / the serve-level paired windows — all personally executed on the reported hardware; outputs attached as the four txt files.

Failed:

  • None observed in the reported runs. One cross-process sequential sweep produced a reversed sign (+10–17% for the mmvq upstream layout) and was discarded in favor of the paired instrument (-17–22%); both are preserved in mmvq-sweep-20261107.txt for auditability.

Not run:

  • CUDA and SYCL backends: no NVIDIA/Intel hardware on this machine; this report is measurement-only and touches no engine code.
  • The BENCHMARK_PROTOCOL.md draft workflow: this report predates activation and uses today's tools per the community guide; the draft status is acknowledged.

Limits

Single machine, single artifact (IQ3_S GSQ/RCO), single deep workload (93,821 tokens) plus the serve-level paired form. The deployment-level findings are per-card field evidence, not defaults proposals; other RDNA3 cards (gfx1090/pro, gfx1151) would need their own numbers. AI-assisted packaging: the measurements were executed and verified by the contributor (every command and number comes from this session's runs on the reported hardware); an agent prepared the report, reviewed against the source.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/5458 **Author:** [@xyzzing](https://github.com/xyzzing) **Created:** 11/7/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `benchmark-gfx1100-rdna3` --- ### 📝 Commits (1) - [`b1ef056`](https://github.com/Niko1221/Strata/commit/b1ef05663d97df125d55baaec7e56a9c7ed40590) [Benchmark] RDNA3 / gfx1100 (RX 7900 XTX) measurement report: deep-prefill and expert-kernel results on Qwen3.8-Flash-Next IQ3_S ### 📊 Changes **6 files changed** (+521 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `docs/rdna3-gfx1100/CONFIG.md` (+9 -0) ➕ `docs/rdna3-gfx1100/MEASUREMENTS.md` (+35 -0) ➕ `docs/rdna3-gfx1100/exp-modes-20261107.txt` (+176 -0) ➕ `docs/rdna3-gfx1100/mmvq-ceiling-20261107.txt` (+9 -0) ➕ `docs/rdna3-gfx1100/mmvq-paired-20261107.txt` (+112 -0) ➕ `docs/rdna3-gfx1100/mmvq-sweep-20261107.txt` (+180 -0) </details> ### 📄 Description ## Problem and result The defaults tables cover gfx12/gfx1151/iGPUs but not gfx1100 (RDNA3), and the expert layout / prompt-attention switches carry no gfx1100 measurements. This results-only report supplies paired RDNA3 numbers on a RX 7900 XTX (Qwen3.8-Flash-Next GSQ/RCO IQ3_S, engine 0.1.55, v0.2.9 + 10 locally replayed fork commits, measured tree b706bc808, binary sha256 125759e9…): - Deep-prefill deployment-level stack: `STRATA_PA_FAST=1` **+5.43%** (CI95 [1.0475, 1.0606]); `STRATA_PF_FUSED=1` + `STRATA_PREFILL_RING=512` **+9.08%** (CI95 [1.0874, 1.0958]); combined **+13.82%** (CI95 [1.1028, 1.1460]) over `--prefill auto:32768` at 94K depth. Deployed on this card as user-level configuration (the defaults table stays bit-identical-only). - Defaults-table candidate: `STRATA_TSUM=1` (decode mmvq transposed butterfly sums) — bitwise-equal, paired decode_ms **-0.91%** (CI95 [0.9847, 0.9928], 15 request-pairs, excludes 1.00). An [Engine] issue proposes the gfx1100 row separately per the defaults scope rule; the table change itself is NOT in this PR. - Negative results (all bitwise-clean, all slower on gfx1100): expert layout modes 2/4 **3.0x slower**, mode 8 **2.1x slower** (the gfx1151 default does not transfer), S26 `STRATA_EXPERT_V2=1` **1.31x slower**, `STRATA_EXPDEC=1` **1.09x slower**, and the mmvq upstream multi-column layout **17-22% slower** than the exact layout at ncols 8 (the reverse of NVIDIA — per-arch dispatch is earning its keep). ## Related discussion Issue #5459 (the defaults row scope agreement, filed per the "changes to defaults" rule) references this PR. No prior issue covered gfx1100 for these switches. ## Approach Results-only report per CONTRIBUTING, kept separate from engine changes: `docs/rdna3-gfx1100/` contains the human report (`MEASUREMENTS.md`), the sanitized configuration (`CONFIG.md`), and four raw-data files — including the discarded cross-process sweep preserved next to the paired reversal that reversed it, so the drift lesson is auditable. Every timing comparison is in-process interleaved (bench medians over 12 runs) or paired alternating launches with a bootstrap CI (seed 20261107); correctness gates ran before timing (bitwise where the mechanism claims bitwise). ## Validation **Passed:** - `env -i PATH=… cmake -S . -B build-il -DCMAKE_BUILD_TYPE=Release -DSTRATA_ENABLE_HIP=ON -DCMAKE_HIP_ARCHITECTURES=gfx1100 …` + `cmake --build build-il --target strata_kernels hip_mmvq_ceiling_bench -j` — worktree of b706bc808, HIP SDK 7.17.26392, gfx1100, Release: built clean. - `native_expert_bench <shard1> 5,17,41 48 8 0 <mode> 200` for modes 2/4/8 and every env arm: "0 differing" (bitwise parity) on all runs, raw logs in `exp-modes-20261107.txt`. - The paired/parity bench runs quoted in MEASUREMENTS.md: `hip_mmvq_ceiling_bench paired 30` / `parity` / the serve-level paired windows — all personally executed on the reported hardware; outputs attached as the four txt files. **Failed:** - None observed in the reported runs. One cross-process sequential sweep produced a reversed sign (+10–17% for the mmvq upstream layout) and was discarded in favor of the paired instrument (-17–22%); both are preserved in `mmvq-sweep-20261107.txt` for auditability. **Not run:** - CUDA and SYCL backends: no NVIDIA/Intel hardware on this machine; this report is measurement-only and touches no engine code. - The BENCHMARK_PROTOCOL.md draft workflow: this report predates activation and uses today's tools per the community guide; the draft status is acknowledged. ## Limits Single machine, single artifact (IQ3_S GSQ/RCO), single deep workload (93,821 tokens) plus the serve-level paired form. The deployment-level findings are per-card field evidence, not defaults proposals; other RDNA3 cards (gfx1090/pro, gfx1151) would need their own numbers. AI-assisted packaging: the measurements were executed and verified by the contributor (every command and number comes from this session's runs on the reported hardware); an agent prepared the report, reviewed against the source. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#5435
No description provided.