Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not working with UniPC on webui 1.6.0 #80

Open
AG-w opened this issue Oct 20, 2023 · 2 comments
Open

not working with UniPC on webui 1.6.0 #80

AG-w opened this issue Oct 20, 2023 · 2 comments

Comments

@AG-w
Copy link

AG-w commented Oct 20, 2023

    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

@mcmonkey4eva
Copy link
Member

it looks like UniPC's handling in auto webui got completely rewritten .-.

@AG-w
Copy link
Author

AG-w commented Oct 24, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants