AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
141.56k stars 26.75k forks source link

[Feature Request]: Control over the sequence for the Restart sampler #12927

Open PurpleBlueAloeVera opened 1 year ago

PurpleBlueAloeVera commented 1 year ago

Is there an existing issue for this?

What would your feature do ?

Basically, for the Restart sampler, it usually works by keeping the sampler you'd like (The compatible ones) and you choose a sequence, you can write it yourself. Usually goes like this:

[6,4,0.12,0.98]

That's a working sequence.

This is also a working sequence:

[16,4,24,58]

Sequence can also be chained

[16,4,24,58], [4,2,0.1,0.54]

And the numbers signify

[Number of steps per restarts, number of restarts, tmin, tmax]

This sampler handler is freakin awesome because it allows the generation to automatically go back a multiple times in steps to self-correct. And usually allows for better or more complex generations. Based on the sequence !

And, with fine control, we can sometimes have custom sequences that perform absolute masterpieces. And it's a shame that we have no control over that on WEBUI 😢

Proposed workflow

The "Restart" sampler could be a drop down like hiresfix or refiner, and once it drops down, there can be a text box for the sequence, and a compatible sampler to choose. Also, restart requires "Karras" as stated in the documentation.

That's one solution for it ? But that'd be freakin awesome..

Additional information

No response

PurpleBlueAloeVera commented 1 year ago

Hello ???

catboxanon commented 1 year ago

Hello!