Skip to content

How to flag certain modules as non-deterministic #11963

Discussion options

You must be logged in to vote

Hi @dsethz!

The error comes from PyTorch, but not from Lightning, and I think it's not (shouldn't be) feasible even in pure PyTorch because the flag is for reproducibility and if you allow randomness in certain layers, you can't reproduce the same result anymore.

https://pytorch.org/docs/stable/notes/randomness.html

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@dsethz
Comment options

@akihironitta
Comment options

@dsethz
Comment options

Answer selected by dsethz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment