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

Incompatibility issues with Samplers / Schedulers in AUTO1111 Version 1.9+ #264

Open
Gecktendo opened this issue Apr 22, 2024 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@Gecktendo
Copy link

Describe the bug
Automatic 1.9 recently rolled out a change to their Samplers where they separate the scheduler type with the sampler itself so you can pick two separately. This is causing issues with the bot since the bot still bundles sampler and scheduler types together.

When you try to generate images in 1.9, you get an error message saying there's a problem with the "images" parameter.


Environment
Windows 11


Console logs

@Gecktendo Gecktendo added the bug Something isn't working label Apr 22, 2024
@Gecktendo Gecktendo changed the title Incompatibility issues with Samplers / Schedulers in AUTO 1.9+ Incompatibility issues with Samplers / Schedulers in AUTO1111 1.9+ Apr 22, 2024
@Gecktendo Gecktendo changed the title Incompatibility issues with Samplers / Schedulers in AUTO1111 1.9+ Incompatibility issues with Samplers / Schedulers in AUTO1111 Version 1.9+ Apr 22, 2024
@Kilvoctu
Copy link
Owner

Heya I updated my webui and didn't encounter this issue
Screenshot of my webui and aiya log:
image

What settings do I need to apply to recreate the problem?

@Kaiybo
Copy link

Kaiybo commented Apr 22, 2024

Same problem here. Getting a
txt2img failed
An invalid parameter was found!
'images'
failure since I had the Webui updated

as for the settings that is causing this, I'm not entirely sure. I'm still looking for a workaround.

@Kaiybo
Copy link

Kaiybo commented Apr 22, 2024

Found a workaround. Ok so for a discord channel where I didn't have a sampler set by default, it would fail. after I did a /settings and set the sampler to DPM++ 2M, it began working again.

@Gecktendo
Copy link
Author

Here's what I get when I try to choose the sampler.

However, when you manually type the sampler in, it works.
Bug

@Gecktendo
Copy link
Author

Found a workaround. Ok so for a discord channel where I didn't have a sampler set by default, it would fail. after I did a /settings and set the sampler to DPM++ 2M, it began working again.

Yeah this was the case for me too. Seems like that's what fixes it.

@wizz13150
Copy link
Contributor

wizz13150 commented Apr 23, 2024

Found a workaround. Ok so for a discord channel where I didn't have a sampler set by default, it would fail. after I did a /settings and set the sampler to DPM++ 2M, it began working again.

Hey,

indeed "DPM++ 2M" is a correct sampler name for a1111 v1.9, so it's working.
But the scheduler is not mentionned, so the webui takes the "Automatic" choice by default.

We need to add a 'scheduler' option for /Draw.
It's not that hard.

image

image

We also need to add this new option to the default and all existing config files. I manually did this, but i think it would be logical to do this from the code, as an update will require the new line.
So we need to edit 6 files to fully implement this, at this point (also ctxmenuhandler.py):
image

I'll do it for my fork and post the commit here. But my fork is now too far from the original bot, the lines won't match and will need to be adapted to the current version of the bot.

Here is a first commit to implement 'scheduler' (ignore the PAG and Details++ stuff), for reference:
wizz13150@9d97a52
Still bugged for the Review button, and need to check if the channel default scheduler is used or not.
Just a draft.

Cheers ! 🥂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants