TFWol
782127cae3
Resolved crashing nodes caused by FileNotFoundError during directory traversal
...
- Implemented a `try-except` block in the `recursive_search` function to handle `FileNotFoundError` gracefully.
- When encountering a file or directory path that cannot be accessed (causing `FileNotFoundError`), the code now logs a warning and skips processing for that specific path instead of crashing the node (CheckpointLoaderSimple was usually the first to break). This allows the rest of the directory traversal to proceed without interruption.
2024-01-11 06:34:33 -08:00
comfyanonymous
50b460c768
Don't round noise mask.
2024-01-11 03:29:58 -05:00
comfyanonymous
006560b913
Add InpaintModelConditioning node.
...
This is an alternative to VAE Encode for inpaint that should work with
lower denoise.
This is a different take on #2501
2024-01-11 03:15:27 -05:00
comfyanonymous
abdd5c3f33
Skip SAG when latent is too small.
2024-01-10 04:08:43 -05:00
comfyanonymous
e0235effa4
Fix issue when using multiple t2i adapters with batched images.
2024-01-10 04:00:49 -05:00
comfyanonymous
528df49b57
Round up to nearest power of 2 in SAG node to fix some resolution issues.
2024-01-09 15:12:12 -05:00
comfyanonymous
62a7bf2919
Use basic attention implementation for small inputs on old pytorch.
2024-01-09 13:46:52 -05:00
comfyanonymous
ed6c26f5a5
Support I mode images in LoadImageMask.
2024-01-08 17:08:17 -05:00
comfyanonymous
adab5412dc
Fix issue with user manager parent dir not being created.
2024-01-08 17:08:00 -05:00
pythongosssss
9f2a191a0e
Store user settings/data on the server and multi user support ( #2160 )
...
* wip per user data
* Rename, hide menu
* better error
rework default user
* store pretty
* Add userdata endpoints
Change nodetemplates to userdata
* add multi user message
* make normal arg
* Fix tests
* Ignore user dir
* user tests
* Changed to default to browser storage and add server-storage arg
* fix crash on empty templates
* fix settings added before load
* ignore parse errors
2024-01-08 17:06:44 -05:00
comfyanonymous
1e5c817615
Support properly loading images with mode I.
2024-01-08 03:46:36 -05:00
comfyanonymous
8cf0a2dfe7
Update optimized_attention_for_device function for new functions that
...
support masked attention.
2024-01-07 13:52:08 -05:00
comfyanonymous
f9f0822512
Add attention mask support to sub quad attention.
2024-01-07 04:13:58 -05:00
comfyanonymous
59259b0de3
Support attention mask in split attention.
2024-01-06 13:16:48 -05:00
comfyanonymous
1240b45932
Implement attention mask on xformers.
2024-01-06 04:33:03 -05:00
ramyma
a9d78dab8b
fix: /free handler function name
2024-01-06 04:27:09 +02:00
comfyanonymous
cca348a662
Fix BasicScheduler issue with Loras.
2024-01-05 12:31:13 -05:00
comfyanonymous
42aa083379
StableZero123_Conditioning_Batched node.
...
This node lets you generate a batch of images with different elevations or
azimuths by setting the elevation_batch_increment and/or
azimuth_batch_increment.
It also sets the batch index for the latents so that the same init noise is
used on each frame.
2024-01-05 04:20:03 -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
a36114ce30
Implement noise augmentation for SD 4X upscale model.
2024-01-03 14:27:11 -05:00
comfyanonymous
004cf09984
Fix model patches not working in custom sampling scheduler nodes.
2024-01-03 12:16:30 -05:00
comfyanonymous
7629685d08
Add support for the stable diffusion x4 upscaling model.
...
This is an old model.
Load the checkpoint like a regular one and use the new
SD_4XUpscale_Conditioning node.
2024-01-03 03:37:56 -05:00
comfyanonymous
16da9f6446
Fix regression.
2024-01-02 14:41:33 -05:00
comfyanonymous
5e3372d45c
Refactor VAE code.
...
Replace constants with downscale_ratio and latent_channels.
2024-01-02 13:24:34 -05:00
comfyanonymous
2ec2695942
Fix issue when websocket is deleted when data is being sent.
2024-01-02 11:50:00 -05:00
comfyanonymous
4fd8339694
Auto detect out_channels from model.
2024-01-02 01:50:57 -05:00
comfyanonymous
d41cf1e412
Remove useless code.
2024-01-02 01:50:29 -05:00
comfyanonymous
c20e0480fe
Add node id and prompt id to websocket progress packet.
2024-01-01 14:27:56 -05:00
comfyanonymous
fe129df5ba
Add a denoise parameter to BasicScheduler node.
2023-12-31 15:37:20 -05:00
comfyanonymous
a687cfeda8
Reregister nodes when pressing refresh button.
2023-12-31 05:05:14 -05:00
comfyanonymous
25ec26ff9c
Add argument to run the VAE on the CPU.
2023-12-30 05:49:07 -05:00
comfyanonymous
ebf33718de
This cache timeout is pretty useless in practice.
2023-12-29 17:47:24 -05:00
comfyanonymous
94346bfe12
Fix VALIDATE_INPUTS getting called multiple times.
...
Allow VALIDATE_INPUTS to only validate specific inputs.
2023-12-29 17:36:40 -05:00
comfyanonymous
7602677b54
Use function to calculate model size in model patcher.
2023-12-28 21:46:20 -05:00
comfyanonymous
48d2b242ee
Load weights that can't be lowvramed to target device.
2023-12-28 21:41:10 -05:00
comfyanonymous
7d72770234
Cleanup.
2023-12-28 12:23:07 -05:00
comfyanonymous
8390f209db
Fix clip vision lowvram mode not working.
2023-12-27 13:50:57 -05:00
comfyanonymous
af2e6bea61
Only add _meta title to api prompt when dev mode is enabled in UI.
2023-12-27 01:07:02 -05:00
AYF
1feaeb1255
Add title to the API workflow json. ( #2380 )
...
* Add `title` to the API workflow json.
* API: Move `title` to `_meta` dictionary, imply unused.
2023-12-27 00:55:11 -05:00
comfyanonymous
7a3a00563b
Fix taesd VAE in lowvram mode.
2023-12-26 12:52:21 -05:00
comfyanonymous
09dfd709f2
Fix lowvram mode not working with unCLIP and Revision code.
2023-12-26 05:02:02 -05:00
shiimizu
1c6b539236
Fix hiding dom widgets.
2023-12-25 19:17:40 -08:00
comfyanonymous
00ec9b03ae
Merge branch 'patch-1' of https://github.com/savolla/ComfyUI
2023-12-25 12:24:31 -05:00
comfyanonymous
af134f6c64
Fix SVD lowvram mode.
2023-12-24 07:13:18 -05:00
comfyanonymous
0baa3cc687
--disable-smart-memory now unloads everything like it did originally.
2023-12-23 04:25:06 -05:00
comfyanonymous
59e4fbf255
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
comfyanonymous
5d2e2630ef
A few missing comfy ops in the VAE.
2023-12-22 04:05:42 -05:00
comfyanonymous
83b6be9e34
Litegraph updates.
...
Update from upstream repo.
Auto select value in prompt.
Increase maximum number of nodes to 10k.
2023-12-21 13:21:25 -05:00
comfyanonymous
cae5bede07
Fix potential tensor device issue with ImageCompositeMasked.
2023-12-21 02:35:01 -05:00
comfyanonymous
2bd80b45b2
LoadImage now loads all the frames from animated images as a batch.
2023-12-20 16:39:09 -05:00