mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-04 15:28:40 +00:00
From PR #6768 by @D-Ogi: after the auto layer-split search the engine asks the same cost model for the chosen placement without its first stages. When the predicted decode window is at least STRATA_SPLIT_FEWER_PCT percent (default 20, 0 = off) shorter, it prints one FEWER CARDS line. The placement and the tokens do not change; the model predicts decode only. (RTX 4090 x16 + RTX 3060 x4: K=10 predicted 27.0 ms, the 4090 alone 17.5 ms; measured 62 tok/s alone against 25-44% less with the split.) Added here: the line is built by split_rules::fewer_cards_advice and names the exact setting to try: `--gpu N` without `--layer-split` for one kept card; for several, the other cards hidden (CUDA_VISIBLE_DEVICES=...) with `--layer-split auto` kept; and in the Terminal the card roles (`strata launch --gpu-roles`). Nothing is dropped for the user. split_rules_test checks both wordings. The settings register has the new name (status rollback) and docs/SETTINGS.md and docs/MULTI_GPU.md are regenerated / extended. Compile-checked as the Qwen engine target on CUDA sm_86 (z440).