mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4962] [Benchmark] Tesla T4 (sm_75): kIlRows_75 gives +12% on a T4; MMVQ_IL_TABLE.md says sm_75 is off #2284
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#2284
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 @mstrent on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4962
Hardware / software (measured locally): Tesla T4 16 GB (sm_75, 40 SMs, 70 W cap), Ryzen 7 PRO 4750G (no AVX-512), 64 GB RAM, Ubuntu 26.04, driver 615.71.09. Strata 0.2.9 (engine 0.1.55), Qwen3.8-Flash-Next IQ3_S, 256K context, MTP
--spec 4,STRATA_BF16_TC=1 STRATA_SELECT_SIMT=1.1.
docs/MMVQ_IL_TABLE.mdis stale for sm_75. It says "sm_75 and older: the path is off". In v0.2.9,kIlRows_75(measured on an RTX 2080 Ti) is inkIlArch. All five type rows are in the shipped 0.1.55 engine binary, andnative_mmvq_il_rows_for(75, ...)returns them.2. It works on a T4. Fixed work: 4 prompts x 500 tokens, temperature 0, fresh engine per run, 2 runs per arm, tokens / wall time.
kIlRows_75)STRATA_MMVQ_IL=0STRATA_MMVQ_IL_ROWSAdding the T4-emitted one-column cells to the default table: 33.34 -> 33.62 tok/s (+0.8%, 3 pairs, within noise).
3.
mmvq_il_parity --bench --emit-tablemisled on this card. Parity was OK, but in the default cold arm theilvariants tiedmultion the T4 (IQ4_XS 6144x2560, T=2: 65.3 us multi vs 69.8 us rows2). The emitted table came out almost all zeros. End to end, the shipped table is +12% over path-off, and the emitted one is as slow as path-off.Suggestions: update the doc row (sm_75:
kIlRows_75, measured on an RTX 2080 Ti, checked end to end on a Tesla T4). Also advise A/B-ing an emitted table end to end (fixed prompts, interleaved) before submitting it.Limits: one machine, two runs per arm. Engine logs available if useful.
@Adamyno commented on GitHub (Nov 2, 2026):
On 2× 2080 Ti (the card the table was measured on) the
kIlRows_75default is 1.2% slower on prefill and 1.3–4.7% slower on decode thanSTRATA_MMVQ_IL=0— the opposite sign to the T4Your T4 numbers are +12% for the default. I ran the same switch on sm_75 desktop silicon (2080 Ti, engine 0.1.55 / v0.2.9, source build for
CMAKE_CUDA_ARCHITECTURES=75) and get the reverse: turning the path off is faster here.Hardware: 2 of 3× RTX 2080 Ti 22 GB (sm_75), layer split 24 (CUDA0 0-23, CUDA1 24-47), i9-7980XE, 125 GiB DDR4-3600, Linux 7.0.0-38, CUDA 13.0, driver 580.178.04.
Build/config: v0.2.9 (
c62d5e3a, engine 0.1.55), source, sm_75. Qwen3.8-Flash-Next GSQ-RCO IQ3_S,--max-context 524288 --rope-scaling linear --rope-scale 2.0 --kv int8 --kv-resident 65536 --spec 3 --spec-min-p 0.54 --mtp mtp/rt --mtp-max-t 3 --batch 2,STRATA_NO_LARGEPAGES=1 STRATA_BF16_TC=1.Method: one fixed 3K-token prompt (unique nonce) + three chat prompts × 256 new tokens, temp 0,
enable_thinking=false, fresh engine per arm, alternating order, 2 rounds, medians below.kIlRows_75)STRATA_MMVQ_IL=0So:
MMVQ_IL=0wins on all four, by 1.2% on the prompt path and 1.3–4.7% on decode. The decode pairs are of mixed quality (chat0 is +8.4% then +0.6%), but chat2's +5.1%/+4.3% is consistent, and all eight pairs are positive.What I think this means, and what I would not conclude:
kIlRows_75is wrong on sm_75 in general — your T4 datapoint contradicts that and I trust both measurements. It is evidence that the table is pack-dependent: ours is IQ3_S with 2 shards, yours IQ3_S with 256K context and a different expert layout (T4 16 GB holds far fewer experts, so far more of the routed mass comes through the CPU lane, which is the path the IL rows change).What would settle it is one arm pair on a card that holds most of its experts (yours qualifies at 16 GB with IQ3_S? — probably not: IQ3_S is 78 GB, so no). If the mechanism is "the IL rows help when the CPU lane carries a large share", then a 24 GB card with a small pack should behave like the T4 and a 22 GB card with a big pack like ours, and the switch should be documented as share-dependent rather than card-dependent.
Happy to run the pair again with more rounds if you want a tighter number on the 2080 Ti side; what I have is 2 rounds × 4 prompts and it is enough for the sign on decode, not for the magnitude.
Reproduction status: measured locally on sm_75 desktop (2080 Ti pair), engine 0.1.55.
@Niko1221 commented on GitHub (Nov 5, 2026):
Thank you for the benchmark. We have collected these results for the benchmarks page on the Strata website, so we are closing this here. If you measure again, for example on 0.2.11, you are welcome to open a new report.
The Strata project