torch.use_deterministic_algorithms lets you force PyTorch to use deterministic algorithms. It's very useful for debugging!
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.