PyTorch Internals

Some useful links to understand how pytorch internals work

Computation graphs https://pytorch.org/blog/overview-of-pytorch-autograd-engine/ https://pytorch.org/blog/computational-graphs-constructed-in-pytorch/ https://pytorch.org/blog/how-computational-graphs-are-executed-in-pytorch/

PyTorch dispatcher

c10

cpp_extensions https://docs.pytorch.org/docs/2.13/cpp_extension.html?utm_source=chatgpt.com

Derivatives.yaml file