Commit Graph

824 Commits

Author SHA1 Message Date
comfyanonymous
ad56cfe814 Add a total_steps value to sampler callback. 2023-05-03 12:58:10 -04:00
comfyanonymous
df01203955 Use sampler callback instead of tqdm hook for progress bar. 2023-05-02 23:00:49 -04:00
comfyanonymous
71b4d08e65 Change latent resolution step to 8. 2023-05-02 14:17:51 -04:00
comfyanonymous
76730ed9ff Make unet work with any input shape. 2023-05-02 13:31:43 -04:00
comfyanonymous
f83c087030 Update nightly pytorch standalone to python 3.11.3 cu121. 2023-05-02 09:45:20 -04:00
comfyanonymous
876322fd11 Expose grow_mask_by in VAEEncodeForInpaint.
The mask is dilated by grow_mask_by pixels after being applied to the pixel
space image. This helps reduce seams caused by inpainting. Higher value
means less seams.
2023-05-02 00:53:15 -04:00
comfyanonymous
55236dc812 LoKR support. 2023-05-01 18:18:23 -04:00
comfyanonymous
f390197d9f Merge branch 'finish-styling' of https://github.com/EllangoK/ComfyUI 2023-05-01 16:11:31 -04:00
EllangoK
f8115ab5dc style everything
styles searchbox, should be actually everything
2023-05-01 15:57:10 -04:00
comfyanonymous
f5982afcfa Properly disable all progress bars when disable_pbar=True 2023-05-01 15:52:17 -04:00
comfyanonymous
c11ca6c943 Merge branch 'pbars' of https://github.com/BlenderNeko/ComfyUI 2023-05-01 14:08:33 -04:00
EllangoK
84644db53a style context menu
fix graphdialog background, and palette template
2023-05-01 13:16:19 -04:00
comfyanonymous
cf4d7d19a8 Make default workflow use an existing checkpoint if no SD1.5 checkpoint. 2023-04-30 18:19:03 -04:00
comfyanonymous
9ad87ebc72 Fix ConditioningAverage. 2023-04-30 17:33:43 -04:00
FizzleDorf
0272debabc Conditioning Average (#495)
* first commit

* fixed a bunch of things missing in initial commit.

* parameters renamed for clarity

* renamed node, attempted update cond list

* to_strength removed, it is now normalized

* removed comments and prints. Attempted to apply to every cond in list again but no luck

* fixed repeating frames after batch using deepcopy

* Revert "fixed repeating frames after batch using deepcopy"

This reverts commit 1086d6a0e1.

* Rewrite addWeighted to use torch.mul iteratively.

---------

Co-authored-by: City <125218114+city96@users.noreply.github.com>
2023-04-30 17:33:15 -04:00
comfyanonymous
443179744d Adjust node resize area depending on outputs. 2023-04-30 13:02:07 -04:00
BlenderNeko
de72c5f581 allow disabling of progress bar when sampling 2023-04-30 18:59:58 +02:00
comfyanonymous
b827c9be68 Make nodes easier to resize. 2023-04-29 20:53:03 -04:00
comfyanonymous
1b5e610811 Make ConditioningSetMask area option a bit more clear.
Make ConditioningSetArea override the set_area_to_bounds.
2023-04-29 20:25:05 -04:00
comfyanonymous
54d388428a Mask strength should be separate from area strength. 2023-04-29 20:06:53 -04:00
comfyanonymous
ade1b2244e Merge branch 'condition_by_mask_node' of https://github.com/guill/ComfyUI 2023-04-29 15:05:18 -04:00
comfyanonymous
a6f7757865 Merge branch 'filter-search-by-type' of https://github.com/pythongosssss/ComfyUI 2023-04-29 15:03:08 -04:00
pythongosssss
48cab69093 - button hover style
- ensure context menu is always above everything
2023-04-29 17:29:07 +01:00
pythongosssss
680dc6116d Search filter by type 2023-04-29 17:19:14 +01:00
Jacob Segal
f7dd560777 Default to sampling entire image
By default, when applying a mask to a condition, the entire image will
still be used for sampling. The new "set_area_to_bounds" option on the
node will allow the user to automatically limit conditioning to the
bounds of the mask.

I've also removed the dependency on torchvision for calculating bounding
boxes. I've taken the opportunity to fix some frustrating details in the
other version:
1. An all-0 mask will no longer cause an error
2. Indices are returned as integers instead of floats so they can be
   used to index into tensors.
2023-04-29 00:16:58 -07:00
comfyanonymous
806786ed1d Don't try to get vram from xpu or cuda when directml is enabled. 2023-04-29 00:28:48 -04:00
comfyanonymous
e7ae3bc44c You can now select the device index with: --directml id
Like this for example: --directml 1
2023-04-28 16:51:35 -04:00
comfyanonymous
8e7771ed27 Fix Readme. 2023-04-28 16:20:27 -04:00
comfyanonymous
5ece9b863c Add "Installing" link to top of readme. 2023-04-28 16:18:54 -04:00
comfyanonymous
c2afcad2a5 Basic torch_directml support. Use --directml to use it. 2023-04-28 14:28:57 -04:00
comfyanonymous
5d4c367b57 Fix nightly CI builds.
No cu121 builds for windows yet.
2023-04-28 09:03:39 -04:00
comfyanonymous
ed40cd201e Fix the nightly build not being packaged correctly. 2023-04-28 08:50:12 -04:00
comfyanonymous
df371db4dd Switch stable standalone dependencies to stable xformers.
Switch nightly standalone to cu121.
2023-04-28 08:40:32 -04:00
Jacob Segal
6bfd8b6b1a Add Condition by Mask node
This PR adds support for a Condition by Mask node. This node allows
conditioning to be limited to a non-rectangle area.
2023-04-27 20:03:27 -07:00
comfyanonymous
256bd8e671 Make notebook work on python3.7 2023-04-27 10:59:47 -04:00
comfyanonymous
a9e0b4177d Add callback to sampler function.
Callback format is: callback(step, x0, x)
2023-04-27 04:38:44 -04:00
comfyanonymous
26380e84df If IS_CHANGED returns exception delete the output instead of crashing. 2023-04-26 02:13:56 -04:00
comfyanonymous
aa8889aa60 Don't keep cached outputs for removed nodes. 2023-04-26 02:05:57 -04:00
Jake D
281ddc671e Colored MultilineWidget (#524)
* fixes colors and z-index

* light mode fix

* Update widgets.js
2023-04-26 01:22:36 -04:00
comfyanonymous
7fe2ed0b50 Update litegraph from upstream. 2023-04-25 19:18:50 -04:00
comfyanonymous
00e088bbe7 Python 3.7 support. 2023-04-25 14:02:17 -04:00
comfyanonymous
d95ef10342 Some fixes to the batch masks PR. 2023-04-25 01:12:40 -04:00
comfyanonymous
434fdea402 Merge branch 'multiple_inpaint_masks' of https://github.com/guill/ComfyUI
# Conflicts:
#	nodes.py
2023-04-25 00:54:15 -04:00
comfyanonymous
288c72fe9f Refactor more code to sample.py 2023-04-24 23:25:51 -04:00
comfyanonymous
112d4ab7d7 This is cleaner this way. 2023-04-24 22:45:35 -04:00
comfyanonymous
eaf858df78 Auto increase the size of the image upload widget when there's an image. 2023-04-24 18:13:18 -04:00
comfyanonymous
3672f1eeca Merge branch 'master' of https://github.com/BlenderNeko/ComfyUI 2023-04-24 17:57:27 -04:00
BlenderNeko
d556513e2a gligen tuple 2023-04-24 21:47:57 +02:00
BlenderNeko
7db702ecd0 made sample functions more explicit 2023-04-24 12:53:10 +02:00
comfyanonymous
df8cc5d9e3 Add hypernetwork example link to readme.
Move hypernetwork loader node to loaders.
2023-04-24 03:08:51 -04:00