140 Commits

Author SHA1 Message Date
bilt
8732d5d6fe sigterm, mylora 2025-08-19 08:46:17 +08:00
bilt
6b9b8b89b9 start_frp() 2025-08-03 10:19:50 +08:00
bilt
a34424a6a8 # start_frp() 2025-08-01 17:20:25 +08:00
bilt
66de571556 21673 2025-08-01 16:38:12 +08:00
bilt
3ac71aaa09 frp params 2025-08-01 08:07:42 +08:00
bilt
ffa1b09ae7 if args.disable_trigger_vercel_deploy is None: 2025-07-31 16:54:23 +08:00
bilt
5eedb4d348 tests 2025-07-31 15:08:10 +08:00
bilt
ef052905ea frp params in script.sh & insert data to notion db 2025-07-26 15:48:28 +08:00
bilt
1c7b625d16 fix 2025-07-16 17:25:31 +08:00
bilt
3116e61020 zrok share removed from project 2025-07-16 17:10:03 +08:00
bilt
fefb30ac43 args.port 2025-07-16 16:16:21 +08:00
bilt
12eb5a43bb py_share.zrok_thread 2025-07-16 16:08:42 +08:00
comfyanonymous
5fe9d9c1d7 Skip custom node logic completely if disabled and no whitelisted nodes. (#8719) 2025-06-28 15:53:40 -04:00
xufeng
ac3f82dd5c “--whitelist-custom-nodes” args for comfy core to go with “--disable-all-custom-nodes” for development purposes (#8592)
* feat: “--whitelist-custom-nodes” args for comfy core to go with “--disable-all-custom-nodes” for development purposes

* feat: Simplify custom nodes whitelist logic to use consistent code paths
2025-06-28 15:24:02 -04:00
comfyanonymous
5a2c0d8eeb Fix exception when using a noise mask with cosmos predict2. (#8621)
* Fix exception when using a noise mask with cosmos predict2.

* Fix ruff.
2025-06-21 03:30:39 -04:00
Lucas - BLOCK33
fb708d6ec5 Improve the log time function for 10 minute + renders (#6207)
* modified:   main.py

* Update main.py
2025-06-20 23:04:55 -04:00
comfyanonymous
fec9e9b9e4 Add a warning for old python versions. (#8504) 2025-06-12 15:38:33 -04:00
pythongosssss
f738ffb8a5 Add support for sqlite database (#8444)
* Add support for sqlite database

* fix
2025-06-11 16:43:39 -04:00
Michael Abrahams
85064ded58 Improve performance with large number of queued prompts (#8176)
* get_current_queue_volatile

* restore get_current_queue method

* remove extra import
2025-05-21 05:14:17 -04:00
comfyanonymous
9fd77f81f7 Remove old hack used to fix windows pytorch 2.4 on the portable. (#8139)
Not necessary anymore.
2025-05-15 08:21:47 -04:00
comfyanonymous
aa2350eae6 Add a way to disable api nodes: --disable-api-nodes (#7960) 2025-05-06 04:53:53 -04:00
catboxanon
a571b1b9c0 Fix outdated comment about Internet connectivity (#7827) 2025-05-02 05:28:27 -04:00
comfyanonymous
6d1455de3f Prevent custom nodes from hooking certain functions. (#7825) 2025-04-26 20:52:56 -04:00
comfyanonymous
23f16630e0 Print python version in log. 2025-04-12 18:58:34 -04:00
comfyanonymous
33dca069a4 Refactor node cache code to more easily add other types of cache. 2025-04-11 07:16:52 -04:00
Chargeuk
1b28367616 Dependency Aware Node Caching for low RAM/VRAM machines (#7509)
* add dependency aware cache that removed a cached node as soon as all of its decendents have executed. This allows users with lower RAM to run workflows they would otherwise not be able to run. The downside is that every workflow will fully run each time even if no nodes have changed.

* remove test code

* tidy code
2025-04-11 06:55:51 -04:00
comfyanonymous
d37d608f4c Repeat frontend version warning at the end.
This way someone running ComfyUI with the command line is more likely to
actually see it.
2025-03-12 07:13:40 -04:00
Chenlei Hu
db14befaf5 nit 2025-03-10 15:10:40 -04:00
Chenlei Hu
fae046ca73 Only check frontend package if using default frontend 2025-03-10 15:07:44 -04:00
comfyanonymous
fd3129ddfa Warn if frontend package is older than the one in requirements.txt 2025-03-08 03:51:36 -05:00
comfyanonymous
363791be14 Print the frontend version in the log. 2025-03-07 19:56:26 -05:00
comfyanonymous
973a57477d Print ComfyUI version. 2025-01-25 15:03:57 -05:00
Alexander Piskun
b9ec5d7f94 fixed "verbose" argument (#6289)
Signed-off-by: bigcat88 <bigcat88@icloud.com>
2024-12-31 03:27:09 -05:00
filtered
6ac7ae4818 Add option to log non-error output to stdout (#6243)
* nit

* Add option to log non-error output to stdout

- No change to default behaviour
- Adds CLI argument: --log-stdout
- With this arg present, any logging of a level below logging.ERROR will be sent to stdout instead of stderr
2024-12-27 14:40:05 -05:00
Alexander Piskun
f9acbccf0a Enable External Event Loop Integration for ComfyUI [refactor] (#6114)
* Refactor main.py to support external event loop integration

* added optional "asyncio_loop" argument to allow using existing event loop

---------

Signed-off-by: bigcat88 <bigcat88@icloud.com>
2024-12-24 06:38:52 -05:00
Simon Lui
668cc89307 Add oneAPI device selector for xpu and some other changes. (#6112)
* Add oneAPI device selector and some other minor changes.

* Fix device selector variable name.

* Flip minor version check sign.

* Undo changes to README.md.
2024-12-23 03:18:32 -05:00
Chenlei Hu
917717a0a4 Replace print with logging (#6138)
* Replace print with logging

* nit

* nit

* nit

* nit

* nit

* nit
2024-12-20 16:24:55 -05:00
Dr.Lt.Data
f2c9dcd316 fix: prestartup script is not applied due to extra_model_paths.yaml and ensure custom paths are used during startup (#5872)
* fix: The custom nodes installed in the paths specified in `extra_model_paths.yaml` encounter a bug where the prestartup script is not imported.

* Ensure custom paths are used during startup
https://github.com/comfyanonymous/ComfyUI/pull/5794
2024-12-13 18:21:32 -05:00
Chenlei Hu
8008d2fe7a Lint and fix undefined names (2/N) (#6029) 2024-12-12 18:48:21 -05:00
Chenlei Hu
9bffd67fc9 Lint unused import (#5973)
* Lint unused import

* nit

* Remove unused imports

* revert fix_torch import

* nit
2024-12-09 15:24:39 -05:00
comfyanonymous
5fa5239b2c Set env vars to disable telemetry in libs used by some custom nodes. 2024-12-07 14:51:45 -05:00
comfyanonymous
1176023ebb Improved memory management. (#5450)
* Less fragile memory management.

* Fix issue.

* Remove useless function.

* Prevent and detect some types of memory leaks.

* Run garbage collector when switching workflow if needed.

* Fix issue.
2024-12-02 14:39:34 -05:00
Bratzmeister
13e3497a6b fix --cuda-device arg for AMD/HIP devices (#5586)
* fix --cuda-device arg for AMD/HIP devices

CUDA_VISIBLE_DEVICES is ignored for HIP devices/backend. Instead it uses HIP_VISIBLE_DEVICES. Setting this environment variable has no side effect for CUDA/NVIDIA so it can safely be set in any case and vice versa.

* deleted accidental if
2024-11-12 06:53:36 -05:00
comfyanonymous
3da2c77971 Let --verbose have an argument for the log level. 2024-10-04 10:05:34 -04:00
comfyanonymous
65e107564d Support listening on multiple addresses. 2024-09-23 04:36:59 -04:00
comfyanonymous
871a618247 Create the temp directory on ComfyUI startup instead. 2024-09-18 09:55:57 -04:00
Robin Huang
2db65988c5 Add cli arg to override user directory (#4856)
* Override user directory.

* Use overridden user directory.

* Remove prints.

* Remove references to global user_files.

* Remove unused replace_folder function.

* Remove newline.

* Remove global during get_user_directory.

* Add validation.
2024-09-12 08:10:27 -04:00
comfyanonymous
de083b8cdb Cleanup. 2024-09-10 00:43:37 -04:00
Robin Huang
70e9391d31 Expand user directory for basepath in extra_models_paths.yaml (#4857)
* Expand user path.

* Add test.

* Add unit test for expanding base path.

* Simplify unit test.

* Remove comment.

* Remove comment.

* Checkpoints.

* Refactor.
2024-09-10 00:33:44 -04:00
comfyanonymous
211789cb55 Add an experimental LoraSave node to extract model loras.
The model_diff input should be connected to the output of a
ModelMergeSubtract node.
2024-09-04 16:38:38 -04:00