Skip to content

not working with UniPC on webui 1.6.0 #80

@AG-w

Description

@AG-w
    Traceback (most recent call last):
      File "H:\AItest\stable-diffusion-webui\modules\call_queue.py", line 57, in f
        res = list(func(*args, **kwargs))
      File "H:\AItest\stable-diffusion-webui\modules\call_queue.py", line 36, in f
        res = func(*args, **kwargs)
      File "H:\AItest\stable-diffusion-webui\modules\txt2img.py", line 55, in txt2img
        processed = processing.process_images(p)
      File "H:\AItest\stable-diffusion-webui\modules\processing.py", line 732, in process_images
        res = process_images_inner(p)
      File "H:\AItest\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\batch_hijack.py", line 42, in processing_process_images_hijack
        return getattr(processing, '__controlnet_original_process_images_inner')(p, *args, **kwargs)
      File "H:\AItest\stable-diffusion-webui\modules\processing.py", line 867, in process_images_inner
        samples_ddim = p.sample(conditioning=p.c, unconditional_conditioning=p.uc, seeds=p.seeds, subseeds=p.subseeds, subseed_strength=p.subseed_strength, prompts=p.prompts)
      File "H:\AItest\stable-diffusion-webui\modules\processing.py", line 1137, in sample
        self.sampler = sd_samplers.create_sampler(self.sampler_name, self.sd_model)
      File "H:\AItest\stable-diffusion-webui\modules\sd_samplers.py", line 35, in create_sampler
        sampler = config.constructor(model)
      File "H:\AItest\stable-diffusion-webui\extensions\sd-dynamic-thresholding\scripts\dynamic_thresholding.py", line 149, in uniPCConstructor
        return CustomVanillaSDSampler(dynthres_unipc.CustomUniPCSampler, model, dtData)
      File "H:\AItest\stable-diffusion-webui\extensions\sd-dynamic-thresholding\scripts\dynamic_thresholding.py", line 198, in __init__
        self.sampler.main_class = dtData
    AttributeError: 'CustomVanillaSDSampler' object has no attribute 'sampler'

sd_samplers_compvis has been removed so this is no longer working
https://github.com/AUTOMATIC1111/stable-diffusion-webui/commits/master/modules/sd_samplers_compvis.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions