mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3695] [Benchmark] RX 7800 XT 16 GB (gfx1101) on Windows: 35.54 tok/s decode, 572-583 tok/s prompt read, 99.5% prompt-cache reuse - the full reference configuration #1535
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#1535
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?
Originally created by @dai8647 on GitHub (Oct 22, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3695
Area
[Benchmark]
Desktop app, Terminal or source?
Source (engine built from the release tag on Windows, HIP build, served through
the
serve/server.pywrapper).What happened
A measured reference configuration for the RX 7800 XT (gfx1101) on Windows -
a consumer RDNA3 card, which the shipped tables do not cover (the hipBLASLt
table in
tools/hip/is gfx1100, and the community reports so far aregfx1100/gfx1150/gfx1151/gfx1200/gfx1201 or Linux).
Decode 35.54 tok/s (median of five 200-token runs, min 34.87, max 35.91),
prompt read 572-583 tok/s on cold prompts of 31.6K and 78.0K tokens, and a
99.5-100% prompt-cache hit rate on the following turns, with the experts
resident in RAM.
= 53231 reused + 141 read)Two extra results that may be useful to others on this card:
STRATA_GDN_CHUNKED=1on gfx1101: +9% prompt read. The switch is opt-inupstream because the chunked recurrence rounds differently from the FP32 one.
Measured here on the same binary, the same pack and the same session, with a
fresh ~4.6K-token prompt each time: 518 tok/s without it, 566 tok/s with
it (two prompts per arm, 514/522 vs 568/565), decode unchanged.
--max-context 131072the expert cache shrinks (4,619 -> 3,985 slots,-13.7%) and the decode median was 35.60 tok/s against 34.98 for the
65,536-token context in the same session - inside the run-to-run spread.
One caveat that belongs with the numbers: the same binary measures 34.98 to
38.7 tok/s depending on the machine's pagefile state (the expert cache lands
at 3,087 slots or 4,480-4,705 slots on the same card, see issue #3692). Every
number above is quoted with the boot line it was taken with.
Smallest steps or command that reproduce it
The whole configuration is upstream flags - no patched engine is needed for the
numbers above:
The pieces that do the work on this card, in the order they matter:
--resident-budget-gib 40(the experts live in RAM, 32.5 GiB of them, and theVRAM tier holds the rest - the prompt read goes from 190 tok/s at a 4 GiB
budget to 480-580 tok/s),
--mtpwith--spec 2(the drafter pays for itselfat 72-92% acceptance),
--prefill auto(Windows HIP caps the chunk at 6,144tokens), and
--expert-profile(a ranked mix profile, so the RAM tier holdswhat the traffic actually needs).
Reproduction status
Decode: five 200-token runs in one session, 34.87-35.91 tok/s (spread 3%),
repeated across four separate sessions on two days with the same medians
(34.98, 35.17, 35.54, 35.60 - the last one with the 131,072 context). Prompt
read: two cold prompts of 31.6K and 78.0K tokens, 572 and 583 tok/s.
Strata version
0.1.44.1 (engine built from the tag, with the upstream 0.1.40-0.1.44 perf
work merged in; the 0.2.x line is engine 0.1.47 and was not used for these
numbers)
Graphics card, memory and system
RX 7800 XT 16 GB (gfx1101, RDNA3) · 96 GB RAM · Ryzen 5 5500 (AVX2, no
AVX-512) · Windows 11 24H2 · ROCm 7.x from the Windows SDK (rocm-sdk-core),
HIP build
Model, size and settings
Swift-Qwen3.8-Flash-Next-GSQ-RCO-abliterated IQ3_XXS (a derivative of the
original Flash-Next, not the original weights, so this is not a
qwen3.8-flash-next-thinkingprotocol result), packpacks/swift_mmap(experts read in place from the GGUF, no
--experts-bin), expert profiledata/expert-profile-swift-mix.bin, MTP headdata/mtp-shared/rt, 65,536-tokencontext,
--kv int8.Logs
The decode runs (5 x 200 tokens, one session):
Happy to turn this into a
bench/results/2026-10-22-community-rx7800xt-win/report with the per-run JSON, and to send a small PR for the two
serve/server.pyadditions that produced the boot line above (anambient-load line at boot, and refusing a request whose clamped answer would
be shorter than 1,024 tokens instead of returning that stub).
@dai8647 commented on GitHub (Oct 22, 2026):
Addendum: the Windows/gfx1101 measurement the doc asks for -
STRATA_HIP_WMMA=1andSTRATA_GDN_CHUNKED=1on this card.The doc says the matrix-core prompt attention is "opt-in until tested on Windows". On the RX 7800 XT (gfx1101) it works, the engine says so at the first prompt (
strata: STRATA_HIP_WMMA: the prompt attention on matrix cores on (gfx1101)), and it moves the prompt path:STRATA_HIP_WMMA=1STRATA_HIP_WMMA=1+STRATA_GDN_CHUNKED=1Same engine build, same pack, one boot per arm, a fresh prompt per probe (nothing cached). The decode is unchanged - both are prompt-path kernels - and the decode medians of the five boots drifted 37-44 tok/s on their own, which is the ambient effect in #3692.
Quality: the same three prompts through the same engine, default kernels vs matrix cores - 2 of 3 answers identical, 1 the same content in slightly different words, completion counts within one token. That matches the KL the gfx1151 table was gated on.
STRATA_MTP_SIDE_STREAM=1andSTRATA_RESIDENT_HEADROOM_GIB=2changed nothing here (595/598 and 597/596 tok/s), as expected for a gfx103x feature and a complete lend coverage.@Niko1221 commented on GitHub (Oct 29, 2026):
Thank you for measuring this and writing it up. We are building a Strata website with a page for community benchmarks, and results like these will be added there when it launches, so we are closing this here. If your numbers change with a new version, you are welcome to post them again.
@dai8647 commented on GitHub (Oct 30, 2026):
Numbers changed with the new version, so re-posting as invited. Same card (RX 7800 XT 16 GB, gfx1101, driver 32.0.32015.7029), same model (Swift-Qwen3.8-Flash-Next GSQ IQ3_XXS, 2-shard GGUF), same
serve/server.py+ config, same in-place bench script; the two engines swapped live on one port the same day.A/B: the official 0.2.8 engine package vs my win-hip branch build
strata-engine-0.1.54HIP rdna3 (from the 0.2.8 package, bundled ROCm 10.2.0a20260930)win-hip-0131, engine 0.1.44.1 + local Windows/HIP fixes)so the official rdna3 build decodes ~1.5x slower than my branch build with the identical config on identical hardware; prefill is parity. My earlier 46.60 decode from this thread was an interleaved-ABBA boot-to-boot measurement, not directly comparable with this in-place harness. Question: is anything in the shipped rdna3 package expected to behave differently here (MTP draft path,
--spec 2, resident budget), or is my branch carrying decode work upstream does not have yet? Happy to bisect against a specific build.Two Windows/HIP build findings on the way
hipKernelNameRefByPtr(verify.cpp node listing, andmtp_list_nodesin mtp.cpp since 0.1.44) does not link on Windows: the amdhip64 import library does not export it. We resolve it at runtime instead:STRATA_GDN_CHUNKEDlooks dead on HIP builds: its only production reader insrc/prefill/kernels.cusits inside#if !defined(__HIPCC__)(thechunkedopt-in near the gdn_recurrence selection); HIP builds only see theatoi >= 2SM-skip arms. So on WindowsSTRATA_GDN_CHUNKED=1is a silent no-op (the string does not even survive into the linked exe) - worth gating the docs or portinggdn_rec_chunkedto the HIP side, sincegdn_rec_parity.cualready keeps bit-parity for it.