feat(voice): add hardware detection + dynamic sr-voice instance management (Phase 4)

GPU-aware scaling: NVIDIA (nvidia-smi), AMD (sysfs VRAM), Apple Silicon
(unified memory). GPU mode detected at install, persisted to settings.
Scaling ceiling: (free_resource - existing_llm_usage) / 2 / per_instance_cost.
VoiceInstanceManager spawns/stops sr-voice processes on unique ports.
Battery detection scales to 1 worker.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-07 17:32:20 +01:00
co-authored by Claude Opus 4.6
parent fafa1c49b8
commit be6f2a3db9
3 changed files with 570 additions and 1 deletions
+1
View File
@@ -13,6 +13,7 @@
//! - `hardware` — hardware detection + dynamic sr-voice instance management
pub mod cache;
pub mod hardware;
pub mod lookup;
pub mod prompt_builder;
pub mod queue;