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

bad sampler name: DPM++ 2M Karras #106

Open
itsklimov opened this issue May 1, 2024 · 0 comments
Open

bad sampler name: DPM++ 2M Karras #106

itsklimov opened this issue May 1, 2024 · 0 comments

Comments

@itsklimov
Copy link

Seems like with Euler a works but with DPM samplers not.

any idea, what else does it check compare to Euler a?

print config: None

WARNING:deforum_helpers.opts_overrider:Error during batch execution: <class 'AssertionError'> - bad sampler name: DPM++ 2M Karras

START OF TRACEBACK
Traceback (most recent call last):
File "/home/its/stable-diffusion-webui/extensions/deforum/scripts/deforum_helpers/run_deforum.py", line 116, in run_deforum
render_animation(args, anim_args, video_args, parseq_args, loop_args, controlnet_args, root)
File "/home/its/stable-diffusion-webui/extensions/deforum/scripts/deforum_helpers/render.py", line 577, in render_animation
image = generate(args, keys, anim_args, loop_args, controlnet_args, root, parseq_adapter, frame_idx, sampler_name=scheduled_sampler_name)
File "/home/its/stable-diffusion-webui/extensions/deforum/scripts/deforum_helpers/generate.py", line 78, in generate
return generate_inner(args, keys, anim_args, loop_args, controlnet_args, root, parseq_adapter, frame, sampler_name)
File "/home/its/stable-diffusion-webui/extensions/deforum/scripts/deforum_helpers/generate.py", line 283, in generate_inner
processed = processing.process_images(p)
File "/home/its/stable-diffusion-webui/modules/processing.py", line 845, in process_images
res = process_images_inner(p)
File "/home/its/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/batch_hijack.py", line 59, in processing_process_images_hijack
return getattr(processing, '__controlnet_original_process_images_inner')(p, *args, **kwargs)
File "/home/its/stable-diffusion-webui/modules/processing.py", line 915, in process_images_inner
p.init(p.all_prompts, p.all_seeds, p.all_subseeds)
File "/home/its/stable-diffusion-webui/modules/processing.py", line 1582, in init
self.sampler = sd_samplers.create_sampler(self.sampler_name, self.sd_model)
File "/home/its/stable-diffusion-webui/modules/sd_samplers.py", line 37, in create_sampler
assert config is not None, f'bad sampler name: {name}'
AssertionError: bad sampler name: DPM++ 2M Karras
END OF TRACEBACK

User friendly error message:
Error: bad sampler name: DPM++ 2M Karras. Please, check your schedules/ init values.

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

1 participant