diff --git a/nodes.py b/nodes.py index a000311..0a02e53 100644 --- a/nodes.py +++ b/nodes.py @@ -720,6 +720,7 @@ class WanVideoImageClipEncode: y = torch.concat([mask, y]) + vae.model.clear_cache() vae.to(offload_device) image_embeds = {