aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sd_samplers.py
Commit message (Collapse)AuthorAgeFilesLines
* fix incorrect display/calculation for number of steps for hires fix in ↵AUTOMATIC2023-01-041-2/+3
| | | | progress bars
* change karras scheduler sigmas to values recommended by SD from old 0.1 to ↵AUTOMATIC2023-01-011-1/+3
| | | | 10 with an option to revert to old
* added cheap NN approximation for VAEAUTOMATIC2022-12-241-13/+16
|
* Merge pull request #5976 from AbstractQbit/fast_previewAUTOMATIC11112022-12-241-7/+16
|\ | | | | Add an option for faster low quality previews
| * Add an option for faster low quality previewsAbstractQbit2022-12-241-7/+16
| |
* | separate part of denoiser code into a function to make it easier for ↵AUTOMATIC2022-12-241-6/+11
|/ | | | extensions to override it
* eliminate duplicated codeAUTOMATIC2022-12-241-17/+14
| | | | add an option to samplers for skipping next to last sigma
* fix dpm2 in img2img as wellAlex "mcmonkey" Goodwin2022-12-191-0/+3
|
* apply to DPM2 (non-ancestral) as wellAlex "mcmonkey" Goodwin2022-12-161-1/+1
|
* Add a workaround patch for DPM2 a issueAlex "mcmonkey" Goodwin2022-12-161-0/+3
| | | | 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
* Rework MPS randn fix, add randn_like fixbrkirch2022-11-301-3/+5
| | | | 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.
* Add workaround for using MPS with torchsdebrkirch2022-11-301-0/+14
|
* rework #5012 to also work for pictures dragged into the prompt and also add ↵AUTOMATIC2022-11-271-1/+1
| | | | Clip skip + ENSD to parameters
* Merge pull request #5065 from JaySmithWpg/vram-leakAUTOMATIC11112022-11-271-18/+15
|\ | | | | #3449 - VRAM leak when switching to/from inpainting checkpoint
| * fixes #3449 - VRAM leak when switching to/from inpainting modelJay Smith2022-11-261-18/+15
| |
* | calculate dictionary for sampler names only onceAUTOMATIC2022-11-271-0/+7
| |
* | Merge branch 'master' into DPM++SDEAUTOMATIC11112022-11-271-6/+8
|\ \
| * | Add support Stable Diffusion 2.0AUTOMATIC2022-11-261-6/+8
| |/
* / Add DPM++ SDE sampleruservar2022-11-221-0/+2
|/
* change StableDiffusionProcessing to internally use sampler name instead of ↵AUTOMATIC2022-11-191-3/+10
| | | | sampler index
* tweak names a bit for new samplersAUTOMATIC2022-11-051-4/+4
|
* Reorder samplershentailord85ez2022-11-041-2/+2
|
* Fix namehentailord85ez2022-11-041-1/+1
|
* Add support for new DPM-Solver++ samplershentailord85ez2022-11-041-0/+4
|
* do not unnecessarily run VAE one more time when saving intermediate image ↵AUTOMATIC2022-11-021-0/+1
| | | | with hires fix
* Allow saving "before-highres-fix. (#4150)timntorres2022-11-021-3/+2
| | | * Save image/s before doing highres fix.
* Merge pull request #4021 from AUTOMATIC1111/add-kdiff-cfgdenoiser-callbackAUTOMATIC11112022-11-021-0/+7
|\ | | | | Add mid-kdiffusion cfgdenoiser script callback - access latents, conditionings and sigmas mid-sampling
| * Update class name and assign back to varsDepFA2022-11-021-2/+6
| |
| * Add callback to sd_samplersDepFA2022-10-301-0/+3
| |
* | Include PLMS in adjust steps as it also can fail in the same wayMartin Cairns2022-10-301-1/+1
| |
* | Add adjust_steps_if_invalid to find next valid step for ddim uniform samplerMartin Cairns2022-10-291-13/+15
|/
* fix #3145 #3093ritosonn2022-10-251-2/+2
|
* removed the option to use 2x more memory when generating previewsAUTOMATIC2022-10-221-25/+10
| | | | | added an option to always only show one image in previews removed duplicate code
* Generate grid preview for progress imageUnnoen2022-10-221-1/+25
|
* Merge branch 'master' into masterAUTOMATIC11112022-10-211-11/+49
|\
| * Made dummy latents smaller. Minor code cleanupsrandom_thoughtss2022-10-201-2/+4
| |
| * Don't compute latent mask if were not using it. Also added support for fixed ↵random_thoughtss2022-10-191-0/+4
| | | | | | | | highres_fix generation.
| * added support for ddim img2imgrandom_thoughtss2022-10-191-0/+6
| |
| * Added support for RunwayML inpainting modelrandom_thoughtss2022-10-191-12/+38
| |
* | Different approach to skip/interrupt with highres fixVladimir Repin2022-10-201-0/+4
|/
* remove dependence on TQDM for sampler progress/interrupt functionalityAUTOMATIC2022-10-181-49/+58
|
* Fix typo in commentsMartin Cairns2022-10-111-1/+1
|
* Remove debug code for checking that first sigma value is same after code cleanupMartin Cairns2022-10-111-1/+0
|
* Handle different parameters for DPM fast & adaptiveMartin Cairns2022-10-111-7/+18
|
* --no-half-vaeAUTOMATIC2022-10-101-2/+2
|
* chore: Fix typosAidan Holland2022-10-081-2/+2
|
* fix bugs related to variable prompt lengthsAUTOMATIC2022-10-081-7/+28
|
* check specifically for skippedTrung Ngo2022-10-081-2/+2
|
* karras samplers for img2img?AUTOMATIC2022-10-061-2/+4
|
* integrate the new samplers PRAUTOMATIC2022-10-061-28/+31
|