mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2938] Community benchmark: RX 7900 XTX 24 GB (gfx1100), Ryzen 9 9950X, 96 GB DDR5-6400 — 0.1.45 HIP source build, IQ3_S, 262K #1184
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#1184
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 @destroyor on GitHub (Oct 17, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2938
Community benchmark on AMD Radeon RX 7900 XTX (gfx1100)
Measured on 2026-10-18 on EndeavourOS (Arch), Linux kernel 7.2.10, ROCm 7.2.4, with a
HIP source build of Strata 0.1.45 and a custom abliterated IQ3_S pack. Single card, one
request at a time.
Hardware and software
gfx1100), 23.98 GiB VRAM;PCIe 4.0 x16 (
LnkSta: Speed 16GT/s, Width x16). A Radeon 610M iGPU is also presentand unused.
MemTotal91.7 GiB.7.2.10-arch1-1.hipcc7.2.53211), GCC 16.2.1.477ac13c; HIP source build (STRATA_ENABLE_HIP=ON,STRATA_ENABLE_CUDA=OFF,CMAKE_HIP_ARCHITECTURES=gfx1100,Release).Model and configuration
...-IQ3_S-00001-of-00002.gguf: 55,063,448,064 bytes...-IQ3_S-00002-of-00002.gguf: 28,800,138,432 bytesmmproj-Qwen3.8-Flash-Next-BF16.gguf, 907,542,944 bytes,--visionwith theencoder on the CPU.
data/expert-profile.bin(24,576 ranked pairs).--kv k8v4,--kv-resident 32768.--expert-cache 7700→ 9,048 slots, 17.16 GiB VRAM.--vram-reserve-mib 700.--prefill auto:32768.--conversation-cache-mib 16384,--conversation-cache-slots 8,--conversation-cache-min-tokens 32768.--mtp ... --spec 4 --spec-min-p 0.5.--pcie-frac 0,--adapt-every 0,--pool-workers 15,--prompt-cache 16 --prompt-cache-every 16384.Method
every run is a cold prompt (
0 reused). Output cap 256 tokens (98K, 260K) or 512(short);
temperature: 0.prompt 97961 tokens = 0 reused + 97961 read in 54136 ms (1809.5 tok/s), 256 generated in 3253 ms (78.7 tok/s).single run (about 2.5 minutes of prefill each).
duration in the table is the closest available proxy (the first token follows prefill
immediately).
/sys/class/drm/card1/device/mem_info_vram_usedduring the260K run.
Results
Raw engine lines:
Memory. VRAM peak 24,545 of 25,753 MiB during the 260K request (as low as 14–18 MiB
free, no failure). RAM: expert arena 46.84 GiB; about 72 GiB used of 91.7 GiB while a
conversation was parked. No OOM, no paging, no stalled window; the engine logged its
"below 512 MiB" warning twice, which is a cross-platform guard (see below).
Correctness and limitations
report. Speed only.
length, no multi-GPU, no
--batch.--pcie-fraccosts decode here. With--pcie-frac 0.5(about 11% of experts readover PCIe and computed on the GPU) decode measured 48.6 tok/s against 78.3 at
--pcie-frac 0, i.e. -38%, on the same prompt. PCIe 4.0 x16 is roughly 25 GB/s againstthe card's 960 GB/s of VRAM bandwidth, so sending the missed experts to the GPU instead
of computing them on the CPU is the slower path on this box.
--vram-reserve-mib 700is tight. Free VRAM was 368 MiB at request start for 98K and236 MiB for 260K. On this Linux/AMD box that produced no slowdown; issue #2065 (NVIDIA
WDDM paging GPU memory to system RAM, decode collapsing to a few tok/s) did not
reproduce even with 14 MiB free. A larger reserve is safer on other platforms.
--batch 2gave no throughput gain here. Two concurrent 1.5K-token requests decodedin 12.8 s serial vs 12.8 s batched (512 windows at 25.05 ms each,
avg 1.99 rows):strictly linear, compute-bound. Two 98K prompts were prefill-serialized.
the fixed per-request overhead dominates at that size.
Correction
An earlier revision of this report said the card runs at PCIe x8. That was wrong: it
came from reading
current_link_widthover every PCI device with an AMD vendor ID, whichalso matched an upstream PCIe bridge (
01:00.0, class0x060400, x8) and the iGPU. TheGPU's own link is
Speed 16GT/s, Width x16. The--pcie-fracnote above was rewrittenaccordingly.
@destroyor commented on GitHub (Oct 18, 2026):
Follow-up: same box on ROCm 10.2 nightly — and a hipBLASLt tuning-table trap worth knowing
Re-ran the ~98K point after replacing ROCm 7.2.4 with ROCm 10.2.0a20261016 nightly
(TheRock
therock-dist-linux-gfx110X-alltarball, AURrocm-nightly-gfx110x-bin, unpackedto
/opt/rocm, classic flat layout). Everything else is identical to the report above: samemachine, same pack, same Strata
0.1.45 / 477ac13crebuilt clean (rm -rf build-hip) againstthe new toolchain, same engine environment apart from the tuning file.
hipconfig7.16.26385), hipBLASLt 1.5.0 (100500),clang 24;
lddof the binary: 0 missing libraries.--vram-reserve-mib 1024(was 700; see the VRAM note below),--pcie-frac 0unchanged.STRATA_PREFILL_MMQ=1,STRATA_PREFILL_RING=96,STRATA_IO_THREADS=32,STRATA_HIPBLASLT_TUNING=<retuned table>.The trap: the shipped
gfx1100-hipblaslt-100500.txtsilently halves prefill on a different nightlyWith the table from this repo (
tools/hip/gfx1100-hipblaslt-100500.txt, 32 rows, headergfx1100 100500) the engine logged a healthyand prefill collapsed to about half speed:
Unsetting
STRATA_HIPBLASLT_TUNING(native hipBLASEx path, client-timed) measured948.7 tok/s — i.e. the table was not even helping: enabled ≈ disabled.
docs/AMD_HIP.md("Tuning table") does warn that another 1.5.0 build can number the solutions differently, and
that is exactly what happened. Re-running
tune_hipblaslton this build produced differentsolution IDs for the same keys:
All of those IDs exist on this card, so
getAlgosFromIndex/matmulIsAlgoSupportedacceptthem and every GEMM silently picks a slower kernel. The version int is the only gate.
After re-tuning, prefill is back:
Prefill: −0.6%, statistically identical. The apparent decode gap (−7%) on this synthetic
prompt is draft-acceptance and expert-hit noise, not the runtime: on gibberish prompts the
acceptance moved 73% → 64% and the decode expert-cache hit moved 75% → 50% between the two
runs, and on this engine both dominate the tok/s figure (see the per-token note below).
Decode across real workloads: no measurable change
48 real agent turns (30K–110K context) accumulated on each runtime. Engine per-token cost
(
generated ms / tokens): 13.04 ms on 7.2.4 (n=73) vs 13.07 ms on 10.2 nightly(n=31) — within 0.2%. Observed session decode still spans 69–95 tok/s on 10.2 exactly as it
did on 7.2.4, tracking draft acceptance (58–91%) rather than anything runtime-related.
VRAM: the 10.2 runtime reserves ~1.3 GiB less, so the same config caches more experts
At the identical
--vram-reserve-mib 1024:Net +517 experts and +316 MiB headroom, because the 10.2 runtime itself maps about
1.28 GiB less; the arena sizes itself to whatever the runtime leaves. Related observation
(already visible in the report above, now confirmed):
--expert-cachedoes not bound thearena here —
--expert-cache 7700gave 9,048 slots and--expert-cache 7200still gave9,048; the slot count follows free VRAM.
Notes for upstream
load, no
using hipBLASExline appears, and prefill runs at ~52% of native. Options:stamp the TheRock build date (or a hipBLASLt enumeration hash) into the table header and
gate on it, verify each row against the runtime enumeration and measure one representative
GEMM at load, or at minimum log the resolved kernel names so a mismatch is visible.
100500, thirteen days apart, and most rows changed.--pcie-frac 0.5−38% decode finding (all runs here used
--pcie-frac 0).@Niko1221 commented on GitHub (Oct 19, 2026):
Thanks for taking the time to report this.
We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.