From 36d6d91b9043ff42f22f9f78647747f83fcb5538 Mon Sep 17 00:00:00 2001 From: Yexiong Lin Date: Tue, 4 Mar 2025 19:54:54 +1100 Subject: [PATCH] update text2video.py --- wan/text2video.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/wan/text2video.py b/wan/text2video.py index 4460b8b..99716bf 100644 --- a/wan/text2video.py +++ b/wan/text2video.py @@ -298,8 +298,6 @@ class WanT2V: timestep = [t] timestep = torch.stack(timestep) - - self.model.to(self.device) noise_pred_cond = self.model( latent_model_input, t=timestep, **arg_c)[0] noise_pred_uncond = self.model(