t
torch.no_grad
Tool / ProductMentioned in 2 videos
PyTorch decorator/context manager used to skip building the autograd graph for a block of code (used during evaluation or running-stat updates).
Videos Mentioning torch.no_grad

Building makemore Part 3: Activations & Gradients, BatchNorm
Andrej Karpathy
PyTorch decorator/context manager used to skip building the autograd graph for a block of code (used during evaluation or running-stat updates).

PyTorch Crash Course - Getting Started with Deep Learning
AssemblyAI
A context manager in PyTorch that disables gradient calculation, useful for inference and evaluation.