mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
enable sampler swap for diffusers
This commit is contained in:
@@ -691,7 +691,7 @@ def process_images_inner(p: StableDiffusionProcessing) -> Processed:
|
||||
sampler = sd_samplers.all_samplers_map.get(p.sampler_name, None)
|
||||
if sampler is None:
|
||||
sampler = sd_samplers.all_samplers_map.get("UniPC")
|
||||
# shared.sd_model.scheduler = sd_samplers.create_sampler(sampler.name, shared.sd_model) # TODO(Patrick): For wrapped pipelines this is currently a no-op
|
||||
shared.sd_model.scheduler = sd_samplers.create_sampler(sampler.name, shared.sd_model) # TODO(Patrick): For wrapped pipelines this is currently a no-op
|
||||
|
||||
cross_attention_kwargs={}
|
||||
if lora_state['active']:
|
||||
|
||||
Reference in New Issue
Block a user