mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3282] [Benchmark] Community benchmark: 2x RTX 2080 Ti (sm_75), IQ3_S + IQ3_XXS at 256K, plus a measured A/B for STRATA_SM75_PERF #1330
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#1330
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 @yusheng227507 on GitHub (Oct 19, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3282
Reproduction status
Measured locally
What did you measure, or what went wrong
Two community benchmark runs on 2× RTX 2080 Ti 22 GB (sm_75) with
Strata v0.2.0-beta(commite88ee39d, engine0.1.45.3), plus a same-machine A/B measurement ofSTRATA_SM75_PERF=1on the previous release (v0.1.45, engine0.1.45).The A/B is the part that may be useful to you:
sm75_series.hppsays the Turing kernels are opt-in because "We have no sm_75 card to confirm them". This machine is an sm_75 card, and the measured gain is consistent: +5.3 % (IQ3_S) and +6.2 % (IQ3_XXS) on 16K fresh prompts, with no regression in decode.Hardware
/usr/local/cuda-12.8)--layer-split(layer_split = 26); the generated README lists the GPU model once, but the run used both cards.Results — v0.2.0-beta,
STRATA_SM75_PERF=1Median of 3 runs per test (short chat: 9 requests), temperature 0, thinking off, fresh prompts tagged so the cache cannot help. Full tables, ranges, TTFT and the agent-session cache breakdown are in the two READMEs below.
A/B:
STRATA_SM75_PERFon sm_75 (v0.1.45, engine 0.1.45)Same machine, same configs, same bench, run back to back (series off first, then on). The Turing kernel series was unchanged by 0.2.0, so this still applies.
SM75_PERFoffSM75_PERF=1Notes on the measurement:
For reference,
v0.1.45 → v0.2.0-betawith the switch on in both cases is flat within noise (16K: 1248.8 → 1264.7 and 1300.0 → 1304.4 tok/s, i.e. +0.3…+1.3 %).Settings (both models)
--kv int8 --kv-resident 32768 --spec 4 --spec-min-p 0.5 --expert-cache auto --prefill auto --vram-reserve-mib 1500 --max-context 262144,parallel = 3, MTPrt, vision reader on CPU ("gpu": false, 8 threads),STRATA_SM75_PERF=1. Nothing else tuned.Method note
The bench was run with
--urlagainst an already-running server becausetools/strata_bench.py --config …currently fails withNameError: name 'port' is not defined(#2864). Model loading is not timed either way.IQ3_S — full generated README
Community benchmark on NVIDIA GeForce RTX 2080 Ti
Measured on 2026-10-19 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.4-69.5); earlier-turn tokens read again per session: 4 (2-74) (earlier turns that the cache did not hold; the 13813 (13811-13814) new tokens of the files are read once); first turn (nothing cached) first token: 3.51 s (3.47-3.52).
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: 188 s.IQ3_XXS — full generated README
Community benchmark on NVIDIA GeForce RTX 2080 Ti
Measured on 2026-10-19 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.4 % (69.4-69.5); earlier-turn tokens read again per session: 73 (1-74) (earlier turns that the cache did not hold; the 13812 (13812-13812) new tokens of the files are read once); first turn (nothing cached) first token: 2.45 s (2.45-2.46).
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: 163 s.Update
STRATA_SM75_PERF=1text check Niko asked for is in the comment above: the text is identical with and without the switch (same set of outputs, same frequencies, on both IQ3_XXS and IQ3_S), with one caveat about the IQ pack requiring--spec.strata-qwen38-thinking-v1-draft.1, three runs, engine 0.1.46.3) are in PR #3535.@github-actions[bot] commented on GitHub (Oct 19, 2026):
Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:
Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment
/reopen.Details: CONTRIBUTING.md
@yusheng227507 commented on GitHub (Oct 19, 2026):
Follow-up: two sm_75 opt-ins measured on the same machine
After the report above I ran the sm_75 opt-in switches on the same box (2× RTX 2080 Ti 22 GB, v0.2.0-beta, engine 0.1.45.3, IQ3_S / IQ3_XXS, 262144 context, kv int8,
--spec 4, 3 slots). Each arm restarted the engine (the switches are read once), same bench, medians of 3 runs. Baseline is the configuration in the report (STRATA_SM75_PERF=1only).IQ3_XXS
STRATA_PA_V2T=1STRATA_BF16_TC=1BF16_TC=1 SELECT_SIMT=1STRATA_PF_FUSED_SM75=1BF16_TC=1 PA_V2T=1IQ3_S
STRATA_BF16_TC=1BF16_TC=1 SELECT_SIMT=1BF16_TC=1 PA_V2T=1Observations
BF16_TCreproduces the OLDER_GPUS.md Turing finding (prompt +20–34 % there): +22 % / +16 % on 16K here. Decode moves ±3 %, i.e. noise for this bench (single-request chat ranges are 55–105 tok/s; the 15-turn agent median is the steadier number).PA_V2Tis documented bitwise and behaves like it: +1–2 % on prompts, nothing else.PF_FUSED_SM75is neutral on IQ3 exactly as the source says — the Turing path inmoe_fused_iq.cusetst75for the Q2_0 layers only.SELECT_SIMTadds ~1 % on 16K overBF16_TCand no decode gain, so I left it off (fewer numerics-changing switches).Not tested here:
STRATA_GDN_CHUNKED— DETAILS.md says the chunked recurrence needs 128 SMs in one wave and measured 0.73× / 0.87× on 28 / 48 SM cards, so it does not look promising for 68-SM cards; happy to run it if you want the data point.Raw arm reports are in
bench/results/2026-10-19-tune-*locally (can open a PR with them if that is easier than an issue).@Niko1221 commented on GitHub (Oct 21, 2026):
Thank you, this is useful. The SM75 numbers (+5.3 % IQ3_S, +6.2 % IQ3_XXS on 16K prompts, decode not worse) are the first measurements on a real Turing card; we have none. We are considering making those kernels the default on sm_75. One more check would help: please run a short greedy prompt with and without
STRATA_SM75_PERF=1and tell us whether the text is identical.The
NameError: name 'port' is not definedinstrata_bench.py --configis fixed for 0.2.2, the next release (not out yet) (#2864, #3188).@yusheng227507 commented on GitHub (Oct 21, 2026):
Check: is the text identical with and without
STRATA_SM75_PERF=1?Short answer: yes - the text is the same. Where the engine is not bit-deterministic at all (see the caveat), the set of texts it produces and how often it produces each one are the same with and without the switch.
Setup: Strata
9de04cd44e927a9a3df6bbc0e94fc1be8b844ba4(v0.2.1.4, main), engine 0.1.46.3 compiled locally for sm_75, 2x RTX 2080 Ti 22 GB, 262144 context, kv int8,--spec 4, 3 slots. Greedy (temperature 0),enable_thinking: false,seed 1, and onlySTRATA_SM75_PERFdiffers between the two arms (arm A: no environment switches at all, arm B:STRATA_SM75_PERF=1only). Prompts: fact, arithmetic, Python code, JSON, a three-line list, a long document with a question, a sum, a sort.The result
SM75_PERF=1)is_palindrome)merge_sorted)is_palindrome)A first pass with eight prompts and two repeats each agreed with this: every prompt that is stable within one arm was byte-identical across the arms, and the two prompts that are not stable produced the same variants in both arms.
One caveat worth knowing (it is not about the switch)
The IQ pack cannot run without speculation: the engine refuses to start without
--spec("packs/iq3_xxsis a native (IQ) pack: it needs--native SHARD1,--spec T (T >= 2)and--prefill CHUNK"). So a "no speculation" control is not available, and greedy decoding on this pack is not bit-deterministic from run to run: on IQ3_XXS a few prompts produce 2-4 different texts across identical repeats (e.g.filtered = [...]vscleaned = ''.join(...)in the same function, or a reworded second list line).That variation appears equally with and without
STRATA_SM75_PERF=1- same variants, same frequencies - so it belongs to the engine's speculative path and not to the Turing kernels. On IQ3_S every prompt was stable across 10 repeats, both arms.If you want a stricter check than "same distribution", the next step would be the per-kernel switches under
STRATA_SM75_PERF(STRATA_SM75_IL,STRATA_SM75_EXP,STRATA_GR_UP75,STRATA_SCORES_HALVE,STRATA_TOPK_SPLIT,STRATA_ATTN_V3,STRATA_QIL, ...) one at a time, each against the same 10 repeats, to see which one (if any) is responsible for the two variants. Say the word and I will run that too.Also
+5.3 % / +6.2 %16K prompt numbers in the report above were measured with engine 0.1.45.3. On 0.1.46.3 the same box gives 1590-1593 tok/s at 16K with theSM75_PERF + BF16_TC + PA_V2Tset, and the standard-protocol run is in PR #3535 (three runs, 21/21 requests each).strata_bench.py --configworks again here on 0.1.46.3 - noNameError. Thanks for the fix note; I will keep using--urlfor the runs above because they needed a temporary environment anyway.@github-actions[bot] commented on GitHub (Oct 21, 2026):
Thanks, this follows the format now.
@Niko1221 commented on GitHub (Oct 22, 2026):
Thanks — I'll add both 256K runs and the STRATA_SM75_PERF A/B (+5.3% IQ3_S, +6.2% IQ3_XXS) to docs/COMMUNITY_BENCHMARKS.md, including the no-regression decode note.
@Jerrylee1985 commented on GitHub (Oct 24, 2026):
@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.