mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2124] Community Benchmark: Multi-GPU Nvidia, Q3-XXS, Q3-S, Q4-XS comparison #847
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#847
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 @tonydiep on GitHub (Oct 12, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2124
2026-10-12: 4x NVIDIA (RTX 5060 Ti + 2x RTX 3090 + RTX 3060), Xeon W-1350, 123 GiB RAM — three quants of Qwen3.8-Flash-Next on one box
Summary: across IQ3_XXS → IQ3_S → UD-IQ4_XS, decode barely moves (111 / 103 / 91 tok/s) while prompt processing
collapses (3,228 / 1,946 / 1,270 tok/s at 32K, TTFT 9.96 → 16.50 → 25.28 s). The ordering tracks how many experts the
engine could make resident — 98% / 86% / 81%, 24,387 / 21,537 / 20,132 of 24,576 profiled pairs — not the quant name,
and it is super-linear: 12 points of residency costs 40% of prefill, 17 points costs 61%. On a multi-GPU box where
three of four links probe 3.1 GB/s, the quant choice is a prefill decision. I kept IQ3_XXS.
Speed only: no correctness suite was run on any arm.
Machine (identical for all three arms)
3.1 GB/s (an Oculink/x4 riser and a x4-shaped slot). The engine logs
pcie_frac 0.09for those three and pricesan expert miss at x6.35.
7695859a, engine 0.1.43.Method
./bench.sh --config <arm> --url http://127.0.0.1:8090 --long— three runs per test, medians with ranges, loading nottimed, one warm-up chat and 1K prompt discarded, every fresh prompt carries a unique tag so the conversation cache
cannot help it. Each arm was run twice, 3–5 minutes apart; the tables below are run 2. Before each pair I asserted
/healthreportsloaded: trueand/v1/modelsreturns the config'smodel_name. One parallel slot, thinking off,temperature 0,
STRATA_PF_FUSED=1, vision encoder resident on the 5060 Ti (no image was sent).Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXSQwen3.8-Flash-Next-GSQ-RCO-IQ3_Sunsloth/Qwen3.8-Flash-Next-GGUFUD-IQ4_XS, rev38bb39e, 3 shards, all SHA-256 verified--resident-budget-gib 55All three share
--expert-cache auto --prefill auto --layer-split auto --spec 4 --mtp rt --max-context 262144 --kv q4_0 --vision --vram-reserve-mib 700 --spec-min-p 0.5. Arm C's pack was built withtools/iq_pack.py --compat-bf16(1,079 tensors, 303 served natively, 460 conversions — 264 exact, 196 rounded, max |err| 0.0144;
native_experts.txtv4 with the per-role shard column).
tools/test_iq_pack.py24/24 OK. Each arm ran atlayer_split auto's ownoptimum — that is the comparison being made.
Results (medians; range over 3 runs; 9 requests for the chat arm)
Reproducibility, run 1 vs run 2 (32K prompt tok/s): A 3,227.8 / 3,227.8 · B 1,947.9 / 1,946.0 · C 1,268.3 / 1,269.5.
Prefill is reproducible to 0.1–0.3% (arm A also: 4K 1,295.3 / 1,295.9, 16K 2,686.5 / 2,689.9); decode wanders ±8% run
to run on this box, which is why the decode column is read as a band, not a ranking. One run to discard: arm A's run 1
chat TTFT reads 64.96 s (range 0.30–83.83) because another client was queued on the server in front of that test — the
prompt-path numbers from that run are unaffected and are included above, its chat latency is not.
What the engine logged (this is where the story is)
autochosethe caches hold N of 24576 profiled pairslayer split: NN% of the experts residentprompt chunk autoDecode came out within ±8% of itself across three arms whose expert arenas differ by 39% — 9.0 / 9.7 / 11.0 ms
per token — while every other row in this table moved. All three arms held 98–100% decode cache hit, and arm C logged
0 blob reads from the filewhile generating.The finding
Decode is flat across a 39% swing in expert bytes. Prefill is not, and it follows residency, not the quant label.
expert set stops fitting in VRAM on cards whose links probe 3.1 GB/s, each further point of spill costs roughly three
times the one before it.
path streams every expert once per chunk — that is the only path that pays.
In practical terms for a 76 GiB four-card box: a 100k-token agent turn with a 1k answer costs ~40 s (A) → ~65 s (B)
→ ~80 s (C). I use agent clients that resend a 90–130k conversation every turn, so I kept IQ3_XXS even though the
other two are "better" quants.
For maintainers
docs/UNSLOTH_Q4.mdsays the pack is not measured on NVIDIA yet. These are those numbers: it loads, it isstable, decode is good, prefill is 2.5x off the same box's IQ3_XXS arm.
Not measured
Correctness (speed suite only; no needle probes on any arm), prompts past 32K,
--clientsconcurrency (one slot),images (encoder resident, none sent), sampled decoding, llama.cpp on the same files, storage model, CPU temperature.
Arm C carries
--compat-bf16rounding, so its quality is the pack's, not the GGUF's. Arm B's pack holds its ownexperts.bincopy (46.8 GiB); arm A reads experts in place out of the GGUF — same NVMe, same page-cache path.Per-arm reports (same hardware section, full per-request tables) are available as
bench/results/folders in the2026-10-12-community-4x-rtx-5060-ti-qwen3-8-flash-next-{iq3-xxs,iq3-s,ud-iq4-xs}{,-2}/shapebench.shwrites, withthe engine log excerpts the tool could not capture because every run used
--url.@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.