242 Commits

Author SHA1 Message Date
Peter Crabtree
b94c4779d3 Fix to allow use of PerpNegGuider with cfg_function_post hooks (like PAG) (#3618) 2024-06-01 12:36:08 -04:00
comfyanonymous
f45900c1c2 Import spandrel_extra_arches if present.
I will not add this dependency to the default ones because models in the
spandrel_extra_arches package are non commercial and therefore not
compatible with free software licenses like the one ComfyUI uses.

If you don't mind this you can install it manually yourself.
2024-05-28 01:42:11 -04:00
comfyanonymous
93094050bb Remove some unused imports. 2024-05-27 19:08:27 -04:00
comfyanonymous
0fa4e42b1c Keep compatibility with some custom nodes. 2024-05-26 15:37:41 -04:00
comfyanonymous
6b0b906a2b Fix issue and unpin spandrel package. 2024-05-26 13:44:47 -04:00
Joey Ballentine
e627ff119d Replace chainner_models with Spandrel package (#2146)
* Replace chainner_models with Spandrel

* Update to latest spandrel

* Use spandrel_foss instead

* update spandrel to new FOSS-compliant version
2024-05-26 13:44:17 -04:00
comfyanonymous
d85afd1477 Fix FreeU not working when shape is tensor. 2024-05-23 11:48:04 -04:00
pythongosssss
593af9d4f0 Add webcam node (#3497)
* Add webcam node

* unused import
2024-05-17 13:16:08 -04:00
comfyanonymous
e02598e417 Fix SAG. 2024-05-14 18:02:27 -04:00
comfyanonymous
2263f6eb56 Support saving some more modelspec types. 2024-05-13 21:54:11 -04:00
comfyanonymous
ae31a1b885 Fix issue with lowvram mode breaking model saving. 2024-05-11 21:55:20 -04:00
Pam
190cdef91a Use get_model_object in Deep Shrink node (#3408) 2024-05-06 18:39:39 -04:00
comfyanonymous
ee220d685d Add a SplitSigmasDenoise node as an alternative to SplitSigmas. 2024-05-05 05:24:36 -04:00
comfyanonymous
b7d06aa5a2 Don't load the model in SDTurboScheduler 2024-05-01 16:57:10 -04:00
comfyanonymous
0b60bc8854 Add a SamplerLCMUpscale node.
This sampler is an LCM sampler that upscales the latent during sampling.

It can be used to generate at a higher resolution with an LCM model very
quickly.

To try it use it with a basic 5 step LCM workflow with scale_ratio 1.5 or
2.0
2024-04-29 20:00:47 -04:00
comfyanonymous
45d2d7aa6d Add some nodes to multiply the attention in UNet and Clip models. 2024-04-28 13:03:43 -04:00
comfyanonymous
a0b0f20ac5 Add a denoise value to AlignYourStepsScheduler. 2024-04-27 00:48:41 -04:00
comfyanonymous
28cb4e1b8b Free more vram for upscale models. 2024-04-25 17:04:19 -04:00
Pam
6056ab1862 Increase sigma_min/sigma_max range for custom schedulers (#3317) 2024-04-23 09:40:10 -04:00
comfyanonymous
bb829e58e4 Free some memory before loading upscale models. 2024-04-22 18:51:15 -04:00
comfyanonymous
edc0033c3a Speed up Sharpen node. 2024-04-21 09:02:06 -04:00
comfyanonymous
fb91cd8220 Implement Align Your Steps as a AlignYourStepsScheduler node. 2024-04-20 04:34:12 -04:00
comfyanonymous
ab4ac5d9b7 Faster blur. 2024-04-19 03:52:02 -04:00
comfyanonymous
c3970a24a9 Add a helpful warning for links that don't point anywhere. 2024-04-17 12:28:05 -04:00
comfyanonymous
1d7643bb4b Implement PerpNeg as a guider. 2024-04-16 02:57:34 -04:00
comfyanonymous
c02882377a This can be removed since PAG doesn't use the uncond. 2024-04-15 12:14:00 -04:00
comfyanonymous
0c38c2d09c Add basic PAG node. 2024-04-14 23:49:50 -04:00
comfyanonymous
d749f0c0eb Don't make dynamicPrompts the default on multiline string inputs.
This should be less confusing to those who want to use multiline input
without them.
2024-04-13 16:18:00 -04:00
comfyanonymous
312b19ea00 Add an AddNoise node to add noise depending on the sigma. 2024-04-10 23:40:31 -04:00
comfyanonymous
02ed89f43c Add ModelMergeSD1, ModelMergeSD2 and ModelMergeSDXL. 2024-04-09 04:31:14 -04:00
comfyanonymous
ef332e5355 Support properly saving CosXL checkpoints. 2024-04-08 00:36:22 -04:00
comfyanonymous
d3d009c5a9 The middle prompt should be treated more as a negative prompt. 2024-04-07 14:34:43 -04:00
comfyanonymous
0e474e1622 Fix DisableNoise node. 2024-04-05 21:36:23 -04:00
comfyanonymous
b14fe05bf2 Fix PerpNeg node. 2024-04-05 11:46:54 -04:00
comfyanonymous
c618084a1c Fix missing arguments in cfg_function. 2024-04-04 23:38:57 -04:00
comfyanonymous
22462103f3 Fix model needing to be loaded on GPU to generate the sigmas. 2024-04-04 22:08:49 -04:00
comfyanonymous
125a62efe2 Add InstructPixToPixConditioning node. 2024-04-04 15:06:17 -04:00
comfyanonymous
d13e1a9139 Add DualCFGGuider used in IP2P models for example. 2024-04-04 14:57:44 -04:00
comfyanonymous
640f73d9ec Add basic guider for models with no cfg. 2024-04-04 13:57:32 -04:00
comfyanonymous
58a02039bc Make zero denoise a NOP. 2024-04-04 11:41:27 -04:00
comfyanonymous
1f511af362 Small cleanup. 2024-04-04 11:16:49 -04:00
comfyanonymous
0c89f0dab0 SamplerCustomAdvanced node.
This node enables the creation of nodes to change the guider/denoiser and
the noise algorithm.
2024-04-04 01:32:25 -04:00
comfyanonymous
1ba93001e4 Refactor calc_cond_uncond_batch into calc_cond_batch.
calc_cond_batch can take an arbitrary amount of cond inputs.

Added a calc_cond_uncond_batch wrapper with a warning so custom nodes
won't break.
2024-04-01 18:07:47 -04:00
comfyanonymous
6cdb28091a Make step on sharpen node smaller. 2024-03-27 01:28:31 -04:00
comfyanonymous
b5fc494ded SV3D support. 2024-03-18 16:54:13 -04:00
comfyanonymous
a93b7f0c46 Fix neg scale step. 2024-03-18 15:51:23 -04:00
comfyanonymous
203842285a Fix stable cascade img2img not working with all resolutions. 2024-03-18 13:51:38 -04:00
comfyanonymous
2362d0368e Increase image batch nodes maximum values. 2024-03-17 08:57:49 -04:00
comfyanonymous
3905e795dc SamplerDPMAdaptative node to test the different options. 2024-03-15 22:36:10 -04:00
comfyanonymous
8ee0b9442a Add SamplerDPMPP_3M_SDE node. 2024-03-12 12:16:37 -04:00