Commit Graph

48 Commits

Author SHA1 Message Date
doctorpangloss
8741cb3ce8 LLM support in ComfyUI
- Currently uses `transformers`
 - Supports model management and correctly loading and unloading models
   based on what your machine can support
 - Includes a Text Diffusers 2 workflow to demonstrate text rendering in
   SD1.5
2024-05-14 17:30:23 -07:00
doctorpangloss
78e340e2d8 Traces now include the arguments for executing a node, wherever it makes sense to do so. 2024-05-13 15:48:16 -07:00
doctorpangloss
aa0cfb54ce Refine configuration of OpenTelemetry 2024-05-07 17:04:31 -07:00
doctorpangloss
eb7d466b95 Fix dependency on opentelemetry instrumentor; remove websocket based API example since it isn't appropriate for this fork. 2024-05-03 16:54:33 -07:00
doctorpangloss
2643730acc Tracing 2024-04-17 08:20:07 -07:00
doctorpangloss
b0be335d59 Improved support for ControlNet workflows with depth
- ComfyUI can now load EXR files.
 - There are new arithmetic nodes for floats and integers.
 - EXR nodes can load depth maps and be remapped with
   ImageApplyColormap. This allows end users to use ground truth depth
   data from video game engines or 3D graphics tools and recolor it to
   the format expected by depth ControlNets: grayscale inverse depth
   maps and "inferno" colored inverse depth maps.
 - Fixed license notes.
 - Added an additional known ControlNet model.
 - Because CV2 is now used to read OpenEXR files, an environment
   variable must be set early on in the application, before CV2 is
   imported. This file, main_pre, is now imported early on in more
   places.
2024-03-26 22:32:15 -07:00
doctorpangloss
feae8c679b Add nodes to support OpenAPI and similar backend workflows 2024-03-22 14:22:50 -07:00
doctorpangloss
0db040cc47 Improve API support
- Removed /api/v1/images because you should use your own CDN style
   image host and /view for maximum compatibility
 - The /api/v1/prompts POST application/json response will now return
   the outputs dictionary
 - Caching has been removed
 - More tests
 - Subdirectory prefixes are now supported
 - Fixed an issue where a Linux frontend and Windows backend would have
   paths that could not interact with each other correctly
2024-03-21 16:24:22 -07:00
doctorpangloss
341c9f2e90 Improvements to node loading, node API, folder paths and progress
- Improve node loading order. It now occurs "as late as possible".
   Configuration should be exposed as per the README.
 - Added methods to specify custom folders and models used in examples
   more robustly for custom nodes.
 - Downloading models can now be gracefully interrupted.
 - Progress notifications are now sent over the network for distributed
   ComfyUI operations.
 - Python objects have been moved around to prevent less transitive
   package importing issues.
