mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3978] [Benchmark] Strata 0.2.4.2 (engine 0.1.49.2) / 2× RTX 5060 Ti 16 GB / 47.9 GiB RAM / Windows 11 IQ3-S— hand-picked args +43.5% decode, built-in auto-tune -19.7%, --prefill auto 5-10% slower #1710
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#1710
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 @lcdxe on GitHub (Oct 24, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3978
Date: 2026-10-24, 19:55–22:03 (Asia/Shanghai) · Model
swift-1.5-iq3_s(IQ3_S) · Tooltools/strata_bench.py, community suite 1, 3 runs per test, medians.TL;DR
--adapt-every 1 --adapt-swaps 160 --adapt-decay 0.97; chat decode 56.3 → 45.2 (−19.7 %), 16K prompt 1269.9 → 950.0 (−25.2 %), suite 187 → 216 s (+15.5 %), acceptance unchanged (60.9 %).--prefill autois 5–10 % slower than a pinned--prefill 8192— clean single factor, all eight other arguments identical (T5 vs T6). On a RAM-limited box, pin it.1. Machine and software
From
machinein eachresults.json:swift-1.5-iq3_s/ IQ3_S, MoE with MTP draftingEngine-reported internals for the adopted configuration (T5,
machine.engine_info):expert_slots=11412(22141 MiB), primary GPUexpert_slots_primary=6345(11698 MiB),vram_free_mib=654,prefill_cap=8192,prefill_stages=2,pcie_frac=0.40,pool_workers=5,spec_min_p=0.50,arena_mib=33207,kv=int8,kv_resident=20480,spec=5,mtp_max=3,lookup=3.2. Method
machine.launch, reproduced in §3).strata.exeprocess,--vram-reserve-mibfixed in every recorded config, one variable per run, adopt only at ≥3 % median difference (observed noise band ≈ ±1–6 %).3. The five states
Path arguments (
--pack,--native,--ple-gguf,--expert-profile,--mtp) are the install's own and identical in all five; they are omitted below. Times are the local start time of each run.--expert-cache auto --prefill auto --spec 4 --max-context 204800 --kv int8 --resident-experts --vision --spec-min-p 0.5--adapt-every 1 --adapt-swaps 160 --adapt-decay 0.97(this is all the built-in calibration changed)--prefill 8192 --spec 3 --kv-resident 20480 --trim-stage-weights --adapt-async 1 --host-core last --vram-reserve-mib 1000 --spec-min-p 0.5+ the three adapt flags--prefill auto— single-factor pair with T5Full launch lines:
data/launch-commands.txt. Config snapshots:data/configs/(absolute paths replaced with<STRATA_ROOT>).4. Results
All numbers are the tool's published medians; ranges are the tool's min–max over the 3 runs.
prefill autoresults.json)Raw per-run data:
data/results-T1.json…data/results-T6.json. The tool's own per-run report for each state is indata/bench-README-T1.md…T6, including the per-turn agent table.5. What the numbers say
--prefill,--spec,--kv-resident,--trim-stage-weights,--adapt-async,--host-core,--vram-reserve-mib, plus the trio), so the total is real and the per-parameter share is not isolated.--adapt-every 1 --adapt-swaps 160keeps moving experts over PCIe while you are generating.--prefillmust be pinned when RAM is the scarce resource (single factor). T5 vs T6, eight other arguments byte-identical: chat decode −9.8 %, 4K −5.2 %, 16K −9.4 %, agent decode −10.3 %, suite +7.5 %, acceptance 71.4 → 69.1 %.autochose a smaller chunk by itself (prefill plan: chunk 8192 -> 6656, ring 96 -> 96); with ~1.2 GiB of pinned KV and an expert-cache complement of 25–32 GiB in RAM, letting the engine resize the batch adds variance and costs speed.6. VRAM and RAM evidence (why the defaults are slow)
Engine log lines, quoted as printed:
expert cache auto: 9.66 GiB free, 700 MiB reserved (+0 MiB for the draft head) -> 3618 slots, and repeatedlyonly 348 MiB of VRAM free at the start of this request (below 1024 MiB) … Add --vram-reserve-mib 1408with the engine's own note that under WDDM a full card pages instead of failing (#2065 / #2192).expert cache auto: 12.40 GiB free, 1000 MiB reserved … -> 4608 slots,layer split: CUDA1 runs layers 25-47, expert cache 5067 slots (10.20 GiB),KV streaming: 20480 of 204800 cells per QSA layer in VRAM, the K/V in 1.21 GiB of pinned RAM.FileExpertSource: page-locking refused (out of memory); locked 33207 MiB via working-set minimum + VirtualLock. Resident expert complement: 34.05–37.58 GiB on the defaults vs 25.22 GiB (T4) / 32.43 GiB (T6) with the bundle.700 MiBis the engine's own default reserve: a config that does not mention--vram-reserve-mibstill logs700 MiB reserved. Writing1000is the paid version: −121 CUDA0 slots / −148 CUDA1 slots versus the default, taken deliberately to stop WDDM paging.7. One usability finding worth an issue
A typo in the value —
--prefill aoto— is not caught early. The engine loads everything (session is up (engine 0.1.49.2), 25.22 GiB resident, CUDA1 still reporting12.09 GiB free), and only then does the server exit with:Observed five times in a row (20:31:59, 20:32:12, 20:34:30, 20:34:54, 20:35:27); the operator read it as an out-of-memory failure. Suggested fix: validate
--prefill(and--spec) before loading weights, acceptauto,auto:N, and non-negative integers, and print the accepted value; the engine's own advice string in the same log is--prefill auto:8192.8. Reproduce
Output per run:
bench\results\<date>-community-2x-rtx-5060-ti-swift-1-5-iq3-s[-N]\withresults.json,README.md,engine-log-excerpt.txt.The tuning path used for T2 (the built-in calibration) is
START-HERE.bat --calibrate --model IQ3_S --no-start; the toggle scanner isbin\strata.cmd tune auto <config> --mode thorough --no-save. Both were run through a forwarder that backs up the config and the shared record first and contains no tuning logic of its own.9. Limitations — read these before quoting numbers
engine-params.md, so parameter semantics here come from--helpanddocs/BATCHING.mdof the 0.2.1.3 release.10. Files in this folder
README.mddata/results-T1.json…results-T6.jsonstrata_bench.pydata/bench-README-T1.md…T6.mddata/launch-commands.txtstrata.exe …linesdata/configs/T1.json,T2.json,T4.json,T5.json<STRATA_ROOT>data/configs/T6-from-launch-echo.txtbench-report-2026-10-24.zip
@dandandelion commented on GitHub (Oct 24, 2026):
--prefill 8192might be a red herring here. Tested it on my box and it decodes the same and prefills the same.--spec 3might be what boosted your performance at T4@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.