diff --git a/wan/text2video.py b/wan/text2video.py index 7e9d4e7..2400545 100644 --- a/wan/text2video.py +++ b/wan/text2video.py @@ -261,7 +261,6 @@ class WanT2V: if offload_model: gc.collect() torch.cuda.synchronize() - torch.cuda.empty_cache() if dist.is_initialized(): dist.barrier()