Sean Lynch
3a341f0f7a
Don't execute node if any input list is empty
...
Normally when we are passing lists we extend any lists shorter than the longest by repeating the last item. This works especially well when combining lists of arbitrary length with lists that have only one item. But it doesn't work at all if any list has no items in it. Since that case currently doesn't work at all, it seems like the best interpretation of any list having 0 length is that we don't want the successor node to execute at all. That's exactly what this change does.
This change only affects behavior in the case where there is an empty list among a node's inputs, which previously would always throw an exception due to the implementation of slice_dict. I've tested both with empty lists and non-empty.
2023-09-28 18:34:40 -04:00
comfyanonymous
aeba1cc2a0
Merge branch 'chore/update-actions-versions' of https://github.com/M1kep/ComfyUI
2023-09-26 02:58:55 -04:00
comfyanonymous
9546a798fb
Make LoadImage and LoadImageMask return masks in batch format.
2023-09-26 02:56:40 -04:00
comfyanonymous
1d36dfb9fe
GrowMask now works with mask batches.
2023-09-26 02:53:57 -04:00
comfyanonymous
d76d71de3f
GrowMask can now be used with negative numbers to erode it.
2023-09-26 02:45:31 -04:00
Michael Poutre
e0efa78b71
chore(CI): Update test-build to use updated version of actions
2023-09-25 21:20:51 -07:00
comfyanonymous
d2cec6cdbf
Make mask functions work with batches of masks and images.
2023-09-25 16:19:37 -04:00
comfyanonymous
046b4fe0ee
Support batches of masks in mask composite nodes.
2023-09-25 16:02:21 -04:00
comfyanonymous
ba7dfd60f2
Merge branch 'proportional-scale' of https://github.com/jn-jairo/ComfyUI
2023-09-25 12:39:53 -04:00
comfyanonymous
2381d36e6d
1024 wasn't enough.
2023-09-25 01:46:44 -04:00
comfyanonymous
42f6d1ebe2
Increase maximum batch sizes of empty image nodes.
2023-09-25 01:22:37 -04:00
comfyanonymous
f00471cdc8
Do FreeU fft on CPU if the device doesn't support fft functions.
2023-09-24 18:09:44 -04:00
comfyanonymous
77c124c5a1
Fix typo.
2023-09-24 13:27:57 -04:00
Jairo Correa
593b7069e7
Proportional scale latent and image
2023-09-24 12:08:54 -03:00
comfyanonymous
76cdc809bf
Support more controlnet models.
2023-09-23 18:47:46 -04:00
comfyanonymous
05e661e5ef
FreeU now works with the refiner.
2023-09-23 12:19:08 -04:00
comfyanonymous
ae87543653
Merge branch 'cast_intel' of https://github.com/simonlui/ComfyUI
2023-09-23 00:57:17 -04:00
comfyanonymous
fd93c759e2
Implement FreeU: Free Lunch in Diffusion U-Net node.
...
_for_testing->FreeU
2023-09-23 00:56:09 -04:00
Simon Lui
eec449ca8e
Allow Intel GPUs to LoRA cast on GPU since it supports BF16 natively.
2023-09-22 21:11:27 -07:00
comfyanonymous
afa2399f79
Add a way to set output block patches to modify the h and hsp.
2023-09-22 20:26:47 -04:00
comfyanonymous
29ccf9f471
Fix typo.
2023-09-22 01:33:46 -04:00
comfyanonymous
422d16c027
Add some nodes to add, subtract and multiply latents.
2023-09-21 22:23:01 -04:00
comfyanonymous
492db2de8d
Allow having a different pooled output for each image in a batch.
2023-09-21 01:14:42 -04:00
comfyanonymous
0793eb9269
Only clear clipboard when copying nodes.
2023-09-20 23:16:01 -04:00
comfyanonymous
4d41bd595c
Fix loading group titles.
2023-09-20 21:46:41 -04:00
comfyanonymous
1122df1a20
Increase range of lora strengths.
2023-09-20 17:58:54 -04:00
comfyanonymous
1cdfb3dba4
Only do the cast on the device if the device supports it.
2023-09-20 17:52:41 -04:00
comfyanonymous
b92a86d737
Update litegraph to upstream.
2023-09-20 13:24:08 -04:00
comfyanonymous
f895260e5e
Merge branch 'escape-glob' of https://github.com/seanlynch/ComfyUI
2023-09-19 13:13:40 -04:00
comfyanonymous
7c9a92f552
Don't depend on torchvision.
2023-09-19 13:12:47 -04:00
Sean Lynch
8321592408
Escape paths when passing them to globs
...
Try to prevent JS search from breaking on pathnames with square
brackets.
2023-09-19 08:18:29 -04:00
MoonRide303
2b6b178173
Added support for lanczos scaling
2023-09-19 10:40:38 +02:00
comfyanonymous
6d3dee9d16
Clean up #1541 .
2023-09-18 23:33:52 -04:00
comfyanonymous
f32463936d
Unhardcode sampler and scheduler list in test.
2023-09-18 23:24:14 -04:00
City
7c93afd2cd
Manual float precision, toggle for old behavior ( #1541 )
...
* Add toggle for float rounding
* Add manual precision override
2023-09-18 23:20:00 -04:00
enzymezoo-code
26cd8405dd
Ci quality workflows ( #1423 )
...
* Add inference tests
* Clean up
* Rename test graph file
* Add readme for tests
* Separate server fixture
* test file name change
* Assert images are generated
* Clean up comments
* Add __init__.py so tests can run with command line `pytest`
* Fix command line args for pytest
* Loop all samplers/schedulers in test_inference.py
* Ci quality workflows compare (#1 )
* Add image comparison tests
* Comparison tests do not pass with empty metadata
* Ensure tests are run in correct order
* Save image files with test name
* Update tests readme
* Reduce step counts in tests to ~halve runtime
* Ci quality workflows build (#2 )
* Add build test github workflow
2023-09-18 23:18:06 -04:00
comfyanonymous
b92bf8196e
Do lora cast on GPU instead of CPU for higher performance.
2023-09-18 23:04:49 -04:00
comfyanonymous
0109431626
Lower the minimum resolution of EmptyLatentImage.
2023-09-18 16:20:03 -04:00
comfyanonymous
db63aa7e53
Nodes can now control the rounding in the UI.
2023-09-17 12:49:06 -04:00
comfyanonymous
321c5fa295
Enable pytorch attention by default on xpu.
2023-09-17 04:09:19 -04:00
comfyanonymous
0665749b1a
Move ModelSubtract and ModelAdd to advanced/model_merging
2023-09-17 02:10:06 -04:00
comfyanonymous
d6d9b83447
Merge branch 'fix/preview_ratio' of https://github.com/ltdrdata/ComfyUI
2023-09-16 15:43:42 -04:00
comfyanonymous
61b1f67734
Support models without previews.
2023-09-16 12:59:54 -04:00
Dr.Lt.Data
4d5e057bb2
fix indent
2023-09-16 20:37:42 +09:00
Dr.Lt.Data
69680fede7
fix: thumbnail ratio fix for mixed ratio images
2023-09-16 20:36:00 +09:00
comfyanonymous
43d4935a1d
Add cond_or_uncond array to transformer_options so hooks can check what is
...
cond and what is uncond.
2023-09-15 22:21:14 -04:00
comfyanonymous
415abb275f
Add DDPM sampler.
2023-09-15 19:22:47 -04:00
comfyanonymous
099226015e
Merge branch 'Fix-structuredClone-error-with-early-chrome-version-browser' of https://github.com/KarryCharon/ComfyUI
2023-09-15 15:48:22 -04:00
comfyanonymous
94e4fe39d8
This isn't used anywhere.
2023-09-15 12:03:03 -04:00
karrycharon
076f3e6310
fix structuredClone undefined error;
2023-09-15 16:37:58 +08:00