Closed Hugs288 closed 2 weeks ago
here is the full error:
Traceback (most recent call last):
File "J:\aistuff\stable-diffusion-webui-forge\modules_forge\main_thread.py", line 30, in work
self.result = self.func(*self.args, self.kwargs)
File "J:\aistuff\stable-diffusion-webui-forge\modules\txt2img.py", line 125, in txt2img_function
processed = processing.process_images(p)
File "J:\aistuff\stable-diffusion-webui-forge\modules\processing.py", line 840, in process_images
res = process_images_inner(p)
File "J:\aistuff\stable-diffusion-webui-forge\modules\processing.py", line 986, 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 "J:\aistuff\stable-diffusion-webui-forge\modules\processing.py", line 1381, in sample
samples = self.sampler.sample(self, x, conditioning, unconditional_conditioning, image_conditioning=self.txt2img_image_conditioning(x))
File "J:\aistuff\stable-diffusion-webui-forge\modules\sd_samplers_kdiffusion.py", line 238, in sample
samples = self.launch_sampling(steps, lambda: self.func(self.model_wrap_cfg, x, extra_args=self.sampler_extra_args, disable=False, callback=self.callback_state, extra_params_kwargs))
File "J:\aistuff\stable-diffusion-webui-forge\modules\sd_samplers_common.py", line 272, in launch_sampling
return func()
File "J:\aistuff\stable-diffusion-webui-forge\modules\sd_samplers_kdiffusion.py", line 238, in
@pamparamm I got the same error. When I set the ‘Adaptive Scale’ to 0.1 or higher, I got the following error.
AttributeError: 'KModel' object has no attribute 'model_sampling' 'KModel' object has no attribute 'model_sampling'
Thanks for the report! I'll look into that problem
Opened a pull request with an attempted fix at this. :)
Should be fixed now - thanks to @kyleengan, good job!
Thank you so much for fixing it! It was very difficult to produce a high quality picture without this extension!
AttributeError: 'KModel' object has no attribute 'model_sampling'