Commit Graph

64 Commits

Author SHA1 Message Date
comfyanonymous
dd46c9e941 Move image encoding outside of sampling loop for better preview perf. 2023-07-19 18:06:58 -04:00
comfyanonymous
d1b7051401 Auto disable cuda malloc on some GPUs on windows. 2023-07-19 14:43:55 -04:00
comfyanonymous
5108099f0c Enable --cuda-malloc by default on torch 2.0 and up.
Add --disable-cuda-malloc to disable it.
2023-07-17 15:12:10 -04:00
comfyanonymous
5ddb2ca26f Add a command line argument to enable backend:cudaMallocAsync 2023-07-17 11:00:14 -04:00
comfyanonymous
8fbbd78d3b Print prestartup times for custom nodes. 2023-07-13 13:01:45 -04:00
Dr.Lt.Data
1211003e34 feat/startup-script: Feature to avoid package installation errors when installing custom nodes. (#856)
* support startup script for installation without locking on windows

* modified: Instead of executing scripts from the startup-scripts directory, I will change it to execute the prestartup_script.py for each custom node.
2023-07-11 02:33:21 -04:00
comfyanonymous
033dc1f52a Cleanup. 2023-07-02 11:58:23 -04:00
comfyanonymous
051f79bc8e Send websocket message only when prompt is actually done executing. 2023-06-13 13:38:43 -04:00
reaper47
aaf4d5b7ee Give linux some love 2023-06-07 15:15:38 +02:00
space-nuko
a3b400faa4 Make previews into cli option 2023-06-05 13:19:02 -05:00
space-nuko
b3667fed30 Fix 2023-06-05 09:20:20 -05:00
space-nuko
a816ca9091 Preview sampled images with TAESD 2023-06-05 09:20:17 -05:00
comfyanonymous
5ab1c07017 Fix outputs gone from history. 2023-05-15 00:27:28 -04:00
comfyanonymous
b698ff5ce4 Add the prompt_id to some websocket messages. 2023-05-11 01:22:40 -04:00
comfyanonymous
d8edfe1f07 Only validate each input once. 2023-05-10 00:29:31 -04:00
EllangoK
0e90bee158 auto-launch cli arg 2023-05-06 16:59:40 -04:00
comfyanonymous
df01203955 Use sampler callback instead of tqdm hook for progress bar. 2023-05-02 23:00:49 -04:00
comfyanonymous
24c259ae9a custom_nodes paths can now be set in the extra_model_paths.yaml 2023-04-16 01:46:43 -04:00
EllangoK
b12efcd7b4 fixes lack of support for multi configs
also adds some metavars to argarse
2023-04-06 19:06:39 -04:00
EllangoK
cd00b46465 seperates out arg parser and imports args 2023-04-05 23:41:23 -04:00
EllangoK
de56eef8be changes main.py to use argparse 2023-04-05 22:36:40 -04:00
comfyanonymous
4ee5acc3a7 Add a way to set output directory with --output-directory 2023-04-05 14:29:30 -04:00
comfyanonymous
bbd3cb4c22 Merge branch 'custom_routes' of https://github.com/pythongosssss/ComfyUI 2023-04-02 01:55:05 -04:00
comfyanonymous
e2f91cb30d Add --extra-model-paths-config to --help. 2023-04-02 01:54:44 -04:00
pythongosssss
86f7d35883 Tweak server/custom node load order
- Load custom nodes after creating server
 - Add routes after loading custom nodes
Custom nodes can now add routes via PromptServer.instance
2023-04-01 12:44:29 +01:00
comfyanonymous
484fcef448 Command line option to set CUDA device. 2023-03-29 23:28:21 -04:00
comfyanonymous
dba3b7f4e9 Add way to specify listen ip with --listen. 2023-03-28 01:42:34 -04:00
comfyanonymous
5e5327843a Add support for loading extra paths from yaml file.
Rename extra_model_paths.yaml.example to extra_model_paths.yaml and edit
it to point to your other UI.
2023-03-18 02:52:43 -04:00
comfyanonymous
b27692ad5f Do a quick test on the CI to see if ComfyUI actually runs before pushing
the build.
2023-03-14 23:02:57 -04:00
comfyanonymous
2f9750b7b9 Make sure windows permission issues don't mess things up. 2023-03-14 18:07:09 -04:00
pythongosssss
0c128cb91d Added ability to save images to temp dir 2023-03-13 19:34:05 +00:00
comfyanonymous
1de721b33c Add pytorch attention support to VAE. 2023-03-13 12:45:54 -04:00
comfyanonymous
72b42ab260 --disable-xformers should not even try to import xformers. 2023-03-13 11:36:48 -04:00
comfyanonymous
7c95e1a03b Xformers is now properly disabled when --cpu used.
Added --windows-standalone-build option, currently it only opens
makes the code open up comfyui in the browser.
2023-03-12 15:44:16 -04:00
comfyanonymous
ca7e2e3827 Add --cpu to use the cpu for inference. 2023-03-06 10:50:50 -05:00
comfyanonymous
f05d2bab79 Move some stuff from main.py to execution.py 2023-02-27 19:44:58 -05:00
comfyanonymous
5539bfc5c0 Update colab notebook. 2023-02-25 22:49:22 -05:00
comfyanonymous
de74b6cabb Fix some potential issues related to threads. 2023-02-25 18:36:29 -05:00
pythongosssss
f4f538eaca changed to store history by uniqueid
fixed removing history items
2023-02-23 21:25:08 +00:00
pythongosssss
188ce72755 Remove extra args 2023-02-23 20:21:58 +00:00
pythongosssss
caaba5aef5 Added workflow history
Moved socket output updates to all node executions
Made image rendering on nodes more generic
2023-02-23 20:12:57 +00:00
pythongosssss
c4748262eb Moved api out to server
Reworked sockets to use socketio
Added progress to nodes
Added highlight to active node
Added preview to saveimage node
2023-02-21 19:29:49 +00:00
comfyanonymous
7fc9f87b54 Remove my "deleted" debug print that confused people. 2023-02-21 01:28:08 -05:00
masterpiecebestquality
16208031b0 empty cache after execute() 2023-02-20 13:56:34 -05:00
comfyanonymous
204a31e7b2 Document --highvram and enable it in colab. 2023-02-17 21:32:27 -05:00
pythongosssss
d11f81521c Hide Triton warning on Windows
Triton doesnt work on Windows so hide the error
2023-02-16 18:19:26 +00:00
pythongosssss
3d02bc2da4 Remove catch that was causing linux ctrl+c issues
This was for hiding an error on Windows, but it isn't required
2023-02-13 20:12:12 +00:00
pythongosssss
82b1b686de Changed to serve index.html on root 2023-02-13 17:58:03 +00:00
pythongosssss
2a210404e0 Added handling of missing aiohttp module 2023-02-12 18:32:20 +00:00
pythongosssss
6b2bcfe193 Changed HTTP Server + Added WebSockets
Moved the existing API endpoints to use aoihttp and added websocket notifications
2023-02-12 15:53:48 +00:00