2024-03-13 16:14:18 -07:00
Benjamin Berman
3c57ef831c Download known models from HuggingFace 2024-03-11 00:15:06 -07:00
doctorpangloss
c0d9bc0129 Merge with upstream 2024-03-08 15:17:20 -08:00
Dmytro Mishkin
6d8834f08f
Add Morphology nodes from kornia (#2781)
* import kornia

* Added morphology nodexs

* Add kornia to requirements

* fix choices

* options, also move to postprocessors

* fix placing and step
2024-03-04 12:50:28 -05:00
doctorpangloss
2c882bb66c Add Dockerfile. Update README and clarify purpose of this fork. Fix installation with pre-existing torch on Linux. Include container documentation 2024-02-28 10:29:08 -08:00
doctorpangloss
92898b8c9d Improved support for distributed queues 2024-02-08 14:55:07 -08:00
Benjamin Berman
b8fc850b47 Correctly preserves your installed torch when installed like pip install --no-build-isolation git+https://github.com/hiddenswitch/ComfyUI.git 2024-02-08 08:36:05 -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
2400da51e5 PyInstaller 2024-01-29 17:02:45 -08:00
doctorpangloss
369aeb598f Merge upstream, fix 3.12 compatibility, fix nightlies issue, fix broken node 2024-01-03 16:00:36 -08:00
comfyanonymous
257c2eaaa4 Merge branch 'patch-1' of https://github.com/savolla/ComfyUI 2023-12-25 12:24:31 -05:00
comfyanonymous
36a7953142 Greatly improve lowvram sampling speed by getting rid of accelerate.
Let me know if this breaks anything.
2023-12-22 14:38:45 -05:00
Oleksiy Nehlyadyuk
40ea2bd011
Update requirements.txt
the UI launches with one missing module `torchvision`. spits out a `ModuleNotFoundError`. installing `torchvision` module fixed it.
2023-12-19 17:07:55 +03: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
Benjamin Berman
9897c9c9bd remove bitsandbytes, rembg deps 2023-08-21 12:36:42 -07:00
Benjamin Berman
cff13ace64 node tweaks 2023-08-21 11:44:51 -07:00
Benjamin Berman
8ecb5c11e9 deepfloyd 2023-08-15 18:18:10 -07:00
Benjamin Berman
130378c449 merge upstream 2023-08-11 16:44:16 -07:00
comfyanonymous
a5599ed42c Add missing direct dep that gets pulled in by another. 2023-08-08 10:45:35 -04:00
Benjamin Berman
7c197409be macOS latest with fp16 enabled by default 2023-08-04 15:44:02 -07:00
Benjamin Berman
94fa7a3b61 fix macos support 2023-08-04 15:44:02 -07:00
Benjamin Berman
0e964180e6 improvements to requirements.txt and compatibility with 3.11 2023-08-04 15:44:02 -07:00
Benjamin Berman
afef21fa6e Update requirements.txt 2023-08-04 15:44:02 -07:00
Benjamin Berman
550788eaca Updates for better compatibility with DeepFloyd 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
Benjamin Berman
96af8f733a Update to torch 2.0.0 and the pre-release xformers library 2023-08-04 15:44:02 -07:00
Benjamin Berman
18d2b23495 Create a setup.py and automatically select the correct pytorch binaries for the current platform and supported devices
- setup.py now works
 - Makes installation work a variety of ways, including making other packages dependent on this one for e.g. plugins
 - Fixes missing __init__.py issues
 - Fixes imports
 - Compatible with your existing scripts that rely on requirements.txt
 - Fixes error in comfy/ldm/models/diffusion/ddim.py
 - Fixes missing packages for other diffusers code in this repo
2023-08-04 15:44:02 -07:00
comfyanonymous
c910b4a01c Remove unused code and torchdiffeq dependency. 2023-07-28 21:32:27 -04:00
comfyanonymous
735ac4cf81 Remove pytorch_lightning dependency. 2023-06-13 10:11:33 -04:00
comfyanonymous
cb180b9998 Add some missing direct dependencies that were getting pulled indirectly. 2023-06-13 02:45:26 -04:00
comfyanonymous
f0a2b81cd0 Cleanup: Remove a bunch of useless files. 2023-06-13 02:19:08 -04:00
藍+85CD
1ced2bdd2d Specify safetensors version to avoid upstream errors
https://github.com/huggingface/safetensors/issues/142
2023-04-05 21:25:37 +08:00
comfyanonymous
7a7c4e7f73 Not compatible with transformers below this version. 2023-03-29 13:13:03 -04:00
comfyanonymous
54dbfaf2ec Remove omegaconf dependency and some ci changes. 2023-03-13 14:49:18 -04:00
pythongosssss
70b3311478
Removed socketio 2023-02-25 12:31:16 +00:00
pythongosssss
a52aa9f4b5
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
pythongosssss
639d21e5f7
Added aiohttp requirement 2023-02-12 18:31:26 +00:00
comfyanonymous
534736b924 Add some low vram modes: --lowvram and --novram 2023-02-08 11:37:10 -05:00
comfyanonymous
220afe3310 Initial commit. 2023-01-16 22:37:14 -05:00