comfyanonymous
326577d04c
Allow cancelling of everything with a progress bar.
1 year ago
comfyanonymous
f88f7f413a
Add a ConditioningSetAreaPercentage node.
1 year ago
comfyanonymous
1c012d69af
It doesn't make sense for c_crossattn and c_concat to be lists.
1 year ago
comfyanonymous
d6e4b342e6
Support for Control Loras.
...
Control loras are controlnets where some of the weights are stored in
"lora" format: an up and a down low rank matrice that when multiplied
together and added to the unet weight give the controlnet weight.
This allows a much smaller memory footprint depending on the rank of the
matrices.
These controlnets are used just like regular ones.
1 year ago
comfyanonymous
89a0767abf
Smarter memory management.
...
Try to keep models on the vram when possible.
Better lowvram mode for controlnets.
1 year ago
comfyanonymous
0cb6dac943
Remove 3m from PR #1213 because of some small issues.
1 year ago
comfyanonymous
e244b2df83
Add sgm_uniform scheduler that acts like the default one in sgm.
1 year ago
comfyanonymous
58c7da3665
Gpu variant of dpmpp_3m_sde. Note: use 3m with exponential or karras.
1 year ago
FizzleDorf
3cfad03a68
dpmpp 3m + dpmpp 3m sde added
1 year ago
comfyanonymous
cf10c5592c
Disable calculating uncond when CFG is 1.0
1 year ago
asagi4
1ea4d84691
Fix timestep ranges when batch_size > 1
1 year ago
comfyanonymous
7ff14b62f8
ControlNetApplyAdvanced can now define when controlnet gets applied.
1 year ago
comfyanonymous
d191c4f9ed
Add a ControlNetApplyAdvanced node.
...
The controlnet can be applied to the positive or negative prompt only by
connecting it correctly.
1 year ago
comfyanonymous
0240946ecf
Add a way to set which range of timesteps the cond gets applied to.
1 year ago
comfyanonymous
67be7eb81d
Nodes can now patch the unet function.
1 year ago
comfyanonymous
3ded1a3a04
Refactor of sampler code to deal more easily with different model types.
1 year ago
comfyanonymous
ddc6f12ad5
Disable autocast in unet for increased speed.
1 year ago
comfyanonymous
e57cba4c61
Add gpu variations of the sde samplers that are less deterministic
...
but faster.
1 year ago
mara
c61a95f9f7
Fix size check for conditioning mask
...
The wrong dimensions were being checked, [1] and [2] are the image size.
not [2] and [3]. This results in an out-of-bounds error if one of them
actually matches.
1 year ago
comfyanonymous
4eab00e14b
Set the seed in the SDE samplers to make them more reproducible.
1 year ago
comfyanonymous
8607c2d42d
Move latent scale factor from VAE to model.
1 year ago
comfyanonymous
f87ec10a97
Support base SDXL and SDXL refiner models.
...
Large refactor of the model detection and loading code.
1 year ago
comfyanonymous
036a22077c
Fix k_diffusion math being off by a tiny bit during txt2img.
1 year ago
comfyanonymous
388567f20b
sampler_cfg_function now uses a dict for the argument.
...
This means arguments can be added without issues.
1 year ago
comfyanonymous
c64ca8c0b2
Refactor unCLIP noise augment out of samplers.py
1 year ago
comfyanonymous
de142eaad5
Simpler base model code.
1 year ago
comfyanonymous
069657fbf3
Add DPM-Solver++(2M) SDE and exponential scheduler.
...
exponential scheduler is the one recommended with this sampler.
2 years ago
comfyanonymous
ef815ba1e2
Switch default scheduler to normal.
2 years ago
comfyanonymous
f7c0f75d1f
Auto batching improvements.
...
Try batching when cond sizes don't match with smart padding.
2 years ago
comfyanonymous
314e526c5c
Not needed anymore because sampling works with any latent size.
2 years ago
comfyanonymous
908dc1d5a8
Add a total_steps value to sampler callback.
2 years ago
comfyanonymous
d3293c8339
Properly disable all progress bars when disable_pbar=True
2 years ago
BlenderNeko
a2e18b1504
allow disabling of progress bar when sampling
2 years ago
comfyanonymous
071011aebe
Mask strength should be separate from area strength.
2 years ago
Jacob Segal
af02393c2a
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.
2 years ago
Jacob Segal
e214c917ae
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.
2 years ago
comfyanonymous
5a971cecdb
Add callback to sampler function.
...
Callback format is: callback(step, x0, x)
2 years ago
comfyanonymous
7983b3a975
This is cleaner this way.
2 years ago
BlenderNeko
2a09e2aa27
refactor/split various bits of code for sampling
2 years ago
comfyanonymous
5282f56434
Implement Linear hypernetworks.
...
Add a HypernetworkLoader node to use hypernetworks.
2 years ago
comfyanonymous
907010e082
Remove some useless code.
2 years ago
comfyanonymous
96b57a9ad6
Don't pass adm to model when it doesn't support it.
2 years ago
comfyanonymous
3696d1699a
Add support for GLIGEN textbox model.
2 years ago
comfyanonymous
884ea653c8
Add a way for nodes to set a custom CFG function.
2 years ago
comfyanonymous
73c3e11e83
Fix model_management import so it doesn't get executed twice.
2 years ago
comfyanonymous
23524ad8c5
Remove print.
2 years ago
comfyanonymous
f50b1fec69
Add noise augmentation setting to unCLIPConditioning.
2 years ago
comfyanonymous
809bcc8ceb
Add support for unCLIP SD2.x models.
...
See _for_testing/unclip in the UI for the new nodes.
unCLIPCheckpointLoader is used to load them.
unCLIPConditioning is used to add the image cond and takes as input a
CLIPVisionEncode output which has been moved to the conditioning section.
2 years ago
comfyanonymous
18a6c1db33
Add a TomePatchModel node to the _for_testing section.
...
Tome increases sampling speed at the expense of quality.
2 years ago
comfyanonymous
61ec3c9d5d
Add a way to pass options to the transformers blocks.
2 years ago