Commit Graph

125 Commits (c71467e7f05a778bb3e7eaf4e96a88caa8a63cf8)

Author SHA1 Message Date
Vladimir Mandic 926a0fde1a diffusers code refactoring and exception handling 2023-07-17 12:22:51 -04:00
Vladimir Mandic 7a859cdb18 update diffuser samplers and refiner workflows 2023-07-16 12:56:55 -04:00
Vladimir Mandic e2b33b81d3 fix diffusers samplers 2023-07-15 22:40:03 -04:00
Vladimir Mandic ec99bad021 enable backend switching on-the-fly 2023-07-11 15:55:02 -04:00
Vladimir Mandic 18ef9e6fd7 redo diffusers scheduler 2023-07-04 13:07:05 -04:00
Vladimir Mandic a2caafe4df initial diffusers merge into dev 2023-07-02 14:04:54 -04:00
Vladimir Mandic 22f63c42f1 set fallback sampler 2023-06-02 07:56:53 -04:00
Vladimir Mandic 873371f1e5 merge stage one 2023-05-30 14:13:29 -04:00
Vladimir Mandic 5f1fd7bd66 update common ui 2023-05-29 13:43:03 -04:00
Vladimir Mandic efd3810860 diffusers merge 2023-05-26 22:42:03 -04:00
Vladimir Mandic 554f26296e update initial samplers 2023-05-17 08:46:57 -04:00
Vladimir Mandic 6c271dcfc6 update default samplers 2023-05-17 07:16:11 -04:00
Vladimir Mandic 2f36350e24 refactor 2023-05-16 09:16:12 -04:00
Alexandre Froger e132f65c14
Update sd_samplers.py
[UX] UniPC and PLMS as fallback, PLMS forced, settings consistency #829

Refactor
2023-05-09 22:23:14 +08:00
Alexandre Froger 8d9188af6f
Update sd_samplers.py
[Issue]: UniPC always here #822

check if the samplers list is empty, in which case force only UniPC and PLMS, otherwise only use the set of selected ones, with PLMS forced as part of the set of available samplers
2023-05-09 21:13:12 +08:00
Vladimir Mandic 8291fe6cf8 fix sampler list 2023-04-24 12:17:01 -04:00
RedCore 4ed4f99d63 invert sampler selection process #447 2023-04-24 18:48:40 +03:00
space-nuko c88dcc20d4 UniPC does not support img2img (for now) 2023-02-10 05:00:54 -08:00
AUTOMATIC 4df63d2d19 split samplers into one more files for k-diffusion 2023-01-30 10:11:30 +03:00
Andrey 274474105a Split history sd_samplers.py to sd_samplers_kdiffusion.py 2023-01-30 09:51:23 +03:00
Andrey 2db8ed32cd Split history sd_samplers.py to sd_samplers_kdiffusion.py 2023-01-30 09:51:23 +03:00
AUTOMATIC aa54a9d416 split compvis sampler and shared sampler stuff into their own files 2023-01-30 09:51:06 +03:00
Andrey f8fcad502e Split history sd_samplers.py to sd_samplers_common.py 2023-01-30 09:37:51 +03:00
Andrey 6e78f6a896 Split history sd_samplers.py to sd_samplers_common.py 2023-01-30 09:37:50 +03:00
Andrey 449531a6c5 Split history sd_samplers.py to sd_samplers_compvis.py 2023-01-30 09:35:53 +03:00
Andrey 9118b08606 Split history sd_samplers.py to sd_samplers_compvis.py 2023-01-30 09:35:52 +03:00
AUTOMATIC 6cff440182 fix prompt editing break after first batch in img2img 2023-01-25 23:25:40 +03:00
AUTOMATIC 9991967f40 Add a check and explanation for tensor with all NaNs. 2023-01-16 22:59:46 +03:00
AUTOMATIC d8b90ac121 big rework of progressbar/preview system to allow multiple users to prompts at the same time and do not get previews of each other 2023-01-15 18:51:04 +03:00
AUTOMATIC f94a215abe add an option to choose what you want to see in live preview (Live preview subject) and moves live preview settings to its own tab 2023-01-14 16:29:23 +03:00
AUTOMATIC 42fcc79bd3 add Discard penultimate sigma to infotext 2023-01-05 10:43:21 +03:00
AUTOMATIC1111 c53852e257
Merge pull request #6044 from hentailord85ez/discard-penultimate-sigma
Allow always discarding of penultimate sigma and fix doing 1 less step than specified
2023-01-05 10:33:51 +03:00
AUTOMATIC bc43293c64 fix incorrect display/calculation for number of steps for hires fix in progress bars 2023-01-04 23:56:43 +03:00
AUTOMATIC 16b9661d27 change karras scheduler sigmas to values recommended by SD from old 0.1 to 10 with an option to revert to old 2023-01-01 09:51:37 +03:00
hentailord85ez 4df5009acb
Update sd_samplers.py 2022-12-26 20:49:13 +00:00
AUTOMATIC 56e557c6ff added cheap NN approximation for VAE 2022-12-24 22:39:10 +03:00
AUTOMATIC1111 a6a54a7529
Merge pull request #5976 from AbstractQbit/fast_preview
Add an option for faster low quality previews
2022-12-24 18:38:42 +03:00
AUTOMATIC 0b8acce6a9 separate part of denoiser code into a function to make it easier for extensions to override it 2022-12-24 18:38:16 +03:00
AbstractQbit 11dd79e346 Add an option for faster low quality previews 2022-12-24 14:00:17 +03:00
AUTOMATIC 399b229783 eliminate duplicated code
add an option to samplers for skipping next to last sigma
2022-12-24 09:03:45 +03:00
Alex "mcmonkey" Goodwin 7ba9bc2fdb fix dpm2 in img2img as well 2022-12-18 19:16:42 -08:00
Alex "mcmonkey" Goodwin 180fdf7809 apply to DPM2 (non-ancestral) as well 2022-12-16 08:42:00 -08:00
Alex "mcmonkey" Goodwin 8b0703b8fc Add a workaround patch for DPM2 a issue
DPM2 a and DPM2 a Karras samplers are both affected by an issue described by https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/3483 and can be resolved by a workaround suggested by the k-diffusion author at https://github.com/crowsonkb/k-diffusion/issues/43#issuecomment-1305195666
2022-12-16 08:18:29 -08:00
brkirch 0fddb4a1c0 Rework MPS randn fix, add randn_like fix
torch.manual_seed() already sets a CPU generator, so there is no reason to create a CPU generator manually. torch.randn_like also needs a MPS fix for k-diffusion, but a torch hijack with randn_like already exists so it can also be used for that.
2022-11-30 10:33:42 -05:00
brkirch 21effd629d Add workaround for using MPS with torchsde 2022-11-30 10:33:39 -05:00
AUTOMATIC 506d529d19 rework #5012 to also work for pictures dragged into the prompt and also add Clip skip + ENSD to parameters 2022-11-27 16:28:32 +03:00
AUTOMATIC1111 01f2ed6844
Merge pull request #5065 from JaySmithWpg/vram-leak
#3449 - VRAM leak when switching to/from inpainting checkpoint
2022-11-27 13:52:14 +03:00
AUTOMATIC 10923f9b3a calculate dictionary for sampler names only once 2022-11-27 13:43:10 +03:00
AUTOMATIC1111 6df4945718
Merge branch 'master' into DPM++SDE 2022-11-27 12:54:45 +03:00
AUTOMATIC ce6911158b Add support Stable Diffusion 2.0 2022-11-26 16:10:46 +03:00