From 4c97d27583d7711a2ef9e04d2dc6e48624c01e4c Mon Sep 17 00:00:00 2001 From: kijai <40791699+kijai@users.noreply.github.com> Date: Tue, 9 Dec 2025 21:09:44 +0200 Subject: [PATCH] Fix LongCat error --- wanvideo/modules/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wanvideo/modules/model.py b/wanvideo/modules/model.py index b162f06..866757d 100644 --- a/wanvideo/modules/model.py +++ b/wanvideo/modules/model.py @@ -1522,7 +1522,7 @@ class Head_adaLN(nn.Module): # modulation self.modulation = nn.Sequential(nn.SiLU(), nn.Linear(adaln_tembed_dim, 2 * self.dim, bias=True)) - def forward(self, x, e, temp_length): + def forward(self, x, e, temp_length, **kwargs): r""" Args: x(Tensor): Shape [B, L1, C]