mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-05 07:48:45 +00:00
A second visible CUDA GPU (N >= 1) holds an adaptive expert cache beside CUDA0's, filled with the ranked pairs the primary does not hold. Activations and result rows cross NVLink or another P2P path; the peer also computes its experts' rows for prompt chunks (MMQ; the fused path is not combined yet). Knobs: --peer-device N, --peer-reserve-mib, --peer-slots, --peer-adapt-swaps, --peer-prefill-rows; sizing stays manual until #216's buffer lending lands. Default output unchanged: without the flag byte-identical to v0.1.36, with it byte-identical under the exactness gate. cudaHostAllocPortable only with a peer. docs/SECOND_GPU.md documents the flags and refused combinations. Measured on 2x RTX 3090 + NVLink, IQ3_S: prefill +15/+25/+25 %, decode +19/+14/+16 %.