PyTorch Developer Podcast
PyTorch Developer Podcast
Edward Yang, Team PyTorch
torch.use_deterministic_algorithms
10 minutes Posted Jul 21, 2021 at 1:00 pm.
0:00
10:50
Download MP3
Show notes

torch.use_deterministic_algorithms lets you force PyTorch to use deterministic algorithms. It's very useful for debugging!

There are some errors in the recording: the feature is called torch.use_deterministic_algorithms, and there is not actually a capability to warn (this was in an old version of the PR but taken out), we just error if you hit nondeterministic code.

Docs: https://pytorch.org/docs/stable/generated/torch.use_deterministic_algorithms.html#torch.use_deterministic_algorithms