From c4b97cd591f0f3b1c3b9682b0f7d9530d52b7e9e Mon Sep 17 00:00:00 2001 From: "lzw478614@alibaba-inc.com" Date: Fri, 22 Aug 2025 09:38:19 +0800 Subject: [PATCH] update wan2.2-fun --- diffsynth/models/wan_video_dit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diffsynth/models/wan_video_dit.py b/diffsynth/models/wan_video_dit.py index 9420736..1a54728 100644 --- a/diffsynth/models/wan_video_dit.py +++ b/diffsynth/models/wan_video_dit.py @@ -294,7 +294,7 @@ class WanModel(torch.nn.Module): ): super().__init__() self.dim = dim - self.in_dim = dim + self.in_dim = in_dim self.freq_dim = freq_dim self.has_image_input = has_image_input self.patch_size = patch_size