mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-06 16:29:04 +00:00
f-bw-h (a620ffb61,595d40922) and f-bw-f (38e6a0506) both arm the CPU prefill share on a layer split. One conflict, engine/src/program/generate.cpp, the share arming block of the serve start-up, resolved to one rule: - BW-H first: on a layer split the stages' stream floors are summed; where the link rule raises the limit above 3,072 (Prefill::arm_cpu_share_split) it arms the share by itself and sets the limit and the expert width. This is what arms a split of three or more cards, and it gives a two-card split with a slow link its larger limit. - BW-F second: arm_cpu_share(share_pool, share_pool && share_layout && share_has_work): one card, or exactly two CUDA cards (STRATA_SPLIT_CPU_SHARE=0, kSplitShareDefault), armed by default with the default limit. A two-card split of fast links therefore keeps the share armed, as BW-F measured it. - set_card_expert_share takes pool.workers() (BW-H) in the one-card condition. - BW-F's start-up line is kept. docs/SETTINGS.md is generated (conflict only in its table): regenerated from the register.