mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-24 02:50:26 -08:00
fix_p_invalid_sampler_and_scheduler
This commit is contained in:
parent
ddb28b33a3
commit
5d5224b322
2 changed files with 11 additions and 1 deletions
|
|
@ -842,6 +842,9 @@ def process_images(p: StableDiffusionProcessing) -> Processed:
|
|||
|
||||
sd_models.apply_token_merging(p.sd_model, p.get_token_merging_ratio())
|
||||
|
||||
# backwards compatibility, fix sampler and scheduler if invalid
|
||||
sd_samplers.fix_p_invalid_sampler_and_scheduler(p)
|
||||
|
||||
res = process_images_inner(p)
|
||||
|
||||
finally:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue