mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #5454] [Benchmark] 2x RX 6900 XT (gfx1030), standard protocol on a v0.2.11-based build: 4K / 16K 1,234 / 2,124 (two cards), 1,058 / 1,434 (one card) #5433
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#5433
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/5454
Author: @Vop3p
Created: 11/7/2026
Status: 🔄 Open
Base:
main← Head:v0211wl2/bench-standard-rx-6900xt📝 Commits (1)
e97361e[Benchmark] 2x RX 6900 XT standard protocol on a v0.2.11-based build (two cards / one card)📊 Changes
14 files changed (+6649 additions, -0 deletions)
View changed files
➕
bench/results/2026-11-07-standard-1x-rx-6900xt-96fbb8da/README.md(+80 -0)➕
bench/results/2026-11-07-standard-1x-rx-6900xt-96fbb8da/config.json(+14 -0)➕
bench/results/2026-11-07-standard-1x-rx-6900xt-96fbb8da/outputs.jsonl(+34 -0)➕
bench/results/2026-11-07-standard-1x-rx-6900xt-96fbb8da/provenance/chat_template.jinja(+460 -0)➕
bench/results/2026-11-07-standard-1x-rx-6900xt-96fbb8da/provenance/corpus-build.json(+206 -0)➕
bench/results/2026-11-07-standard-1x-rx-6900xt-96fbb8da/provenance/corpus-manifest.sha256(+35 -0)➕
bench/results/2026-11-07-standard-1x-rx-6900xt-96fbb8da/results.json(+2498 -0)➕
bench/results/2026-11-07-standard-2x-rx-6900xt-ade4138a/README.md(+79 -0)➕
bench/results/2026-11-07-standard-2x-rx-6900xt-ade4138a/config.json(+14 -0)➕
bench/results/2026-11-07-standard-2x-rx-6900xt-ade4138a/outputs.jsonl(+34 -0)➕
bench/results/2026-11-07-standard-2x-rx-6900xt-ade4138a/provenance/chat_template.jinja(+460 -0)➕
bench/results/2026-11-07-standard-2x-rx-6900xt-ade4138a/provenance/corpus-build.json(+206 -0)➕
bench/results/2026-11-07-standard-2x-rx-6900xt-ade4138a/provenance/corpus-manifest.sha256(+35 -0)➕
bench/results/2026-11-07-standard-2x-rx-6900xt-ade4138a/results.json(+2494 -0)📄 Description
Problem and result
Two runs of the standard draft protocol (
strata-qwen38-thinking-v1-draft.1) on the same 2x RX 6900 XT box as #4602 (0.2.7) and #3790 (0.2.2), now with this box's current production engine: v0.2.11 plus a local patch set (details below). Results only, no code or behaviour change requested. Both runs arecomplete, 21/21 required requests, 12 of 12 sanity checks, 0 failed, concurrency included, 0 stalls in the engine log. The data is offered for the community benchmark page; the maintainer noted that newer numbers are welcome after #4602 was closed.Against the patched 0.2.7 arms of #4602 on the same machine (two cards 1,021 / 1,585, one card 1,023 / 1,232; different day, one pass each): two cards +21% / +34%, one card +3% / +16%. Decode is within the protocol's sampling noise.
What changed since #4602 (each step measured on this box with same-session interleaved runs; numbers and method in dual-6900xt-flash-next-tuning):
attn_qkvkept in FP16 (bitwise), int8 copies on Q8_0's grid for the verifier's persistent hc read (#2226 +STRATA_HC_PERSIST_Q8=2; not bitwise, top-10 overlap with a double-precision reference −0.7 points, KL within chat-to-chat noise), a one-warp dense GEMV for 2–4 tokens and per-format expert layouts for gfx1030 decode (bitwise), the fused SwiGLU+quantize kernel on HIP (byte-identical), upstream'sSTRATA_ATTN_MERGE_V2 / FUSE_HITS / IQ_STAGE_TABLES / PLE_COMPACT / PLE_COPY_STREAM, and--mtp-q4 head.Related discussion
#4602 (the previous report from this box, 0.2.7), #3790 (the 0.2.2 pilot), #5002 (the DP prompt read used by the two-card run), #2226 (the persistent hc read). Single RX 6900 XT reports this complements: #4723, #5320.
Approach
Each server was started from its
config.jsonand benchmarked over loopback with the runner from the v0.2.7 checkout (the same runner as #4602):strata bench run --url http://127.0.0.1:8089 --out <dir> --track custom --track-notes <arm description> --build-options <options> --model-revision ed59f920... --source-revision 4783921b... --optional-concurrency20261107T031700Z-ade4138a,"gpu": [1, 0],layer_split27,parallel1, no vision encoder;--prefill 16384 --prefill-pipe 1600 --spec 3 --spec-min-p 0.6 --pipeline-windows 2 --kv int8 --kv-resident 32768 --max-context 262144 --vram-reserve-mib 700 --vram-reserve-later-mib 844 --conversation-cache-mib 0 --mtp-q4 head; DP envSTRATA_DP_PREFILL=1 STRATA_KV_HOST_DMA=1 STRATA_DP_MIN=12288 STRATA_DP_PEER_RES=0.20261107T032238Z-96fbb8da,"gpu": [1],parallel1, no vision encoder;--prefill auto --prefill-pipe 1600 --spec 3 --spec-min-p 0.6 --pipeline-windows 2 --kv int8 --kv-resident 32768 --max-context 131072 --vram-reserve-mib 700 --conversation-cache-mib 0 --mtp-q4 head.STRATA_HC_PERSIST=1 STRATA_HC_PERSIST_Q8=2. The full switch list is in each folder'sconfig.jsonand in the linked document.Source revision
4783921bis the author'sprod-0211tree (v0.2.11 merged into the local patch set); the kernel batch is an uncommitted diff on top of it, published aspatches/strata/0002-waitlist-0211-2x6900xt.patchin the linked repository. Build options:STRATA_ENABLE_HIP, CMAKE_HIP_ARCHITECTURES=gfx1030, STRATA_NATIVE_EXPERTS, STRATA_PREFILL_MMQ, STRATA_Q6K_EXPERTS, STRATA_MMQ_KQUANTS=OFF, GGML_HIP_GRAPHS, GGML_HIP_NO_VMM, ggml from llama.cppfb5d45967with the RDNA2 MMQ patches.Validation
Environment: 2x RX 6900 XT (gfx1030, 16 GB, PCIe 4.0 x8 each, 245 W, −81 mV), Ryzen 5 5600X, 128 GB DDR4-3200, Ubuntu 26.04 kernel 7.0.0-42, ROCm 10.0; model
ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUFIQ3_S revisioned59f92082b1e93c0e96d60a8b11aab089b52f09; runner5e8a4cca7d690ac60ca37eb09e7d0e010099ad6d; engine 0.1.57; 2026-11-07 03:17 and 03:22 UTC, one engine start per run.Passed:
STRATA_HIP_PROMPT_F16=1andSTRATA_PROMPT_ATTN_RDNA2=1are confirmed, the two-card 16K case prints16382 tokens in 5632-token chunks over 2 stages (--prefill-pipe 1600: b/a), the hc self-check printsSTRATA_HC_PERSIST_Q8=2 ... max relative difference 0.00497 against the bf16 default read; no stall reports.Failed:
None in the submitted runs. One related note: on one card the int8 hc copies take 641 MiB, and in a separate prompt-speed run (not submitted) one of two cold starts with the same one-card settings refused the 213 MiB draft head (
mtp: the draft head does not fit, 264 MiB free). The submitted one-card run loaded the draft head normally. One-card users should leaveSTRATA_HC_PERSIST_Q8off or free some VRAM first.Not run:
Limits
One machine, one model and quantization (IQ3_S), one pass per arm, sampling noise in decode. The engine includes local patches that are not in upstream main (#3381, #3382, #3073, #3095, the DP follow-ups, and the kernel batch above); the two-card run is parallel 1 without the vision encoder, unlike this box's production server (parallel 2 +
--batch-mtp+ vision).Developed with an AI coding assistant; every number above was measured on the machine described above.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.