Skip to content
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
bf111c8
ControlNetUnion model
hlky Oct 26, 2024
128df98
StableDiffusionXLControlNetUnionPipeline
hlky Oct 26, 2024
3381bc4
StableDiffusionXLControlNetUnionImg2ImgPipeline
hlky Oct 26, 2024
68cbdb3
StableDiffusionXLControlNetUnionInpaintPipeline
hlky Oct 26, 2024
c788d8e
Refactor to use ControlNetUnionInput, introduce BaseInput
hlky Oct 27, 2024
c63899e
Check num_control_type against ControlNetUnionInput, ControlNetUnionI…
hlky Oct 27, 2024
713bf6b
Check controlnet is a ControlNetUnionModel
hlky Oct 27, 2024
c5cb0b1
remove MultiControlNetModel
hlky Oct 27, 2024
b327a26
transformer_layers -> transformer_layes
hlky Oct 27, 2024
521fe42
More MultiControlNetModel
hlky Oct 27, 2024
b0a6534
controlnet_keep
hlky Oct 27, 2024
e600cb7
Fix
hlky Oct 27, 2024
3ecb041
remove redundant checks
hlky Oct 27, 2024
6cc3323
Address changes
hlky Oct 29, 2024
5930bcf
fixes
hlky Dec 5, 2024
8d65382
make
hlky Dec 5, 2024
18eaa77
example
hlky Dec 5, 2024
75ab27b
UnionInput set item
hlky Dec 5, 2024
cbf74b0
image
hlky Dec 5, 2024
f00d5e2
remove Input docs
hlky Dec 5, 2024
f3abbed
make
hlky Dec 5, 2024
4755672
QuickGELU
hlky Dec 5, 2024
d4b0108
doc-builder
hlky Dec 5, 2024
b525992
Merge branch 'controlnet-union' of https://github.com/hlky/diffusers …
hlky Dec 5, 2024
df8a8ff
docs
hlky Dec 5, 2024
89caf50
make
hlky Dec 5, 2024
a0f2874
fix
hlky Dec 5, 2024
7c4b77c
StableDiffusionXLControlNetUnionImg2ImgPipeline example
hlky Dec 5, 2024
4b9c991
doc-builder
hlky Dec 5, 2024
eb0524d
prepare_control_image
hlky Dec 5, 2024
e7eadad
StableDiffusionXLControlNetUnionInpaintPipeline example
hlky Dec 5, 2024
751dbe7
doc-builder
hlky Dec 5, 2024
effbca3
Merge branch 'main' into controlnet-union
hlky Dec 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/diffusers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"CogView3PlusTransformer2DModel",
"ConsistencyDecoderVAE",
"ControlNetModel",
"ControlNetUnionModel",
"ControlNetXSAdapter",
"DiTTransformer2DModel",
"FluxControlNetModel",
Expand Down Expand Up @@ -376,6 +377,9 @@
"StableDiffusionXLControlNetPAGImg2ImgPipeline",
"StableDiffusionXLControlNetPAGPipeline",
"StableDiffusionXLControlNetPipeline",
"StableDiffusionXLControlNetUnionImg2ImgPipeline",
"StableDiffusionXLControlNetUnionInpaintPipeline",
"StableDiffusionXLControlNetUnionPipeline",
"StableDiffusionXLControlNetXSPipeline",
"StableDiffusionXLImg2ImgPipeline",
"StableDiffusionXLInpaintPipeline",
Expand Down Expand Up @@ -583,6 +587,7 @@
CogView3PlusTransformer2DModel,
ConsistencyDecoderVAE,
ControlNetModel,
ControlNetUnionModel,
ControlNetXSAdapter,
DiTTransformer2DModel,
FluxControlNetModel,
Expand Down Expand Up @@ -846,6 +851,9 @@
StableDiffusionXLControlNetPAGImg2ImgPipeline,
StableDiffusionXLControlNetPAGPipeline,
StableDiffusionXLControlNetPipeline,
StableDiffusionXLControlNetUnionImg2ImgPipeline,
StableDiffusionXLControlNetUnionInpaintPipeline,
StableDiffusionXLControlNetUnionPipeline,
StableDiffusionXLControlNetXSPipeline,
StableDiffusionXLImg2ImgPipeline,
StableDiffusionXLInpaintPipeline,
Expand Down
2 changes: 2 additions & 0 deletions src/diffusers/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
]
_import_structure["controlnets.controlnet_sd3"] = ["SD3ControlNetModel", "SD3MultiControlNetModel"]
_import_structure["controlnets.controlnet_sparsectrl"] = ["SparseControlNetModel"]
_import_structure["controlnets.controlnet_union"] = ["ControlNetUnionModel"]
_import_structure["controlnets.controlnet_xs"] = ["ControlNetXSAdapter", "UNetControlNetXSModel"]
_import_structure["controlnets.multicontrolnet"] = ["MultiControlNetModel"]
_import_structure["embeddings"] = ["ImageProjection"]
Expand Down Expand Up @@ -100,6 +101,7 @@
)
from .controlnets import (
ControlNetModel,
ControlNetUnionModel,
ControlNetXSAdapter,
FluxControlNetModel,
FluxMultiControlNetModel,
Expand Down
1 change: 1 addition & 0 deletions src/diffusers/models/controlnets/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
SparseControlNetModel,
SparseControlNetOutput,
)
from .controlnet_union import ControlNetUnionInput, ControlNetUnionInputProMax, ControlNetUnionModel
from .controlnet_xs import ControlNetXSAdapter, ControlNetXSOutput, UNetControlNetXSModel
from .multicontrolnet import MultiControlNetModel

Expand Down
Loading
Loading