Commit 81c4ddf6 authored by drhead's avatar drhead Committed by GitHub

fix linting

parent 309a606c
......@@ -884,7 +884,7 @@ def process_images_inner(p: StableDiffusionProcessing) -> Processed:
if hasattr(p.sd_model, 'alphas_cumprod') and not hasattr(p.sd_model, 'alphas_cumprod_original'):
p.sd_model.alphas_cumprod_original = p.sd_model.alphas_cumprod
p.sd_model.alphas_cumprod = p.sd_model.alphas_cumprod_original.to(shared.device)
if opts.use_downcasted_alpha_bar:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment