mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
fix compile
This commit is contained in:
@@ -710,8 +710,6 @@ def process_images_inner(p: StableDiffusionProcessing) -> Processed:
|
||||
shared.state.sampling_steps = p.steps
|
||||
shared.state.current_latent = latents
|
||||
shared.state.set_current_image()
|
||||
if p.scripts is not None:
|
||||
p.scripts.process(p)
|
||||
|
||||
output = shared.sd_model( # pylint: disable=not-callable
|
||||
prompt=prompts,
|
||||
|
||||
@@ -563,6 +563,7 @@ class PriorPipeline:
|
||||
|
||||
|
||||
def load_diffuser(checkpoint_info=None, already_loaded_state_dict=None, timer=None, op='model'): # pylint: disable=unused-argument
|
||||
import torch # todo: no idea why its undefined here
|
||||
if timer is None:
|
||||
timer = Timer()
|
||||
import logging
|
||||
|
||||
Reference in New Issue
Block a user