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 potential issue with hydit controlnets.
comfyanonymous63fafaef451f
diff --git a/comfy/ldm/hydit/models.py b/comfy/ldm/hydit/models.pyindex f3afaad34..44e806cba 100644--- a/comfy/ldm/hydit/models.py+++ b/comfy/ldm/hydit/models.py@@ -372,7 +372,7 @@ class HunYuanDiT(nn.Module):for layer, block in enumerate(self.blocks):if layer > self.depth // 2:if controls is not None:- skip = skips.pop() + controls.pop()+ skip = skips.pop() + controls.pop().to(dtype=x.dtype)else:skip = skips.pop()x = block(x, c, text_states, freqs_cis_img, skip) # (N, L, D)