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.

Podden och tillhörande omslagsbild på den här sidan tillhör Edward Yang, Team PyTorch. Innehållet i podden är skapat av Edward Yang, Team PyTorch och inte av, eller tillsammans med, Poddtoppen.