mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4345] [Benchmark] RTX 4090 Laptop 16 GB (sm_89), Strata 0.2.7 / engine 0.1.52: STRATA_ROUTE_PRIOR on a 16 GB card - speed and KL, up to 255K tokens #1920
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#1920
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 @blue0orbit on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4345
Reproduction status: Measured locally
What was measured
Whether the 0.2.7 residency-biased routing (
STRATA_ROUTE_PRIOR, on by itself only for cards of 13 GiB or less) pays on a 16 GB card, and what it costs in quality. Also 0.1.50 vs 0.1.52 at the same settings (the release notes ask for RTX 40 data).Hardware: RTX 4090 Laptop GPU 16 GB (sm_89, PCIe 4.0 x16, driver 616.56, WDDM; desktop on the iGPU, 0 MiB used before load), i9-13900HX (8P+16E, no AVX-512), 64 GB DDR5 (48 GB + 16 GB, running at 4800 MT/s), NVMe, Windows 11 build 26300, Legion Performance mode, on AC.
Software: source checkout at v0.2.6 + the prebuilt Windows CUDA 13 engines 0.1.50 and 0.1.52 (v0.2.7 release, checksums verified). ISTA-DASLab Qwen3.8-Flash-Next IQ2_XS and IQ3_XXS; SC117 abliterated IQ3_S (RAM budget 28 GiB). Setup's configs:
--max-context 262144(IQ3_S 131072),--kv int8 --kv-resident 32768,--spec 4 --spec-min-p 0.5, MTP with theendraft vocabulary,--vram-reserve-mib 1280, 15 pool workers, text only (no--vision) unless noted. Windows large pages were refused (error 1314) in every run.Speed method: one server per arm, started fresh, port 8080. Fresh word-list prompts made from
docs/*.md(unique prefix, no cache reuse),temperature 0, thinking off, 512 new tokens; numbers are the engine's owngenerated in ... (tok/s)line. Each arm = one run of 2K, 2K, 32K, 128K (IQ3_S: 120K). Not interleaved pairs. Identical arms repeated later differed by up to ~18% at 2K and ~7% at 128K, so read single differences below ~10% as noise.Quality method:
tools/quant_quality.py run(teacher-forced, data/quant_quality/v1, 4,995 positions) with--env STRATA_ROUTE_PRIOR=Xand--gpu-expertsset to the cache size the real server gets (IQ2_XS 6100, IQ3_XXS 4700). Reference: IQ3_XXS with the prior off and--gpu-experts 1500(no Q8_0 on this PC). So the KL below includes the GPU/CPU rounding difference, and the reference is a quant, not Q8_0.Decode tok/s (2K / 2K / 32K / 128K)
--vision(GPU encoder)Prompt reading was the same with and without the prior (~2,400-2,750 tok/s at 128K; IQ3_S with the RAM budget ~1,050-1,340, all in RAM 2,417).
At ~255K tokens (one 255,150-token prompt, 512 new tokens, then a 128-token follow-up on the same chat):
Tried and no consistent gain here: 23 or 7 (+
--pool-affinity p-cores) pool workers,--kv-resident 16384. Raising the engine to high priority / no EcoQoS failed (OpenProcess access denied) so it was not tested.Quality (teacher-forced, vs IQ3_XXS prior off)
IQ2_XS prior 0.5 against IQ2_XS prior off directly: top-1 91.15%, KL 0.074.
Reading
Limits
One PC, single runs per arm (not interleaved pairs), temperature 0 summaries of docs text; no agent task suite or needle test for the prior; KL reference is IQ3_XXS, not Q8_0; RAM is a mixed 48+16 GB pair at 4800 MT/s.
Raw data (per-request JSON from the benchmark, the quant_quality compare output and per-run engine arguments, the run plan, sanitized configs and nvidia-smi/RAM diagnostics) is kept and can be shared on request.
@udqe commented on GitHub (Oct 28, 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.