mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3300] [Benchmark] 2x RTX 3080 20 GB + RTX 2000 Ada 16 GB (mixed sm_86/sm_89), IQ3_S, 3-card layer split: 0.2.0-beta #1337
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#1337
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 @Songokou1983 on GitHub (Oct 20, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3300
Reported from
tools/strata_bench.py(suite 1, 3 runs per test, medians with ranges) on anexisting
serve/server.pyinstall. Fullresults.json(per-request data) is available onrequest; it is not pasted here to keep the issue readable.
A note on this machine's shape: the three cards are 2x sm_86 (RTX 3080) + 1x sm_89
(RTX 2000 Ada), so it is a mixed-architecture layer split. The 0.2.0 sm_86 speed table does
not apply here (
generate.cpprequires every visible card to share one compute capability), andthe start-up log does not say so — separate feature request on that.
Measured on 2026-10-20 with
tools/strata_bench.py(suite 1, 3 runs per test, medians with ranges). Speeds are the engine's own timings; first-token times are measured by the client over HTTP. Speed only: no correctness check was run.Hardware and software
e88ee39d; engine 0.1.45.3Model and configuration
Method
Run by
python tools/strata_bench.pyagainst the HTTP API of a Strata server (already running); model loading is not timed. One warm-up chat and a 1K prompt are discarded first. Every prompt starts with a unique tag, so the conversation cache cannot help the fresh-prompt tests.tools/ab_engine.py, up to 100 new tokens, 3 runscached_tokens) and timings (prompt_n)Results
Ranges are the lowest and highest of the runs;
Runscounts requests that returned a token.Agent session (conversation cache)
Cache hit over the follow-up turns: 69.5 % (69.5-69.5); earlier-turn tokens read again per session: 3 (3-3) (earlier turns that the cache did not hold; the 13811 (13811-13812) new tokens of the files are read once); first turn (nothing cached) first token: 2.46 s (2.38-2.64).
Per-request data:
results.json. Engine log lines from the start:engine-log-excerpt.txt(when this run started the server).Correctness and limitations
Not measured: this is a speed suite. The conversation uses the model's own replies, so token counts differ a little between runs. Machine details come from the server,
nvidia-smi/rocm-smiand the OS; background load and power limits are not recorded. Total time of the suite: 151 s.@Songokou1983 commented on GitHub (Oct 20, 2026):
Follow-up: the nine switches work on this mixed-architecture split
I forced the sm_86 table on through the config's
envblock and measured it. Same machine as above (2x RTX 3080 20 GB sm_86 + 1x RTX 2000 Ada 16 GB sm_89,--layer-split 18,35, IQ3_S, 262144 context, 0.2.0-beta / engine 0.1.45.3), measured withtools/strata_bench.py(suite 1, 3 runs per test, medians; the ranges are in the JSON):The two B runs agree within 0.4% on chat decode, and both are above A on 6 of the 8 figures. The largest consistent gain is time to first token (-15 to -28% on chat, -10% on the agent session), then agent decode (+9 to +15%).
Switches used, exactly the sm_86 set from
src/core/nv_defaults.cpp:Two caveats, said plainly:
If a mixed-architecture split is a shape worth supporting, an opt-in to force the table (
STRATA_NV_DEFAULTS=force, or applying it per card) would save people like me from hand-copying nine variables into the config — and it would put this class of machine into your reports instead of being skipped silently.@Songokou1983 commented on GitHub (Oct 20, 2026):
Follow-up 2: on this mixed-architecture split, the cut that wins is set by the expert cache, not by the arithmetic
While measuring the nine switches above I also re-cut the layer split on the same machine (2x RTX 3080 20 GB sm_86 + 1x RTX 2000 Ada 16 GB sm_89, IQ3_S, 262144 context, the nine switches on throughout). Every row is
tools/strata_bench.pysuite 1 (3 runs, medians).--layer-split A,Bmeans stage0 = 0..A-1, stage1 = A..B-1, stage2 = B..47.What the numbers say, and why the obvious cut is wrong:
If this generalises, the guidance for a mixed-architecture split is not "equalise the per-layer time" but "give the weak card the number of layers its expert cache can hold", and the automatic split search may want to score a candidate by expert-cache coverage against stage time, rather than by free VRAM or per-layer time alone. I would be interested to know whether the maintainers see the same on hardware they have: the shape here is two fast cards plus one small, slow card, which is a common consumer layout.
@Niko1221 commented on GitHub (Oct 22, 2026):
Thanks — I'll add the mixed sm_86/sm_89 three-card split numbers to docs/COMMUNITY_BENCHMARKS.md; the separate point about the start-up log not naming the mixed-arch path stays a tracker item.
@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.
@Songokou1983 commented on GitHub (Oct 30, 2026):
Follow-up: 0.2.8 / engine 0.1.54 on the same three cards
Same machine as the original report, now on the 0.2.8 AppImage with engine/Control 0.1.54
(CUDA 13.0). Config is unchanged from the 0.2.7 run:
--max-context 262144,--kv-resident 32768,--kv int8,--spec 4,--parallel 2,--vram-reserve-mib 960,gpu [0,2,1],layer_split "19,38",STRATA_STAGE_TRIM=1.Hardware: 2× RTX 3080 20 GB (sm_86) + RTX 2000 Ada 16 GB (sm_89), 18 cores, 123 GB RAM,
Linux, CUDA 13.0. IQ3_S, Qwen3.8-Flash-Next.
Measured
--parallel 2)/v1/messages" Red", HTTP 200" Red"The 136 fewer slots look like #4474 (the automatic expert cache now leaves the requested
reserve);
--vram-reserve-mib 960is honoured andvram_freewent from 715 to 969 MiB.Prefer this over the 0.1.52 slot count.
One issue seen while loading (0.2.8)
With a 79 GB IQ3_S that takes about 3.5 minutes to load, the first
loadstill ends withat roughly 90 s. The engine keeps loading and reaches
readyon18500/18501, but the Appdoes not attach:
/v1/modelsstays empty and the instance is markederror. A secondloadthen reachesstatus: readyand/v1/modelslists the model, though the instance'serrorstring remains. It looks like the 0.2.8 “wait for a big model to load follows the modelsize” change (#3817) extends the overall
startWait, but the Control_rpc("status")pathstill has a short socket timeout and gives up while the loader holds the host.
Not a blocker for serving, but it makes a fresh start look failed and needs a second attempt.
Limits
Single machine, one quant, one run per row; the 0.2.6 prefill number is from the earlier
session, not a same-day paired run. No 262K full-context run, no long agent soak, and the
--parallel 2numbers are one pair of requests.