Commit Graph

244 Commits

Author SHA1 Message Date
doctorpangloss
ab56eadcc8 Fix missing path arguments 2024-02-17 23:19:21 -08:00
doctorpangloss
955fcb8bb0 Fix API 2024-02-16 08:47:11 -08:00
doctorpangloss
d29028dd3e Fix distributed prompting 2024-02-16 06:17:06 -08:00
doctorpangloss
06e74226df Add external address parameter 2024-02-15 17:39:15 -08:00
doctorpangloss
f195230e2a More tweaks to cli args 2024-02-09 01:40:27 -08:00
doctorpangloss
a3f9d007d4 Fix CLI args issues 2024-02-09 01:20:57 -08:00
doctorpangloss
bdc843ced1 Tweak this message 2024-02-08 22:56:06 -08:00
doctorpangloss
b3f1ce7ef0 Update comment 2024-02-08 21:15:58 -08:00
doctorpangloss
80f8c40248 Distributed queueing with amqp-compatible servers like RabbitMQ.
- Binary previews are not yet supported
 - Use `--distributed-queue-connection-uri=amqp://guest:guest@rabbitmqserver/`
 - Roles supported: frontend, worker or both (see `--help`)
 - Run `comfy-worker` for a lightweight worker you can wrap your head
   around
 - Workers and frontends must have the same directory structure (set
   with `--cwd`) and supported nodes. Frontends must still have access
   to inputs and outputs.
 - Configuration notes:

   distributed_queue_connection_uri (Optional[str]): Servers and clients will connect to this AMQP URL to form a distributed queue and exchange prompt execution requests and progress updates.
   distributed_queue_roles (List[str]): Specifies one or more roles for the distributed queue. Acceptable values are "worker" or "frontend", or both by writing the flag twice with each role. Frontends will start the web UI and connect to the provided AMQP URL to submit prompts; workers will pull requests off the AMQP URL.
   distributed_queue_name (str): This name will be used by the frontends and workers to exchange prompt requests and replies. Progress updates will be prefixed by the queue name, followed by a '.', then the user ID.
2024-02-08 20:24:27 -08:00
doctorpangloss
0673262940 Fix entrypoints, add comfyui-worker entrypoint 2024-02-08 19:08:42 -08:00
doctorpangloss
72e92514a4 Better compatibility with pre-existing prompt_worker method 2024-02-08 18:07:37 -08:00
doctorpangloss
92898b8c9d Improved support for distributed queues 2024-02-08 14:55:07 -08:00
doctorpangloss
04ce040d28 Fix commonpath / using arg.cwd on Windows 2024-02-08 09:30:16 -08:00
doctorpangloss
123c512a84 Fix compatibility with Python 3.9, 3.10, fix Configuration class declaration issue 2024-02-07 21:52:20 -08:00
doctorpangloss
25c28867d2 Update script examples 2024-02-07 15:52:26 -08:00
doctorpangloss
1b2ea61345 Improved API support
- Run comfyui workflows directly inside other python applications using
   EmbeddedComfyClient.
 - Optional telemetry in prompts and models using anonymity preserving
   Plausible self-hosted or hosted.
 - Better OpenAPI schema
 - Basic support for distributed ComfyUI backends. Limitations: no
   progress reporting, no easy way to start your own distributed
   backend, requires RabbitMQ as a message broker.
2024-02-07 14:20:21 -08:00
doctorpangloss
32d83e52ff Fix CheckpointLoader even though it is deprecated 2024-01-29 17:20:10 -08:00
doctorpangloss
0d2cc553bc Revert "Remove unused configs contents"
This reverts commit 65549c39f1.
2024-01-29 17:03:27 -08:00
doctorpangloss
2400da51e5 PyInstaller 2024-01-29 17:02:45 -08:00
doctorpangloss
82edb2ff0e Merge with latest upstream. 2024-01-29 15:06:31 -08:00
doctorpangloss
65549c39f1 Remove unused configs contents 2024-01-29 14:14:46 -08:00
doctorpangloss
345825dfb5 Fix issues with missing __init__ in upscaler, move web/ directory to comfy/web so that the need for symbolic link support on windows is eliminated 2024-01-03 16:35:00 -08:00
doctorpangloss
369aeb598f Merge upstream, fix 3.12 compatibility, fix nightlies issue, fix broken node 2024-01-03 16:00:36 -08:00
doctorpangloss
3fd5de9784 fix nodes 2023-12-06 17:30:33 -08:00
Benjamin Berman
01312a55a4 merge upstream 2023-12-03 20:41:13 -08:00
Benjamin Berman
d21655b5a2 merge upstream 2023-10-17 14:47:59 -07:00
doctorpangloss
e8b60dfc6e merge upstream 2023-10-06 15:02:31 -07:00
doctorpangloss
db673f7728 merge upstream 2023-08-29 13:36:53 -07:00
Benjamin Berman
e9365c4678 wip 2023-08-23 16:14:12 -07:00
Benjamin Berman
b98e1c0f01 move this back since the issue is resolved 2023-08-22 18:00:18 -07:00
Benjamin Berman
d25d5e75f0 wip make package structure coherent 2023-08-22 11:35:20 -07:00
doombubbles
bc4e52f790 Hash consistency fixes 2023-08-21 13:28:25 -07:00
Benjamin Berman
30ed9fc143 merge with upstream 2023-08-21 12:00:59 -07:00
Benjamin Berman
497c01fed1 fix history 2023-08-15 17:36:56 -07:00
Benjamin Berman
625134b6a1 merge with upstream 2023-08-15 17:13:55 -07:00
Benjamin Berman
894aee44bd fix timestamp issue 2023-08-12 14:30:03 -07:00
Benjamin Berman
130378c449 merge upstream 2023-08-11 16:44:16 -07:00
Benjamin Berman
95b630224d fix issues with finding the path to the image file, no matter how the application was started 2023-08-11 15:26:13 -07:00
Benjamin Berman
10b8be1c1f fix erroneous sys.version 2023-08-07 17:04:02 -07:00
Benjamin Berman
3216d1c6b0 fix image upload, running from main 2023-08-04 15:44:02 -07:00
Benjamin Berman
dc4289dbb9 working install from git repo 2023-08-04 15:44:02 -07:00
Benjamin Berman
b12394c9e9 include legacy main.py 2023-08-04 15:44:02 -07:00
Benjamin Berman
3d3c5ae344 wip 2023-08-04 15:44:02 -07:00
Benjamin Berman
65722c2bb3 openapi definition, documented API endpoints and new ergonomic API endpoint 2023-08-04 15:44:02 -07:00