feat(app): place the LLM's experts so the speech-to-text worker keeps its room
- with an NVIDIA card the app sets --expert-vram itself by the M0 kit's formula: what the card holds before the start, the model without experts, the STT worker's share (2740 MiB), the engine's margin (768 MiB) and room for programs opened later (game.otherRoomGb, default 1 GB) are left free; Strata's own placement filled the card and left the STT no room - the model without experts is measured once per context and card (a start with expert-vram=0, one short answer, the card's memory and the engine log's staging), kept in config/llm-probe.json; the real start replaces that server - placement.rs also works out the game placement (the reserve, else the 2 GiB minimum and the room a game really gets, else pause) for the switching that comes next - with the game PC's M0 numbers the normal placement comes out at 1.5 GiB, as M0 measured Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -479,7 +479,7 @@ mod tests {
|
||||
use super::*;
|
||||
|
||||
fn settings() -> GameSettings {
|
||||
GameSettings { detect: true, games: vec![], not_games: vec![] }
|
||||
GameSettings { detect: true, games: vec![], not_games: vec![], other_room_gb: 1.0 }
|
||||
}
|
||||
|
||||
fn fg(path: &str, covers: bool, no_frame: bool, gpu: f64) -> Foreground {
|
||||
|
||||
Reference in New Issue
Block a user