comfyanonymous
97015b6b38
Cleanup.
2023-12-08 16:02:08 -05:00
comfyanonymous
a4ec54a40d
Add linear_start and linear_end to model_config.sampling_settings
2023-12-08 02:49:30 -05:00
comfyanonymous
9ac0b487ac
Make --gpu-only put intermediate values in GPU memory instead of cpu.
2023-12-08 02:35:45 -05:00
comfyanonymous
cdff081023
Fix hypertile.
2023-12-07 15:22:35 -05:00
comfyanonymous
efb704c758
Support attention masking in CLIP implementation.
2023-12-07 02:51:02 -05:00
comfyanonymous
248d9125b0
Merge branch 'ht_deterministic' of https://github.com/asagi4/ComfyUI
2023-12-07 01:45:11 -05:00
comfyanonymous
fbdb14d4c4
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
comfyanonymous
2db86b4676
Slightly faster lora applying.
2023-12-06 05:13:14 -05:00
comfyanonymous
e134547341
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
comfyanonymous
ef29542030
Merge branch 'primitive-text-replacement' of https://github.com/pythongosssss/ComfyUI
2023-12-05 23:11:03 -05:00
comfyanonymous
1bbd65ab30
Missed this one.
2023-12-05 12:48:41 -05:00
comfyanonymous
9b655d4fd7
Fix memory issue with control loras.
2023-12-04 21:55:19 -05:00
comfyanonymous
26b1c0a771
Fix control lora on fp8.
2023-12-04 13:47:41 -05:00
comfyanonymous
be3468ddd5
Less useless downcasting.
2023-12-04 12:53:46 -05:00
comfyanonymous
ca82ade765
Use .itemsize to get dtype size for fp8.
2023-12-04 11:52:06 -05:00
comfyanonymous
31b0f6f3d8
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
af365e4dd1
All the unet ops with weights are now handled by comfy.ops
2023-12-04 03:12:18 -05:00
comfyanonymous
6efe561c2a
Merge branch 'fix-template-sorting' of https://github.com/pythongosssss/ComfyUI
2023-12-03 22:51:23 -05:00
comfyanonymous
61a123a1e0
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
b2517b4ceb
Load api workflow if regular workflow isn't in loaded image.
2023-12-02 13:56:11 -05:00
comfyanonymous
88e2c9746b
Merge branch 'image-cache' of https://github.com/jn-jairo/ComfyUI
2023-12-02 13:02:33 -05:00
comfyanonymous
2995a24725
Update readme.
2023-12-01 18:29:33 -05:00
comfyanonymous
ec7a00aa96
Fix extension widgets not working.
2023-12-01 04:13:04 -05:00
comfyanonymous
5d5c320054
Fix right click not working for some users.
2023-12-01 02:03:34 -05:00
comfyanonymous
c97be4db91
Support SD2.1 turbo checkpoint.
2023-11-30 19:27:03 -05:00
comfyanonymous
6b769bca01
Do a garbage collect after the interval even if nothing is running.
2023-11-30 15:22:32 -05:00
comfyanonymous
d19de2753e
Merge branch 'fix_folders_handling' of https://github.com/fazo96/ComfyUI
2023-11-29 14:10:30 -05:00
comfyanonymous
777f6b1522
Add to README that SDXL Turbo is supported.
2023-11-28 14:45:00 -05:00
comfyanonymous
b911eefc42
Limit gc.collect() to once every 10 seconds.
2023-11-28 14:20:56 -05:00
comfyanonymous
57d7f4464f
Add SDTurboScheduler node.
2023-11-28 13:35:32 -05:00
comfyanonymous
21063fa35b
Lower compress level of png sent on websocket.
2023-11-28 11:01:05 -05:00
comfyanonymous
983ebc5792
Use smart model management for VAE to decrease latency.
2023-11-28 04:58:51 -05:00
comfyanonymous
798a34d009
Lower compress level for image preview.
2023-11-28 04:57:59 -05:00
comfyanonymous
a667638442
Merge branch 'undo-redo' of https://github.com/pythongosssss/ComfyUI
2023-11-27 22:29:46 -05:00
comfyanonymous
c45d1b9b67
Add a function to load a unet from a state dict.
2023-11-27 17:41:29 -05:00
comfyanonymous
f30b992b18
.sigma and .timestep now return tensors on the same device as the input.
2023-11-27 16:41:33 -05:00
comfyanonymous
488de0b4df
ModelSamplingDiscreteLCM -> ModelSamplingDiscreteDistilled
2023-11-27 16:32:03 -05:00
comfyanonymous
13fdee6abf
Try to free memory for both cond+uncond before inference.
2023-11-27 14:55:40 -05:00
comfyanonymous
be71bb5e13
Tweak memory inference calculations a bit.
2023-11-27 14:04:16 -05:00
comfyanonymous
96c2deeefb
Merge branch 'path_error_fix' of https://github.com/jeske/ComfyUI
2023-11-27 02:06:08 -05:00
comfyanonymous
39e75862b2
Fix regression from last commit.
2023-11-26 03:43:02 -05:00
comfyanonymous
50dc39d6ec
Clean up the extra_options dict for the transformer patches.
...
Now everything in transformer_options gets put in extra_options.
2023-11-26 03:13:56 -05:00
comfyanonymous
5b37270d3a
Add a lora loader node for models with no CLIP.
2023-11-25 02:26:50 -05:00
comfyanonymous
5d6dfce548
Fix importing diffusers unets.
2023-11-24 20:35:29 -05:00
comfyanonymous
e020ab61f9
Fix output APNG not working with ffmpeg.
2023-11-24 18:24:19 -05:00
comfyanonymous
8ad5d494d5
Fix APNG not working in ffmpeg.
2023-11-24 18:14:17 -05:00
comfyanonymous
916e9c998c
Use same default fps as webp node.
2023-11-24 11:19:23 -05:00
comfyanonymous
eff24ea6aa
Add a node to save animated PNG files. These work in ffpmeg unlike webp.
2023-11-24 11:12:10 -05:00
comfyanonymous
3e5ea74ad3
Make buggy xformers fall back on pytorch attention.
2023-11-24 03:55:35 -05:00
comfyanonymous
982338b9bb
Fix issue loading webp files in UI.
2023-11-24 02:08:08 -05:00
comfyanonymous
c782cf3ea9
Add to Readme that Stable Video Diffusion is supported.
2023-11-24 00:27:08 -05:00
comfyanonymous
02ffbb2de3
Fix typo.
2023-11-23 23:20:07 -05:00
comfyanonymous
42dfae6331
Nodes to properly use the SDV img2vid checkpoint.
...
The img2vid model is conditioned on clip vision output only which means
there's no CLIP model which is why I added a ImageOnlyCheckpointLoader to
load it. Note that the unClipCheckpointLoader can also load it because it
also has a CLIP_VISION output.
SDV_img2vid_Conditioning is the node used to pass the right conditioning
to the img2vid model.
VideoLinearCFGGuidance applies a linearly decreasing CFG scale to each
video frame from the cfg set in the sampler node to min_cfg.
SDV_img2vid_Conditioning can be found in conditioning->video_models
ImageOnlyCheckpointLoader can be found in loaders->video_models
VideoLinearCFGGuidance can be found in sampling->video_models
2023-11-23 19:48:49 -05:00
comfyanonymous
871cc20e13
Support SVD img2vid model.
2023-11-23 19:41:33 -05:00
comfyanonymous
022033a0e7
Fix SaveAnimatedWEBP not working when metadata is disabled.
2023-11-23 15:39:35 -05:00
comfyanonymous
a657f96c5c
Add a node to save animated webp.
2023-11-23 14:28:41 -05:00
comfyanonymous
87031a1945
Update readme with link to LCM example page.
2023-11-23 11:59:11 -05:00
comfyanonymous
d03d8aa2e3
Fix loading groups.
2023-11-23 01:09:15 -05:00
comfyanonymous
410bf07771
Make VAE memory estimation take dtype into account.
2023-11-22 18:17:19 -05:00
comfyanonymous
32447f0c39
Add sampling_settings so models can specify specific sampling settings.
2023-11-22 17:24:00 -05:00
comfyanonymous
1ca4802e8c
Merge branch 'hide-if-collapsed' of https://github.com/pythongosssss/ComfyUI
2023-11-22 11:46:21 -05:00
comfyanonymous
c3ae99a749
Allow controlling downscale and upscale methods in PatchModelAddDownscale.
2023-11-22 03:23:16 -05:00
comfyanonymous
72741105a6
Remove useless code.
2023-11-21 17:27:28 -05:00
comfyanonymous
6a491ebe27
Allow model config to preprocess the vae state dict on load.
2023-11-21 16:29:18 -05:00
comfyanonymous
d66b631d74
Merge branch 'fix-collapsed-clip' of https://github.com/pythongosssss/ComfyUI
2023-11-21 13:26:26 -05:00
comfyanonymous
cd4fc77d5f
Add taesd and taesdxl to VAELoader node.
...
They will show up if both the taesd_encoder and taesd_decoder or taesdxl
model files are present in the models/vae_approx directory.
2023-11-21 12:54:19 -05:00
comfyanonymous
ce67dcbcda
Make it easy for models to process the unet state dict on load.
2023-11-20 23:17:53 -05:00
comfyanonymous
2dd5b4dd78
Only show last 200 elements in the UI history tab.
2023-11-20 16:56:29 -05:00
comfyanonymous
a03dde190e
Cap maximum history size at 10000. Delete oldest entry when reached.
2023-11-20 16:38:39 -05:00
comfyanonymous
31c5ea7b2c
Add LatentInterpolate to interpolate between latents.
2023-11-20 03:55:51 -05:00
comfyanonymous
dba4f3b4fc
Add a RepeatImageBatch node.
2023-11-19 06:09:01 -05:00
comfyanonymous
d9d8702d8d
percent_to_sigma now returns a float instead of a tensor.
2023-11-18 23:20:29 -05:00
comfyanonymous
8a451234b3
Add ImageCrop node.
2023-11-18 04:44:17 -05:00
comfyanonymous
0cf4e86939
Add some command line arguments to store text encoder weights in fp8.
...
Pytorch supports two variants of fp8:
--fp8_e4m3fn-text-enc (the one that seems to give better results)
--fp8_e5m2-text-enc
2023-11-17 02:56:59 -05:00
comfyanonymous
107e78b1cb
Add support for loading SSD1B diffusers unet version.
...
Improve diffusers model detection.
2023-11-16 23:12:55 -05:00
comfyanonymous
7e3fe3ad28
Make deep shrink behave like it should.
2023-11-16 15:26:28 -05:00
comfyanonymous
9f00a18095
Fix potential issues.
2023-11-16 14:59:54 -05:00
comfyanonymous
bd07ad1861
Add PatchModelAddDownscale (Kohya Deep Shrink) node.
...
By adding a downscale to the unet in the first timesteps this node lets
you generate images at higher resolutions with less consistency issues.
2023-11-16 13:25:46 -05:00
comfyanonymous
7ea6bb038c
Print warning when controlnet can't be applied instead of crashing.
2023-11-16 12:57:12 -05:00
comfyanonymous
dcec1047e6
Invert the start and end percentages in the code.
...
This doesn't affect how percentages behave in the frontend but breaks
things if you relied on them in the backend.
percent_to_sigma goes from 0 to 1.0 instead of 1.0 to 0 for less confusion.
Make percent 0 return an extremely large sigma and percent 1.0 return a
zero one to fix imprecision.
2023-11-16 04:23:44 -05:00
comfyanonymous
7114cfec0e
Always clone graph data when loading to fix some load issues.
2023-11-15 15:55:02 -05:00
comfyanonymous
629e4c552c
Merge branch 'master' of https://github.com/42lux/ComfyUI
2023-11-15 01:47:21 -05:00
comfyanonymous
57eea0efbb
heunpp2 sampler.
2023-11-14 23:50:55 -05:00
comfyanonymous
728613bb3e
Fix last pr.
2023-11-14 14:41:31 -05:00
comfyanonymous
ec3d0ab432
Merge branch 'master' of https://github.com/Jannchie/ComfyUI
2023-11-14 14:38:07 -05:00
comfyanonymous
c962884a5c
Make bislerp work on GPU.
2023-11-14 11:38:36 -05:00
comfyanonymous
420beeeb05
Clean up and refactor sampler code.
...
This should make it much easier to write custom nodes with kdiffusion type
samplers.
2023-11-14 00:39:34 -05:00
comfyanonymous
94cc718e9c
Add a way to add patches to the input block.
2023-11-14 00:08:12 -05:00
comfyanonymous
8509bd58b4
Reorganize custom_sampling nodes.
2023-11-13 21:45:23 -05:00
comfyanonymous
61112c81b9
Add a node to flip the sigmas for unsampling.
2023-11-13 21:45:08 -05:00
comfyanonymous
eb0407e806
Update litegraph to latest.
2023-11-13 16:26:28 -05:00
comfyanonymous
7339479b10
Disable xformers when it can't load properly.
2023-11-13 12:31:10 -05:00
comfyanonymous
f12ec55983
Allow boolean widgets to have no options dict.
2023-11-13 00:42:34 -05:00
comfyanonymous
4781819a85
Make memory estimation aware of model dtype.
2023-11-12 04:28:26 -05:00
comfyanonymous
dd4ba68b6e
Allow different models to estimate memory usage differently.
2023-11-12 04:03:52 -05:00
comfyanonymous
2c9dba8dc0
sampling_function now has the model object as the argument.
2023-11-12 03:45:10 -05:00
comfyanonymous
8d80584f6a
Remove useless argument from uni_pc sampler.
2023-11-12 01:25:33 -05:00
comfyanonymous
248aa3e563
Fix bug.
2023-11-11 12:20:16 -05:00
comfyanonymous
4a8a839b40
Add option to use in place weight updating in ModelPatcher.
2023-11-11 01:11:12 -05:00
comfyanonymous
412d3ff57d
Refactor.
2023-11-11 01:11:06 -05:00