18 Commits (ae3e4e9ad821c12b955f6b2343e6255e6d71eaf7)

Author SHA1 Message Date
comfyanonymous 1adcc4c3a2 Add a SamplerCustom Node.
This node takes a list of sigmas and a sampler object as input.

This lets people easily implement custom schedulers and samplers as nodes.

More nodes will be added to it in the future.
1 year ago
comfyanonymous bf3fc2f1b7 Refactor sampling related code. 1 year ago
comfyanonymous 77a176f9e0 Use common function to reshape batch to. 2 years ago
comfyanonymous 51dde87e97 Try to free enough vram for control lora inference. 2 years ago
comfyanonymous be9c5e25bc Fix issue with not freeing enough memory when sampling. 2 years ago
comfyanonymous ac0758a1a4 Fix bug with lowvram and controlnet advanced node. 2 years ago
comfyanonymous 89a0767abf Smarter memory management.
Try to keep models on the vram when possible.

Better lowvram mode for controlnets.
2 years ago
comfyanonymous ddc6f12ad5 Disable autocast in unet for increased speed. 2 years ago
comfyanonymous 4eab00e14b Set the seed in the SDE samplers to make them more reproducible. 2 years ago
BlenderNeko 1201d2eae5
Make nodes map over input lists (#579)
* allow nodes to map over lists

* make work with IS_CHANGED and VALIDATE_INPUTS

* give list outputs distinct socket shape

* add rebatch node

* add batch index logic

* add repeat latent batch

* deal with noise mask edge cases in latentfrombatch
2 years ago
comfyanonymous d3293c8339 Properly disable all progress bars when disable_pbar=True 2 years ago
comfyanonymous 5a971cecdb Add callback to sampler function.
Callback format is: callback(step, x0, x)
2 years ago
comfyanonymous aa57136dae Some fixes to the batch masks PR. 2 years ago
comfyanonymous c50208a703 Refactor more code to sample.py 2 years ago
BlenderNeko 0b07b2cc0f gligen tuple 2 years ago
BlenderNeko d9b1595f85 made sample functions more explicit 2 years ago
BlenderNeko 5818539743 add docstrings 2 years ago
BlenderNeko 2a09e2aa27 refactor/split various bits of code for sampling 2 years ago