Commit Graph

87 Commits

Author SHA1 Message Date
comfyanonymous
e1b667e4d2 Add VPScheduler node 2023-10-01 03:48:07 -04:00
comfyanonymous
2f5c2420d2 DPMPP_SDE node. 2023-09-30 01:51:22 -04:00
comfyanonymous
74b335e72d Add ExponentialScheduler and PolyexponentialScheduler nodes. 2023-09-29 09:05:30 -04:00
Jukka Seppänen
4202776ba2 Allow GrowMask node to work with batches (for AnimateDiff) (#1623)
* Allow mask batches

This allows LatentCompositeMasked -node to work with AnimateDiff. I tried to keep old functionality too, unsure if it's correct, but both single mask and batch of masks seems to work with this change.

* Update nodes_mask.py
2023-09-28 22:01:19 -04:00
comfyanonymous
eeadcff352 Add SamplerDPMPP_2M_SDE node. 2023-09-28 21:56:23 -04:00
comfyanonymous
190719bb88 Fix SplitSigmas. 2023-09-28 01:11:22 -04:00
comfyanonymous
c4247734df Add function to split sigmas. 2023-09-28 00:40:09 -04:00
comfyanonymous
d428292071 Add a basic node to generate sigmas from scheduler. 2023-09-28 00:30:45 -04:00
comfyanonymous
97bd301d8f Add missing samplers to KSamplerSelect. 2023-09-28 00:17:03 -04:00
comfyanonymous
cd5fbdd086 Make add_noise in SamplerCustom a boolean. 2023-09-27 22:42:23 -04:00
comfyanonymous
75a26ed5ee Add a SamplerCustom Node.
This node takes a list of sigmas and a sampler object as input.

This lets people easily implement custom schedulers and samplers as nodes.

More nodes will be added to it in the future.
2023-09-27 22:21:18 -04:00
comfyanonymous
e265178918 GrowMask now works with mask batches. 2023-09-26 02:53:57 -04:00
comfyanonymous
ac237a66dc GrowMask can now be used with negative numbers to erode it. 2023-09-26 02:45:31 -04:00
comfyanonymous
9f74c7c610 Make mask functions work with batches of masks and images. 2023-09-25 16:19:37 -04:00
comfyanonymous
a03c9d1cf7 Support batches of masks in mask composite nodes. 2023-09-25 16:02:21 -04:00
comfyanonymous
ec7eb30b90 Do FreeU fft on CPU if the device doesn't support fft functions. 2023-09-24 18:09:44 -04:00
comfyanonymous
fa418ffeeb FreeU now works with the refiner. 2023-09-23 12:19:08 -04:00
comfyanonymous
a1006587ec Implement FreeU: Free Lunch in Diffusion U-Net node.
_for_testing->FreeU
2023-09-23 00:56:09 -04:00
comfyanonymous
b139e31298 Fix typo. 2023-09-22 01:33:46 -04:00
comfyanonymous
1108b51328 Add some nodes to add, subtract and multiply latents. 2023-09-21 22:23:01 -04:00
MoonRide303
20d8e318c5 Added support for lanczos scaling 2023-09-19 10:40:38 +02:00
comfyanonymous
83495c05cd Move ModelSubtract and ModelAdd to advanced/model_merging 2023-09-17 02:10:06 -04:00
comfyanonymous
46b144effb Add some nodes to subtract and add model weights. 2023-09-13 01:10:31 -04:00
comfyanonymous
00721f9d6a Support DiffBIR SwinIR models. 2023-09-07 03:31:43 -04:00
comfyanonymous
722ff15631 Update upscale model code to latest Chainner model code.
Don't add SRFormer because the code license is incompatible with the GPL.

Remove MAT because it's unused and the license is incompatible with GPL.
2023-09-02 22:27:40 -04:00
comfyanonymous
3ccc42c8d9 Use the GPU for the canny preprocessor when available. 2023-08-29 17:58:40 -04:00
comfyanonymous
f1d6719a51 Add node to convert a specific colour in an image to a mask. 2023-08-29 17:55:42 -04:00
comfyanonymous
1bdbb515b5 Add node to scale image to a total amount of pixels keeping aspect. 2023-08-18 02:32:39 -04:00
Corey
3e73a58a57 add a node to allow growing of masks through dilation 2023-08-16 10:57:14 -04:00
comfyanonymous
4e5ef05bc6 Add a "resize_source" option to Image and Latent CompositeMasked. 2023-08-15 17:51:52 -04:00
comfyanonymous
6795d48d13 Make Blur node use the image device for processing. 2023-08-14 21:08:45 -04:00
comfyanonymous
6d3e2bd174 Add an ImageCompositeMasked node. 2023-08-12 01:02:36 -04:00
comfyanonymous
8088be4f2e Add --disable-metadata argument to disable saving metadata in files. 2023-07-28 12:31:41 -04:00
comfyanonymous
1725369340 Implement modelspec metadata in CheckpointSave for SDXL and refiner. 2023-07-25 22:02:34 -04:00
comfyanonymous
60b9e237cf Use bigger tiles when upscaling with model and fallback on OOM. 2023-07-24 19:47:32 -04:00
comfyanonymous
daac253452 Add a node to merge CLIP models. 2023-07-14 02:41:18 -04:00
comfyanonymous
a85b525a8a Add a canny preprocessor node. 2023-07-13 13:26:48 -04:00
comfyanonymous
c5779f04aa Fix merging not working when model2 of model merge node was a merge. 2023-07-08 22:31:10 -04:00
comfyanonymous
83818185f0 CLIPTextEncodeSDXL now works when prompts are of very different sizes. 2023-07-06 23:23:54 -04:00
comfyanonymous
35ef1e4992 Now the model merge blocks node will use the longest match. 2023-07-04 00:51:17 -04:00
comfyanonymous
1a9658ee64 Add text encode nodes to control the extra parameters in SDXL. 2023-07-03 19:11:36 -04:00
comfyanonymous
351fc92d3f Move model merging nodes to advanced and add to readme. 2023-06-30 15:21:55 -04:00
comfyanonymous
95008c22cd Add CheckpointSave node to save checkpoints.
The created checkpoints contain workflow metadata that can be loaded by
dragging them on top of the UI or loading them with the "Load" button.

Checkpoints will be saved in fp16 or fp32 depending on the format ComfyUI
is using for inference on your hardware. To force fp32 use: --force-fp32

Anything that patches the model weights like merging or loras will be
saved.

The output directory is currently set to: output/checkpoints but that might
change in the future.
2023-06-26 12:22:27 -04:00
comfyanonymous
0db33017af Add some more transformer hooks and move tomesd to comfy_extras.
Tomesd now uses q instead of x to decide which tokens to merge because
it seems to give better results.
2023-06-24 03:30:22 -04:00
comfyanonymous
cd8d0b73c5 Fix last commits causing an issue with the text encoder lora. 2023-06-20 19:44:39 -04:00
comfyanonymous
ae0bbb2264 Add some nodes for basic model merging. 2023-06-20 19:17:03 -04:00
comfyanonymous
873b08bd0f Add a way to set patches that modify the attn2 output.
Change the transformer patches function format to be more future proof.
2023-06-18 22:58:22 -04:00
comfyanonymous
e34e147259 Round the mask values for bitwise operations. 2023-05-28 00:42:53 -04:00
space-nuko
712183e44e Bitwise operations for masks 2023-05-27 21:48:49 -05:00
comfyanonymous
e94d69817b Pull in latest upscale model code from chainner. 2023-05-23 22:26:50 -04:00