PyTorch Developer Podcast
PyTorch Developer Podcast
Edward Yang, Team PyTorch
May 10, 2021 · 14 min

Inference mode

MP3

What's inference mode? Why doesn't my code run fast if I use no_grad or make sure requires_grad=False? How come inference mode is safe but AutoNonVariableTypeMode is not?

Further reading:

This podcast uses Simplecast for stats and dynamic audio. What this means Episodes play from the podcast's own servers, unmodified. Not affiliated with Podbay.