249 Commits (0eaa34ec5b22fd305159a78ea92b2ef00105ab18)

Author SHA1 Message Date
comfyanonymous 8ae1e4d125 Make step on sharpen node smaller. 11 months ago
comfyanonymous 40e124c6be SV3D support. 11 months ago
comfyanonymous 0b78213bda Fix neg scale step. 11 months ago
comfyanonymous b1a16d4500 Fix stable cascade img2img not working with all resolutions. 11 months ago
comfyanonymous d3406d8d58 Increase image batch nodes maximum values. 11 months ago
comfyanonymous f2fe635c9f SamplerDPMAdaptative node to test the different options. 11 months ago
comfyanonymous eda8704386 Add SamplerDPMPP_3M_SDE node. 12 months ago
comfyanonymous e7b8e240f7 Add SamplerLMS node. 12 months ago
comfyanonymous 2a813c3b09 Switch some more prints to logging. 12 months ago
MoonRide303 4656273e72 Added additional nodes for CLIP merging 12 months ago
comfyanonymous a9ee9589b7 Add SamplerEulerAncestral node. 12 months ago
comfyanonymous 55f37baae8 Move some stable cascade nodes outside of _for_testing. 12 months ago
comfyanonymous 3f75419e2e Add a node to use the super resolution controlnet. 12 months ago
Dmytro Mishkin 6d8834f08f
Add Morphology nodes from kornia (#2781)
* import kornia

* Added morphology nodexs

* Add kornia to requirements

* fix choices

* options, also move to postprocessors

* fix placing and step
12 months ago
comfyanonymous 0490ce8244 Fix differential diffusion node for batches. 12 months ago
comfyanonymous b2e1744a16 Add a ThresholdMask node. 12 months ago
comfyanonymous 12c1080ebc Simplify differential diffusion code. 12 months ago
Shiimizu 727021bdea
Implement Differential Diffusion (#2876)
* Implement Differential Diffusion

* Cleanup.

* Fix.

* Masks should be applied at full strength.

* Fix colors.

* Register the node.

* Cleaner code.

* Fix issue with getting unipc sampler.

* Adjust thresholds.

* Switch to linear thresholds.

* Only calculate nearest_idx on valid thresholds.
12 months ago
comfyanonymous d46583ecec Playground V2.5 support with ModelSamplingContinuousEDM node.
Use ModelSamplingContinuousEDM with edm_playground_v2.5 selected.
1 year ago
comfyanonymous 877a8f7a3c Merge branch 'patch-1' of https://github.com/feffy380/ComfyUI 1 year ago
comfyanonymous 7faa4507ec ModelSamplingDiscrete: x0 model support that predict a denoised image. 1 year ago
feffy380 820807c8ed
Fix Perp-Neg math
adjust perp-neg implementation to match the paper
1 year ago
comfyanonymous a311524969 Node to make stable cascade image to image easier. 1 year ago
comfyanonymous dbe0979b3f Larger range for min/max compression for StableCascade_EmptyLatentImage. 1 year ago
comfyanonymous 8b60d33bb7 Add ModelSamplingStableCascade to control the shift sampling parameter.
shift is 2.0 by default on Stage C and 1.0 by default on Stage B.
1 year ago
comfyanonymous 667c92814e Stable Cascade Stage B. 1 year ago
comfyanonymous 0c9bc19768 Add ImageFromBatch. 1 year ago
comfyanonymous 20e3da6b31 Add a node to give the controlnet a prompt different from the unet. 1 year ago
FizzleDorf f2bae7463e
changed default of LatentBatchSeedBehavior to fixed 1 year ago
comfyanonymous 7f4725f6b3 Fix some issues with --gpu-only 1 year ago
comfyanonymous fc196aac80 Add a LatentBatchSeedBehavior node.
This lets you set it so the latents can use the same seed for the sampling
on every image in the batch.
1 year ago
comfyanonymous d1533d9c0f Add experimental photomaker nodes.
Put the model file in models/photomaker and use PhotoMakerLoader.

Then use PhotoMakerEncode with the keyword "photomaker" to apply the image
1 year ago
comfyanonymous f2d432f9a7 Fix potential turbo scheduler model patching issue. 1 year ago
comfyanonymous 9fff3c46b4 Move some nodes to model_patches section. 1 year ago
comfyanonymous d76a04b6ea Add unfinished ImageOnlyCheckpointSave node to save a SVD checkpoint.
This node is unfinished, SVD checkpoints saved with this node will
work with ComfyUI but not with anything else.
1 year ago
comfyanonymous d4edd9bfa8 Fix hypertile issue with high depths. 1 year ago
comfyanonymous b4e915e745 Skip SAG when latent is too small. 1 year ago
comfyanonymous 2c80d9acb9 Round up to nearest power of 2 in SAG node to fix some resolution issues. 1 year ago
comfyanonymous 7c9a0f7e0a Fix BasicScheduler issue with Loras. 1 year ago
comfyanonymous 35322a3766 StableZero123_Conditioning_Batched node.
This node lets you generate a batch of images with different elevations or
azimuths by setting the elevation_batch_increment and/or
azimuth_batch_increment.

It also sets the batch index for the latents so that the same init noise is
used on each frame.
1 year ago
comfyanonymous 8c6493578b Implement noise augmentation for SD 4X upscale model. 1 year ago
comfyanonymous ef4f6037cb Fix model patches not working in custom sampling scheduler nodes. 1 year ago
comfyanonymous a7874d1a8b Add support for the stable diffusion x4 upscaling model.
This is an old model.

Load the checkpoint like a regular one and use the new
SD_4XUpscale_Conditioning node.
1 year ago
comfyanonymous d1f3637a5a Add a denoise parameter to BasicScheduler node. 1 year ago
comfyanonymous 6781b181ef Fix potential tensor device issue with ImageCompositeMasked. 1 year ago
comfyanonymous 5f54614e7f Add a RebatchImages node. 1 year ago
comfyanonymous e82942cc29 Add a denoise parameter to the SDTurboScheduler. 1 year ago
comfyanonymous 571ea8cdcc Fix SAG not working with cfg 1.0 1 year ago
comfyanonymous d2f322902c Fix wrong Stable Zero123 node name. 1 year ago
comfyanonymous 2258f85159 Support stable zero 123 model.
To use it use the ImageOnlyCheckpointLoader to load the checkpoint and
the new Stable_Zero123 node.
1 year ago
comfyanonymous a036b94075 Move SaveAnimated nodes to image->animation. 1 year ago
comfyanonymous 574efd3782 Fix perpneg not working on SDXL. 1 year ago
comfyanonymous 172984db01 Fix SAG not working on certain resolutions. 1 year ago
comfyanonymous 6596654d47 Add a LatentBatch node. 1 year ago
comfyanonymous adc40e3d7b Forgot this. 1 year ago
comfyanonymous 014c8bf2f2 Refactor LCM to support more model types. 1 year ago
comfyanonymous 9cad2f06ff Make perp neg take a conditioning input instead of a CLIP one. 1 year ago
Hari 574363a8a6 Implement Perp-Neg 1 year ago
comfyanonymous a5056cfb1f Remove useless code. 1 year ago
comfyanonymous b12b48e170 cleanup. 1 year ago
comfyanonymous ba04a87d10 Refactor and improve the sag node.
Moved all the sag related code to comfy_extras/nodes_sag.py
1 year ago
Rafie Walker 6761233e9d
Implement Self-Attention Guidance (#2201)
* First SAG test

* need to put extra options on the model instead of patcher

* no errors and results seem not-broken

* Use @ashen-uncensored formula, which works better!!!

* Fix a crash when using weird resolutions. Remove an unnecessary UNet call

* Improve comments, optimize memory in blur routine

* SAG works with sampler_cfg_function
1 year ago
comfyanonymous 9ac0b487ac Make --gpu-only put intermediate values in GPU memory instead of cpu. 1 year ago
comfyanonymous cdff081023 Fix hypertile. 1 year ago
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