Commit Graph

1481 Commits

Author SHA1 Message Date
comfyanonymous
68569d26df Merge branch 'cast_intel' of https://github.com/simonlui/ComfyUI 2023-09-23 00:57:17 -04:00
comfyanonymous
a1006587ec Implement FreeU: Free Lunch in Diffusion U-Net node.
_for_testing->FreeU
2023-09-23 00:56:09 -04:00
Simon Lui
47164eb065 Allow Intel GPUs to LoRA cast on GPU since it supports BF16 natively. 2023-09-22 21:11:27 -07:00
comfyanonymous
a990441ba0 Add a way to set output block patches to modify the h and hsp. 2023-09-22 20:26:47 -04:00
comfyanonymous
b139e31298 Fix typo. 2023-09-22 01:33:46 -04:00
comfyanonymous
1108b51328 Add some nodes to add, subtract and multiply latents. 2023-09-21 22:23:01 -04:00
comfyanonymous
02f4208e1f Allow having a different pooled output for each image in a batch. 2023-09-21 01:14:42 -04:00
comfyanonymous
e0be4a3bf4 Only clear clipboard when copying nodes. 2023-09-20 23:16:01 -04:00
comfyanonymous
a17bc835e5 Fix loading group titles. 2023-09-20 21:46:41 -04:00
comfyanonymous
2e9b60dee6 Increase range of lora strengths. 2023-09-20 17:58:54 -04:00
comfyanonymous
795f5b3163 Only do the cast on the device if the device supports it. 2023-09-20 17:52:41 -04:00
comfyanonymous
a55c49c5a8 Update litegraph to upstream. 2023-09-20 13:24:08 -04:00
comfyanonymous
9cafaf6c73 Merge branch 'escape-glob' of https://github.com/seanlynch/ComfyUI 2023-09-19 13:13:40 -04:00
comfyanonymous
e67a083a9f Don't depend on torchvision. 2023-09-19 13:12:47 -04:00
Sean Lynch
ff357f374a 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
20d8e318c5 Added support for lanczos scaling 2023-09-19 10:40:38 +02:00
comfyanonymous
5077143c70 Clean up #1541. 2023-09-18 23:33:52 -04:00
comfyanonymous
b122d25c82 Unhardcode sampler and scheduler list in test. 2023-09-18 23:24:14 -04:00
City
0621b9f748 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
b0fe394251 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
a6511d69b0 Do lora cast on GPU instead of CPU for higher performance. 2023-09-18 23:04:49 -04:00
comfyanonymous
5fed13c849 Lower the minimum resolution of EmptyLatentImage. 2023-09-18 16:20:03 -04:00
comfyanonymous
97a7c7b43b Nodes can now control the rounding in the UI. 2023-09-17 12:49:06 -04:00
comfyanonymous
cdbbeb584d Enable pytorch attention by default on xpu. 2023-09-17 04:09:19 -04:00
comfyanonymous
83495c05cd Move ModelSubtract and ModelAdd to advanced/model_merging 2023-09-17 02:10:06 -04:00
comfyanonymous
22bef99e16 Merge branch 'fix/preview_ratio' of https://github.com/ltdrdata/ComfyUI 2023-09-16 15:43:42 -04:00
comfyanonymous
5d9b731cf9 Support models without previews. 2023-09-16 12:59:54 -04:00
Dr.Lt.Data
9944fade17 fix indent 2023-09-16 20:37:42 +09:00
Dr.Lt.Data
be497406c3 fix: thumbnail ratio fix for mixed ratio images 2023-09-16 20:36:00 +09:00
comfyanonymous
6d227d6fe0 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
509dd5ca26 Add DDPM sampler. 2023-09-15 19:22:47 -04:00
comfyanonymous
905a852f67 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
f45f65b6a4 This isn't used anywhere. 2023-09-15 12:03:03 -04:00
karrycharon
5bf65b1301 fix structuredClone undefined error; 2023-09-15 16:37:58 +08:00
comfyanonymous
11df5713a0 Support for text encoder models that need attention_mask. 2023-09-15 02:02:05 -04:00
comfyanonymous
7211e1dc26 Set last layer on SD2.x models uses the proper indexes now.
Before I had made the last layer the penultimate layer because some
checkpoints don't have them but it's not consistent with the others models.

TLDR: for SD2.x models only: CLIPSetLastLayer -1 is now -2.
2023-09-14 20:28:22 -04:00
comfyanonymous
cac135d12f Don't run text encoders on xpu because there are issues. 2023-09-14 12:16:07 -04:00
pythongosssss
ff4ffea423 Allow pasting nodes with connections in firefox 2023-09-13 18:42:44 +01:00
comfyanonymous
a3e0950ffb Only parse command line args when main.py is called. 2023-09-13 11:38:20 -04:00
comfyanonymous
46b144effb Add some nodes to subtract and add model weights. 2023-09-13 01:10:31 -04:00
comfyanonymous
2f29023f5a .gitignore refactor. 2023-09-12 18:44:05 -04:00
comfyanonymous
c8905151e3 Don't leave very large hidden states in the clip vision output. 2023-09-12 15:09:10 -04:00
comfyanonymous
36cc11edbd Fix issue where autocast fp32 CLIP gave different results from regular. 2023-09-11 21:49:56 -04:00
comfyanonymous
ccc2f830d7 Add ldm format support to UNETLoader. 2023-09-11 16:36:50 -04:00
comfyanonymous
7c53aa6ca4 Fix a few clipboard issues. 2023-09-10 11:19:31 -04:00
comfyanonymous
f25d15e026 Merge branch 'master' of https://github.com/miabrahams/ComfyUI 2023-09-10 10:15:02 -04:00
comfyanonymous
30ce791943 Merge branch 'add-defaultInput' of https://github.com/chrisgoringe/ComfyUI 2023-09-10 03:18:05 -04:00
comfyanonymous
cef8d61323 Allow checkpoints with .pt and .bin extensions. 2023-09-10 02:36:04 -04:00
comfyanonymous
9d5033bf48 Does it make sense to allow configuring the round and precision? 2023-09-09 03:15:31 -04:00
comfyanonymous
7175e47cd4 Merge branch 'round-float-widgets' of https://github.com/chrisgoringe/ComfyUI 2023-09-09 03:07:57 -04:00