Commit Graph

1517 Commits

Author SHA1 Message Date
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
Chris
7a8267bf71 Specify the precision and rounding based on step 2023-09-09 15:21:38 +10:00
Michael Poutre
576e52f0b0 fix(server): Disable access logs 2023-09-08 21:11:53 -07:00
comfyanonymous
4eef469698 Add a penultimate_hidden_states to the clip vision output. 2023-09-08 14:06:58 -04:00
comfyanonymous
93a04479a6 Google doesn't want people to use ComfyUI on colab anymore. 2023-09-08 14:02:03 -04:00
Michael Abrahams
571df68719 Clear clipboard on copy 2023-09-08 12:42:13 -04:00
comfyanonymous
c4c69f8cc3 Support diffusers format t2i adapters. 2023-09-08 11:36:51 -04:00
Chris
c0a5d23670 round float widgets (by default to 0.001) 2023-09-08 20:40:27 +10:00
MoonRide303
c632047d27 Fixed Load Image preview not displaying some files (issue #1158) 2023-09-08 08:43:17 +02:00
Chris
ffd712c6d9 defaultInput 2023-09-08 14:53:59 +10:00
comfyanonymous
c40f363254 Allow cancelling of everything with a progress bar. 2023-09-07 23:37:03 -04:00
comfyanonymous
658d9ce9bf Small refactor. 2023-09-07 18:14:30 -04:00
comfyanonymous
5eee2983cc Properly check upload filename for directory transversal. 2023-09-07 18:06:22 -04:00
comfyanonymous
e079841e7d Merge branch 'fix-validate' of https://github.com/pythongosssss/ComfyUI 2023-09-07 15:15:52 -04:00
pythongosssss
4f7bad4bad fix crash on node with VALIDATE_INPUTS and actual inputs 2023-09-07 18:42:21 +01:00