From 2403b0b6ce6674a8bb3741b20499aada700bf35f Mon Sep 17 00:00:00 2001 From: MaraScott Date: Fri, 8 Nov 2024 14:56:20 +0100 Subject: [PATCH] hotfix for vae decode overlap --- py/nodes/UpscalerRefiner/McBoaty_v5.py | 2 +- py/utils/version.py | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/py/nodes/UpscalerRefiner/McBoaty_v5.py b/py/nodes/UpscalerRefiner/McBoaty_v5.py index a457a79..5be2740 100644 --- a/py/nodes/UpscalerRefiner/McBoaty_v5.py +++ b/py/nodes/UpscalerRefiner/McBoaty_v5.py @@ -624,7 +624,7 @@ def refine(self, image, iteration): if len(self.PARAMS.tiles_to_process) == 0 or index in self.PARAMS.tiles_to_process: if self.KSAMPLER.tiled: log(f"tile {index + 1}/{total}", None, None, f"Node {self.INFO.id} - VAEDecodingTiled {iteration}") - output = (nodes.VAEDecodeTiled().decode(self.KSAMPLER.vae, latent_output, self.KSAMPLER.tile_size_vae)[0].unsqueeze(0))[0] + output = (nodes.VAEDecodeTiled().decode(self.KSAMPLER.vae, latent_output, self.KSAMPLER.tile_size_vae, 0)[0].unsqueeze(0))[0] else: log(f"tile {index + 1}/{total}", None, None, f"Node {self.INFO.id} - VAEDecoding {iteration}") output = (nodes.VAEDecode().decode(self.KSAMPLER.vae, latent_output)[0].unsqueeze(0))[0] diff --git a/py/utils/version.py b/py/utils/version.py index ad63e9d..1146dac 100644 --- a/py/utils/version.py +++ b/py/utils/version.py @@ -3,4 +3,4 @@ # ### -VERSION = "5.6.1" +VERSION = "5.6.2" diff --git a/pyproject.toml b/pyproject.toml index cd679a8..0ddb66d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui_marascott_nodes" description = "A set of nodes including a universal bus, an Inpainting By Mask and a large Upscaler/Refiner" -version = "5.6.1" +version = "5.6.2" license = { file = "LICENSE" } dependencies = ["blend_modes", "numba", "color-matcher", "groq", "opencv-python"]