diff --git a/diffsynth/pipelines/wan_video_new.py b/diffsynth/pipelines/wan_video_new.py index 9f52ddc..59b4690 100644 --- a/diffsynth/pipelines/wan_video_new.py +++ b/diffsynth/pipelines/wan_video_new.py @@ -1047,7 +1047,7 @@ class TemporalTiler_BCTHW: mask = self.build_mask( model_output, is_bound=(t == 0, t_ == T), - border_width=(sliding_window_size - sliding_window_stride,) + border_width=(sliding_window_size - sliding_window_stride + 1,) ).to(device=data_device, dtype=data_dtype) value[:, :, t: t_, :, :] += model_output * mask weight[:, :, t: t_, :, :] += mask