From d74cfc54e8ae065d7f32b36634be770bae525f5c Mon Sep 17 00:00:00 2001 From: kijai <40791699+kijai@users.noreply.github.com> Date: Fri, 24 Oct 2025 15:28:35 +0300 Subject: [PATCH] Don't zero the extra frames Possible fix for SVI "shot" method --- nodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes.py b/nodes.py index 78c149a..9eb1d64 100644 --- a/nodes.py +++ b/nodes.py @@ -922,7 +922,7 @@ class WanVideoImageToVideoEncode: del resized_start_image, zero_frames else: temporal_mask = common_upscale(temporal_mask.unsqueeze(1), W, H, "nearest", "disabled").squeeze(1) - concatenated = resized_start_image[:,:num_frames].to(vae.dtype) * temporal_mask[:num_frames].unsqueeze(0).to(vae.dtype) + concatenated = resized_start_image[:,:num_frames].to(vae.dtype)# * temporal_mask[:num_frames].unsqueeze(0).to(vae.dtype) del resized_start_image, temporal_mask mm.soft_empty_cache()