1931 Commits

Author SHA1 Message Date
comfyanonymous
50fb52bc5b Remove some unused imports. 2024-01-25 23:42:37 -05:00
comfyanonymous
646783d2b4 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
2024-01-24 09:51:42 -05:00
comfyanonymous
794151c931 Sync litegraph with repo.
https://github.com/comfyanonymous/litegraph.js/pull/4
2024-01-23 20:01:37 -05:00
pythongosssss
44ab999596 Support refresh on group node combos (#2625)
* Support refresh on group node combos

* fix check
2024-01-23 14:15:52 -05:00
Dr.Lt.Data
f91644b5e9 typo fix - calculate_sigmas_scheduler (#2619)
self.scheduler -> scheduler_name

Co-authored-by: Lt.Dr.Data <lt.dr.data@gmail.com>
2024-01-23 03:47:01 -05:00
comfyanonymous
a53633211f Fix potential turbo scheduler model patching issue. 2024-01-22 00:28:13 -05:00
comfyanonymous
2f33a09886 Cleanup some unused imports. 2024-01-21 21:51:22 -05:00
Kristjan Pärt
91c216c8a2 Fix queue on change to respect auto queue checkbox (#2608)
* Fix render on change not respecting auto queue checkbox

Fix issue where autoQueueEnabled checkbox is ignored for changes if autoQueueMode is left on `change`

* Make check more specific
2024-01-21 21:34:39 -05:00
comfyanonymous
9d1eb458e8 Merge branch 'patch-1' of https://github.com/TFWol/ComfyUI 2024-01-20 20:17:57 -05:00
comfyanonymous
d87a487ead Fix for the extracting issue on windows. 2024-01-19 23:08:15 -05:00
comfyanonymous
3d6af7145d Remove useless import. 2024-01-19 15:38:05 -05:00
comfyanonymous
381fe99d0c Move some nodes to model_patches section. 2024-01-18 15:57:35 -05:00
comfyanonymous
8739736c6e 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.
2024-01-17 19:46:21 -05:00
realazthat
82ab3b7f0f Don't use PEP 604 type hints, to stay compatible with Python<3.10. 2024-01-17 17:16:34 -05:00
pythongosssss
8b4c19cecc Fix renaming upload widget (#2554)
* Fix renaming upload widget

* Allow custom name
2024-01-16 08:58:54 -05:00
comfyanonymous
5cc2688953 Merge branch 'fix-logging-setting' of https://github.com/pythongosssss/ComfyUI 2024-01-16 08:29:38 -05:00
pythongosssss
d6501dbbf8 Auto queue on change (#2542)
* Add toggle to enable auto queue when graph is changed

* type fix

* better

* better alignment

* Change undoredo to not ignore inputs when autoqueue in change mode
2024-01-16 08:27:40 -05:00
pythongosssss
009a9e85c1 Fix logging not checking onChange 2024-01-15 17:45:48 +00:00
comfyanonymous
96232a0a45 Only auto enable bf16 VAE on nvidia GPUs that actually support it. 2024-01-15 03:10:22 -05:00
TFWol
239fd84407 Add error handling to initial fix to keep cache intact 2024-01-14 15:06:33 -08:00
comfyanonymous
30b062a477 Make unclip more deterministic.
Pass a seed argument note that this might make old unclip images different.
2024-01-14 17:28:31 -05:00
pythongosssss
028d789bf2 Adds copy image option if browser feature available (#2544)
* Adds copy image option if browser feature available

* refactor
2024-01-14 14:53:52 -05:00
comfyanonymous
678613b2f8 Merge branch 'control_before_generate' of https://github.com/pythongosssss/ComfyUI 2024-01-13 16:06:43 -05:00
comfyanonymous
89dc521fb7 Merge branch 'undoredo-fix-modifiers' of https://github.com/pythongosssss/ComfyUI 2024-01-13 16:03:44 -05:00
pythongosssss
d5fd4a5f58 Fix crash on group render 2024-01-13 21:02:51 +00:00
pythongosssss
d0d3250e84 Manage group nodes (#2455)
* wip group manage

* prototyping ui

* tweaks

* wip

* wip

* more wip

* fixes
add deletion

* Fix tests

* fixes

* Remove test code

* typo

* fix crash when link is invalid
2024-01-13 15:43:20 -05:00
pythongosssss
258b0c95f1 export function 2024-01-13 18:57:59 +00:00
pythongosssss
35202190d5 add setting to change control after generate to run before 2024-01-13 18:57:47 +00:00
pythongosssss
bd565e5146 Fix modifiers triggering key down checks 2024-01-13 17:00:30 +00:00
comfyanonymous
28712a5446 Rename status notes to status messages.
I think message describes them better.
2024-01-12 18:17:06 -05:00
comfyanonymous
5a89871e0c Clear status notes on execution start. 2024-01-12 17:21:22 -05:00
comfyanonymous
17f65b0310 Merge branch 'enhanced-history-status' of https://github.com/realazthat/ComfyUI 2024-01-12 16:36:56 -05:00
comfyanonymous
75966467dc Make server storage the default.
Remove --server-storage argument.
2024-01-11 17:21:40 -05:00
comfyanonymous
94ba290da9 Fix hypertile issue with high depths. 2024-01-11 15:13:38 -05:00
realazthat
e57852b5e9 Add error, status to /history endpoint 2024-01-11 10:16:42 -05:00
TFWol
782127cae3 Resolved crashing nodes caused by FileNotFoundError during directory traversal
- Implemented a `try-except` block in the `recursive_search` function to handle `FileNotFoundError` gracefully.
- When encountering a file or directory path that cannot be accessed (causing `FileNotFoundError`), the code now logs a warning and skips processing for that specific path instead of crashing the node (CheckpointLoaderSimple was usually the first to break). This allows the rest of the directory traversal to proceed without interruption.
2024-01-11 06:34:33 -08:00
comfyanonymous
50b460c768 Don't round noise mask. 2024-01-11 03:29:58 -05:00
comfyanonymous
006560b913 Add InpaintModelConditioning node.
This is an alternative to VAE Encode for inpaint that should work with
lower denoise.

This is a different take on #2501
2024-01-11 03:15:27 -05:00
comfyanonymous
abdd5c3f33 Skip SAG when latent is too small. 2024-01-10 04:08:43 -05:00
comfyanonymous
e0235effa4 Fix issue when using multiple t2i adapters with batched images. 2024-01-10 04:00:49 -05:00
comfyanonymous
528df49b57 Round up to nearest power of 2 in SAG node to fix some resolution issues. 2024-01-09 15:12:12 -05:00
comfyanonymous
62a7bf2919 Use basic attention implementation for small inputs on old pytorch. 2024-01-09 13:46:52 -05:00
comfyanonymous
ed6c26f5a5 Support I mode images in LoadImageMask. 2024-01-08 17:08:17 -05:00
comfyanonymous
adab5412dc Fix issue with user manager parent dir not being created. 2024-01-08 17:08:00 -05:00
pythongosssss
9f2a191a0e Store user settings/data on the server and multi user support (#2160)
* wip per user data

* Rename, hide menu

* better error
rework default user

* store pretty

* Add userdata endpoints
Change nodetemplates to userdata

* add multi user message

* make normal arg

* Fix tests

* Ignore user dir

* user tests

* Changed to default to browser storage and add server-storage arg

* fix crash on empty templates

* fix settings added before load

* ignore parse errors
2024-01-08 17:06:44 -05:00
comfyanonymous
1e5c817615 Support properly loading images with mode I. 2024-01-08 03:46:36 -05:00
comfyanonymous
8cf0a2dfe7 Update optimized_attention_for_device function for new functions that
support masked attention.
2024-01-07 13:52:08 -05:00
comfyanonymous
f9f0822512 Add attention mask support to sub quad attention. 2024-01-07 04:13:58 -05:00
comfyanonymous
59259b0de3 Support attention mask in split attention. 2024-01-06 13:16:48 -05:00
comfyanonymous
1240b45932 Implement attention mask on xformers. 2024-01-06 04:33:03 -05:00