The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Support SDXL t2i adapters with 3 channel input.
comfyanonymousf2f5e5dcbb9a
diff --git a/comfy/controlnet.py b/comfy/controlnet.pyindex 7098186f9..83e1be058 100644--- a/comfy/controlnet.py+++ b/comfy/controlnet.py@@ -465,7 +465,7 @@ def load_t2i_adapter(t2i_data):if len(down_opts) > 0:use_conv = Truexl = False- if cin == 256:+ if cin == 256 or cin == 768:xl = Truemodel_ad = comfy.t2i_adapter.adapter.Adapter(cin=cin, channels=[channel, channel*2, channel*4, channel*4][:4], nums_rb=2, ksize=ksize, sk=True, use_conv=use_conv, xl=xl)else: