mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-07 17:52:17 -08:00
support loading .yaml config with same name as model
support EMA weights in processing (????)
This commit is contained in:
parent
432782163a
commit
050a6a798c
2 changed files with 24 additions and 8 deletions
|
|
@ -347,7 +347,7 @@ def process_images(p: StableDiffusionProcessing) -> Processed:
|
|||
infotexts = []
|
||||
output_images = []
|
||||
|
||||
with torch.no_grad():
|
||||
with torch.no_grad(), p.sd_model.ema_scope():
|
||||
with devices.autocast():
|
||||
p.init(all_prompts, all_seeds, all_subseeds)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue