Created
June 27, 2020 09:10
-
-
Save MFreidank/d4e62b6ab32e637ec51717f55b633d49 to your computer and use it in GitHub Desktop.
torch_deterministic_mode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import torch | |
torch.backends.cudnn.deterministic = True | |
torch.backends.cudnn.benchmark = False |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment