mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #5309] [Benchmark] RX 6800 XT + RX 6600 on Windows, 128k: layer split vs expert-cache helper (v0.2.11) #5381
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#5381
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/5309
Author: @Kompasby
Created: 11/5/2026
Status: 🔄 Open
Base:
main← Head:bench/0211-radeon-6800xt-6600📝 Commits (5)
7735260Add community benchmark on v0.2.11: RX 6800 XT + RX 6600 layer split, 128k context7df4349Benchmark report: measure the short prompt case instead of leaving it blank, and note that the API device order is not the engine role orderb3621b7Add community benchmark on v0.2.11: RX 6800 XT + RX 6600 as an expert-cache helper, 128k context0c87a56docs: prefer the second AMD card as an expert-cache helper at 128k (RX 6800 XT + RX 6600)14a83a5Add round 2: --remote-expert-opt costs decode on the RX 6600 helper path📊 Changes
29 files changed (+9111 additions, -0 deletions)
View changed files
➕
bench/results/2026-11-05-community-2x-radeon-6800xt-6600/README.md(+109 -0)➕
bench/results/2026-11-05-community-2x-radeon-6800xt-6600/config.json(+13 -0)➕
bench/results/2026-11-05-community-2x-radeon-6800xt-6600/outputs.jsonl(+22 -0)➕
bench/results/2026-11-05-community-2x-radeon-6800xt-6600/provenance/chat_template.jinja(+184 -0)➕
bench/results/2026-11-05-community-2x-radeon-6800xt-6600/provenance/corpus-build.json(+206 -0)➕
bench/results/2026-11-05-community-2x-radeon-6800xt-6600/provenance/corpus-manifest.sha256(+35 -0)➕
bench/results/2026-11-05-community-2x-radeon-6800xt-6600/results.json(+1699 -0)➕
bench/results/2026-11-06-community-6800xt-6600-helper-cache-remote-opt/README.md(+101 -0)➕
bench/results/2026-11-06-community-6800xt-6600-helper-cache-remote-opt/config.json(+13 -0)➕
bench/results/2026-11-06-community-6800xt-6600-helper-cache-remote-opt/outputs.jsonl(+22 -0)➕
bench/results/2026-11-06-community-6800xt-6600-helper-cache-remote-opt/provenance/chat_template.jinja(+184 -0)➕
bench/results/2026-11-06-community-6800xt-6600-helper-cache-remote-opt/provenance/corpus-build.json(+206 -0)➕
bench/results/2026-11-06-community-6800xt-6600-helper-cache-remote-opt/provenance/corpus-manifest.sha256(+35 -0)➕
bench/results/2026-11-06-community-6800xt-6600-helper-cache-remote-opt/results.json(+1694 -0)➕
bench/results/2026-11-06-community-6800xt-6600-helper-cache/README.md(+160 -0)➕
bench/results/2026-11-06-community-6800xt-6600-helper-cache/config.json(+13 -0)➕
bench/results/2026-11-06-community-6800xt-6600-helper-cache/outputs.jsonl(+22 -0)➕
bench/results/2026-11-06-community-6800xt-6600-helper-cache/provenance/chat_template.jinja(+184 -0)➕
bench/results/2026-11-06-community-6800xt-6600-helper-cache/provenance/corpus-build.json(+206 -0)➕
bench/results/2026-11-06-community-6800xt-6600-helper-cache/provenance/corpus-manifest.sha256(+35 -0)...and 9 more files
📄 Description
Problem and result: on a two-card Windows machine AMD multi-GPU is not available with the signed build, because
setup.pyrefuses AMD multi-GPU andAMD_ARCHShas nogfx1032(#4991). With an engine built forgfx1030;gfx1032;gfx1036the machine runs the same model two ways, and this PR measures both:"gpu": [0],HIP_VISIBLE_DEVICES=0,1in the config'senv,--expert-cache-device1 auto, no--layer-split: 631.2 / 772.4 tok/s, short decode 52.6, TTFT 6.52 / 21.28 s.The helper shape wins wherever the second card can help: +68% prefill at 4k, +21% at 16k, +23% short decode, -40% TTFT at 4k, -26% total time at 4k; decode at 16k is flat (38.7 against 38.6). The cause is in the engine log, not in the link: the split is held to a 3,840-token prompt chunk by the second card's 1,229-slot expert cache (
WARNING: prompt chunk 3840 tokens, not 6144 ... #448), while the helper shape keeps the 6,144-token chunk and puts 4,097 experts (6.57 GiB) on the 6600 next to a 3,983-slot (6.49 GiB) cache on the primary. Adding--remote-expert-optwas measured as well: prefill unchanged, decode down 10-27%, so it is reported but not recommended on this path.Related discussion: #4991 - the two
setup.pyguards. No scope agreement: a benchmark report goes straight to a PR.Approach: results only, as docs/COMMUNITY_BENCHMARKS.md asks for - the human report, raw per-request measurements, sanitized configuration and corpus provenance. No source changes. Four reports:
bench/results/2026-11-05-community-2x-radeon-6800xt-6600/(split, v0.2.11),bench/results/2026-11-06-community-6800xt-6600-helper-cache/(helper),bench/results/2026-11-06-community-6800xt-6600-layer-split-control/(the split again, minutes later on the same day) andbench/results/2026-11-06-community-6800xt-6600-helper-cache-remote-opt/(round 2). One paragraph indocs/SECOND_GPU.mdrecords the finding, and the control run exists because the 05.11 numbers were taken on a different page-cache state and expert arena.Validation:
strata bench run --suite standard-v1against the running server, protocolstrata-qwen38-thinking-v1-draft.1at commitc3b3f50, 22 requests each, three repetitions per case, 512-token cap, 12 of 12 sanity checks in every run, no failed or timed-out request. Truncated performance requests are the protocol's 512-token cap (reasoning plus answer), not errors. Environment: engine 0.1.57 hand build forgfx1030;gfx1032;gfx1036, terminal 0.2.11 (control 0.1.57), Windows 11 Pro 26300, driver 32.0.21045.16010, ROCm 10.2.0a20260930 (TheRock wheels), Ryzen 7 9700X, 63.2 GiB DDR5-5200, 131 072 context,--kv int8,--kv-resident 32768, F16 prompt on gfx1032. Per-request data inoutputs.jsonl, machine-readable summary inresults.json, corpus fingerprint inprovenance/.gfx1032(there is none). These numbers describe the hand-built engine, not the shipped Windows package.Hardware - Ryzen 7 9700X (8C/16T), 63.2 GiB at DDR5-5200, Windows 11 26300, AMD driver 32.0.21045.16010, ROCm 10.2.0a20260930 (TheRock wheels). Terminal 0.2.11 (control 0.1.57); engine 0.1.57 built from source with
STRATA_HIP_ARCHS=gfx1030;gfx1032;gfx1036. GPU 0 is the RX 6800 XT (16 GB, gfx1030), GPU 1 the RX 6600 (8 GB, gfx1032, x4 slot; the engine's host-to-device probe reads 28.2 GB/s). The API reports the helper card as "AMD Radeon(TM) Graphics", soresults.jsonlists device 0 under that generic name and device 1 as the RX 6800 XT; that order is not the engine's role order. The integrated GPU is disabled in Windows on purpose: with it visible the launcher takes it as the helper and the configuration collapses.Measured (three repetitions per case, 512-token cap):
--remote-expert-optLimits - Windows multi-GPU for AMD is documented as Linux-only and
setup.pyrefuses both the split and gfx1032; the engine is built from source, installed by hand and is unsigned. Building for gfx1036 also needs it added to_strata_hip_unvalidatedincmake/hip_backend.cmake. This is a report on a configuration that upstream does not support, not a claim that it is supported; the twosetup.pyguards are in #4991. Two more caveats for these numbers: all three 06.11 runs had their expert arena on 4 KB pages (VirtualAlloc error 1450) while the 05.11 run had 2 MiB pages, which is why the same-day control run exists; andstrata launchrebuilds its config from saved choices at every boot and always picks the split when two AMD cards are visible, so the helper shape is started from a saved runtime profile rather than from the launcher.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.