[PR #745] [CLOSED] Community benchmark: RX 7900 XTX 24 GB — ROCm 7.1.1 vs ROCm 10.2 nightly, serve-path decode (Qwen3.8-Flash-Next IQ3_S) #2802

Closed
opened 2026-11-04 02:03:13 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/745
Author: @xyzzing
Created: 10/4/2026
Status: ❌ Closed

Base: main ← Head: bench-rx7900xtx-rocm102


📝 Commits (10+)

  • e9e2ba3 pinned (#243 follow-up): the shared-memory-budget cap on the sliced pin is opt-in (STRATA_ARENA_PIN_GIB=auto) - by default the arena pins as in 0.1.30; on this 64 GB PC the cap pinned 26 instead of 30 GiB and cost ~20% prompt speed and 2-4% IQ3_S decode
  • cacffa9 CS-T speed: the file tier fetched in parallel, PCIe planning without file reads, a partial pin of the RAM tier, bit-exact AVX2 multi-token kernels for Q4_K / Q5_1 / Q8_0 experts, decode-only tier stats
  • a348c7a Merge branch 'f-131-srv' into r131-q4
  • b93a00c Merge branch 'f-q4-on242' into r131-q4
  • 8f5148c CS-T: the partial pin at most 24 GiB (STRATA_PARTIAL_PIN_GIB), the Q4_K/Q5_1/Q8_0 multi-token kernels from two tokens on
  • 5ffda19 CS-T: the GGUF-in-place prefetch asks Windows for all of a layer's missed slices at once (PrefetchVirtualMemory)
  • ed6c124 #253: the 8 GiB arena pin cap only under WDDM; STRATA_ARENA_PIN_GIB; the split's prompt chunk steps down
  • 450149d --split-skip-if-fits (opt-in): an auto split runs on the main card alone when it holds every profiled expert + KV
  • 6926e0b Merge branch 'f-131-amd' into r131-amd
  • c7aa3e5 Revert #257 (AVX2 two-block Q2_0 unpack): bit-exact but not faster on an AVX2-only CPU (Ryzen 9 3900X: gate/up -2.6..-4.7% at 1 token, down -3..-5% at 2 tokens)

📊 Changes

1 file changed (+4 additions, -3 deletions)

View changed files

📝 bench/results/2026-10-04-community-rx7900xtx-hipblaslt-100500/tune-command.txt (+4 -3)

📄 Description

Summary

Results-only submission per docs/COMMUNITY_BENCHMARKS.md — no engine changes.

Hardware: AMD Radeon RX 7900 XTX 24 GB (gfx1100), Ryzen 9 7900X, 96 GB DDR5, Fedora 44, PCIe Gen4 x16.

Model: Qwen3.8-Flash-Next GSQ-RCO IQ3_S (ISTA, 2 shards), MTP loaded, expert cache auto pre-filled from the shipped routing profile, KV int8 with --kv-resident 32768, context 65536, prefill chunk 8192, greedy, 200-token cap, --vram-reserve-mib 3072 (desktop co-resident).

Configurations tested: the same serving config on two ROCm stacks — packaged ROCm 7.1.1 vs a ROCm 10.2 nightly SDK (libamdhip64.so.7.17.26392, verified loaded). One identical request repeated back-to-back (~61 prompt tokens incl. template, 200 generated tokens, greedy), decode read from the API's per-request timings.predicted_per_second. The sequence deliberately measures the warm-up curve: request 1 cold, later requests warm.

Results (medians): warm steady-state decode 88.4 tok/s on the nightly (n=5) vs 80.4 on 7.1.1 (n=6) = +10.0% toolchain delta, config identical. Warm-up climbs ~+35% cold→warm on both stacks — a methodology finding: one-shot cells under-measure serving by 25–35%.

Secondary, 128K one-shot (one run each, flagged): decode flat in context (62.0 vs 61.0 tok/s, O(1) GDN); 128K prefill is confounded — the nightly's hipBLASLt is 100500 and no gfx1100 table ships for it, so the engine falls back to plain hipBLAS (921 vs 1535 tok/s; the documented version-mismatch mechanism).

Follow-up (2026-10-04, second commit in this PR): the confound is resolved. A matching gfx1100-hipblaslt-100500 table was tuned on-device against the nightly SDK's own hipBLASLt (32 rows, tuner-gated) and the same 128K workload re-run on the same binary, arms differing only in STRATA_HIPBLASLT_TUNING: prefill 1687.0 vs 926.1 tok/s median (3 clean cells each, ranges in the new folder) = +82% from the table alone; the no-table arm reproduces this PR's 921 cell, confirming it measured the fallback, not the toolchain. Decode unchanged (~62, overlapping ranges). Table, shape set, tuning command and per-run data in bench/results/2026-10-04-community-rx7900xtx-hipblaslt-100500/.

Limitations: single GPU; short chat-sized request (decode is flat in context for this model, measured 1K–128K elsewhere); per-request raw server logs were truncated by a restart between stacks — decode values were captured at request time from the API's timings field (runs.json marks one stall, kept and excluded); rocWMMA select arm compiled out of the nightly build; k8v4 untested (incompatible with --kv-resident).

Per-run JSON (runs.json — every request, warm-up state and one marked stall), the candidate startup script, and a repeat script are in the folder. bench_prefill.py was not used for this comparison — the request/timings method above keeps both stacks identical.


🔄 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/745 **Author:** [@xyzzing](https://github.com/xyzzing) **Created:** 10/4/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `bench-rx7900xtx-rocm102` --- ### 📝 Commits (10+) - [`e9e2ba3`](https://github.com/Niko1221/Strata/commit/e9e2ba31abdc211a618b5faf7226732d40bbcf2b) pinned (#243 follow-up): the shared-memory-budget cap on the sliced pin is opt-in (STRATA_ARENA_PIN_GIB=auto) - by default the arena pins as in 0.1.30; on this 64 GB PC the cap pinned 26 instead of 30 GiB and cost ~20% prompt speed and 2-4% IQ3_S decode - [`cacffa9`](https://github.com/Niko1221/Strata/commit/cacffa95aff016939edd7c15534c0067ec0ee93c) CS-T speed: the file tier fetched in parallel, PCIe planning without file reads, a partial pin of the RAM tier, bit-exact AVX2 multi-token kernels for Q4_K / Q5_1 / Q8_0 experts, decode-only tier stats - [`a348c7a`](https://github.com/Niko1221/Strata/commit/a348c7a4ed64f5f7f24ce3f1cba2d1439f673fed) Merge branch 'f-131-srv' into r131-q4 - [`b93a00c`](https://github.com/Niko1221/Strata/commit/b93a00c65a21fcc5b6431b8091e348d2976259f0) Merge branch 'f-q4-on242' into r131-q4 - [`8f5148c`](https://github.com/Niko1221/Strata/commit/8f5148c14d34c404e8a2d6a45188088714f3c9bb) CS-T: the partial pin at most 24 GiB (STRATA_PARTIAL_PIN_GIB), the Q4_K/Q5_1/Q8_0 multi-token kernels from two tokens on - [`5ffda19`](https://github.com/Niko1221/Strata/commit/5ffda19098202b82943fc80281ce0eb34d8e08a3) CS-T: the GGUF-in-place prefetch asks Windows for all of a layer's missed slices at once (PrefetchVirtualMemory) - [`ed6c124`](https://github.com/Niko1221/Strata/commit/ed6c1244dcd31789007540cb9d8498fbd4134b7f) #253: the 8 GiB arena pin cap only under WDDM; STRATA_ARENA_PIN_GIB; the split's prompt chunk steps down - [`450149d`](https://github.com/Niko1221/Strata/commit/450149d3f248438d8a2526c600b5a75c3dbea6c6) --split-skip-if-fits (opt-in): an auto split runs on the main card alone when it holds every profiled expert + KV - [`6926e0b`](https://github.com/Niko1221/Strata/commit/6926e0b4f4f72cda4f95a0218a89500135af7e4e) Merge branch 'f-131-amd' into r131-amd - [`c7aa3e5`](https://github.com/Niko1221/Strata/commit/c7aa3e5c18a57433d2fe3e131bf3e44da9f82c0d) Revert #257 (AVX2 two-block Q2_0 unpack): bit-exact but not faster on an AVX2-only CPU (Ryzen 9 3900X: gate/up -2.6..-4.7% at 1 token, down -3..-5% at 2 tokens) ### 📊 Changes **1 file changed** (+4 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `bench/results/2026-10-04-community-rx7900xtx-hipblaslt-100500/tune-command.txt` (+4 -3) </details> ### 📄 Description ## Summary Results-only submission per docs/COMMUNITY_BENCHMARKS.md — no engine changes. **Hardware**: AMD Radeon RX 7900 XTX 24 GB (gfx1100), Ryzen 9 7900X, 96 GB DDR5, Fedora 44, PCIe Gen4 x16. **Model**: Qwen3.8-Flash-Next GSQ-RCO IQ3_S (ISTA, 2 shards), MTP loaded, expert cache `auto` pre-filled from the shipped routing profile, KV int8 with `--kv-resident 32768`, context 65536, prefill chunk 8192, greedy, 200-token cap, `--vram-reserve-mib 3072` (desktop co-resident). **Configurations tested**: the same serving config on two ROCm stacks — packaged **ROCm 7.1.1** vs a **ROCm 10.2 nightly SDK** (`libamdhip64.so.7.17.26392`, verified loaded). One identical request repeated back-to-back (~61 prompt tokens incl. template, 200 generated tokens, greedy), decode read from the API's per-request `timings.predicted_per_second`. The sequence deliberately measures the **warm-up curve**: request 1 cold, later requests warm. **Results** (medians): warm steady-state decode **88.4 tok/s on the nightly (n=5) vs 80.4 on 7.1.1 (n=6) = +10.0% toolchain delta**, config identical. Warm-up climbs ~+35% cold→warm on **both** stacks — a methodology finding: one-shot cells under-measure serving by 25–35%. **Secondary, 128K one-shot (one run each, flagged)**: decode flat in context (62.0 vs 61.0 tok/s, O(1) GDN); **128K prefill is confounded** — the nightly's hipBLASLt is 100500 and no gfx1100 table ships for it, so the engine falls back to plain hipBLAS (921 vs 1535 tok/s; the documented version-mismatch mechanism). **Follow-up (2026-10-04, second commit in this PR): the confound is resolved.** A matching `gfx1100-hipblaslt-100500` table was tuned on-device against the nightly SDK's own hipBLASLt (32 rows, tuner-gated) and the same 128K workload re-run on the same binary, arms differing only in `STRATA_HIPBLASLT_TUNING`: **prefill 1687.0 vs 926.1 tok/s median (3 clean cells each, ranges in the new folder) = +82% from the table alone**; the no-table arm reproduces this PR's 921 cell, confirming it measured the fallback, not the toolchain. Decode unchanged (~62, overlapping ranges). Table, shape set, tuning command and per-run data in `bench/results/2026-10-04-community-rx7900xtx-hipblaslt-100500/`. **Limitations**: single GPU; short chat-sized request (decode is flat in context for this model, measured 1K–128K elsewhere); per-request raw server logs were truncated by a restart between stacks — decode values were captured at request time from the API's `timings` field (runs.json marks one stall, kept and excluded); rocWMMA select arm compiled out of the nightly build; k8v4 untested (incompatible with `--kv-resident`). Per-run JSON (`runs.json` — every request, warm-up state and one marked stall), the candidate startup script, and a repeat script are in the folder. `bench_prefill.py` was not used for this comparison — the request/`timings` method above keeps both stacks identical. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-04 02:03:13 +07:00
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#2802
No description provided.