Skip to content

Commit 53429df

Browse files
committed
wip
1 parent 27e8d0a commit 53429df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/py_utils/utils_torch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def seed_everything(seed=42, verbose=False):
4444
torch.cuda.manual_seed_all(seed) # if you are using multi-GPU.
4545
torch.backends.cudnn.deterministic = True
4646
torch.backends.cudnn.benchmark = False
47-
torch.use_deterministic_algorithms(True)
47+
torch.use_deterministic_algorithms(True, warn_only=True)
4848

4949
if verbose:
5050
print(f"Seed set to: {seed} (type: {type(seed)})")

0 commit comments

Comments
 (0)