-
Notifications
You must be signed in to change notification settings - Fork 372
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
Reproducibility issue of MRVI #2911
Comments
Found the solution. This only occurs on CUDA, not on CPU. I was able to reproduce the issue then solve it using the solution posted here: jax-ml/jax#13672.
I also tested this after removing all the lines fixing seeds except for scvi.settings.seed, and this was sufficient with the flag to achieve determinism. Closing now, but feel free to open if the issue persists. |
Thanks @justjhong. Should we maybe provide the flag inside scvi-tools or add it to the tutorial? |
sure, let's add it into the seed function of the scviconfig. I think it slows down performance a little so it should only be applied when setting seed manually |
Amazing! thank you both! |
) Addresses #2911 --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Can Ergen <[email protected]>
) Addresses #2911 --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Can Ergen <[email protected]> (cherry picked from commit 4722952)
Moving issue reported by @Nusob888 from mrvi for tracking.
The text was updated successfully, but these errors were encountered: