Commit Graph

119 Commits

Author SHA1 Message Date
hentailord85ez 6008c0773e
Add support for new DPM-Solver++ samplers 2022-11-04 23:03:05 +00:00
AUTOMATIC eb5e82c7dd do not unnecessarily run VAE one more time when saving intermediate image with hires fix 2022-11-02 12:45:03 +03:00
timntorres 9c67408004
Allow saving "before-highres-fix. (#4150)
* Save image/s before doing highres fix.
2022-11-02 12:18:21 +03:00
AUTOMATIC1111 10f62546d3
Merge pull request #4021 from AUTOMATIC1111/add-kdiff-cfgdenoiser-callback
Add mid-kdiffusion cfgdenoiser script callback - access latents, conditionings and sigmas mid-sampling
2022-11-02 07:29:16 +03:00
DepFA 5b6bedf6f2
Update class name and assign back to vars 2022-11-02 00:38:17 +00:00
DepFA 8ae0ea9dea
Add callback to sd_samplers 2022-10-30 23:48:33 +00:00
Martin Cairns 34c86c12b0 Include PLMS in adjust steps as it also can fail in the same way 2022-10-30 11:04:27 +00:00
Martin Cairns de1dc0d279 Add adjust_steps_if_invalid to find next valid step for ddim uniform sampler 2022-10-29 15:23:19 +01:00
ritosonn b383702752 fix #3145 #3093 2022-10-25 08:32:33 +03:00
AUTOMATIC d213d6ca6f removed the option to use 2x more memory when generating previews
added an option to always only show one image in previews
removed duplicate code
2022-10-22 20:48:13 +03:00
Unnoen 4fdb53c1e9 Generate grid preview for progress image 2022-10-22 20:36:04 +03:00
AUTOMATIC1111 d6bd6a425d
Merge branch 'master' into master 2022-10-21 09:49:32 +03:00
Vladimir Repin d23a46ceaa Different approach to skip/interrupt with highres fix 2022-10-20 23:49:14 +03:00
random_thoughtss 92a17a7a4a Made dummy latents smaller. Minor code cleanups 2022-10-20 09:45:03 -07:00
random_thoughtss c418467c03 Don't compute latent mask if were not using it. Also added support for fixed highres_fix generation. 2022-10-19 15:09:43 -07:00
random_thoughtss dde9f96072 added support for ddim img2img 2022-10-19 14:14:24 -07:00
random_thoughtss 8e7097d06a Added support for RunwayML inpainting model 2022-10-19 13:47:45 -07:00
AUTOMATIC cbf15edbf9 remove dependence on TQDM for sampler progress/interrupt functionality 2022-10-18 17:23:38 +03:00
Martin Cairns eacc03b167 Fix typo in comments 2022-10-11 15:36:29 +03:00
Martin Cairns 1eae307607 Remove debug code for checking that first sigma value is same after code cleanup 2022-10-11 15:36:29 +03:00
Martin Cairns 92d7a13885 Handle different parameters for DPM fast & adaptive 2022-10-11 15:36:29 +03:00
AUTOMATIC 7349088d32 --no-half-vae 2022-10-10 16:16:29 +03:00
Aidan Holland 432782163a chore: Fix typos 2022-10-08 22:42:30 +03:00
AUTOMATIC 77f4237d1c fix bugs related to variable prompt lengths 2022-10-08 15:25:59 +03:00
Trung Ngo 00117a07ef check specifically for skipped 2022-10-08 13:40:39 +03:00
AUTOMATIC b34b25b4c9 karras samplers for img2img? 2022-10-06 23:27:01 +03:00
AUTOMATIC 5993df24a1 integrate the new samplers PR 2022-10-06 14:12:52 +03:00
C43H66N12O12S2 71901b3d3b add karras scheduling variants 2022-10-06 13:42:21 +03:00
AUTOMATIC 5f24b7bcf4 option to let users select which samplers they want to hide 2022-10-06 12:08:59 +03:00
AUTOMATIC c26732fbee added support for AND from https://energy-based-model.github.io/Compositional-Visual-Generation-with-Composable-Diffusion-Models/ 2022-10-05 23:16:27 +03:00
hentailord85ez 34c638142e Fixed when eta = 0
Unexpected behavior when using eta = 0 in something like XY, but your default eta was set to something not 0.
2022-10-03 08:20:19 +03:00
AUTOMATIC 3ff0de2c59 added --disable-console-progressbars to disable progressbars in console
disabled printing prompts to console by default, enabled by --enable-console-prompts
2022-10-02 20:23:40 +03:00
DepFA bc38c80cfc add sampler_noise_scheduler_override switch 2022-10-01 08:08:50 +03:00
AUTOMATIC f80c3696f6 fix the sys not found error when importing sd_samplers that appeared after PR 2022-09-30 08:21:05 +03:00
C43H66N12O12S2 28307a9f10 force usage of cloned k-diffusion 2022-09-30 07:57:39 +03:00
C43H66N12O12S2 965dcf4469 improve code quality 2022-09-29 13:52:51 +03:00
C43H66N12O12S2 b05355770c add new samplers 2022-09-29 13:52:51 +03:00
AUTOMATIC d62954c2bc fix broken DDIM with img2img 2022-09-28 22:30:52 +03:00
AUTOMATIC d64b451681 added support for automatically installing latest k-diffusion
added eta parameter to parameters output for generated images
split eta settings into ancestral and ddim (because they have different default values)
2022-09-28 18:09:06 +03:00
AUTOMATIC 2ab64ec81a emergency fix for #1199 2022-09-28 10:49:07 +03:00
C43H66N12O12S2 8644e494be
add eta to k ancestral 2022-09-28 05:09:22 +03:00
DepFA adbd26a68f add missing s_tmax 2022-09-27 09:30:45 +03:00
DepFA 48d5796f0d pass eta to tex2img sampler 2022-09-27 09:30:45 +03:00
DepFA a860839f1f take extra sampler properties from StableDiffusionProcessing 2022-09-27 09:30:45 +03:00
DepFA 2ab3d593f9 pass extra KDiffusionSampler function parameters 2022-09-27 09:30:45 +03:00
DepFA ed5736139c pass ddim_eta and ddim_discretize 2022-09-27 09:30:45 +03:00
AUTOMATIC 6d7ca54a1a added highres fix feature 2022-09-19 16:42:56 +03:00
AUTOMATIC 2430fc20f1 fixed a bug with seed reproducibility with bacth_size>0 and bacth_count>0 2022-09-18 23:43:37 +03:00
AUTOMATIC e49b1c5d73 an option to do exactly the amount of specified steps in img2img 2022-09-16 13:38:02 +03:00
AUTOMATIC 83bce1a604 Merge branch 'batch-seed-attempt' 2022-09-16 09:48:46 +03:00
AUTOMATIC 87e8b9a2ab prevent replacing torch_randn globally (instead replacing k_diffusion.sampling.torch) and add a setting to disable this all 2022-09-16 09:47:03 +03:00
AUTOMATIC b44ddcb443 Prompt editing only applies to images in first batch of desired batch size when batch count > 1 #535 2022-09-16 08:51:21 +03:00
AUTOMATIC dc769e097c Merge branch 'prompt_editing' 2022-09-15 15:39:30 +03:00
AUTOMATIC d7f7378828 quantization off by default 2022-09-15 14:55:38 +03:00
C43H66N12O12S2 81baaff9b3 Respect quantization setting 2022-09-15 14:54:52 +03:00
C43H66N12O12S2 3c37c68fe0 Construct CompVisDenoiser with quantization 2022-09-15 14:54:52 +03:00
AUTOMATIC f2693bec08 prompt editing 2022-09-15 13:10:16 +03:00
AUTOMATIC 9d40212485 first attempt to produce crrect seeds in batch 2022-09-13 21:49:58 +03:00
AUTOMATIC 85b97cc49c bandaid for broken ddim sampling #389 2022-09-13 20:12:24 +03:00
AUTOMATIC 75a9b1bbd9 Noisy image previews #257 2022-09-12 18:00:53 +03:00
AUTOMATIC fe4e3c2673 fix for PLMS live previews in txt2img 2022-09-08 19:34:20 +03:00
AUTOMATIC ca3861e05f fix for DDIM live previews in txt2img 2022-09-08 19:20:41 +03:00
JohannesGaessler f211c498b9 More informative progress printing 2022-09-08 17:05:17 +02:00
AUTOMATIC 700c47a674 big improvements to inpainting and outpainting 2022-09-07 17:00:51 +03:00
AUTOMATIC 7ce7fb01e0 fix for live progress breaking lowvram and medvram optimizations 2022-09-06 23:10:12 +03:00
AUTOMATIC fd66199769 added preview option 2022-09-06 19:33:51 +03:00
AUTOMATIC a243bc7859 added progressbar
added an option to disable progressbar
added interrupt support to DDIM/PLMS
2022-09-06 02:09:01 +03:00
AUTOMATIC f40617d6c4 support for scripts 2022-09-03 17:21:15 +03:00
AUTOMATIC 345028099d split codebase into multiple files; to anyone this affects negatively: sorry 2022-09-03 12:08:45 +03:00