[PR #4475] [CLOSED] [Benchmark] RX 6900 XT single card: STRATA_HC_PERSIST=1 on Coder IQ1_M, IQ2_XS and Swift IQ3_S (upstream main cross-checked) #5064

Closed
opened 2026-11-07 16:32:24 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/4475
Author: @schmittcn
Created: 10/28/2026
Status: ❌ Closed

Base: main ← Head: pr/bench-rx6900xt-2026-10-28


📝 Commits (2)

  • 7c1583e [Benchmark] RX 6900 XT single card: STRATA_HC_PERSIST=1 on Coder IQ1_M, IQ2_XS and Swift IQ3_S
  • cc68eb7 [Benchmark] RX 6900 XT: same-day cross-check on upstream main (IQ2_XS, HC_PERSIST on/off)

📊 Changes

82 files changed (+46976 additions, -0 deletions)

View changed files

➕ bench/results/2026-10-28-community-rx-6900xt-hc-persist/README.md (+157 -0)
➕ bench/results/2026-10-28-community-rx-6900xt-hc-persist/analyze.py (+43 -0)
➕ bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/coder-base.json (+64 -0)
➕ bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/coder-hc.json (+65 -0)
➕ bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/coder-swaps160.json (+64 -0)
➕ bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/iq2_xs-base.json (+64 -0)
➕ bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/iq2_xs-fork-base.json (+64 -0)
➕ bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/iq2_xs-fork-hc.json (+65 -0)
➕ bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/iq2_xs-hc.json (+65 -0)
➕ bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/iq2_xs-res1536.json (+64 -0)
➕ bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/iq2_xs-res2048.json (+64 -0)
➕ bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/iq2_xs-swaps160.json (+64 -0)
➕ bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/iq2_xs-up-base.json (+64 -0)
➕ bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/iq2_xs-up-hc.json (+65 -0)
➕ bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/iq2live-pw12.json (+67 -0)
➕ bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/iq2live-pw15.json (+67 -0)
➕ bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/iq2live-pw8.json (+67 -0)
➕ bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/swift-base.json (+62 -0)
➕ bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/swift-hc.json (+63 -0)
➕ bench/results/2026-10-28-community-rx-6900xt-hc-persist/engine-log-excerpts/coder-base.txt (+80 -0)

...and 62 more files

📄 Description

Problem and result

AMD_HIP.md lists STRATA_HC_PERSIST=1 as opt-in on gfx103x, measured on 2x RX 6900 XT (bench/results/2026-10-12-hc-persist-gfx1030). This report adds a single RX 6900 XT on Arch's ROCm 7.2.4.

  • Upstream main (46c152a1, engine 0.1.53), IQ2_XS: STRATA_HC_PERSIST=1 raises decode +5.4 % (chat) and +3.2 % (agent), prompt speed unchanged.
  • A fork build (engine 0.1.52), three official packs: Coder IQ1_M, IQ2_XS and Swift 1.5 IQ3_S gain +4.0 % to +7.8 % (chat) and +3.2 % to +5.8 % (agent), prompts unchanged. Every pass of every pack is at or above its base.
  • --vram-reserve-mib (3072 / 2048 / 1536), --adapt-swaps (80 / 160) and --pool-workers (15 / 12 / 8) on IQ2_XS stay within the noise. The default of 15 workers is fastest.

Results only: one folder in bench/results/ and one entry in docs/COMMUNITY_BENCHMARKS.md. No code changes, no default changed.

  • #3924: the rocBLAS 5.2.0 table for this ROCm. The fork build carries it, upstream main does not, which explains the prompt difference below.
  • No existing thread on HC_PERSIST with a single card.

Approach

  • Tool and order. tools/strata_bench.py (community suite, not the draft standard protocol). One fresh server per arm. Arms interleaved over three passes, medians over every request.
  • Configs. The base config is the one setup.py wrote for this machine. Each arm changes exactly one setting.
  • Upstream cross-check, same session. main was built in its own worktree with the same CMake options as the fork build. Four arms were measured on IQ2_XS: upstream and fork, each with and without HC.
    • Decode is the same on both builds: 61.5 / 61.7 tok/s chat with HC off.
    • The fork's 4K / 16K prompts are 15.4 % / 3.6 % faster. That is the #3924 table, which upstream reports it cannot find.

Validation

Passed

  • 51 runs with no failed request. Raw results.json of every run, sanitized configs and engine-log excerpts are in the folder. python3 analyze.py . reproduces the tables.
  • The engine log shows STRATA_HC_PERSIST=1 ... one persistent kernel (80 blocks on 40 multiprocessors ...) in 15 of 15 HC runs and in none of the base runs.
  • The rocBLAS table is loaded in the 6 fork A/B runs and in none of the upstream runs.
  • Relative links and anchors in the README and the list entry resolve.

Failed

  • None observed.

Not run

  • The standard benchmark (strata bench run).
  • Coder and Swift on upstream main (IQ2_XS only).
  • Any quality comparison: HC_PERSIST is not bitwise the default read, and only the engine's start-up check ran.
  • Multi-card setups.

Limits

  • One machine and one session.
  • Run-to-run spread of the chat median is about ±2 tok/s, so the reserve, swaps and pool-worker results do not separate from noise.
  • On upstream main the HC gain in agent turns is smaller than on the fork build (+3.2 % against +7.0 %), and one of three passes showed no gain there.

Machine: RX 6900 XT 16 GB (gfx1030, PCIe 4.0 x16), Ryzen 9 5950X, 64 GB DDR4-3600, Arch-based Linux, kernel 7.2.8, ROCm 7.2.4.

🤖 Generated with Claude Code


🔄 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/4475 **Author:** [@schmittcn](https://github.com/schmittcn) **Created:** 10/28/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `pr/bench-rx6900xt-2026-10-28` --- ### 📝 Commits (2) - [`7c1583e`](https://github.com/Niko1221/Strata/commit/7c1583e9dc30fef3091c765441eda58e8a543bbb) [Benchmark] RX 6900 XT single card: STRATA_HC_PERSIST=1 on Coder IQ1_M, IQ2_XS and Swift IQ3_S - [`cc68eb7`](https://github.com/Niko1221/Strata/commit/cc68eb785bd588f17e8582baa2e8ca4d620592b3) [Benchmark] RX 6900 XT: same-day cross-check on upstream main (IQ2_XS, HC_PERSIST on/off) ### 📊 Changes **82 files changed** (+46976 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `bench/results/2026-10-28-community-rx-6900xt-hc-persist/README.md` (+157 -0) ➕ `bench/results/2026-10-28-community-rx-6900xt-hc-persist/analyze.py` (+43 -0) ➕ `bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/coder-base.json` (+64 -0) ➕ `bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/coder-hc.json` (+65 -0) ➕ `bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/coder-swaps160.json` (+64 -0) ➕ `bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/iq2_xs-base.json` (+64 -0) ➕ `bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/iq2_xs-fork-base.json` (+64 -0) ➕ `bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/iq2_xs-fork-hc.json` (+65 -0) ➕ `bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/iq2_xs-hc.json` (+65 -0) ➕ `bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/iq2_xs-res1536.json` (+64 -0) ➕ `bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/iq2_xs-res2048.json` (+64 -0) ➕ `bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/iq2_xs-swaps160.json` (+64 -0) ➕ `bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/iq2_xs-up-base.json` (+64 -0) ➕ `bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/iq2_xs-up-hc.json` (+65 -0) ➕ `bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/iq2live-pw12.json` (+67 -0) ➕ `bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/iq2live-pw15.json` (+67 -0) ➕ `bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/iq2live-pw8.json` (+67 -0) ➕ `bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/swift-base.json` (+62 -0) ➕ `bench/results/2026-10-28-community-rx-6900xt-hc-persist/configs/swift-hc.json` (+63 -0) ➕ `bench/results/2026-10-28-community-rx-6900xt-hc-persist/engine-log-excerpts/coder-base.txt` (+80 -0) _...and 62 more files_ </details> ### 📄 Description ## Problem and result [AMD_HIP.md](https://github.com/Niko1221/Strata/blob/main/docs/AMD_HIP.md#rdna2-gfx1030) lists `STRATA_HC_PERSIST=1` as opt-in on gfx103x, measured on 2x RX 6900 XT (`bench/results/2026-10-12-hc-persist-gfx1030`). This report adds a single RX 6900 XT on Arch's ROCm 7.2.4. - **Upstream `main` (`46c152a1`, engine 0.1.53), IQ2_XS:** `STRATA_HC_PERSIST=1` raises decode **+5.4 % (chat) and +3.2 % (agent)**, prompt speed unchanged. - **A fork build (engine 0.1.52), three official packs:** Coder IQ1_M, IQ2_XS and Swift 1.5 IQ3_S gain **+4.0 % to +7.8 % (chat) and +3.2 % to +5.8 % (agent)**, prompts unchanged. Every pass of every pack is at or above its base. - `--vram-reserve-mib` (3072 / 2048 / 1536), `--adapt-swaps` (80 / 160) and `--pool-workers` (15 / 12 / 8) on IQ2_XS stay within the noise. The default of 15 workers is fastest. Results only: one folder in `bench/results/` and one entry in `docs/COMMUNITY_BENCHMARKS.md`. No code changes, no default changed. ## Related discussion - #3924: the rocBLAS 5.2.0 table for this ROCm. The fork build carries it, upstream `main` does not, which explains the prompt difference below. - No existing thread on HC_PERSIST with a single card. ## Approach - **Tool and order.** `tools/strata_bench.py` (community suite, not the draft standard protocol). One fresh server per arm. Arms interleaved over three passes, medians over every request. - **Configs.** The base config is the one `setup.py` wrote for this machine. Each arm changes exactly one setting. - **Upstream cross-check, same session.** `main` was built in its own worktree with the same CMake options as the fork build. Four arms were measured on IQ2_XS: upstream and fork, each with and without HC. - Decode is the same on both builds: 61.5 / 61.7 tok/s chat with HC off. - The fork's 4K / 16K prompts are 15.4 % / 3.6 % faster. That is the #3924 table, which upstream reports it cannot find. ## Validation **Passed** - 51 runs with no failed request. Raw `results.json` of every run, sanitized configs and engine-log excerpts are in the folder. `python3 analyze.py .` reproduces the tables. - The engine log shows `STRATA_HC_PERSIST=1 ... one persistent kernel (80 blocks on 40 multiprocessors ...)` in 15 of 15 HC runs and in none of the base runs. - The rocBLAS table is loaded in the 6 fork A/B runs and in none of the upstream runs. - Relative links and anchors in the README and the list entry resolve. **Failed** - None observed. **Not run** - The standard benchmark (`strata bench run`). - Coder and Swift on upstream `main` (IQ2_XS only). - Any quality comparison: HC_PERSIST is not bitwise the default read, and only the engine's start-up check ran. - Multi-card setups. ## Limits - One machine and one session. - Run-to-run spread of the chat median is about ±2 tok/s, so the reserve, swaps and pool-worker results do not separate from noise. - On upstream `main` the HC gain in agent turns is smaller than on the fork build (+3.2 % against +7.0 %), and one of three passes showed no gain there. Machine: RX 6900 XT 16 GB (gfx1030, PCIe 4.0 x16), Ryzen 9 5950X, 64 GB DDR4-3600, Arch-based Linux, kernel 7.2.8, ROCm 7.2.4. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:32:24 +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#5064
No description provided.