Commit Graph

1759 Commits

Author SHA1 Message Date
comfyanonymous
3fa2174377 Support SD2.1 turbo checkpoint. 2023-11-30 19:27:03 -05:00
comfyanonymous
02b4cb5a7a Do a garbage collect after the interval even if nothing is running. 2023-11-30 15:22:32 -05:00
pythongosssss
fe656b596d Group nodes (#1776)
* setup ui unit tests

* Refactoring, adding connections

* Few tweaks

* Fix type

* Add general test

* Refactored and extended test

* move to describe

* for groups

* wip group nodes

* Relink nodes
Fixed widget values
Convert to nodes

* Reconnect on convert back

* add via node menu + canvas
refactor

* Add ws event handling

* fix using wrong node on widget serialize

* allow reroute pipe
fix control_after_generate configure

* allow multiple images

* Add test for converted widgets on missing nodes + fix crash

* tidy

* mores tests + refactor

* throw earlier to get less confusing error

* support outputs

* more test

* add ci action

* use lts node

* Fix?

* Prevent connecting non matching combos

* update

* accidently removed npm i

* Disable logging extension

* fix naming
allow control_after_generate custom name
allow convert from reroutes

* group node tests

* Add executing info, custom node icon
Tidy

* internal reroute just works

* Fix crash on virtual nodes e.g. note

* Save group nodes to templates

* Fix template nodes not being stored

* Fix aborting convert

* tidy

* Fix reconnecting output links on convert to group

* Fix links on convert to nodes

* Handle missing internal nodes

* Trigger callback on text change

* Apply value on connect

* Fix converted widgets not reconnecting

* Group node updates
- persist internal ids in current session
- copy widget values when converting to nodes
- fix issue serializing converted inputs

* Resolve issue with sanitized node name

* Fix internal id

* allow outputs to be used internally and externally

* order widgets on group node
various fixes

* fix imageupload widget requiring a specific name

* groupnode imageupload test
give widget unique name

* Fix issue with external node links

* Add VAE model

* Fix internal node id check

* fix potential crash

* wip widget input support

* more wip group widget inputs

* Group node refactor
Support for primitives/converted widgets

* Fix convert to nodes with internal reroutes

* fix applying primitive

* Fix control widget values

* fix test
2023-11-30 14:13:27 -05:00
comfyanonymous
44c796430a Merge branch 'fix_folders_handling' of https://github.com/fazo96/ComfyUI 2023-11-29 14:10:30 -05:00
comfyanonymous
e346672ed3 Add to README that SDXL Turbo is supported. 2023-11-28 14:45:00 -05:00
comfyanonymous
55aed6cc38 Limit gc.collect() to once every 10 seconds. 2023-11-28 14:20:56 -05:00
comfyanonymous
9b85cd696c Add SDTurboScheduler node. 2023-11-28 13:35:32 -05:00
comfyanonymous
a4046b6acd Lower compress level of png sent on websocket. 2023-11-28 11:01:05 -05:00
comfyanonymous
dc15d6da73 Use smart model management for VAE to decrease latency. 2023-11-28 04:58:51 -05:00
comfyanonymous
92a323a5a9 Lower compress level for image preview. 2023-11-28 04:57:59 -05:00
comfyanonymous
74c9460844 Merge branch 'undo-redo' of https://github.com/pythongosssss/ComfyUI 2023-11-27 22:29:46 -05:00
comfyanonymous
5b12f320a8 Add a function to load a unet from a state dict. 2023-11-27 17:41:29 -05:00
comfyanonymous
c675a1ba9f .sigma and .timestep now return tensors on the same device as the input. 2023-11-27 16:41:33 -05:00
comfyanonymous
9e5022a43b ModelSamplingDiscreteLCM -> ModelSamplingDiscreteDistilled 2023-11-27 16:32:03 -05:00
comfyanonymous
dcd91ab458 Try to free memory for both cond+uncond before inference. 2023-11-27 14:55:40 -05:00
comfyanonymous
3253675a9c Tweak memory inference calculations a bit. 2023-11-27 14:04:16 -05:00
pythongosssss
a2b2433a2e fix formatting 2023-11-27 14:02:50 +00:00
pythongosssss
3b53ad4b30 Add simple undo redo history 2023-11-27 14:00:15 +00:00
comfyanonymous
d12c67cf42 Merge branch 'path_error_fix' of https://github.com/jeske/ComfyUI 2023-11-27 02:06:08 -05:00
David Jeske
3be2e9153d better error for invalid output paths 2023-11-26 13:10:31 -07:00
Jack Bauer
bd8b86931c Remove hard coded max_items in history API 2023-11-26 17:23:11 +04:00
comfyanonymous
60f4b792c8 Fix regression from last commit. 2023-11-26 03:43:02 -05:00
comfyanonymous
e4900be7f3 Clean up the extra_options dict for the transformer patches.
Now everything in transformer_options gets put in extra_options.
2023-11-26 03:13:56 -05:00
comfyanonymous
fe9007c51a Add a lora loader node for models with no CLIP. 2023-11-25 02:26:50 -05:00
comfyanonymous
ac77dc020e Fix importing diffusers unets. 2023-11-24 20:35:29 -05:00
comfyanonymous
ef7e79ec85 Fix output APNG not working with ffmpeg. 2023-11-24 18:24:19 -05:00
comfyanonymous
3aeca9e72c Fix APNG not working in ffmpeg. 2023-11-24 18:14:17 -05:00
comfyanonymous
564761ab2a Use same default fps as webp node. 2023-11-24 11:19:23 -05:00
comfyanonymous
3e33fad53d Add a node to save animated PNG files. These work in ffpmeg unlike webp. 2023-11-24 11:12:10 -05:00
comfyanonymous
eb17325740 Make buggy xformers fall back on pytorch attention. 2023-11-24 03:55:35 -05:00
comfyanonymous
8ff2267cb5 Fix issue loading webp files in UI. 2023-11-24 02:08:08 -05:00
comfyanonymous
7eb5438e7d Add to Readme that Stable Video Diffusion is supported. 2023-11-24 00:27:08 -05:00
comfyanonymous
9623e03e9f Fix typo. 2023-11-23 23:20:07 -05:00
comfyanonymous
838bcaa395 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
2023-11-23 19:48:49 -05:00
comfyanonymous
5e4d60a231 Support SVD img2vid model. 2023-11-23 19:41:33 -05:00
Enrico Fasoli
847e4d59ee fix: folder handling issues 2023-11-23 22:24:58 +01:00
comfyanonymous
6a3d309f7c Fix SaveAnimatedWEBP not working when metadata is disabled. 2023-11-23 15:39:35 -05:00
pythongosssss
70d30795c8 Call widget onRemove to remove element 2023-11-23 19:43:55 +00:00
comfyanonymous
b55e3ab86b Add a node to save animated webp. 2023-11-23 14:28:41 -05:00
comfyanonymous
d1e14958da Update readme with link to LCM example page. 2023-11-23 11:59:11 -05:00
comfyanonymous
061475a763 Fix loading groups. 2023-11-23 01:09:15 -05:00
comfyanonymous
d752c5f236 Make VAE memory estimation take dtype into account. 2023-11-22 18:17:19 -05:00
comfyanonymous
08b14daf24 Add sampling_settings so models can specify specific sampling settings. 2023-11-22 17:24:00 -05:00
pythongosssss
cf32fa424a Control filter list (#2009)
* Add control_filter_list to filter items after queue

* fix regex

* backwards compatibility

* formatting

* revert

* Add and fix test
2023-11-22 12:52:20 -05:00
comfyanonymous
7fa9f76052 Merge branch 'hide-if-collapsed' of https://github.com/pythongosssss/ComfyUI 2023-11-22 11:46:21 -05:00
pythongosssss
855fda3842 Handle collapsing to hide element 2023-11-22 13:53:30 +00:00
comfyanonymous
2f876a465b Allow controlling downscale and upscale methods in PatchModelAddDownscale. 2023-11-22 03:23:16 -05:00
comfyanonymous
cd49281bf8 Remove useless code. 2023-11-21 17:27:28 -05:00
comfyanonymous
212bb0e108 Allow model config to preprocess the vae state dict on load. 2023-11-21 16:29:18 -05:00
comfyanonymous
6b8ab53993 Merge branch 'fix-collapsed-clip' of https://github.com/pythongosssss/ComfyUI 2023-11-21 13:26:26 -05:00