mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 21:05:40 +07:00
[GH-ISSUE #4136] [Benchmark] 2x RX 7900 XTX (gfx1100, Fedora): Qwen3.8-Flash-Next IQ3_S and DeepSeek-V4.1-Flash 2.00bpw at 262144 ctx #1812
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#1812
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 @hurui200320 on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4136
What this is
Reproduction status: measured locally — every number below is from my own runs on my own machine.
Community report answering the "AMD RX 7000 series on Linux" row in docs/TEST_REQUESTS.md (currently "none yet"). Two Strata models in daily production on a 2x Radeon RX 7900 XTX (gfx1100) PC: Qwen3.8-Flash-Next (ISTA-DASLab IQ3_S) since 2026-10-19 and DeepSeek-V4.1-Flash (ISTA-DASLab 2.00 bpw) since 2026-10-25, both at 262144-token context. All aggregates and the full tuning history are public in https://github.com/hurui200320/llm-ops (
notes/bench.md,notes/strata.md,notes/deepseek/v41f1017.md,notes/qwen3.8/Flash-Next.md; harness inbench/).Searched existing threads first: #3179 and #3263 (single RX 7900 XTX, Qwen only, no DeepSeek), #3383 (Windows), #3933 (R9700 + RX 7900 XTX at PCIe 3.0 x1, DeepSeek on a source build) and #4042 (2x RTX PRO 6000, all experts resident) — none covers a dual-7900-XTX Linux setup, and no
strata-dsv41build had run on gfx1100 hardware before this lane (its setup's 16-token smoke was the first kernel run). Related numbers from #3933 and #4042 are cited below for scale.Main limitations: 2 reps per level (not 3); the Qwen 4-level table was measured on engine 0.1.48 — its 0.1.50 parity is verified by spot-checks + an A/B, not a full re-run.
Hardware and software
ghcr.io/hurui200320/llm-ops-strata:0.2.5-rocm-gfx110x(digestsha256:0bf409c5…), built by GitHub Actions fromv0.2.5(Terminal commitfa663fabc5c2c568d6035b3ae853b38e1762865a) around the signed-feedstrata-engine-0.1.50-linux-x86_64-hip-rx7900package (asset sha25684698dbf…), TheRock ROCm7.10.0a20251120, plus one added file: a gfx110xstrata-dsv41built from the same tag (strata-dsv41 0.1.50 build fa663fabc, sha2563b6aa77f…), because the signed feed ships dsv41 for cuda13 and hip-rx9070 only.strata --version:strata 0.2.5 (build 0.1.50; python 3.12.15)tuning/gfx1100-hipblaslt-100200.txt(26 rows, re-tuned in 0.1.50), opt-in viaSTRATA_HIPBLASLT_TABLE=on; start log confirmsprefill gemm: hipBLASLt tuning enabled (26 rows, gfx1100, version 100200)Model and configuration
Both lanes run as containers on the shared pair behind llama-swap (keyless, loopback-published bridge port), one lane loaded at a time; all measurements went through llama-swap exactly as served.
Qwen3.8-Flash-Next IQ3_S (HIP engine
strata; 0.1.50 today, table below measured on 0.1.48):Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-0000{1,2}-of-00002.gguf(54,817,524,224 + 28,800,138,432 B; sha2564c1eb2ce…/316b46f3…),mmproj-Qwen3.8-Flash-Next-BF16.gguf(907,543,008 B,b1a82259…); vision on (GPU reader), MTP draft onkv=fp16post-setup),PARALLEL=1STRATA_SET:kv=fp16 vram-reserve-mib=1536 vram-reserve-later-mib=768 resident-budget-gib=28 prompt-cache-spread=on conversation-cache-mib=8192 conversation-cache-slots=8 pipeline-windows=2 layer-split=26 trim-stage-weights=on spec-min-p=0.7 STRATA_SCORES_THREAD=1DeepSeek-V4.1-Flash-1017, ISTA-DASLab 2.00 bpw (own gfx110x
strata-dsv410.1.50):DeepSeek-V4.1-Flash-1017-GSQ-RCO-IQ2_XXS-0000{1..4}-of-00004.gguf(138,238,893,056 B),DeepSeek-V4.1-Flash-Engram-IQ4_NL.gguf(110,595,290,816 B, NVMe-read),dspark-DeepSeek-V4.1-Flash-1017-Q8_0.gguf(7,976,914,240 B;auto: never loaded),mmproj-BF16.gguf(972,208,288 B; unused in this engine version) — sha256 of every file verified against yoursetup.pypins on 2026-10-25STRATA_SET="ssd-cache=36 reserve-mib=896", envSTRATA_DS4_HIPK=1--max-context 262144 --dspark auto --dspark-conf 0.65 --tp 2 --ssd-cache 36 --reserve-mib 896 --layer-split auto;--tp 2demoted at runtime to a layer split (the IQ2_XXS expert blocks can't split across cards), layers [0,20]/[21,39]+headFull quality(6 experts/token)--parallel/--visionignored with a warning → single request, text onlyMethod
bench/speed/run_longctx.py(in my repo), through llama-swap, against the production lane as deployed. Input levels 20/40/60/85 % of 262144 (52.4K/104.9K/157.3K/222.8K tokens), output cap 10 % of context (26,214 tokens) per rep — the shape of a harness-compaction request, worst case last. 2 reps per level; every rep a verified cold prefill (distinct War and Peace segments plus a per-request nonce;cache_n: 0on all reps — Strata ignorescache_prompt:false). pp/tg are the engine's own timings from the response (prompt_per_second/predicted_per_second); client-side latency includes llama-swap + the LAN hop, so don't compare latencies across reports. dsv41 has no/tokenize, so each level paid one unmeasured calibration prefill. The lane was the only model loaded; no other GPU load. DeepSeek raw per-rep JSON kept locally (gitignored); the per-rep numbers are reproduced below and the JSON can be attached on request.Results
DeepSeek-V4.1-Flash 2.00 bpw, 262144 ctx, engine 0.1.50 — 2026-10-25
(Rep-1 stop reasons: the model stopped early at 12.3K/24.3K/16.8K output tokens on 20/40/60 %,
length— hit the cap — everywhere else; 0 drafts offered, DSpark unloaded.) pp is flat over context: on a two-device lane every chunk re-reads its experts (the layer-major cache is single-device), compute is ~72 % of the prefill, and the CPU lane computes ~0 % of prefill experts. For scale, citing those issues — not my measurements: #3933 reports 166 t/s pp (manual split) / 31.5 t/s (auto) on an R9700+XTX pair, and #4042 reports 1,395–2,457 t/s pp with all 15,360 experts resident in 192 GB VRAM.gfx11 WMMA prompt kernels on gfx1100 (opt-in A/B)
Fixed ~51K-token deterministic prompt,
max_tokens=1, 2 cold reps, direct container:STRATA_DS4_HIPK=1Same answers modulo one word in a haiku; decode within noise (21.2/26.4/28.9 vs 22.6/24.4/28.8); through llama-swap the same prefill: 405.1 t/s. Currently opt-in on gfx1100 (
STRATA_DS4_HIPK=1) and the lane runs with it on. Recommendation: enable these kernels by default on gfx1100 — the +18.7 % pp gain is real and paid for by nothing we measured (equivalent outputs, neutral decode). Caveat: 2 reps at one prompt size; the A/B table above is the evidence.Qwen3.8-Flash-Next IQ3_S, 262144 ctx — engine 0.1.48, 2026-10-23/24 (2 reps/level)
0.1.50 parity (2026-10-25): two 60/85 % samples plus a fixed-prompt A/B (~147K: 2110.5 vs 2106.1 t/s old vs re-tuned hipBLASLt table; ~222K: 2116.1/2152.8) match 0.1.48 within noise; engine landmarks identical (fully resident, file tier 0.0). tg includes MTP speculative decoding (deployed config, accept ~0.68). Same-box llama.cpp ROCm control with expert offload: pp 424/339/299, tg 16.6/14.3/13.3 at 20/60/85 % — Strata is 3.2–5.3x here.
Tuning deltas (all measured; arms and rejects in my notes)
pipeline-windows=2(tg +26.6 % at 60 %),layer-split=26,spec-min-p=0.7(accept 0.57→0.68),STRATA_SCORES_THREAD=1,trim-stage-weights=on.PARALLEL=2is a straight loss (measured):--batchdisablespipeline-windows, two 262144-token F16 slot sessions evict ~40 % of the VRAM expert cache; one request −38 % tg/−16 % pp/+19 % TTFT; two concurrent requests aggregate less out-tok/s than one queued.prefill-chunk=16384(tg −6.6…−8.5 %),DS4_SPLIT=26,14(−18 % pp),19,21(−7 % tg, +3.4 GiB swap),20,20(+4.1 % pp at 85 %, confirmed 368.1/370.0 in 2 reps, but −7 % tg — not kept),threads=1(neutral),dspark=1(77–78 % acceptance, still −6…−11 % tg).Correctness / serving-stack checks (done)
</think>— 0 tool-call errors across the 2,801-call SWE-bench trajectories.max_tokens:-1, 640×360 vision,:nptalias on Qwen; tool call (DSML translated),reasoning_effort:"none", streaming[DONE]on DeepSeek.Not tested / limitations
strata bench runstandard protocol andtools/needle_bench.pynot run — the image carries both; can run on request.strata-dsv41build (verified in-image bytes, not the signed feed binary).Incidental observations (happy to split into separate issues)
strata-dsv41placed besidestratainside the engine package (dsv41_exe()looks in data-treeengine-dsv41/and/opt/strata/terminal/engine/only); worked around by exportingSTRATA_DSV41_EXE. Relevant if a dsv41 docker image or rx7900 feed package ships.launch --set threads=on/--set dspark=onturn into bare flags that eat the next option (--threadsate--layer-split auto→ exit "unknown option auto");=1works.--setextras also persist in the preset/state and leak into the next launch unless reset.strata-dsv41exits 2 on Qwen-styleSTRATA_SETkeys (kv=,vram-reserve-mib=, …) yet parses-and-ignoreslayer-split=— a sharper warning would have saved an hour.--layer-split(session files do not support --layer-split) — as documented; conversation-cache parking is the workaround.@hurui200320 commented on GitHub (Oct 26, 2026):
Oh, forgot to mention, I connected two 7900XTX with a seasonic 1000W PSU, which apparently it cannot handle. So I have to limit the freq to about 2500MHz, this will limit the power spike so the PSU doesn't shutdown when I do full pp. This means lower performance. So if your PSU can handle two 7900XTX with full power or even some overclock, then your pp and tg number will certainly be higher than mine.
@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.