The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Fix tiled hunyuan video VAE encode issue.
comfyanonymous52c1d933b2f5
diff --git a/comfy/utils.py b/comfy/utils.pyindex ab1e3cd5a..3ddbfd90c 100644--- a/comfy/utils.py+++ b/comfy/utils.py@@ -807,7 +807,7 @@ def tiled_scale_multidim(samples, function, tile=(64, 64), overlap=8, upscale_amupscaled = []for d in range(dims):- pos = max(0, min(s.shape[d + 2] - (overlap[d] + 1), it[d]))+ pos = max(0, min(s.shape[d + 2] - overlap[d], it[d]))l = min(tile[d], s.shape[d + 2] - pos)s_in = s_in.narrow(d + 2, pos, l)upscaled.append(round(get_scale(d, pos)))