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:
@@ -26,7 +26,7 @@ fn a_launcher_game_turns_game_mode_on_until_it_ends() {
|
||||
eprintln!("skipped: set JARVIS_TEST_GAME_EXE");
|
||||
return;
|
||||
};
|
||||
let w = GameWatch::start(GameSettings { detect: true, games: vec![], not_games: vec![] });
|
||||
let w = GameWatch::start(GameSettings { detect: true, games: vec![], not_games: vec![], other_room_gb: 1.0 });
|
||||
assert_eq!(w.view(), serde_json::Value::Null, "no game before it starts");
|
||||
let mut game = std::process::Command::new(&exe).spawn().expect("the game starts");
|
||||
let t0 = Instant::now();
|
||||
|
||||
Reference in New Issue
Block a user