mirror of
https://github.com/AlexsJones/llmfit.git
synced 2026-10-02 05:44:39 +08:00
* feat(cli): add --memory-percent and --ram-percent overrides Limit VRAM or system RAM to a percentage of the detected capacity, so a caller can reserve headroom without detecting the hardware itself. --memory-percent scales every detected GPU by the same factor, so the pooled total scales with it, and errors when no VRAM was detected. --ram-percent scales total RAM and, on unified memory, caps VRAM at the reduced pool. Both keep live free-memory readings, capped at the new capacity, since they describe this machine rather than simulated hardware. Each conflicts with its absolute counterpart and with --profile, and both are forwarded to the auto-launched dashboard. Closes #1086 * fix(hardware): recompute pooled free VRAM after --memory-percent * fix(hardware): cap grouped free VRAM at the whole group after --memory-percent * fix(hardware): cap each grouped card's free VRAM after --memory-percent