[PR #3146] [CLOSED] report: RX 6700 XT (gfx1031 running as gfx1030) - built-in suite in two arms; STRATA_HIP_PROMPT_F16=1 reads prompts 1.76x-1.99x faster, decode unchanged #4475

Closed
opened 2026-11-07 15:36:18 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/3146
Author: @ljmbot
Created: 10/19/2026
Status: ❌ Closed

Base: main ← Head: report/gfx1031-bench-6700xt


📝 Commits (3)

  • 882e0d8 report: RX 6700 XT 12 GB (gfx1031 running as gfx1030), Swift 1.5 IQ3_S, 65,536-token context - tools/strata_bench.py --long three runs per test in two arms: prompt 339.2 / 352.5 / 356.2 tok/s at 4K / 16K / 32K becoming 595.9 / 692.9 / 707.5 with STRATA_HIP_PROMPT_F16=1 (1.76x / 1.97x / 1.99x), TTFT 11.90 / 45.61 / 90.05 s becoming 6.80 / 23.23 / 45.39 s, chat decode 21.7 -> 21.0 tok/s (decode does not use the prompt GEMMs), agent cache hit 68.8% in both arms, suite 731 s -> 464 s
  • 9609623 report: point the 6700 XT index row at this PR (#3146)
  • b196216 report: the 11,103-token reads as the log has them - three on the default route (33.9/32.8/34.4 s), one fresh read on the FP16 route (17.9 s), plus the 13,023-token read and the 11,098/11,103 prefix-cache line

📊 Changes

10 files changed (+2417 additions, -0 deletions)

View changed files

➕ bench/results/2026-10-19-community-rx-6700-xt/METHODS.md (+70 -0)
➕ bench/results/2026-10-19-community-rx-6700-xt/README.md (+156 -0)
➕ bench/results/2026-10-19-community-rx-6700-xt/engine-log-default.txt (+37 -0)
➕ bench/results/2026-10-19-community-rx-6700-xt/engine-log-f16.txt (+37 -0)
➕ bench/results/2026-10-19-community-rx-6700-xt/results-default.json (+959 -0)
➕ bench/results/2026-10-19-community-rx-6700-xt/results-f16.json (+959 -0)
➕ bench/results/2026-10-19-community-rx-6700-xt/scripts/prompt_test.py (+76 -0)
➕ bench/results/2026-10-19-community-rx-6700-xt/scripts/rocblas_gemm_probe.cpp (+115 -0)
📝 bench/results/COMMUNITY.md (+1 -0)
📝 docs/COMMUNITY_BENCHMARKS.md (+7 -0)

📄 Description

Issue: Resolves #

Summary

A community report for the card the maintainers do not have: RX 6700 XT, 12,272 MiB, gfx1031, run as gfx1030
under HSA_OVERRIDE_GFX_VERSION=10.3.0, which is the only way long prompts run on ROCm 7.1.1 at all (rocBLAS ships
31 gfx1030 library files and 0 gfx1031 ones - see the paired fix PR #3145). Swift 1.5 IQ3_S, 65,536-token context, KV
int8, one parallel slot, expert cache 2,645 slots / 5.07 GiB of VRAM.

tools/strata_bench.py --long (chat, 4K, 16K, agent session, 32K), three runs per test, run twice - the default
prompt GEMMs and STRATA_HIP_PROMPT_F16=1 - one engine session per arm, model reloaded from cold between arms,
nothing else changed:

prompt default with STRATA_HIP_PROMPT_F16=1
4,019 tokens 339.2 (294.1-339.5) tok/s 595.9 (448.2-596.1) 1.76x
16,058 352.5 (343.2-355.7) 692.9 (674.9-714.0) 1.97x
32,049 356.2 (353.8-357.4) 707.5 (701.7-711.1) 1.99x

TTFT 11.90 / 45.61 / 90.05 s becoming 6.80 / 23.23 / 45.39 s. Decode is not touched: chat decode 21.7 (20.2-26.8)
against 21.0 (19.7-24.9) tok/s over 9 runs each, agent-turn decode 23.6 against 22.3. The agent session caches the
same in both arms (68.8% of the follow-up-turn tokens reused, about 2 tokens of earlier turns read again), so the
difference is the reading: turn TTFT 9.59 -> 6.16 s, and the turns that re-read about 2,900 uncached tokens ran at
207-263 against 519-552 tok/s. The whole suite took 731 s and 464 s.

What changed

  • bench/results/2026-10-19-community-rx-6700-xt/ - README.md (hardware, config, both arms, every table, correctness
    and what was not tested), METHODS.md (how the arms were separated, the suite command, the probe build line,
    sanitizing, what was not measured), results-default.json and results-f16.json (the tool's own per-request
    data, field for field), engine-log-default.txt and engine-log-f16.txt (each arm's startup lines: the arch the
    card reported, the GEMM route the engine took, the cache sizes), and scripts/ with the two extra measurements -
    rocblas_gemm_ex at the prompt shapes (7.0 TFLOPS f16 in / f32 out, 21.3 f16 in / f16 out, 6.6 bf16, 11.8 f32,
    each checked against a CPU reference) and a matched 11,103-token prompt read in the same session (34.4 s and 33.9 s
    against 17.9 s, 1.90x).
  • docs/COMMUNITY_BENCHMARKS.md: one bullet in the report list, in date order.
  • bench/results/COMMUNITY.md: one row in the index table, PR column "PR pending".

Extra Notes

The README's arch links point at docs/AMD_GFX1031.md, which is in the paired fix PR #3145; the link 404s on main until
that one merges.

This is a speed run, not a parity run: every arm answered coherently (the chat questions, the agent turns against a
project file, the 11,103-token summary), and there is no needle test, no golden-answer parity and no HumanEval here.
The FP16 route is not bit-identical to the default (an FP16 rounding of the prompt GEMMs, which the engine says on
its startup line), so answers can differ slightly on borderline prompts.

Not tested: the 4K / 32K token-id parity between the two arms, Windows, TheRock's venv ROCm, a layer split with a
6700 XT in it, the vision encoder (--vision off in this config), concurrency (--seqs 1, no --batch), a long
soak, other quantisations than Swift 1.5 IQ3_S, the other gfx1031 cards (6750 XT, 6800M), ROCm older than 7.1.1,
PCIe width (no passwordless sudo for lspci -vv), RAM speed, temperatures and clocks under load. One machine, one
engine session per arm, one order (default first, FP16 second), so drift between sessions is not separated out; the
chat control arm and the identical cache hit rates argue against a large drift. The engine is a source build for
gfx1030;gfx1031 (engine/BUILD.json), not a release binary. The model's GGUF sits on a FUSE-mounted SATA SSD
(fuseblk), not compared against a native mount.


🔄 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/3146 **Author:** [@ljmbot](https://github.com/ljmbot) **Created:** 10/19/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `report/gfx1031-bench-6700xt` --- ### 📝 Commits (3) - [`882e0d8`](https://github.com/Niko1221/Strata/commit/882e0d8bc4c34d503d0c41962f6f0c1587dea6b9) report: RX 6700 XT 12 GB (gfx1031 running as gfx1030), Swift 1.5 IQ3_S, 65,536-token context - tools/strata_bench.py --long three runs per test in two arms: prompt 339.2 / 352.5 / 356.2 tok/s at 4K / 16K / 32K becoming 595.9 / 692.9 / 707.5 with STRATA_HIP_PROMPT_F16=1 (1.76x / 1.97x / 1.99x), TTFT 11.90 / 45.61 / 90.05 s becoming 6.80 / 23.23 / 45.39 s, chat decode 21.7 -> 21.0 tok/s (decode does not use the prompt GEMMs), agent cache hit 68.8% in both arms, suite 731 s -> 464 s - [`9609623`](https://github.com/Niko1221/Strata/commit/9609623d43eaf31dfe85232a53e3bbc8670a993f) report: point the 6700 XT index row at this PR (#3146) - [`b196216`](https://github.com/Niko1221/Strata/commit/b196216dac4d95dad0105c2b052b41489456fcd4) report: the 11,103-token reads as the log has them - three on the default route (33.9/32.8/34.4 s), one fresh read on the FP16 route (17.9 s), plus the 13,023-token read and the 11,098/11,103 prefix-cache line ### 📊 Changes **10 files changed** (+2417 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `bench/results/2026-10-19-community-rx-6700-xt/METHODS.md` (+70 -0) ➕ `bench/results/2026-10-19-community-rx-6700-xt/README.md` (+156 -0) ➕ `bench/results/2026-10-19-community-rx-6700-xt/engine-log-default.txt` (+37 -0) ➕ `bench/results/2026-10-19-community-rx-6700-xt/engine-log-f16.txt` (+37 -0) ➕ `bench/results/2026-10-19-community-rx-6700-xt/results-default.json` (+959 -0) ➕ `bench/results/2026-10-19-community-rx-6700-xt/results-f16.json` (+959 -0) ➕ `bench/results/2026-10-19-community-rx-6700-xt/scripts/prompt_test.py` (+76 -0) ➕ `bench/results/2026-10-19-community-rx-6700-xt/scripts/rocblas_gemm_probe.cpp` (+115 -0) 📝 `bench/results/COMMUNITY.md` (+1 -0) 📝 `docs/COMMUNITY_BENCHMARKS.md` (+7 -0) </details> ### 📄 Description Issue: Resolves # ## Summary A community report for the card the maintainers do not have: RX 6700 XT, 12,272 MiB, `gfx1031`, run as `gfx1030` under `HSA_OVERRIDE_GFX_VERSION=10.3.0`, which is the only way long prompts run on ROCm 7.1.1 at all (rocBLAS ships 31 `gfx1030` library files and 0 `gfx1031` ones - see the paired fix PR #3145). Swift 1.5 IQ3_S, 65,536-token context, KV int8, one parallel slot, expert cache 2,645 slots / 5.07 GiB of VRAM. `tools/strata_bench.py --long` (chat, 4K, 16K, agent session, 32K), three runs per test, run twice - the default prompt GEMMs and `STRATA_HIP_PROMPT_F16=1` - one engine session per arm, model reloaded from cold between arms, nothing else changed: | prompt | default | with `STRATA_HIP_PROMPT_F16=1` | | | --- | ---: | ---: | ---: | | 4,019 tokens | 339.2 (294.1-339.5) tok/s | 595.9 (448.2-596.1) | 1.76x | | 16,058 | 352.5 (343.2-355.7) | 692.9 (674.9-714.0) | 1.97x | | 32,049 | 356.2 (353.8-357.4) | 707.5 (701.7-711.1) | 1.99x | TTFT 11.90 / 45.61 / 90.05 s becoming 6.80 / 23.23 / 45.39 s. Decode is not touched: chat decode 21.7 (20.2-26.8) against 21.0 (19.7-24.9) tok/s over 9 runs each, agent-turn decode 23.6 against 22.3. The agent session caches the same in both arms (68.8% of the follow-up-turn tokens reused, about 2 tokens of earlier turns read again), so the difference is the reading: turn TTFT 9.59 -> 6.16 s, and the turns that re-read about 2,900 uncached tokens ran at 207-263 against 519-552 tok/s. The whole suite took 731 s and 464 s. ## What changed - `bench/results/2026-10-19-community-rx-6700-xt/` - README.md (hardware, config, both arms, every table, correctness and what was not tested), METHODS.md (how the arms were separated, the suite command, the probe build line, sanitizing, what was not measured), `results-default.json` and `results-f16.json` (the tool's own per-request data, field for field), `engine-log-default.txt` and `engine-log-f16.txt` (each arm's startup lines: the arch the card reported, the GEMM route the engine took, the cache sizes), and `scripts/` with the two extra measurements - `rocblas_gemm_ex` at the prompt shapes (7.0 TFLOPS f16 in / f32 out, 21.3 f16 in / f16 out, 6.6 bf16, 11.8 f32, each checked against a CPU reference) and a matched 11,103-token prompt read in the same session (34.4 s and 33.9 s against 17.9 s, 1.90x). - `docs/COMMUNITY_BENCHMARKS.md`: one bullet in the report list, in date order. - `bench/results/COMMUNITY.md`: one row in the index table, PR column "PR pending". ## Extra Notes The README's arch links point at `docs/AMD_GFX1031.md`, which is in the paired fix PR #3145; the link 404s on `main` until that one merges. This is a speed run, not a parity run: every arm answered coherently (the chat questions, the agent turns against a project file, the 11,103-token summary), and there is no needle test, no golden-answer parity and no HumanEval here. The FP16 route is not bit-identical to the default (an FP16 rounding of the prompt GEMMs, which the engine says on its startup line), so answers can differ slightly on borderline prompts. Not tested: the 4K / 32K token-id parity between the two arms, Windows, TheRock's venv ROCm, a layer split with a 6700 XT in it, the vision encoder (`--vision` off in this config), concurrency (`--seqs 1`, no `--batch`), a long soak, other quantisations than Swift 1.5 IQ3_S, the other `gfx1031` cards (6750 XT, 6800M), ROCm older than 7.1.1, PCIe width (no passwordless sudo for `lspci -vv`), RAM speed, temperatures and clocks under load. One machine, one engine session per arm, one order (default first, FP16 second), so drift between sessions is not separated out; the chat control arm and the identical cache hit rates argue against a large drift. The engine is a source build for `gfx1030;gfx1031` (`engine/BUILD.json`), not a release binary. The model's GGUF sits on a FUSE-mounted SATA SSD (`fuseblk`), not compared against a native mount. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:36:18 +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#4475
No description provided.