ComfyUI/comfy/ldm/wan
rattus 82b868a45a
Fix VRAM leak in tiler fallback in video VAEs (#13073)
* sd: soft_empty_cache on tiler fallback

This doesnt cost a lot and creates the expected VRAM reduction in
resource monitors when you fallback to tiler.

* wan: vae: Don't recursion in local fns (move run_up)

Moved Decoder3d’s recursive run_up out of forward into a class
method to avoid nested closure self-reference cycles. This avoids
cyclic garbage that delays garbage of tensors which in turn delays
VRAM release before tiled fallback.

* ltx: vae: Don't recursion in local fns (move run_up)

Mov the recursive run_up out of forward into a class
method to avoid nested closure self-reference cycles. This avoids
cyclic garbage that delays garbage of tensors which in turn delays
VRAM release before tiled fallback.
2026-03-19 22:30:27 -04:00
..
model_animate.py [BlockInfo] Wan (#10845) 2025-12-15 17:59:16 -08:00
model_multitalk.py Support Multi/InfiniteTalk (#10179) 2026-01-21 23:09:48 -05:00
model.py feat: Support SCAIL WanVideo model (#12614) 2026-02-28 16:49:12 -05:00
vae2_2.py WAN2.2: Fix cache VRAM leak on error (#10308) 2025-10-13 15:23:11 -04:00
vae.py Fix VRAM leak in tiler fallback in video VAEs (#13073) 2026-03-19 22:30:27 -04:00