285 Commits (3f5939add69c2a8fea2b892a46a48c2937dc4128)

Author SHA1 Message Date
asagi4 03eadbb53c Make HyperTile deterministic 1 year ago
comfyanonymous 57d7f4464f Add SDTurboScheduler node. 1 year ago
comfyanonymous f30b992b18 .sigma and .timestep now return tensors on the same device as the input. 1 year ago
comfyanonymous 488de0b4df ModelSamplingDiscreteLCM -> ModelSamplingDiscreteDistilled 1 year ago
comfyanonymous e020ab61f9 Fix output APNG not working with ffmpeg. 1 year ago
comfyanonymous 8ad5d494d5 Fix APNG not working in ffmpeg. 1 year ago
comfyanonymous 916e9c998c Use same default fps as webp node. 1 year ago
comfyanonymous eff24ea6aa Add a node to save animated PNG files. These work in ffpmeg unlike webp. 1 year ago
comfyanonymous 02ffbb2de3 Fix typo. 1 year ago
comfyanonymous 42dfae6331 Nodes to properly use the SDV img2vid checkpoint.
The img2vid model is conditioned on clip vision output only which means
there's no CLIP model which is why I added a ImageOnlyCheckpointLoader to
load it. Note that the unClipCheckpointLoader can also load it because it
also has a CLIP_VISION output.

SDV_img2vid_Conditioning is the node used to pass the right conditioning
to the img2vid model.

VideoLinearCFGGuidance applies a linearly decreasing CFG scale to each
video frame from the cfg set in the sampler node to min_cfg.

