86 Commits

Author SHA1 Message Date
comfyanonymous
d789c0d485 Add code to fix issues with new pytorch version on the standalone. 2024-07-24 12:49:29 -04:00
comfyanonymous
89170e492f Remove duplicate import. 2024-07-05 12:10:22 -04:00
comfyanonymous
5b86befc8c Show comfy_extras warning at the end.
Remove code.
2024-07-04 21:44:27 -04:00
Chenlei Hu
161107fd8d Add --no-custom-node cmd flag (#3903)
* Add --no-custom-node cmd flag

* nit
2024-07-01 17:54:03 -04:00
Garrett Sutula
533ddd78a0 Add TLS Support (#3312)
* Add TLS Support

* Add to readme

* Add guidance for windows users on generating certificates

* Add guidance for windows users on generating certificates

* Fix typo
2024-04-30 20:17:02 -04:00
comfyanonymous
cd92ad35a9 Move cleanup_models to improve performance. 2024-03-23 17:27:10 -04:00
comfyanonymous
9956e2b6e7 Switch some more prints to logging. 2024-03-11 16:34:58 -04:00
comfyanonymous
27a4ddb814 Update the old updater if present when running on the windows standalone. 2024-02-26 13:32:14 -05:00
comfyanonymous
28712a5446 Rename status notes to status messages.
I think message describes them better.
2024-01-12 18:17:06 -05:00
realazthat
e57852b5e9 Add error, status to /history endpoint 2024-01-11 10:16:42 -05:00
comfyanonymous
7f99d58877 Add a /free route to unload models or free all memory.
A POST request to /free with: {"unload_models":true}
will unload models from vram.

A POST request to /free with: {"free_memory":true}
will unload models and free all cached data from the last run workflow.
2024-01-04 17:15:22 -05:00
comfyanonymous
c20e0480fe Add node id and prompt id to websocket progress packet. 2024-01-01 14:27:56 -05:00
comfyanonymous
65ada00818 Add --deterministic option to make pytorch use deterministic algorithms. 2023-12-17 16:59:21 -05:00
comfyanonymous
02b4cb5a7a Do a garbage collect after the interval even if nothing is running. 2023-11-30 15:22:32 -05:00
comfyanonymous
55aed6cc38 Limit gc.collect() to once every 10 seconds. 2023-11-28 14:20:56 -05:00
comfyanonymous
4860d4c7fe Add default CheckpointSave, CLIPSave and VAESave paths to model paths. 2023-10-10 01:25:47 -04:00
Jairo Correa
26a1afbcfe Option to input directory 2023-10-04 19:45:15 -03:00
comfyanonymous
a3e0950ffb Only parse command line args when main.py is called. 2023-09-13 11:38:20 -04:00
comfyanonymous
c40f363254 Allow cancelling of everything with a progress bar. 2023-09-07 23:37:03 -04:00
comfyanonymous
f8c3b7270e Add a warning if a card that doesn't support cuda malloc has it enabled. 2023-08-13 12:37:53 -04:00
comfyanonymous
64510bb4c2 Add --temp-directory argument to set temp directory. 2023-08-11 05:13:03 -04:00
comfyanonymous
327956d2f0 0.0.0.0 doesn't work on windows. 2023-08-01 01:15:18 -04:00
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