Commit Graph

1797 Commits

Author SHA1 Message Date
pythongosssss
36f136b936 Fix internal reroutes connected to other groups 2023-12-09 13:04:35 +00:00
comfyanonymous
f54c2bf6fb Cleanup. 2023-12-08 16:02:08 -05:00
comfyanonymous
d36e559dcf Add linear_start and linear_end to model_config.sampling_settings 2023-12-08 02:49:30 -05:00
comfyanonymous
63349484b8 Make --gpu-only put intermediate values in GPU memory instead of cpu. 2023-12-08 02:35:45 -05:00
comfyanonymous
d9b51ff370 Fix hypertile. 2023-12-07 15:22:35 -05:00
comfyanonymous
f75e370acd Support attention masking in CLIP implementation. 2023-12-07 02:51:02 -05:00
comfyanonymous
74bebee19f Merge branch 'ht_deterministic' of https://github.com/asagi4/ComfyUI 2023-12-07 01:45:11 -05:00
comfyanonymous
782cf4f295 Cleaner CLIP text encoder implementation.
Use a simple CLIP model implementation instead of the one from
transformers.

This will allow some interesting things that would too hackish to implement
using the transformers implementation.
2023-12-06 23:50:03 -05:00
asagi4
6806b383ad Make HyperTile deterministic 2023-12-06 21:17:56 +02:00
comfyanonymous
1f1ef695bb Slightly faster lora applying. 2023-12-06 05:13:14 -05:00
comfyanonymous
eacd9cf98b Merge branch 'reroute-converted-inputs' of https://github.com/pythongosssss/ComfyUI
# Conflicts:
#	web/extensions/core/widgetInputs.js
2023-12-06 03:01:35 -05:00
Dr.Lt.Data
1f12ab2fdb improve: Mask Editor (#2171)
* renewal mask editor

* fix: ignoring keydown when 2nd open
2023-12-06 01:56:03 -05:00
comfyanonymous
75dc8a00ca Merge branch 'primitive-text-replacement' of https://github.com/pythongosssss/ComfyUI 2023-12-05 23:11:03 -05:00
pythongosssss
3b3a2fa337 Allow widget placeholder replacement on primitives 2023-12-05 21:02:10 +00:00
pythongosssss
bc0a32e9ab try to stop test failing 2023-12-05 20:28:52 +00:00
pythongosssss
5c8207baa0 reroute + primitive tests 2023-12-05 20:28:05 +00:00
pythongosssss
c767cbd515 Allow connecting primitivenode to reroutes 2023-12-05 20:27:13 +00:00
comfyanonymous
39bb52dc2c Missed this one. 2023-12-05 12:48:41 -05:00
comfyanonymous
2620e3bc55 Fix memory issue with control loras. 2023-12-04 21:55:19 -05:00
comfyanonymous
e034f5709f Fix control lora on fp8. 2023-12-04 13:47:41 -05:00
comfyanonymous
9002e58ce5 Less useless downcasting. 2023-12-04 12:53:46 -05:00
comfyanonymous
dfa7737afb Use .itemsize to get dtype size for fp8. 2023-12-04 11:52:06 -05:00
comfyanonymous
080f5f4e84 UNET weights can now be stored in fp8.
--fp8_e4m3fn-unet and --fp8_e5m2-unet are the two different formats
supported by pytorch.
2023-12-04 11:10:00 -05:00
comfyanonymous
03e65605de All the unet ops with weights are now handled by comfy.ops 2023-12-04 03:12:18 -05:00
comfyanonymous
e7fb9c9d67 Merge branch 'fix-template-sorting' of https://github.com/pythongosssss/ComfyUI 2023-12-03 22:51:23 -05:00
pythongosssss
a4ff1b2e6e fix template sorting 2023-12-03 17:17:23 +00:00
pythongosssss
6b45fc50cb allow muting group node 2023-12-03 17:04:16 +00:00
pythongosssss
a901a34487 Allow removing erroring embedded groups
Unregister group nodes on workflow change
2023-12-03 16:49:48 +00:00
comfyanonymous
31feea98b0 A different way of handling multiple images passed to SVD.
Previously when a list of 3 images [0, 1, 2] was used for a 6 frame video
they were concated like this:
[0, 1, 2, 0, 1, 2]

now they are concated like this:
[0, 0, 1, 1, 2, 2]
2023-12-03 03:31:47 -05:00
comfyanonymous
743e7af567 Load api workflow if regular workflow isn't in loaded image. 2023-12-02 13:56:11 -05:00
comfyanonymous
0c2397b2ee Merge branch 'image-cache' of https://github.com/jn-jairo/ComfyUI 2023-12-02 13:02:33 -05:00
pythongosssss
d3f2725c7e Fix node growing with DOM widgets when adding image even if enough space 2023-12-02 12:02:03 +00:00
Jairo Correa
6cc2b30769 Merge branch 'master' into image-cache 2023-12-02 05:16:21 -03:00
comfyanonymous
6e74717802 Update readme. 2023-12-01 18:29:33 -05:00
pythongosssss
6c9d8e70e3 Add Extension tests (#2125)
* Add test for extension hooks
Add afterConfigureGraph callback

* fix comment
2023-12-01 17:24:20 -05:00
comfyanonymous
a1c37a56a4 Fix extension widgets not working. 2023-12-01 04:13:04 -05:00
comfyanonymous
da6f8a07c5 Fix right click not working for some users. 2023-12-01 02:03:34 -05:00
comfyanonymous
3fa2174377 Support SD2.1 turbo checkpoint. 2023-11-30 19:27:03 -05:00
comfyanonymous
02b4cb5a7a Do a garbage collect after the interval even if nothing is running. 2023-11-30 15:22:32 -05:00
pythongosssss
fe656b596d Group nodes (#1776)
* setup ui unit tests

* Refactoring, adding connections

* Few tweaks

* Fix type

* Add general test

* Refactored and extended test

* move to describe

* for groups

* wip group nodes

* Relink nodes
Fixed widget values
Convert to nodes

* Reconnect on convert back

* add via node menu + canvas
refactor

* Add ws event handling

* fix using wrong node on widget serialize

* allow reroute pipe
fix control_after_generate configure

* allow multiple images

* Add test for converted widgets on missing nodes + fix crash

* tidy

* mores tests + refactor

* throw earlier to get less confusing error

* support outputs

* more test

* add ci action

* use lts node

* Fix?

* Prevent connecting non matching combos

* update

* accidently removed npm i

* Disable logging extension

* fix naming
allow control_after_generate custom name
allow convert from reroutes

* group node tests

* Add executing info, custom node icon
Tidy

* internal reroute just works

* Fix crash on virtual nodes e.g. note

* Save group nodes to templates

* Fix template nodes not being stored

* Fix aborting convert

* tidy

* Fix reconnecting output links on convert to group

* Fix links on convert to nodes

* Handle missing internal nodes

* Trigger callback on text change

* Apply value on connect

* Fix converted widgets not reconnecting

* Group node updates
- persist internal ids in current session
- copy widget values when converting to nodes
- fix issue serializing converted inputs

* Resolve issue with sanitized node name

* Fix internal id

* allow outputs to be used internally and externally

* order widgets on group node
various fixes

* fix imageupload widget requiring a specific name

* groupnode imageupload test
give widget unique name

* Fix issue with external node links

* Add VAE model

* Fix internal node id check

* fix potential crash

* wip widget input support

* more wip group widget inputs

* Group node refactor
Support for primitives/converted widgets

* Fix convert to nodes with internal reroutes

* fix applying primitive

* Fix control widget values

* fix test
2023-11-30 14:13:27 -05:00
comfyanonymous
44c796430a Merge branch 'fix_folders_handling' of https://github.com/fazo96/ComfyUI 2023-11-29 14:10:30 -05:00
comfyanonymous
e346672ed3 Add to README that SDXL Turbo is supported. 2023-11-28 14:45:00 -05:00
comfyanonymous
55aed6cc38 Limit gc.collect() to once every 10 seconds. 2023-11-28 14:20:56 -05:00
comfyanonymous
9b85cd696c Add SDTurboScheduler node. 2023-11-28 13:35:32 -05:00
comfyanonymous
a4046b6acd Lower compress level of png sent on websocket. 2023-11-28 11:01:05 -05:00
comfyanonymous
dc15d6da73 Use smart model management for VAE to decrease latency. 2023-11-28 04:58:51 -05:00
comfyanonymous
92a323a5a9 Lower compress level for image preview. 2023-11-28 04:57:59 -05:00
comfyanonymous
74c9460844 Merge branch 'undo-redo' of https://github.com/pythongosssss/ComfyUI 2023-11-27 22:29:46 -05:00
comfyanonymous
5b12f320a8 Add a function to load a unet from a state dict. 2023-11-27 17:41:29 -05:00
comfyanonymous
c675a1ba9f .sigma and .timestep now return tensors on the same device as the input. 2023-11-27 16:41:33 -05:00