mirror of
https://github.com/Wan-Video/Wan2.1.git
synced 2025-06-05 14:54:54 +00:00
VAE Tiling Support - credits to deepbeepmeep's WanGP
This commit is contained in:
parent
79f3915348
commit
ae7320793c
@ -345,7 +345,9 @@ class WanI2V:
|
||||
torch.cuda.empty_cache()
|
||||
|
||||
if self.rank == 0:
|
||||
videos = self.vae.decode(x0)
|
||||
videos = self.vae.decode(x0
|
||||
, VAE_tile_size # 20250316 pftq: VAE tiling from deepbeepmeep/WanGP
|
||||
)
|
||||
|
||||
del noise, latent
|
||||
del sample_scheduler
|
||||
|
Loading…
Reference in New Issue
Block a user