SDV_img2vid_Conditioning can be found in conditioning->video_models
ImageOnlyCheckpointLoader can be found in loaders->video_models
VideoLinearCFGGuidance can be found in sampling->video_models
1 year ago
comfyanonymous 871cc20e13 Support SVD img2vid model. 1 year ago
comfyanonymous 022033a0e7 Fix SaveAnimatedWEBP not working when metadata is disabled. 1 year ago
comfyanonymous a657f96c5c Add a node to save animated webp. 1 year ago
comfyanonymous c3ae99a749 Allow controlling downscale and upscale methods in PatchModelAddDownscale. 1 year ago
comfyanonymous 31c5ea7b2c Add LatentInterpolate to interpolate between latents. 1 year ago
comfyanonymous dba4f3b4fc Add a RepeatImageBatch node. 1 year ago
comfyanonymous d9d8702d8d percent_to_sigma now returns a float instead of a tensor. 1 year ago
comfyanonymous 8a451234b3 Add ImageCrop node. 1 year ago
comfyanonymous 7e3fe3ad28 Make deep shrink behave like it should. 1 year ago
comfyanonymous bd07ad1861 Add PatchModelAddDownscale (Kohya Deep Shrink) node.
By adding a downscale to the unet in the first timesteps this node lets
you generate images at higher resolutions with less consistency issues.
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 420beeeb05 Clean up and refactor sampler code.
This should make it much easier to write custom nodes with kdiffusion type
samplers.
1 year ago
comfyanonymous 8509bd58b4 Reorganize custom_sampling nodes. 1 year ago
comfyanonymous 61112c81b9 Add a node to flip the sigmas for unsampling. 1 year ago
comfyanonymous ca2812bae0 Fix RescaleCFG for batch size > 1. 1 year ago
comfyanonymous 58d5d71a93 Working RescaleCFG node.
This was broken because of recent changes so I fixed it and moved it from
the experiments repo.
1 year ago
comfyanonymous 002aefa382 Support lcm models.
Use the "lcm" sampler to sample them, you also have to use the
ModelSamplingDiscrete node to set them as lcm models to use them properly.
1 year ago
comfyanonymous ca71e542d2 Lower cfg step to 0.1 in sampler nodes. 1 year ago
comfyanonymous 844dbf97a7 Add: advanced->model->ModelSamplingDiscrete node.
This allows changing the sampling parameters of the model (eps or vpred)
or set the model to use zsnr.
1 year ago
matt3o 4acfc11a80 add difference blend mode 1 year ago
comfyanonymous ee74ef5c9e Increase maximum batch size in LatentRebatch. 1 year ago
tsone 23c5d17837 Added Bayer dithering to Quantize node. 1 year ago
comfyanonymous 1443caf373 HyperTile node, can be found in: _for_testing->HyperTile 1 year ago
comfyanonymous c2bb34d865 Implement updated FreeU as _for_testing->FreeU_V2 node 1 year ago
comfyanonymous f8caa24bcc Support hypernetwork with mish activation function and layer norm. 1 year ago
Jairo Correa b5fa3d28d7 Fix MaskComposite 1 year ago
Jairo Correa 87097a11c3 Fix FeatherMask 1 year ago
comfyanonymous 20d3852aa1 Pull some small changes from the other repo. 1 year ago
comfyanonymous 877553843f Add a CLIPSave node to save CLIP model weights. 1 year ago
comfyanonymous 7bb9f6b7e8 Add a VAESave node. 1 year ago
comfyanonymous c16f5744e3 Fix SplitImageWithAlpha and JoinImageWithAlpha. 1 year ago
comfyanonymous 69a824e9a4 Move _for_testing/custom_sampling nodes to sampling/custom_sampling. 1 year ago
comfyanonymous 0e763e880f JoinImageWithAlpha now works with any mask shape. 1 year ago
comfyanonymous 9212bea87c Change a few things in #1578. 1 year ago
MoonRide303 214ca7197e Corrected joining images with alpha (for RGBA input), and checking scaling conditions 1 year ago
MoonRide303 585fb0475b Adding default alpha when splitting RGB images 1 year ago
MoonRide303 ece69bf28c Change channel type to MASK (reduced redundancy, increased usability) 1 year ago
MoonRide303 d06cd2805d Added support for Porter-Duff image compositing 1 year ago
comfyanonymous 2ef459b1d4 Add VPScheduler node 1 year ago
comfyanonymous 8ab49dc0a4 DPMPP_SDE node. 1 year ago
comfyanonymous 213976f8c3 Add ExponentialScheduler and PolyexponentialScheduler nodes. 1 year ago
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
1 year ago
comfyanonymous 66756de100 Add SamplerDPMPP_2M_SDE node. 1 year ago
comfyanonymous 26b7372805 Fix SplitSigmas. 1 year ago
comfyanonymous 76e0f8fc8f Add function to split sigmas. 1 year ago
comfyanonymous 2bf051fda8 Add a basic node to generate sigmas from scheduler. 1 year ago
comfyanonymous d234ca558a Add missing samplers to KSamplerSelect. 1 year ago
comfyanonymous 1d7dfc07d5 Make add_noise in SamplerCustom a boolean. 1 year ago
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.
1 year ago
comfyanonymous 1d36dfb9fe GrowMask now works with mask batches. 1 year ago
comfyanonymous d76d71de3f GrowMask can now be used with negative numbers to erode it. 1 year ago
comfyanonymous d2cec6cdbf Make mask functions work with batches of masks and images. 1 year ago
comfyanonymous 046b4fe0ee Support batches of masks in mask composite nodes. 1 year ago
comfyanonymous f00471cdc8 Do FreeU fft on CPU if the device doesn't support fft functions. 1 year ago
comfyanonymous 05e661e5ef FreeU now works with the refiner. 1 year ago
comfyanonymous fd93c759e2 Implement FreeU: Free Lunch in Diffusion U-Net node.
_for_testing->FreeU
1 year ago
comfyanonymous 29ccf9f471 Fix typo. 1 year ago
comfyanonymous 422d16c027 Add some nodes to add, subtract and multiply latents. 1 year ago
MoonRide303 2b6b178173 Added support for lanczos scaling 1 year ago
comfyanonymous 0665749b1a Move ModelSubtract and ModelAdd to advanced/model_merging 1 year ago
comfyanonymous 30de95e4b4 Add some nodes to subtract and add model weights. 1 year ago
comfyanonymous 8be46438be Support DiffBIR SwinIR models. 1 year ago
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.
1 year ago
comfyanonymous d70b0bc43c Use the GPU for the canny preprocessor when available. 2 years ago
comfyanonymous 81d9200e18 Add node to convert a specific colour in an image to a mask. 2 years ago
comfyanonymous fc99fa56a9 Add node to scale image to a total amount of pixels keeping aspect. 2 years ago
Corey 18e86a4010 add a node to allow growing of masks through dilation 2 years ago
comfyanonymous 6dc02c7bac Add a "resize_source" option to Image and Latent CompositeMasked. 2 years ago
comfyanonymous 94fceb8700 Make Blur node use the image device for processing. 2 years ago
comfyanonymous 8c730dc4a7 Add an ImageCompositeMasked node. 2 years ago
comfyanonymous 1141029a4a Add --disable-metadata argument to disable saving metadata in files. 2 years ago
comfyanonymous 5e3ac1928a Implement modelspec metadata in CheckpointSave for SDXL and refiner. 2 years ago
comfyanonymous a51f33ee49 Use bigger tiles when upscaling with model and fallback on OOM. 2 years ago
comfyanonymous 91ed2815d5 Add a node to merge CLIP models. 2 years ago
comfyanonymous bdba394290 Add a canny preprocessor node. 2 years ago
comfyanonymous a9a4ba7574 Fix merging not working when model2 of model merge node was a merge. 2 years ago
comfyanonymous 2c9d98f3e6 CLIPTextEncodeSDXL now works when prompts are of very different sizes. 2 years ago
comfyanonymous c02f3baeaf Now the model merge blocks node will use the longest match. 2 years ago
comfyanonymous d94ddd8548 Add text encode nodes to control the extra parameters in SDXL. 2 years ago
comfyanonymous 9f2986318f Move model merging nodes to advanced and add to readme. 2 years ago
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.
2 years ago
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.
2 years ago
comfyanonymous 51581dbfa9 Fix last commits causing an issue with the text encoder lora. 2 years ago
comfyanonymous bf3f271775 Add some nodes for basic model merging. 2 years ago
comfyanonymous 8883cb0f67 Add a way to set patches that modify the attn2 output.
Change the transformer patches function format to be more future proof.
2 years ago
comfyanonymous f3ac938b4a Round the mask values for bitwise operations. 2 years ago
space-nuko 00646b0813 Bitwise operations for masks 2 years ago
comfyanonymous 7310290f17 Pull in latest upscale model code from chainner. 2 years ago
comfyanonymous 71666f248f Fix padding in Blur. 2 years ago
BlenderNeko 36af98d755 improve sharpen and blur nodes 2 years ago
comfyanonymous 587f89fe5a Enable safe loading for upscale models. 2 years ago
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
2 years ago
comfyanonymous 51583164ef Make MaskToImage support masks with a batch size. 2 years ago
comfyanonymous 1a31020081 Support softsign hypernetwork. 2 years ago
comfyanonymous fcf513e0b6 Refactor. 2 years ago
pythongosssss 5eeecf3fd5 remove unused import 2 years ago
pythongosssss 8912623ea9 use comfy progress bar 2 years ago
pythongosssss fdf57325f4 Merge remote-tracking branch 'origin/master' into tiled-progress 2 years ago
pythongosssss 06ad35b493 added progress to encode + upscale 2 years ago
comfyanonymous 07194297fd Python 3.7 support. 2 years ago
comfyanonymous 463bde66a1 Add hypernetwork example link to readme.
Move hypernetwork loader node to loaders.
2 years ago
comfyanonymous 4e345b31f6 Support all known hypernetworks. 2 years ago
comfyanonymous 5282f56434 Implement Linear hypernetworks.
Add a HypernetworkLoader node to use hypernetworks.
2 years ago
comfyanonymous 73c3e11e83 Fix model_management import so it doesn't get executed twice. 2 years ago
comfyanonymous 476d543fe8 Fix for older python.
from: https://github.com/comfyanonymous/ComfyUI/discussions/476
2 years ago
comfyanonymous d98a4de9eb LatentCompositeMasked: negative x, y don't work. 2 years ago
comfyanonymous f48f0872e2 Refactor: move nodes_mask_convertion nodes to nodes_mask. 2 years ago
comfyanonymous e1db7a2038 Merge branch 'image-to-mask' of https://github.com/missionfloyd/ComfyUI
# Conflicts:
#	nodes.py
2 years ago
comfyanonymous 35a2c790b6
Update comfy_extras/nodes_mask.py
Co-authored-by: missionfloyd <missionfloyd@users.noreply.github.com>
2 years ago
missionfloyd 9371924e65 Move mask conversion to separate file 2 years ago
mligaintart 022a9f271b Adds masking to Latent Composite, and provides new masking utilities to
allow better compositing.
2 years ago
comfyanonymous 871a76b77b Rename and reorganize post processing nodes. 2 years ago
comfyanonymous af291e6f69 Convert line endings to unix. 2 years ago
EllangoK 56196ab0f7 use common_upcale in blend 2 years ago
EllangoK fa2febc062 blend supports any size, dither -> quantize 2 years ago
EllangoK 4c7a9dbcb6 adds Blend, Blur, Dither, Sharpen nodes 2 years ago
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.
2 years ago
comfyanonymous 2e73367f45 Merge T2IAdapterLoader and ControlNetLoader.
Workflows will be auto updated.
2 years ago
comfyanonymous e1a9e26968 Add folder_paths so models can be in multiple paths. 2 years ago
comfyanonymous 494cfe5444 Prevent model_management from being loaded twice. 2 years ago
comfyanonymous c8f1acc4eb Put image upscaling nodes in image/upscaling category. 2 years ago
comfyanonymous 9db2e97b47 Tiled upscaling with the upscale models. 2 years ago
comfyanonymous 905857edd8 Take some code from chainner to implement ESRGAN and other upscale models. 2 years ago
comfyanonymous 7ec1dd25a2 A tiny bit of reorganizing. 2 years ago
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.
2 years ago