mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
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#510
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 6, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1238
On v0.1.40,
--layer-split autowithSTRATA_STAGE_TRIM=1and the P40 first still picks K=2 and prefills at 107 / 112 tok/s (4K / 32K), in two launches; @gopinath87607's572b607(the footprint fix posted in #880) picks K=16 and gives 343 / 654. Limit: one rig, IQ3_XXS, three runs per cell;572b607was built on the #880 branch (ce1e63f), not cherry-picked onto the 0.1.40 release.Setup: P40 24 GB + RTX 3070 8 GB, 64 GB RAM, IQ3_XXS, ctx 36,864,
--layer-split auto, same-day runs. Prefill = prompt tokens / TTFT (runs 2-3). Decode is not compared (31-45 tok/s inside one launch).572b607572b607572b607My reading: the 2 MiB-granule pricing in
572b607closes the gap, as its commit message says. Trim-off and 3070-first match 0.1.40, so the fix changes only the arm that was wrong.Ask: could
572b607go into the next release, or is there a reason it stays out?Not tested: other quants or cards, a single-card case, and 0.1.40 with the commit cherry-picked.
@Niko1221 commented on GitHub (Oct 7, 2026):
Thanks for the table. 0.1.40.2 prices a later stage's weights per candidate range when --layer-split auto is used with STRATA_STAGE_TRIM=1: the trimmed arena plus the projections with cudaMalloc's 2 MiB granules, ported from
572b607onto the current loader (credit to gopinath87607). Runs without the trim are unchanged. We have no unequal pair here, so please rerun your P40 + 3070 case on 0.1.40.2 and say what K it picks.@paulhothersall commented on GitHub (Oct 7, 2026):
On 0.1.40.2,
--layer-split autowithSTRATA_STAGE_TRIM=1and the P40 first now picks K=16 (not 2) and prefills at 342 / 654 tok/s (4K / 32K), one launch; the engine log shows the priced stage at 2363 MiB against 2366 MiB taken. Same rig and setup as the table above (P40 24 GB + RTX 3070 8 GB, IQ3_XXS, ctx 36,864, built from the v0.1.40.2 tag with archs 61, 75, 86; prefill = prompt tokens / TTFT, runs 2-3).--layer-split 34, trim 1, 3070 first (for #875)The trim-off and 3070-first arms match 0.1.40. For #875: with the 3070 first,
autopicks K=43 and reads a 32K prompt at 616 tok/s; a forced K=34 reads it at 799 (4K: 458 vs 446).autowith--kv int8or--vram-reserve-mib 600still picks K=47 and drops to 111-113 at 4K (one launch each).Caveat, measured, cause not found: on this split decode is lower on 0.1.40.2 than on 0.1.40 in interleaved A/B runs (3070 first, K=43, 4K): 29.9 vs 36.7 tok/s and 30.7 vs 35.3 in two sets of 9 vs 9 runs, lower in every round, prefill the same. It is not our extra sm_75 architecture,
STRATA_UNBUFFERED_LOAD=1orSTRATA_MMVQ_IL=0(none restores it). I am bisecting and will open a separate issue if I find the commit.Not tested: other quants or cards, a single-card decode comparison (queued).
@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.