vladmandic / automatic

SD.Next: Advanced Implementation of Stable Diffusion and other Diffusion-based generative image models
https://github.com/vladmandic/automatic
GNU Affero General Public License v3.0
5.54k stars 407 forks source link

[Issue]: Error when using DEIS sampler: sde-dpmsolver++ does is not implemented for <class 'diffusers.schedulers.scheduling_deis_multistep.DEISMultistepScheduler'> #2361

Closed GalaxyTimeMachine closed 11 months ago

GalaxyTimeMachine commented 11 months ago

Issue Description

This error frequently appears when I try to generate an image using the DEIS sampler:

sde-dpmsolver++ does is not implemented for <class 'diffusers.schedulers.scheduling_deis_multistep.DEISMultistepScheduler'>

It has worked intermittently, but more frequently not.

Version Platform Description

11:03:59-527953 INFO Starting SD.Next 11:03:59-538371 INFO Python 3.10.6 on Windows 11:03:59-717964 INFO Version: app=sd.next updated=2023-10-19 hash=53d0cb35 url=https://github.com/vladmandic/automatic.git/tree/master 11:04:00-002267 INFO Platform: arch=AMD64 cpu=AMD64 Family 23 Model 113 Stepping 0, AuthenticAMD system=Windows release=Windows-10-10.0.22621-SP0 python=3.10.6 11:04:00-007266 INFO nVidia CUDA toolkit detected: nvidia-smi present 11:04:00-124079 INFO Verifying requirements 11:04:00-141106 INFO Verifying packages 11:04:00-143107 INFO Verifying repositories 11:04:03-975648 INFO Verifying submodules 11:04:39-807401 INFO Extension installed packages: sd-webui-controlnet ['opencv-python==4.8.1.78'] 11:04:49-015579 INFO Extension installed packages: sd-webui-roop ['opencv-python==4.7.0.72'] 11:04:50-005291 INFO Extensions enabled: ['clip-interrogator-ext', 'Lora', 'sd-extension-chainner', 'sd-extension-system-info', 'sd-webui-agent-scheduler', 'sd-webui-controlnet', 'stable-diffusion-webui-images-browser', 'stable-diffusion-webui-rembg', 'adetailer', 'sd-ratio-lock', 'sd-webui-roop', 'stable-diffusion-webui-wildcards']

Relevant log output

2023-10-20 11:20:46,094 | sd | INFO | sd_hijack_freeu | Applying free-u: b1=1.2 b2=1.4 s1=0.9 s2=0.2
2023-10-20 11:20:46,095 | sd | INFO | sd_hijack_hypertile | Applying hypertile: unet=256
2023-10-20 11:20:46,109 | sd | ERROR | call_queue | Exception: sde-dpmsolver++ does is not implemented for <class 'diffusers.schedulers.scheduling_deis_multistep.DEISMultistepScheduler'>
2023-10-20 11:20:46,111 | sd | ERROR | call_queue | Arguments: args=('task(5gbi9rxo627qcj8)', 'Capture a mesmerizing Portrait Photo of an adventurous child, exploring a mystical forest at dawn, with enchanting, misty lighting, shot from a ground-up angle, evoking the thrill of discovery.', 'a featureless colourless shader', [], 30, 2, 10, True, False, False, 1, 1, 6, 6, 0.7, 2, -1.0, -1.0, 0, 0, 0, 720, 1280, False, 0.45, 1.2, 'ESRGAN 4x_NMKD-Siax_200k', False, 25, 0, 0, 5, 0.8, '', '', [], 0, False, False, 'positive', 'comma', 0, False, False, '', 0, '', [], 0, '', [], 0, '', [], False, True, False, False, False, False, 0, True, False, {'ad_model': 'face_yolov8n.pt', 'ad_prompt': '', 'ad_negative_prompt': '', 'ad_confidence': 0.3, 'ad_mask_k_largest': 0, 'ad_mask_min_ratio': 0, 'ad_mask_max_ratio': 1, 'ad_x_offset': 0, 'ad_y_offset': 0, 'ad_dilate_erode': 4, 'ad_mask_merge_invert': 'None', 'ad_mask_blur': 4, 'ad_denoising_strength': 0.4, 'ad_inpaint_only_masked': True, 'ad_inpaint_only_masked_padding': 32, 'ad_use_inpaint_width_height': False, 'ad_inpaint_width': 512, 'ad_inpaint_height': 512, 'ad_use_steps': False, 'ad_steps': 28, 'ad_use_cfg_scale': False, 'ad_cfg_scale': 7, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'Default', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1, 'ad_use_clip_skip': False, 'ad_clip_skip': 1, 'ad_restore_face': False, 'ad_controlnet_model': 'None', 'ad_controlnet_module': 'inpaint_global_harmonious', 'ad_controlnet_weight': 1, 'ad_controlnet_guidance_start': 0, 'ad_controlnet_guidance_end': 1, 'is_api': ()}, {'ad_model': 'None', 'ad_prompt': '', 'ad_negative_prompt': '', 'ad_confidence': 0.3, 'ad_mask_k_largest': 0, 'ad_mask_min_ratio': 0, 'ad_mask_max_ratio': 1, 'ad_x_offset': 0, 'ad_y_offset': 0, 'ad_dilate_erode': 4, 'ad_mask_merge_invert': 'None', 'ad_mask_blur': 4, 'ad_denoising_strength': 0.4, 'ad_inpaint_only_masked': True, 'ad_inpaint_only_masked_padding': 32, 'ad_use_inpaint_width_height': False, 'ad_inpaint_width': 512, 'ad_inpaint_height': 512, 'ad_use_steps': False, 'ad_steps': 28, 'ad_use_cfg_scale': False, 'ad_cfg_scale': 7, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'Default', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1, 'ad_use_clip_skip': False, 'ad_clip_skip': 1, 'ad_restore_face': False, 'ad_controlnet_model': 'None', 'ad_controlnet_module': 'inpaint_global_harmonious', 'ad_controlnet_weight': 1, 'ad_controlnet_guidance_start': 0, 'ad_controlnet_guidance_end': 1, 'is_api': ()}, None, False, '0', 'F:\\automatic\\models\\roop\\inswapper_128.onnx', 'CodeFormer', 1, '', 1, 1, False, True) kwargs={}
2023-10-20 11:20:46,119 | sd | ERROR | errors | gradio call: NotImplementedError

Backend

Diffusers

Model

SD-XL

Acknowledgements

vladmandic commented 11 months ago

fixed.