Fix: KV-Schaetzung kalibriert + Brain-Fit-Check brain-spezifisch

- fit.estimate_memory_gb: KV-Cache jetzt sqrt-skaliert (nicht linear mit Gesamt-Params),
  kalibriert an Hermes-14B@128K ~19GB KV -> realistische Footprints (vorher massive Ueberschaetzung).
- agent.hermes_brain_info Budget: prueft jetzt Brain (immer resident) + groesstes on-demand-Modell
  <= GTT-Budget (fast/vision duerfen verdraengt werden) -> brain-spezifische, aussagekraeftige Warnung.
- Cockpit: Budget-Zeile + Confirm-Warnung entsprechend ("Brain ~X GB + groesstes on-demand ~Y GB").

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Hitonabi
2026-06-27 03:01:07 +02:00
parent 5b699aaa79
commit 43880b1965
6 changed files with 47 additions and 38 deletions
+5 -4
View File
@@ -317,10 +317,11 @@ export interface HermesBrainCandidate {
export interface HermesBrainBudget {
gtt_gb: number
warm_projected_gb: number // Always-On-Footprint mit dem empfohlenen Brain
free_after_gb: number
largest_ondemand_gb: number // größtes on-demand-Modell (z.B. heavy)
fits: boolean // passt das größte on-demand daneben?
brain_gb: number // Footprint des (empfohlenen) Brains, das immer resident bleibt
warm_projected_gb: number // alle persist-Modelle warm (Info)
free_after_gb: number // frei nach Brain + größtem on-demand
largest_ondemand_gb: number // größtes on-demand-Modell (z.B. heavy/coder)
fits: boolean // passt Brain + größtes on-demand zusammen ins Budget?
}
export interface HermesBrainResp {