Commit Graph

272 Commits

Author SHA1 Message Date
comfyanonymous c70f0ac64b SD2.x controlnets now work. 2023-03-08 01:13:38 -05:00
comfyanonymous 5ea597710f Merge branch 'socketsession' of https://github.com/pythongosssss/ComfyUI 2023-03-07 23:05:52 -05:00
comfyanonymous 19415c3ace Relative imports to test something. 2023-03-07 11:00:35 -05:00
pythongosssss 5c55c93367 Updated to reuse session id if available 2023-03-07 13:24:15 +00:00
comfyanonymous 0a0c769d6d Try to fix import issue. 2023-03-06 14:41:42 -05:00
comfyanonymous 235ba852d9 Style. 2023-03-06 14:09:23 -05:00
pythongosssss 09db31309a Merge remote-tracking branch 'origin/master' into frontendrefactor 2023-03-06 17:02:34 +00:00
comfyanonymous 25941aeef9 This isn't needed anymore. 2023-03-06 12:02:02 -05:00
pythongosssss 4bdfbb3379 Fixed check for polling 2023-03-06 16:47:02 +00:00
edikius 165be5828a
Fixed import (#44)
* fixed import error

I had an
ImportError: cannot import name 'Protocol' from 'typing'
while trying to update so I fixed it to start an app

* Update main.py

* deleted example files
2023-03-06 11:41:40 -05:00
comfyanonymous 501f19eec6 Fix clip_skip no longer being loaded from yaml file. 2023-03-06 11:34:02 -05:00
comfyanonymous afff30fc0a Add --cpu to use the cpu for inference. 2023-03-06 10:50:50 -05:00
pythongosssss a8315a6fb8 Allow any node to draw images 2023-03-06 15:50:29 +00:00
comfyanonymous 799f510d0c Add some links to notebook for the t2i styles model. 2023-03-06 02:07:58 -05:00
comfyanonymous 8515d96328 It's more logical for the StyleModelApply to append it directly. 2023-03-06 01:48:18 -05:00
comfyanonymous 7ec1dd25a2 A tiny bit of reorganizing. 2023-03-06 01:30:17 -05:00
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.
2023-03-05 18:39:25 -05:00
pythongosssss 1ee35fd909 Merge remote-tracking branch 'origin/master' into frontendrefactor 2023-03-05 21:55:16 +00:00
comfyanonymous cc8baf1080 Make VAE use common function to get free memory. 2023-03-05 14:20:07 -05:00
comfyanonymous 798c90e1c0 Fix pytorch 2.0 cross attention not working. 2023-03-05 14:14:54 -05:00
comfyanonymous f9d09c266f Colab notebook update. 2023-03-05 03:05:58 -05:00
comfyanonymous a098dc965c Switch the default workflow to the CheckpointLoaderSimple node. 2023-03-05 03:00:28 -05:00
comfyanonymous c2fa2a18d2 Update readme with link to matrix space.
Specify which way is the recommended way to run ComfyUI in colab.
2023-03-04 08:46:39 -05:00
comfyanonymous 16130c7546 Add support for new colour T2I adapter model. 2023-03-03 19:13:07 -05:00
comfyanonymous 9d00235b41 Update T2I adapter code to latest. 2023-03-03 18:46:49 -05:00
pythongosssss dc85b3b8d0 Allow serializeValue to be async 2023-03-03 21:13:40 +00:00
pythongosssss 9913114044 Only poll if it has never opened 2023-03-03 21:13:11 +00:00
pythongosssss 0e7b98e429 Restored accidently removed code 2023-03-03 20:17:03 +00:00
pythongosssss 947e786c0a Restored missing input edit fix 2023-03-03 20:10:18 +00:00
comfyanonymous 3ddff339f5 Add commented out command to install the preprocessor nodes to notebook. 2023-03-03 14:52:39 -05:00
pythongosssss bba14245cb Merge remote-tracking branch 'origin' into frontendrefactor 2023-03-03 19:30:24 +00:00
comfyanonymous b9e3f52240 stop_at_clip_layer can be set in CLIPSetLastLayer so it can be removed
from the CLIPLoader node.
2023-03-03 14:27:55 -05:00
pythongosssss 592b377ac4 Added dynamic loading of extensions 2023-03-03 19:05:39 +00:00
pythongosssss c23af92baf Redraw node on opt change 2023-03-03 18:48:22 +00:00
pythongosssss e14b79c14e Changed to store resolved prompt in workflow info 2023-03-03 18:40:50 +00:00
pythongosssss 4ef4cf913f Adding built in extensions + example 2023-03-03 18:28:34 +00:00
comfyanonymous ebfcf0a9c9 Fix issue. 2023-03-03 13:18:01 -05:00
comfyanonymous 8586515886 Move the CheckpointLoaderSimple to the right section. 2023-03-03 13:09:44 -05:00
comfyanonymous 4215206281 Add a node to set CLIP skip.
Use a more simple way to detect if the model is -v prediction.
2023-03-03 13:04:36 -05:00
comfyanonymous fed315a76a To be really simple CheckpointLoaderSimple should pick the right type. 2023-03-03 11:07:10 -05:00
pythongosssss 2e52d01cdc Documenting methods 2023-03-03 15:47:33 +00:00
pythongosssss 72cdd83c06 Readded loading file 2023-03-03 15:27:08 +00:00
pythongosssss a5c5c97ded More work on UI 2023-03-03 15:20:49 +00:00
pythongosssss 5e66b68d9e add loras to ignore 2023-03-03 15:19:56 +00:00
pythongosssss 65c432e6ee Merge remote-tracking branch 'origin' into frontendrefactor 2023-03-03 15:06:49 +00:00
comfyanonymous 94bb0375b0 New CheckpointLoaderSimple to load checkpoints without a config. 2023-03-03 03:37:35 -05:00
comfyanonymous c1f5855ac1 Make some cross attention functions work on the CPU. 2023-03-03 03:27:33 -05:00
comfyanonymous 1a612e1c74 Add some pytorch scaled_dot_product_attention code for testing.
--use-pytorch-cross-attention to use it.
2023-03-02 17:01:20 -05:00
pythongosssss 7e436ba9cc
Added handling of sockets
Started rework of UI elements
Added pnginfo handling
2023-03-02 21:34:29 +00:00
pythongosssss 2eaa664089
Refactored sockets 2023-03-02 21:33:50 +00:00