Compiled autograd

19/02/2024 18 min Episodio 75
Compiled autograd

Listen "Compiled autograd"

Episode Synopsis

Compiled autograd is an extension to PT2 that permits compiling the entirety of a backward() call in PyTorch. This allows us to fuse accumulate grad nodes as well as trace through arbitrarily complicated Python backward hooks. Compiled autograd is an important part of our plans for compiled DDP/FSDP as well as for whole-graph compilation.