aiyabot
aiyabot copied to clipboard
Incompatibility issues with Samplers / Schedulers in AUTO1111 Version 1.9+
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
Heya I updated my webui and didn't encounter this issue
Screenshot of my webui and aiya log:
What settings do I need to apply to recreate the problem?
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.
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.
Here's what I get when I try to choose the sampler.
However, when you manually type the sampler in, it works.
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.
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.
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):
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: https://github.com/wizz13150/aiyabot/pull/6/commits/9d97a52a05419bb424cdca919e3bc5d5399cf96f Still bugged for the Review button, and need to check if the channel default scheduler is used or not. Just a draft.
Cheers ! 🥂