Merge pull request #15681 from AUTOMATIC1111/fix_p_invalid_sampler_and_scheduler

more old sampler scheduler compatibility
This commit is contained in:
AUTOMATIC1111
2024-06-08 10:42:42 +03:00
committed by GitHub
2 changed files with 11 additions and 1 deletions

View File

@@ -843,6 +843,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: