mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #1428] --layer-split auto on a P40 + RTX 3070 (3070 first) flips from K=43 to K=47 with --kv int8 or --vram-reserve-mib 600, and prefill drops from 458 to 111-113 tok/s (0.1.40.2) #578
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#578
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 @paulhothersall on GitHub (Oct 7, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1428
On v0.1.40.2,
autowith the 3070 first picks K=43 with the default flags (4K prefill 458 tok/s) and K=47 with either--kv int8or--vram-reserve-mib 600added (prefill 113 and 111 tok/s), one launch each; the cost model predicts 63.1 ms per decode window for K=43 and 61.9 / 62.8 ms for K=47, so it moves layers onto the P40 for about 1-2% of predicted decode while the prompt path gets about 4x slower. The same flip showed on 0.1.39 and 0.1.40 (0.1.39 also with--kv-resident 32768). These flags are in the community benchmark recipe.Setup: P40 24 GB (cc 6.1) + RTX 3070 8 GB (cc 8.6), PCIe 3.0 x8 each, 64 GB RAM, IQ3_XXS, ctx 36,864, v0.1.40.2 built from the tag (archs 61, 75, 86), 4K prompt, 3 runs, prefill = prompt tokens / TTFT.
--kv int8--vram-reserve-mib 600Measured decode is about the same in all rows (28-34 tok/s). For reference on this pair: a forced K=34 with
STRATA_STAGE_TRIM=1gives 446 / 799 prefill (4K / 32K).Questions: 1. Should the search price prompt reading, or need a margin before it moves layers onto the smaller card? 2. Is K=47 meant to be reachable here, with the P40 keeping one layer? Not tested: other card pairs, forced splits near K=43-47 on 0.1.40.2, the
--kv-residentflag on 0.1.40.2.@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.