comfyanonymous
1b5b8ca81a
Fix regression.
7 months ago
TTPlanetPig
e172564eea
Update controlnet.py to fix the default controlnet weight as constant ( #4285 )
7 months ago
comfyanonymous
86a97e91fc
Fix controlnet regression.
7 months ago
comfyanonymous
a475ec2300
Cleanup HunyuanDit controlnets.
...
Use the: ControlNetApply SD3 and HunyuanDiT node.
7 months ago
来新璐
06eb9fb426
feat: add support for HunYuanDit ControlNet ( #4245 )
...
* add support for HunYuanDit ControlNet
* fix hunyuandit controlnet
* fix typo in hunyuandit controlnet
* fix typo in hunyuandit controlnet
* fix code format style
* add control_weight support for HunyuanDit Controlnet
* use control_weights in HunyuanDit Controlnet
* fix typo
7 months ago
comfyanonymous
c19dcd362f
Controlnet code refactor.
7 months ago
comfyanonymous
8270c62530
Add SetUnionControlNetType to set the type of the union controlnet model.
7 months ago
comfyanonymous
7914c47d5a
Quick fix for the promax controlnet.
7 months ago
comfyanonymous
faa57430b0
Controlnet union model basic implementation.
...
This is only the model code itself, it currently defaults to an empty
embedding [0] * 6 which seems to work better than treating it like a
regular controlnet.
TODO: Add nodes to select the image type.
8 months ago
comfyanonymous
264caca20e
ControlNetApplySD3 node can now be used to use SD3 controlnets.
8 months ago
comfyanonymous
f8f7568d03
Basic SD3 controlnet implementation.
...
Still missing the node to properly use it.
8 months ago
comfyanonymous
66aaa14001
Controlnet refactor.
8 months ago
comfyanonymous
0a03009808
Fix issue with controlnet models getting loaded multiple times.
11 months ago
comfyanonymous
448d9263a2
Fix control loras breaking.
12 months ago
comfyanonymous
0ed72befe1
Change log levels.
...
Logging level now defaults to info. --verbose sets it to debug.
12 months ago
comfyanonymous
65397ce601
Replace prints with logging and add --verbose argument.
12 months ago
comfyanonymous
5f60ee246e
Support loading the sr cascade controlnet.
12 months ago
comfyanonymous
03e6e81629
Set upscale algorithm to bilinear for stable cascade controlnet.
12 months ago
comfyanonymous
03e83bb5d0
Support stable cascade canny controlnet.
12 months ago
comfyanonymous
10860bcd28
Add compression_ratio to controlnet code.
12 months ago
comfyanonymous
1abf8374ec
utils.set_attr can now be used to set any attribute.
...
The old set_attr has been renamed to set_attr_param.
12 months ago
comfyanonymous
f83109f09b
Stable Cascade Stage C.
1 year ago
comfyanonymous
25a4805e51
Add a way to set different conditioning for the controlnet.
1 year ago
comfyanonymous
4871a36458
Cleanup some unused imports.
1 year ago
comfyanonymous
1a57423d30
Fix issue when using multiple t2i adapters with batched images.
1 year ago
comfyanonymous
36a7953142
Greatly improve lowvram sampling speed by getting rid of accelerate.
...
Let me know if this breaks anything.
1 year ago
comfyanonymous
32b7e7e769
Add manual cast to controlnet.
1 year ago
comfyanonymous
77755ab8db
Refactor comfy.ops
...
comfy.ops -> comfy.ops.disable_weight_init
This should make it more clear what they actually do.
Some unused code has also been removed.
1 year ago
comfyanonymous
26b1c0a771
Fix control lora on fp8.
1 year ago
comfyanonymous
31b0f6f3d8
UNET weights can now be stored in fp8.
...
--fp8_e4m3fn-unet and --fp8_e5m2-unet are the two different formats
supported by pytorch.
1 year ago
comfyanonymous
af365e4dd1
All the unet ops with weights are now handled by comfy.ops
1 year ago
comfyanonymous
dcec1047e6
Invert the start and end percentages in the code.
...
This doesn't affect how percentages behave in the frontend but breaks
things if you relied on them in the backend.
percent_to_sigma goes from 0 to 1.0 instead of 1.0 to 0 for less confusion.
Make percent 0 return an extremely large sigma and percent 1.0 return a
zero one to fix imprecision.
1 year ago
comfyanonymous
7c0f255de1
Clean up percent start/end and make controlnets work with sigmas.
1 year ago
Jedrzej Kosinski
3783cb8bfd
change 'c_adm' to 'y' in ControlNet.get_control
1 year ago
comfyanonymous
a0690f9df9
Fix t2i adapter issue.
1 year ago
comfyanonymous
9a55dadb4c
Refactor code so model can be a dtype other than fp32 or fp16.
1 year ago
comfyanonymous
76cdc809bf
Support more controlnet models.
1 year ago
comfyanonymous
1e6b67101c
Support diffusers format t2i adapters.
1 year ago
comfyanonymous
5c363a9d86
Fix controlnet bug.
2 years ago
comfyanonymous
cfe1c54de8
Fix controlnet issue.
2 years ago
comfyanonymous
f2f5e5dcbb
Support SDXL t2i adapters with 3 channel input.
2 years ago
comfyanonymous
65cae62c71
No need to check filename extensions to detect shuffle controlnet.
2 years ago
comfyanonymous
f92074b84f
Move ModelPatcher to model_patcher.py
2 years ago
comfyanonymous
a57b0c797b
Fix lowvram model merging.
2 years ago
comfyanonymous
c77f02e1c6
Move controlnet code to comfy/controlnet.py
2 years ago