Jukka Seppänen
1c8ae9dbb2
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
66756de100
Add SamplerDPMPP_2M_SDE node.
2023-09-28 21:56:23 -04:00
comfyanonymous
26b7372805
Fix SplitSigmas.
2023-09-28 01:11:22 -04:00
comfyanonymous
76e0f8fc8f
Add function to split sigmas.
2023-09-28 00:40:09 -04:00
comfyanonymous
2bf051fda8
Add a basic node to generate sigmas from scheduler.
2023-09-28 00:30:45 -04:00
comfyanonymous
d234ca558a
Add missing samplers to KSamplerSelect.
2023-09-28 00:17:03 -04:00
comfyanonymous
1d7dfc07d5
Make add_noise in SamplerCustom a boolean.
2023-09-27 22:42:23 -04:00
comfyanonymous
1adcc4c3a2
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
1d36dfb9fe
GrowMask now works with mask batches.
2023-09-26 02:53:57 -04:00
comfyanonymous
d76d71de3f
GrowMask can now be used with negative numbers to erode it.
2023-09-26 02:45:31 -04:00
comfyanonymous
d2cec6cdbf
Make mask functions work with batches of masks and images.
2023-09-25 16:19:37 -04:00
comfyanonymous
046b4fe0ee
Support batches of masks in mask composite nodes.
2023-09-25 16:02:21 -04:00
comfyanonymous
f00471cdc8
Do FreeU fft on CPU if the device doesn't support fft functions.
2023-09-24 18:09:44 -04:00
comfyanonymous
05e661e5ef
FreeU now works with the refiner.
2023-09-23 12:19:08 -04:00
comfyanonymous
fd93c759e2
Implement FreeU: Free Lunch in Diffusion U-Net node.
...
_for_testing->FreeU
2023-09-23 00:56:09 -04:00
comfyanonymous
29ccf9f471
Fix typo.
2023-09-22 01:33:46 -04:00
comfyanonymous
422d16c027
Add some nodes to add, subtract and multiply latents.
2023-09-21 22:23:01 -04:00
MoonRide303
2b6b178173
Added support for lanczos scaling
2023-09-19 10:40:38 +02:00
comfyanonymous
0665749b1a
Move ModelSubtract and ModelAdd to advanced/model_merging
2023-09-17 02:10:06 -04:00
comfyanonymous
30de95e4b4
Add some nodes to subtract and add model weights.
2023-09-13 01:10:31 -04:00
comfyanonymous
8be46438be
Support DiffBIR SwinIR models.
2023-09-07 03:31:43 -04:00
comfyanonymous
766c7b3815
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
d70b0bc43c
Use the GPU for the canny preprocessor when available.
2023-08-29 17:58:40 -04:00
comfyanonymous
81d9200e18
Add node to convert a specific colour in an image to a mask.
2023-08-29 17:55:42 -04:00
comfyanonymous
fc99fa56a9
Add node to scale image to a total amount of pixels keeping aspect.
2023-08-18 02:32:39 -04:00
Corey
18e86a4010
add a node to allow growing of masks through dilation
2023-08-16 10:57:14 -04:00
comfyanonymous
6dc02c7bac
Add a "resize_source" option to Image and Latent CompositeMasked.
2023-08-15 17:51:52 -04:00
comfyanonymous
94fceb8700
Make Blur node use the image device for processing.
2023-08-14 21:08:45 -04:00
comfyanonymous
8c730dc4a7
Add an ImageCompositeMasked node.
2023-08-12 01:02:36 -04:00
comfyanonymous
1141029a4a
Add --disable-metadata argument to disable saving metadata in files.
2023-07-28 12:31:41 -04:00
comfyanonymous
5e3ac1928a
Implement modelspec metadata in CheckpointSave for SDXL and refiner.
2023-07-25 22:02:34 -04:00
comfyanonymous
a51f33ee49
Use bigger tiles when upscaling with model and fallback on OOM.
2023-07-24 19:47:32 -04:00
comfyanonymous
91ed2815d5
Add a node to merge CLIP models.
2023-07-14 02:41:18 -04:00
comfyanonymous
bdba394290
Add a canny preprocessor node.
2023-07-13 13:26:48 -04:00
comfyanonymous
a9a4ba7574
Fix merging not working when model2 of model merge node was a merge.
2023-07-08 22:31:10 -04:00
comfyanonymous
2c9d98f3e6
CLIPTextEncodeSDXL now works when prompts are of very different sizes.
2023-07-06 23:23:54 -04:00
comfyanonymous
c02f3baeaf
Now the model merge blocks node will use the longest match.
2023-07-04 00:51:17 -04:00
comfyanonymous
d94ddd8548
Add text encode nodes to control the extra parameters in SDXL.
2023-07-03 19:11:36 -04:00
comfyanonymous
9f2986318f
Move model merging nodes to advanced and add to readme.
2023-06-30 15:21:55 -04:00
comfyanonymous
9b93b920be
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
05676942b7
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
51581dbfa9
Fix last commits causing an issue with the text encoder lora.
2023-06-20 19:44:39 -04:00
comfyanonymous
bf3f271775
Add some nodes for basic model merging.
2023-06-20 19:17:03 -04:00
comfyanonymous
8883cb0f67
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
f3ac938b4a
Round the mask values for bitwise operations.
2023-05-28 00:42:53 -04:00
space-nuko
00646b0813
Bitwise operations for masks
2023-05-27 21:48:49 -05:00
comfyanonymous
7310290f17
Pull in latest upscale model code from chainner.
2023-05-23 22:26:50 -04:00
comfyanonymous
71666f248f
Fix padding in Blur.
2023-05-20 10:08:47 -04:00
BlenderNeko
36af98d755
improve sharpen and blur nodes
2023-05-20 15:23:28 +02:00
comfyanonymous
587f89fe5a
Enable safe loading for upscale models.
2023-05-14 15:10:40 -04:00
BlenderNeko
1201d2eae5
Make nodes map over input lists ( #579 )
...
* allow nodes to map over lists
* make work with IS_CHANGED and VALIDATE_INPUTS
* give list outputs distinct socket shape
* add rebatch node
* add batch index logic
* add repeat latent batch
* deal with noise mask edge cases in latentfrombatch
2023-05-13 11:15:45 -04:00
comfyanonymous
51583164ef
Make MaskToImage support masks with a batch size.
2023-05-10 10:03:30 -04:00
comfyanonymous
1a31020081
Support softsign hypernetwork.
2023-05-05 00:16:57 -04:00
comfyanonymous
fcf513e0b6
Refactor.
2023-05-03 17:48:35 -04:00
pythongosssss
5eeecf3fd5
remove unused import
2023-05-03 18:21:23 +01:00
pythongosssss
8912623ea9
use comfy progress bar
2023-05-03 18:19:22 +01:00
pythongosssss
fdf57325f4
Merge remote-tracking branch 'origin/master' into tiled-progress
2023-05-03 17:33:42 +01:00
pythongosssss
06ad35b493
added progress to encode + upscale
2023-05-02 19:18:07 +01:00
comfyanonymous
07194297fd
Python 3.7 support.
2023-04-25 14:02:17 -04:00
comfyanonymous
463bde66a1
Add hypernetwork example link to readme.
...
Move hypernetwork loader node to loaders.
2023-04-24 03:08:51 -04:00
comfyanonymous
4e345b31f6
Support all known hypernetworks.
2023-04-24 02:36:06 -04:00
comfyanonymous
5282f56434
Implement Linear hypernetworks.
...
Add a HypernetworkLoader node to use hypernetworks.
2023-04-23 12:35:25 -04:00
comfyanonymous
73c3e11e83
Fix model_management import so it doesn't get executed twice.
2023-04-15 19:04:33 -04:00
comfyanonymous
476d543fe8
Fix for older python.
...
from: https://github.com/comfyanonymous/ComfyUI/discussions/476
2023-04-15 10:56:15 -04:00
comfyanonymous
d98a4de9eb
LatentCompositeMasked: negative x, y don't work.
2023-04-14 00:49:19 -04:00
comfyanonymous
f48f0872e2
Refactor: move nodes_mask_convertion nodes to nodes_mask.
2023-04-14 00:21:01 -04:00
comfyanonymous
e1db7a2038
Merge branch 'image-to-mask' of https://github.com/missionfloyd/ComfyUI
...
# Conflicts:
# nodes.py
2023-04-14 00:15:48 -04:00
comfyanonymous
35a2c790b6
Update comfy_extras/nodes_mask.py
...
Co-authored-by: missionfloyd <missionfloyd@users.noreply.github.com>
2023-04-14 00:12:15 -04:00
missionfloyd
9371924e65
Move mask conversion to separate file
2023-04-13 03:11:17 -06:00
mligaintart
022a9f271b
Adds masking to Latent Composite, and provides new masking utilities to
...
allow better compositing.
2023-04-06 15:18:20 -04:00
comfyanonymous
871a76b77b
Rename and reorganize post processing nodes.
2023-04-04 22:54:33 -04:00
comfyanonymous
af291e6f69
Convert line endings to unix.
2023-04-04 13:56:13 -04:00
EllangoK
56196ab0f7
use common_upcale in blend
2023-04-04 10:57:34 -04:00
EllangoK
fa2febc062
blend supports any size, dither -> quantize
2023-04-03 09:52:04 -04:00
EllangoK
4c7a9dbcb6
adds Blend, Blur, Dither, Sharpen nodes
2023-04-02 18:44:27 -04:00
comfyanonymous
809bcc8ceb
Add support for unCLIP SD2.x models.
...
See _for_testing/unclip in the UI for the new nodes.
unCLIPCheckpointLoader is used to load them.
unCLIPConditioning is used to add the image cond and takes as input a
CLIPVisionEncode output which has been moved to the conditioning section.
2023-04-01 23:19:15 -04:00
comfyanonymous
2e73367f45
Merge T2IAdapterLoader and ControlNetLoader.
...
Workflows will be auto updated.
2023-03-17 18:17:59 -04:00
comfyanonymous
e1a9e26968
Add folder_paths so models can be in multiple paths.
2023-03-17 18:01:11 -04:00
comfyanonymous
494cfe5444
Prevent model_management from being loaded twice.
2023-03-15 15:18:18 -04:00
comfyanonymous
c8f1acc4eb
Put image upscaling nodes in image/upscaling category.
2023-03-11 18:10:36 -05:00
comfyanonymous
9db2e97b47
Tiled upscaling with the upscale models.
2023-03-11 14:04:13 -05:00
comfyanonymous
905857edd8
Take some code from chainner to implement ESRGAN and other upscale models.
2023-03-11 13:09:28 -05:00
comfyanonymous
7ec1dd25a2
A tiny bit of reorganizing.
2023-03-06 01:30:17 -05:00
comfyanonymous
47acb3d73e
Implement support for t2i style model.
...
It needs the CLIPVision model so I added CLIPVisionLoader and CLIPVisionEncode.
Put the clip vision model in models/clip_vision
Put the t2i style model in models/style_models
StyleModelLoader to load it, StyleModelApply to apply it
ConditioningAppend to append the conditioning it outputs to a positive one.
2023-03-05 18:39:25 -05:00