AbdullahAlfaraj / Auto-Photoshop-StableDiffusion-Plugin

A user-friendly plug-in that makes it easy to generate stable diffusion images inside Photoshop using either Automatic or ComfyUI as a backend.
MIT License
6.52k stars 494 forks source link

DiffusionSampler error on SD.NEXT #462

Closed ktee95 closed 4 months ago

ktee95 commented 4 months ago

the plugin have problem with new update Vlad's SD.NEXT here logs: 10:26:36-695714 ERROR HTTP API: AttributeError
┌───────────────────── Traceback (most recent call last) ─────────────────────┐ │ O:\StabilityMatrix\Data\Packages\automatic\venv\lib\site-packages\anyio\str │ │ │ │ O:\StabilityMatrix\Data\Packages\automatic\venv\lib\site-packages\anyio\str │ └─────────────────────────────────────────────────────────────────────────────┘ WouldBlock

During handling of the above exception, another exception occurred:

┌───────────────────── Traceback (most recent call last) ─────────────────────┐ │ O:\StabilityMatrix\Data\Packages\automatic\venv\lib\site-packages\starlette │ │ │ │ O:\StabilityMatrix\Data\Packages\automatic\venv\lib\site-packages\anyio\str │ └─────────────────────────────────────────────────────────────────────────────┘ EndOfStream

During handling of the above exception, another exception occurred:

┌───────────────────── Traceback (most recent call last) ─────────────────────┐ │ O:\StabilityMatrix\Data\Packages\automatic\modules\api\middleware.py:41 in │ │ │ │ 40 │ │ │ ts = time.time() │ │ > 41 │ │ │ res: Response = await call_next(req) │ │ 42 │ │ │ duration = str(round(time.time() - ts, 4)) │ │ │ │ O:\StabilityMatrix\Data\Packages\automatic\venv\lib\site-packages\starlette │ │ │ │ O:\StabilityMatrix\Data\Packages\automatic\venv\lib\site-packages\starlette │ │ │ │ O:\StabilityMatrix\Data\Packages\automatic\venv\lib\site-packages\starlette │ │ │ │ O:\StabilityMatrix\Data\Packages\automatic\venv\lib\site-packages\starlette │ │ │ │ ... 16 frames hidden ... │ │ │ │ O:\StabilityMatrix\Data\Packages\automatic\modules\processing.py:187 in pro │ │ │ │ 186 │ │ │ with context_hypertile_vae(p), context_hypertile_unet(p): │ │ > 187 │ │ │ │ processed = process_images_inner(p) │ │ 188 │ │ │ │ O:\StabilityMatrix\Data\Packages\automatic\extensions-builtin\sd-webui-cont │ │ │ │ 40 │ │ │ # we are not in batch mode, fallback to original function │ │ > 41 │ │ │ return getattr(processing, '__controlnet_original_process │ │ 42 │ │ │ │ O:\StabilityMatrix\Data\Packages\automatic\modules\processing.py:261 in pro │ │ │ │ 260 │ │ with devices.autocast(): │ │ > 261 │ │ │ p.init(p.all_prompts, p.all_seeds, p.all_subseeds) │ │ 262 │ │ extra_network_data = None │ │ │ │ O:\StabilityMatrix\Data\Packages\automatic\modules\processing_class.py:315 │ │ │ │ 314 │ │ if shared.backend == shared.Backend.ORIGINAL: │ │ > 315 │ │ │ self.sampler = sd_samplers.create_sampler(self.sampler_na │ │ 316 │ │ │ if hasattr(self.sampler, "initialize"): │ │ │ │ O:\StabilityMatrix\Data\Packages\automatic\modules\sd_samplers.py:61 in cre │ │ │ │ 60 │ │ sampler.name = name │ │ > 61 │ │ sampler.initialize(p=None) │ │ 62 │ │ shared.log.debug(f'Sampler: sampler="{name}" config={config.op │ └─────────────────────────────────────────────────────────────────────────────┘ AttributeError: 'DiffusionSampler' object has no attribute 'initialize'