Files
automatic/ui
CalamitousFelicitousness abfb5ac3ed feat(offload): on-demand vae under group offload
Vae-class components never take group hooks, so group mode kept them
resident on the gpu; a MiniMax-class video vae holds about 10GB that
way while running only seconds per generation. Components above 1GB
now rest in system memory: the apply_forward_hook bridge on encode and
decode fires an on-demand hook that moves the whole module to the
device, so tiled calls find every weight already loaded, and the
processing seams return it to cpu once outputs are materialized. Small
vaes stay resident since the transfer would cost more than it frees.

- placement is decided per component by measured size and requires the
  entry bridge; components without it stay resident
- move_model no longer forces on-demand vaes to the gpu for
  non-txt2img tasks, and full_vae_encode onloads before binding the
  input, which otherwise lands on the resting device
- mode switches clear the stamp and hook in both directions
2026-08-10 22:10:42 +01:00
..
2026-05-21 09:23:10 +02:00
2026-07-28 10:43:58 +02:00
2026-08-10 11:13:28 +02:00
2026-06-04 12:36:10 +02:00
2026-06-15 11:57:53 +02:00
2026-06-03 16:54:58 +02:00
2026-06-04 12:36:10 +02:00
2026-05-21 12:02:01 +02:00
2026-07-10 13:14:27 +02:00
2026-08-02 11:22:12 +02:00
2026-06-10 08:20:25 +02:00
2026-08-02 11:22:12 +02:00
2026-06-22 12:16:18 +02:00
2026-06-20 21:18:35 +02:00
2026-07-10 13:14:27 +02:00
2026-07-10 13:14:27 +02:00
2026-08-10 11:13:28 +02:00
2026-07-22 21:08:56 +02:00
2026-07-13 21:48:42 +02:00
2026-08-02 11:22:12 +02:00