mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #1586] Tester report (2x RTX 3090, 0.1.41, IQ3_S): --trim-stage-weights, CPU share on a layer split, batch 2 with and without --kv-resident #636
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#636
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 @adambenhassen on GitHub (Oct 8, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1586
Not a bug report: measurements from a 2-GPU layer split on 0.1.41, in case they help with defaults. Everything below passed (no stalls, no watchdog restarts, answers correct).
Setup
fb58e0db), engine built from source in a CUDA 13.0 container, sm_86--resident-experts,"layer_split": "29",--pipeline-windows 2 --adapt-async 1,--kv int8,--max-context 262144,--spec 4 --spec-min-p 0.5,--vram-reserve-mib 700,--vision, envSTRATA_ADAPT_LAG=2 STRATA_PF_FUSED=1(andSTRATA_EXCHANGE_ROTATE=1, which logs "exchange rotation unavailable" with this layout)Method
Each config: engine restarted, one tiny warm-up request, then before every measured request wait until both GPUs are at 52 C or below. Server
timingsfields.prompt_ms1. CPU share on a layer split (
STRATA_PREFILL_CPU_SHARE=auto,STRATA_PREFILL_CPU_SHARE_MAX=3072)Default-off on a layer split, so set explicitly. Decode unchanged, short prompts faster:
With resident (page-locked) experts on both stages. This may be worth enabling by default on layer splits too.
2.
--trim-stage-weightswithout--batchCPU share on in both rows:
--trim-stage-weights+3.5 % decode and 3.5 GiB less pinned RAM on a 32 GB machine. Setup does not write it (it needs an explicit split; setup writes
"layer_split": "auto").3. Batch 2 on the layer split, with and without
--kv-residentAll with trim and CPU share. The batch rows run without pipelined windows ("not with --batch slots"):
--kv-resident 32768--batch 2--batch 2 --kv-resident 32768Long context (~75K tokens):
--kv-resident 32768--batch 2 --kv-resident 32768Plain
--batch 2costs 16 % single-request decode here. Adding--kv-residentgives that VRAM back to the expert cache and brings it to 140 tok/s, so a second user no longer queues behind a long request. The remaining costs are a -29 % cold long-prompt read and ~0.8 s more per cached follow-up. An earlier--batch 4 --kv-resident 32768run only fit 7.81 GiB pinned on this RAM and was slower everywhere (116 tok/s alone). Related to #1253 (batch MTP on multi-GPU); with MTP in batch slots, batch 2 might cost nothing here.4. Smaller notes
STRATA_RESIDENT_HEADROOM_GIB=6(setup's tip for 31 GB): no change here (139.8 tok/s; the 16.40 GiB complement fits either way, same free RAM).--pipeline-windows 2 --adapt-async 1and with"layer_split": "auto"(log: "engine options it had that this one has not (setup chooses those)"). We restored our config by hand. Keeping options that the user set (or at least the pipelined-window pair) would help.Suggestions
--trim-stage-weights.--pipeline-windows/--adapt-asyncand an explicitlayer_split.UPDATE (same day): batch 2 +
--kv-resident 32768does not hold up with two long conversations at once.Section 3 only tested concurrency with short prompts, and long context with one request alone. With two long conversations decoding together:
strata batch (pipelined, 2 groups of 1): 20 group-steps, 20 rows in 33132 ms = 0.6 rows/swhile a 63.6K conversation sat in a slot; that request got 2.1 tok/sThe batch rate fell as the conversations grew: 23.8 rows/s with a ~26K conversation in a slot, 5.3 at ~60K, 0.6 at ~64K. It looks like the KV beyond the 32K window is streamed from RAM on every batch step. The single-request and short-prompt numbers in section 3 stand; the batch 2 + kv-resident conclusion only holds for short conversations. Testing larger
--kv-residentwindows (65536, 131072) and batch without it next.@Niko1221 commented on GitHub (Oct 13, 2026):
Thanks for the report. To keep the tracker current we are closing issues older than three days: 0.1.44 is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1.
If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.