From 427c21309c1e37c81c201bdaeb02c84621bef450 Mon Sep 17 00:00:00 2001 From: doctorpangloss <2229300+doctorpangloss@users.noreply.github.com> Date: Tue, 21 Oct 2025 15:56:24 -0700 Subject: [PATCH] Fix whitespace error in comfyui --- comfy/sd.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/comfy/sd.py b/comfy/sd.py index f81d60fbb..7cd8e5d40 100644 --- a/comfy/sd.py +++ b/comfy/sd.py @@ -297,7 +297,8 @@ class VAE: VAE_KL_MEM_RATIO = 2.73 else: VAE_KL_MEM_RATIO = 1.0 - self.memory_used_encode = lambda shape, dtype: (1767 * shape[2] * shape[3]) * model_management.dtype_size(dtype) * VAE_KL_MEM_RATIO # These are for AutoencoderKL and need tweaking (should be lower) + + self.memory_used_encode = lambda shape, dtype: (1767 * shape[2] * shape[3]) * model_management.dtype_size(dtype) * VAE_KL_MEM_RATIO # These are for AutoencoderKL and need tweaking (should be lower) self.memory_used_decode = lambda shape, dtype: (2178 * shape[2] * shape[3] * 64) * model_management.dtype_size(dtype) * VAE_KL_MEM_RATIO self.downscale_ratio = 8 self.upscale_ratio = 8