Files
Strata/engine
Niko1221 03006f62ed ling32: the loader reserve counts decode_rows of scratch when a tiered run has scratch regrow on (an 8 GB card could not start at chunk 2048)
The loader refuses to start when the free card memory is below trunk + reserve_bytes, and the reserve counted the chunk's logits buffer (chunk x 157,184 x 4 B = 1.3 GiB at 2048) plus its share of the latent cache.  With scratch regrow in a tiered run only decode_rows rows of scratch stay resident (the chunk-sized set is allocated by the first prefill, the store gives pool chunks for it), so the reserve counts min(chunk, decode_rows) rows there.  Every other run (tier A, regrow off, no lazy KV) computes the same expression as before: reserve_rows = o.chunk.
2026-12-03 03:33:44 +01:00
..