remove print

This commit is contained in:
kijai
2025-03-13 18:17:46 +02:00
parent 9f9ca8786d
commit ff4bb8085e
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -1086,7 +1086,7 @@ class WanVideoSLG:
@classmethod
def INPUT_TYPES(s):
return {"required": {
"blocks": ("STRING", {"default": "10", "tooltip": "Blocks to skip uncond on, separated by comma."}),
"blocks": ("STRING", {"default": "10", "tooltip": "Blocks to skip uncond on, separated by comma, index starts from 0"}),
"start_percent": ("FLOAT", {"default": 0.0, "min": 0.0, "max": 1.0, "step": 0.01, "tooltip": "Start percent of the control signal"}),
"end_percent": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.01, "tooltip": "End percent of the control signal"}),
},
-1
View File
@@ -779,7 +779,6 @@ class WanModel(ModelMixin, ConfigMixin):
if self.slg_blocks is not None:
if b in self.slg_blocks and is_uncond:
if self.slg_start_percent <= current_step_percentage <= self.slg_end_percent:
log.info(f"SLG: Skipping block {b}")
continue
if b <= self.blocks_to_swap and self.blocks_to_swap >= 0:
block.to(self.main_device)