Skip to content

Commit

Permalink
Making torch deterministic for the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnMark Taylor committed Aug 2, 2024
1 parent 89b5bce commit 222753a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_validation_and_visuals.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
# Define inputs
torch.manual_seed(0)
torch.cuda.manual_seed_all(0)
torch.use_deterministic_algorithms()
torch.use_deterministic_algorithms(True)

sub_dirs = [
"cornet",
Expand Down

0 comments on commit 222753a

Please sign in to comment.