34 Commits

Author SHA1 Message Date
CalamitousFelicitousness d38f2c97b2 feat(monitor): report model placement in the memory monitor
Move the per-component placement walk from the api server into memstats
next to ram and gpu stats, and add it to the --monitor tick so offload
placement is visible in a log rather than only over the api.

- guard the walk internally: the supervisor loop logs its monitor line
  unguarded, and the walk can race a reload or an offload rewrap
- monitor reports gb and merges into a fresh dict, since memory_stats
  returns a module global that the per-generation log also prints
- endpoint keeps reporting raw bytes
2026-08-10 22:10:42 +01:00
CalamitousFelicitousness b12cbcb523 feat(api): report model memory placement in memory endpoint
Add a model section to /sdapi/v1/memory with loaded-model bytes summed
per pipeline component and device, so clients can tell resident weights
from offloaded ones and loop-critical components from edge ones.

- walk components over parameters and buffers, dedupe shared storages,
  key by component name then device type
- read the raw model slot so a memory poll never triggers a model load
- section is exception-isolated like ram and cuda; reports an error
  string if the walk races a reload
2026-08-10 22:10:42 +01:00
Vladimir Mandic ca955ba1c2 update handlers for all authenticated workflows
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-08-09 22:47:17 +02:00
Vladimir Mandic 514a68b1af add storage analyzer
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-08-02 11:22:12 +02:00
Vladimir Mandic 3158468dc4 add server restart api endpoint
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-07-08 10:09:36 +02:00
Vladimir Mandic 6fc0830d2c api audit
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-07-01 11:47:29 +02:00
Vladimir Mandic 743d585faa audit: api response models
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-07-01 11:19:55 +02:00
Vladimir Mandic 2ad76fecb6 audit: api signature
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-07-01 11:17:01 +02:00
Vladimir Mandic f25f325efb fixes based on full skills run
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-04 11:10:26 +02:00
Vladimir Mandic fad9015270 fix vae preview flash previous image
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-09 17:09:55 +02:00
vladmandic 40e550f1c3 add timer info
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-23 12:49:41 +02:00
vladmandic fb2f9ea650 new server info panel
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-18 15:37:57 +01:00
vladmandic 742eeb8691 new server settings section
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-17 10:07:48 +01:00
vladmandic de7959397c fb merge phase 3
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-16 10:32:12 +01:00
Vladimir Mandic f78f0eb4a5 refactor imports 2026-02-19 15:28:24 +01:00
Vladimir Mandic e5c494f999 cleanup logger 2026-02-19 11:09:13 +01:00
Vladimir Mandic a3074baf8b unified logger 2026-02-19 09:46:42 +01:00
awsr 1a083a54f4 Use generic type 2026-01-13 02:08:11 -08:00
awsr 0faabffc14 Simplify options init/save/load 2026-01-10 13:27:38 -08:00
Vladimir Mandic 59864de067 update mime-types
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-14 15:47:13 -05:00
Vladimir Mandic 7a5a0ebc0d improve version detect
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-12 18:56:38 -05:00
Vladimir Mandic f53ee29366 infotext apply styles and fix progress bar
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-30 12:02:47 -04:00
Vladimir Mandic e8fedf0a73 fix api progress reporting endpoint
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-30 08:32:30 -04:00
Vladimir Mandic e8b5ea3847 major refactor: remove backend original
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-05 13:16:46 -04:00
Vladimir Mandic 10fb362bdc server state history
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-04-25 12:25:30 -04:00
Vladimir Mandic a3e10fd24c fix progress eta reporting
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-03-16 11:22:29 -04:00
Vladimir Mandic 7d9b268655 update repo links
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-01-31 12:15:21 -05:00
Vladimir Mandic bdf8ca7e27 add legacy mode indicator on splash screen
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-01-18 14:29:40 -05:00
Vladimir Mandic 8a1eaedc82 browser to server logging
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-11-23 10:47:06 -05:00
Vladimir Mandic 59cd08f5da update docker and progress monitoring
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-11-16 10:49:08 -05:00
Vladimir Mandic 1b76a6243d motd exception handling 2024-04-25 10:02:42 -04:00
Vladimir Mandic 24b4cd77a3 update benchmarks and api endpoints 2024-02-07 12:12:54 -05:00
Vladimir Mandic b79d8ea6c3 cleanup api model defs 2024-01-28 10:25:26 -05:00
Vladimir Mandic 7e447222a1 refactor api 2024-01-28 10:13:09 -05:00