Commit Graph

1516 Commits

Author SHA1 Message Date
newturok
997d9af7c4
Merge 09fc080ed1 into ec454c771b 2023-10-02 15:15:13 -07:00
comfyanonymous
ec454c771b Refactor with code from comment of #1588 2023-10-02 17:26:59 -04:00
comfyanonymous
2ef459b1d4 Add VPScheduler node 2023-10-01 03:48:07 -04:00
comfyanonymous
8ab49dc0a4 DPMPP_SDE node. 2023-09-30 01:51:22 -04:00
comfyanonymous
213976f8c3 Add ExponentialScheduler and PolyexponentialScheduler nodes. 2023-09-29 09:05:30 -04:00
badayvedat
0f17993d05 fix: typo in extra sampler 2023-09-29 06:09:59 +03:00
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
71713888c4 Print missing VAE keys. 2023-09-28 00:54:57 -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
bf3fc2f1b7 Refactor sampling related code. 2023-09-27 16:45:22 -04:00
comfyanonymous
fff491b032 Model patches can now know which batch is positive and negative. 2023-09-27 12:04:07 -04:00
comfyanonymous
1d6dd83184 Scheduler code refactor. 2023-09-26 17:07:07 -04:00
comfyanonymous
446caf711c Sampling code refactor. 2023-09-26 13:45:15 -04:00
comfyanonymous
aeba1cc2a0 Merge branch 'chore/update-actions-versions' of https://github.com/M1kep/ComfyUI 2023-09-26 02:58:55 -04:00
comfyanonymous
9546a798fb Make LoadImage and LoadImageMask return masks in batch format. 2023-09-26 02:56:40 -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
Michael Poutre
e0efa78b71
chore(CI): Update test-build to use updated version of actions 2023-09-25 21:20:51 -07: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
ba7dfd60f2 Merge branch 'proportional-scale' of https://github.com/jn-jairo/ComfyUI 2023-09-25 12:39:53 -04:00
comfyanonymous
2381d36e6d 1024 wasn't enough. 2023-09-25 01:46:44 -04:00
comfyanonymous
42f6d1ebe2 Increase maximum batch sizes of empty image nodes. 2023-09-25 01:22:37 -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
77c124c5a1 Fix typo. 2023-09-24 13:27:57 -04:00
Jairo Correa
593b7069e7 Proportional scale latent and image 2023-09-24 12:08:54 -03:00
newturok
09fc080ed1
Refactor code to use dictionary comprehension
In this commit, we have refactored the code to improve its readability and conciseness by replacing the traditional `for` loop with a dictionary comprehension. The original code iterated through `nodes.NODE_CLASS_MAPPINGS`, calling the `node_info` function for each element and populating the `out` dictionary. The refactored code achieves the same functionality but in a more Pythonic way.

This refactoring not only makes the code more concise but also improves its maintainability and reduces the potential for errors. It adheres to Python's best practices for clean and efficient code, enhancing the overall quality of the codebase.
2023-09-24 03:01:15 +03:00
comfyanonymous
76cdc809bf Support more controlnet models. 2023-09-23 18:47:46 -04:00
comfyanonymous
05e661e5ef FreeU now works with the refiner. 2023-09-23 12:19:08 -04:00
comfyanonymous
ae87543653 Merge branch 'cast_intel' of https://github.com/simonlui/ComfyUI 2023-09-23 00:57:17 -04:00
comfyanonymous
fd93c759e2 Implement FreeU: Free Lunch in Diffusion U-Net node.
_for_testing->FreeU
2023-09-23 00:56:09 -04:00
Simon Lui
eec449ca8e Allow Intel GPUs to LoRA cast on GPU since it supports BF16 natively. 2023-09-22 21:11:27 -07:00
comfyanonymous
afa2399f79 Add a way to set output block patches to modify the h and hsp. 2023-09-22 20:26:47 -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
comfyanonymous
492db2de8d Allow having a different pooled output for each image in a batch. 2023-09-21 01:14:42 -04:00
comfyanonymous
0793eb9269 Only clear clipboard when copying nodes. 2023-09-20 23:16:01 -04:00
comfyanonymous
4d41bd595c Fix loading group titles. 2023-09-20 21:46:41 -04:00
comfyanonymous
1122df1a20 Increase range of lora strengths. 2023-09-20 17:58:54 -04:00
comfyanonymous
1cdfb3dba4 Only do the cast on the device if the device supports it. 2023-09-20 17:52:41 -04:00
comfyanonymous
b92a86d737 Update litegraph to upstream. 2023-09-20 13:24:08 -04:00
comfyanonymous
f895260e5e Merge branch 'escape-glob' of https://github.com/seanlynch/ComfyUI 2023-09-19 13:13:40 -04:00
comfyanonymous
7c9a92f552 Don't depend on torchvision. 2023-09-19 13:12:47 -04:00
Sean Lynch
8321592408 Escape paths when passing them to globs
Try to prevent JS search from breaking on pathnames with square
brackets.
2023-09-19 08:18:29 -04:00