torch.use_deterministic_algorithms

21/07/2021 10 min Episodio 47
torch.use_deterministic_algorithms

Listen "torch.use_deterministic_algorithms"

Episode Synopsis

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