Commit Graph

2656 Commits

Author SHA1 Message Date
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
comfyanonymous c8ce599a8f Add a button to interrupt processing to the ui. 2023-03-02 15:24:51 -05:00
pythongosssss 5e25c77074
Initial refactoring changes
- Moved to web folder
 - Splitting into individual files
2023-03-02 20:00:06 +00:00
pythongosssss 3637e19eff
Add mime type for js files 2023-03-02 19:58:59 +00:00
comfyanonymous 69cc75fbf8 Add a way to interrupt current processing in the backend. 2023-03-02 14:42:03 -05:00
comfyanonymous 1e2c4df972 Add a print to colab. 2023-03-01 10:53:18 -05:00
comfyanonymous 725f7eb2a4 Add some more stuff to colab notebook. 2023-03-01 10:40:26 -05:00
comfyanonymous 3fe162c680 Quick fix modal overflowing at the bottom if error too large. 2023-02-28 19:07:23 -05:00
comfyanonymous 9502ee45c3 Hopefully fix a strange issue with xformers + lowvram. 2023-02-28 13:48:52 -05:00
comfyanonymous 5f0f97634f Only clear cuda cache on CUDA since it causes slowdowns on ROCm. 2023-02-28 13:39:30 -05:00
comfyanonymous b31daadc03 Try to improve memory issues with del. 2023-02-28 12:27:43 -05:00
comfyanonymous cd85f876f2 Try to clear more memory at the end of each prompt execution. 2023-02-28 11:56:33 -05:00
comfyanonymous f3103d7b60 I confirmed the notebook works on paperspace. 2023-02-28 02:49:53 -05:00
comfyanonymous b28dcd7684 Install xformers at the same time as requirements in notebook to fix issues. 2023-02-27 20:22:46 -05:00
comfyanonymous a29bd63e7a --highvram should be autodetected in colab/etc.. now. 2023-02-27 20:06:44 -05:00
comfyanonymous 2c5f0ec681 Small adjustment. 2023-02-27 20:04:18 -05:00
comfyanonymous 86721d5158 Enable highvram automatically when vram >> ram 2023-02-27 19:57:39 -05:00