22 Commits (4f7a3cb6fbd58d7546b3c76ec1f418a2650ed709)

Author SHA1 Message Date
Chenlei Hu 4151fbfa8a
Add error message on union controlnet (#4081) 7 months ago
comfyanonymous 281ad42df4 Fix lowvram union controlnet bug. 7 months ago
comfyanonymous 7914c47d5a Quick fix for the promax controlnet. 7 months ago
comfyanonymous ade7aa1b0c Remove useless import. 8 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 66aaa14001 Controlnet refactor. 8 months ago
comfyanonymous 11a2ad5110 Fix controlnet not upcasting on models that have it enabled. 9 months 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 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 871cc20e13 Support SVD img2vid model. 1 year ago
comfyanonymous 6ec3f12c6e Support SSD1B model and make it easier to support asymmetric unets. 1 year ago
comfyanonymous 9a55dadb4c Refactor code so model can be a dtype other than fp32 or fp16. 1 year ago
comfyanonymous d08e53de2e Remove autocast from controlnet code. 2 years ago
comfyanonymous d6e4b342e6 Support for Control Loras.
Control loras are controlnets where some of the weights are stored in
"lora" format: an up and a down low rank matrice that when multiplied
together and added to the unet weight give the controlnet weight.

This allows a much smaller memory footprint depending on the rank of the
matrices.

These controlnets are used just like regular ones.
2 years ago
comfyanonymous 2b13939044 Remove some useless code. 2 years ago
comfyanonymous f87ec10a97 Support base SDXL and SDXL refiner models.
Large refactor of the model detection and loading code.
2 years ago
comfyanonymous f0a2b81cd0 Cleanup: Remove a bunch of useless files. 2 years ago
comfyanonymous bae4fb4a9d Fix imports. 2 years ago
comfyanonymous 54dbfaf2ec Remove omegaconf dependency and some ci changes. 2 years ago
comfyanonymous cf5a211efc Remove some useless imports 2 years ago
comfyanonymous 4efa67fa12 Add ControlNet support. 2 years ago