Skip to content

Commit 35879c9

Browse files
committed
ControlNetUnion model
1 parent 298ab6e commit 35879c9

File tree

3 files changed

+847
-0
lines changed

3 files changed

+847
-0
lines changed

src/diffusers/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
"CogView3PlusTransformer2DModel",
8989
"ConsistencyDecoderVAE",
9090
"ControlNetModel",
91+
"ControlNetUnionModel",
9192
"ControlNetXSAdapter",
9293
"DiTTransformer2DModel",
9394
"FluxControlNetModel",
@@ -567,6 +568,7 @@
567568
CogView3PlusTransformer2DModel,
568569
ConsistencyDecoderVAE,
569570
ControlNetModel,
571+
ControlNetUnionModel,
570572
ControlNetXSAdapter,
571573
DiTTransformer2DModel,
572574
FluxControlNetModel,

src/diffusers/models/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
_import_structure["controlnet_hunyuan"] = ["HunyuanDiT2DControlNetModel", "HunyuanDiT2DMultiControlNetModel"]
4040
_import_structure["controlnet_sd3"] = ["SD3ControlNetModel", "SD3MultiControlNetModel"]
4141
_import_structure["controlnet_sparsectrl"] = ["SparseControlNetModel"]
42+
_import_structure["controlnet_union"] = ["ControlNetUnionModel"]
4243
_import_structure["controlnet_xs"] = ["ControlNetXSAdapter", "UNetControlNetXSModel"]
4344
_import_structure["embeddings"] = ["ImageProjection"]
4445
_import_structure["modeling_utils"] = ["ModelMixin"]
@@ -93,6 +94,7 @@
9394
from .controlnet_hunyuan import HunyuanDiT2DControlNetModel, HunyuanDiT2DMultiControlNetModel
9495
from .controlnet_sd3 import SD3ControlNetModel, SD3MultiControlNetModel
9596
from .controlnet_sparsectrl import SparseControlNetModel
97+
from .controlnet_union import ControlNetUnionModel
9698
from .controlnet_xs import ControlNetXSAdapter, UNetControlNetXSModel
9799
from .embeddings import ImageProjection
98100
from .modeling_utils import ModelMixin

0 commit comments

Comments
 (0)