diffusers.js
diffusers.js copied to clipboard
[Bug] Different results for same seed
Unable to reproduce the result despite using the same parameters. Is it supposed to behave this way?
Not really. I will take a look on the weekend
I fixed it here: https://github.com/kungfooman/StableDiffusion.js/commit/4a409a36ca922cb951ca3fb07080d61820a867e4
Instead of letting seedrandom generate new seeds all the time (because seed isn't passed in some stages), I just give every function/method that depends on random the rng function that is generated exactly once based on the given seed.
I see. Thanks for the explanation!