-
Notifications
You must be signed in to change notification settings - Fork 28.5k
[Bug]: xformers always generate different results, seed is the same! #3967
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
Comments
Here are some samples, parameters are the same: I also tested with version 17a2076, but the error persists. The --reinstall-xformers did not help |
I recall this always being a thing. Search the other related issues |
ah... no wonder why I'm always getting exremely slightly different result from TheLastBen's implementation and my own simple implementation, even though I'm also using xformers |
When using xformers I changed "Random number generator source." from GPU to NV in settings and results became the same as when xformers were not used. So it seems that changing random generator source is all that is required to bring a specific behavior to result generation rather than switching between xformers or not or running the model on CPU specifically. In other words, GPU RNG + disable-xformers behaved the same as NV RNG + xformers in my particular case - would need confirmation. Now the question would be, why using xformers cause GPU RNG to behave differently while not using them make it like NV RNG setting? Because like that, GPU setting seems somewhat like an undefined behavior (if it acts differently when using a slightly different platform setup while the hardware stays the same). |
Is there an existing issue for this?
What happened?
With the same parameters I get different results for each generation if xformers is enabled. This is a big problem!
If xformers is disabled, the error does not occur.
Steps to reproduce the problem
What should have happened?
With the same seed and parameters, get the same result with xformers enabled as without, and never change
Commit where the problem happens
d699720
What platforms do you use to access UI ?
Windows
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
Additional information, context and logs
No response
The text was updated successfully, but these errors were encountered: