AUTOMATIC1111 / stable-diffusion-webui

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

[Bug]: Give different result with same settings. #9246

Open wwwWolfcom opened 1 year ago

wwwWolfcom commented 1 year ago

Is there an existing issue for this?

What happened?

Same prompt,seed,checkpoint,ensd,eat,sigma noise etc. Gives different output.

Here is the examples. Should be: 20230401_124015 But gives: 20230401_124024

as you can see, big parts are similar(arrangements,shape) but detailed parts are cleary different. Funny thing is, it happens randomly every time start colab. Not in the middle of running. Sometimes it generates original outputs. But sometimes(restart colab after 1 minute to day dosent matter)generates different outputs. It's not the level of xformers indeterminate. IIt's not original VS worse variations. It's like 50:50; original output VS worse output(no variations. only 1 output) older commit didnt fixed the issue.

Steps to reproduce the problem

  1. start colab
  2. wait for setup
  3. starts webui
  4. boom. Gambling tme

What should have happened?

give consistent outputs

Commit where the problem happens

cant specify. tested multiple commits

What platforms do you use to access the UI ?

No response

What browsers do you use to access the UI ?

No response

Command Line Arguments

--data-dir /content/drive/MyDrive/SD --xformers --xformers-flash-attention

List of extensions

locon,image browser,civitai etc

Console logs

Tooo long and nothing helpful

Additional information

Colab, commit web ui every time i start. I fixed commit to older one, nothing solved the issue

constant-null commented 1 year ago

Maybe i don't understand something, but isn't it because of xformers?

As far as i know xformers speed things up, but make everything random

wwwWolfcom commented 1 year ago

Maybe i don't understand something, but isn't it because of xformers?

As far as i know xformers speed things up, but make everything random

I know that with xformers there is randomness. However, even if you use xformers, the most elements should stay similar. Differences should be subtle even i use xformers, like buttons or hair are normal. In this case, there is a difference in quality that goes far beyond that.

ChinatsuHS commented 1 year ago

What sampler is being used.. ancestral samplers give different results with the same seed majority of the time (especially with xformers enabled)